Unknown Host : mail.sap.corp

Hi expert,
This is my first time configure the smtp server in CE 7.1 SP3. I have read the following threads:
Re: Guided Procedures - set mail smtp host Re: Mail settings for Guided Procedures
And I have tried this:
1. Go to Guided procedure ->
Administration-> Administer BMF->Clients
->select iForms Processor -> press Settings button
-> Mail Sending tab.
2. Set your smtp server in SMTP Server field.
3. Press Save button.
You can test mail sending by pressing Test button
but first you should
configure the mail of the administrator of BMF and
the mail of the administrator of the client
(iForms Processor). Please follow instruction below
BMF Administrator's mail:
1.Go to Guided procedure ->
Administration-> Administer BMF->Settings.
2.Input the mail in Administrator Mail files.
3.Press Save button.
iForms client Administrator's mail:
1. Go to Guided procedure ->
Administration-> Administer BMF->Clients
->select iForms Processor
2. Press Edit button.
3. Input the mail in Administrator Mail files.
4. Press Save button.
and
Set the SMTP settings (smtp.sever property) in Configtool under cafeugp~model
However, the later method do not allow me to modify the configuration. And both method failed and I still received the following exception:
Unknown SMTP host: mail.sap.corp
javax.mail.MesssagingException: Unknown SMTP host: mail.sap.corp
can help?
thank you

Hi,
maybe you should try this:
1. Under Guided Procedures, choose Administration u2192 Administer BMF.
2. Choose Clients, then under BMF Clients choose Settings, and then choose Mail Sending.
3. Enter the data for SMTP Server and Mail Transport Protocol. For example:
         SMTP Server: mail.sap.corp
         Mail Transport Protocol: smtp
4. Save
or try the config tool as explained on the following sap help page:
http://help.sap.com/saphelp_nwce10/helpdata/en/e0/e3934249c30c31e10000000a1550b0/frameset.htm
smtp.server
smtp.service_user_mail
properties.
It may be useful to restart the server after changing this.
best regards,
v s

Similar Messages

  • Java mail - unknown host

    hi
    I am quite new to java.. I have written some code that requests user input to create a mail then should be sent.
    I am using my companies smtp address to send it through but i keep getting the exception unknown host, however when a colleague tries to run my code on there pc on the same network it works correctly. Really impressed my code works but i want to play with it and add things to it and cannot!
    Is there any settings or rights i should have on my pc to enable me to get this code to work. Also does anyone know of any external smtp hosts i can send mails from.
    I can ping the smtp from dos and that works but will not recognise in code
    thanks
    A

    import javax.mail.Address;
    import javax.mail.Session;
    import javax.mail.Authenticator;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.AddressException;
    import javax.mail.internet.MimeMessage;
    import java.io.*;
    import java.util.Properties;
    * Created by IntelliJ IDEA.
    * User: ai011767
    * Date: Apr 8, 2003
    * Time: 3:24:57 PM
    * To change this template use Options | File Templates.
    public class JavaMail {
    Address recipientEmail;
    String ccAddress;
    Address senderAddress;
    String subject;
    String message;
    Properties p;
    String host;
    //*Address replyTo;
    public JavaMail(String propertiesPath) {
    try {
    FileInputStream fis = new FileInputStream(propertiesPath);
    p = new Properties();
    p.load(fis);
    host = p.getProperty("host");
    System.err.println(host);
    catch (Exception e) {
    System.out.println("file not found");
    public void mail(Address recipientAddress, Address senderAddress, Address reply[], String subject, String message) {
    p.put("mail.smtp.host", host);
    try {
    Session s = Session.getInstance(p, null);
    MimeMessage mess = new MimeMessage(s);
    mess.setText(message);
    mess.setSubject(subject);
    Address a = new InternetAddress();
    mess.addRecipient(MimeMessage.RecipientType.TO,recipientAddress);
    mess.setFrom(senderAddress);
    mess.setReplyTo(reply);
    Transport.send(mess);
    catch (Exception e) {
    e.printStackTrace(); //To change body of catch statement use Options | File Templates.
    public void doWork() {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    try {
    System.out.println("Type in recipents e-mail Address");
    String strRecipientEmail = in.readLine();
    Address recipientAddress = new InternetAddress(strRecipientEmail);
    System.out.println("Type in reply address");
    String strreplyTo =in.readLine();
    Address replyTo = new InternetAddress(strreplyTo);
    Address[] reply = new Address[1];
    reply[0] = replyTo;
    System.out.println("Type in Senders E-mail Address");
    String strSenderAddress = in.readLine();
    Address senderAddress = new InternetAddress(strSenderAddress);
    System.out.println("Type in Subject");
    subject = in.readLine();
    System.out.println("Type in Message");
    message = in.readLine();
    this.mail(recipientAddress, senderAddress, reply, subject, message);
    catch (Exception e) {
    System.out.println("No Line to read");
    public static void main(String args[]) {
    JavaMail jm = new JavaMail(args[0]);
    jm.doWork();

  • Unknown host and mail server

    HI,
    When i run my application i got the below erros.. what could be the problem
    Unknown host D:\<dir_name>
    Context : External procedure experienced a network error communicating with mail server. Retrying.
    and also i have valid directory with write permission...
    Thanks in advance
    -GG

    Yahoo and Gmail support should be able to help you.
    Not related to Firefox support, web mail doesn't use POP or SMTP protocols which is what email clients such as Thunderbird use for communicating with email servers.

  • When I respond to certain messages, I get an error message "unknown host" or "unknown user." Why is this?

    Since the latest upgrade to 31.0, there are times when I will receive an e-mail, but when I send a reply, I get a response saying the message is undeliverable because of an unknown user, or an unknown host. These are messages, I'm replying to and have already received, so it's not a case of typing in an incorrect address.
    This happens using both my computer and phone. Not sure why this is suddenly happening now, and why only with certain addresses. Any suggestions? Thanks.

    my guess is they have invalid replyto information in the header. As it is on two devices, one of which can not run Thunderbird it is certainly not a Thunderbird issue.

  • Connectivity issue -unknown host

    Hi,
    We have an File to File interface from SAP ECC to Click .We are getting unknown host exception while trying to connect from PI .We checked with Click team they confirmed there server is up and running .
    Could you please advice what might be the issue?

    Hi,
    Check with Click team whether they have file server installed in there server machine or not?
    By the way did u tried connecting from front end tools like filezilla or by connecting from os level ?
    Regards
    Venkat

  • SCOT - SMTP change host mail

    Hello,
    I have a SMTP connection with a host mail configured, but now i want to change this IP to another.
    I tried to change only the host mail in SMTP node but gives an error sending the mail.
    anybody konws if i  have to change some parameter or the network management needs to
    configure or instal something in the new mail server.
    Best Regards,
    Eduardo Paiva

    Hi Eduardo,
    To change the mail server IP or Hostname address for the SAPconnect node in SCOT -> Node SMTP -> New IP address or Hostname. This is the only parameter that you need to configure for sending mails via SMTP in SAP.
    If your mail server is not accepting the mails (usually due to authentication issues) you will have to use the IP address of the SAP server as a means of authentication. There is no other mechanism for SMTP authentication available in SAP.
    Michael

  • Unknown host or domain for exotic domain

    Hello,
    We are running this version :
    Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)
    libimta.so 6.3-6.03 (built 17:12:37, Mar 14 2008; 32bit)
    When we try to send a mail for all +.me+ domain we have : +550 5.1.2 unknown host or domain: [email protected]+
    We have this problem with this address for example : [email protected]
    The dns resolution seems good on the server :
    Non-authoritative answer:
    ac.me   preference = 10, mail exchanger = mail.ac.me
    Authoritative answers can be found from:
    ac.me   nameserver = ns.ac.me
    ac.me   nameserver = ns2.ac.me
    mail.ac.me      internet address = 89.188.43.10
    Is there a filter for some domains in any config file or an invalid domain list compiled in the binary ?
    I don't have tried all the domain but it seems that we have the same problem with the +.cat+ domain.
    Thank you
    Edited by: kitegui on Nov 19, 2009 7:14 AM

    >
    Is there a filter for some domains in any config file or an invalid domain list compiled in the binary ?
    Known email domains are listed in the <msg_base>/config/internet.rules file.
    The ".me" domain was added to the file in MS6.3 patch 30 and above. I suggest you use this as an opportunity to patch your system to the latest patch release.
    I don't have tried all the domain but it seems that we have the same problem with the +.cat+ domain.The ".cat" domain was added to the file over three years ago.
    Regards,
    Shane.

  • Mail configuration for core hosted mail servers

    Hi,
    We have configured scot to send emails from SAP to the domain ids in XXXXX.com.
    For testing the port condition :-
    We checked if port 25 was open on the smtp server. This was the check. devassp1:devadm> telnet 202.162.244.10 25 Trying... Connected to 202.162.244.10. Escape character is '^]'. 220 ESMTP Is this a succesful check to see if the port is open?
    Core hosted mail server
    Also, the smtp server is co-hosted and the provider is not willing to add the SAP server IP address to the list of authenticated servers on the smtp server. Is there a work around?
    In SAP after configuring scot, we get the error message that Internal error: CL_SMTP_RESPONSE ESMTP error code is not known. 554 554 5.7.1 <mailid>: Relay a Message no. XS829 Diagnosis An error occurred in program CL_SMTP_RESPONSE Error text: ESMTP error code is not known. Additional information: 554 554 5.7.1 mailid: Relay a System Response Message processing terminated. Procedure
    Please suggest what needs to be done.
    Thanks
    Vijay

    Hi
    Looks to me some SMTP server configuration issue, Please have look at below SAP notes
    Please check you have defined the below entries in your system profile
    icm/server_port_1 = PROT=SMTP,PORT=25,TIMEOUT=300,PROCTIMEOUT=600
    Then follow below itmes to further troubleshoot if still issue persists
    Note 455140 - Configuration of e-mail, fax, paging or SMS using SMTP.Also check
    Note 552616 - FAQ: SAPoffice - Sending to external recipients
    Note 402907 - SAPconnect: Sending via ESMTP terminates with a dump
    Note 751332 - Error sending mails with several recipients
    Otherwise, In general you just do the following configuration and nothing else you have to do in SAP application.
    First of all check port 25 is open from SAP server to SMtp server
    Also check sap server is define as realay agent in SMTP server.
    Do the follwoing step.
    1. Use transaction SCOT
    2. From tope menu: View -> System Status
    3. Double Click on SMTP
    4. You will get a window and fill in description
    5. Tick the "Node in use" box
    6. Enter the hostname of the email exchange server
    7. Mail port will be 25
    8. Click on the button next to Internet called "Set"
    9. You will get another window, in the "address area" box, enter *
    10. Click the green check button to exit the second window
    11. Click the green check button to exit the main window
    12. From top menu: Settings -> Default Domain
    13. in the small box that appears enter the domain name which is the last part after the email id ,The domain name would be for e.g company.com
    14. You need to define a job to process the email, from top menu: View -> Jobs
    15. From top menu: Job -> Create
    16. Enter a name
    17. Click on "INT" in the list then "Schedule job" button
    18. Enter start date and time, then click on "Schedule Periodically" button
    19. Enter something like every 10 minutes.
    20. the configuraton is now complete. To test it, you need to have an email defined in your user id properties. Use SU01 for that.
    21. Use transaction SO00
    22. Put Title, and text in the body, then enter your email address below, the recepient type would be "internet address"
    23. After a maximum of 10 minutes you should get the email address.
    I hope this helps you.
    Regards
    Sekhar
    Edited by: sekhar on Jan 4, 2010 4:01 PM
    Edited by: sekhar on Jan 4, 2010 4:05 PM

  • Unknown Host Unable to locate the server requested --- the server does not have a DNS entry. Perhaps there is a misspelling in the server name, or the server no

    Hello,
    Today i tried accessing transitbux.com with mozilla, but i'm getting this kind of a error as mentioned below:
    Unknown Host
    Description: Unable to locate the server requested --- the server does not have a DNS entry. Perhaps there is a misspelling in the server name, or the server no longer exists. Double-check the name and try again.
    Can anyone help me please, and the same website is accessible with my phone.
    Help me please. :(
    Regards
    -

    Try http://www.transitbux.com/
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"

  • 5.1.2 unknown host or domain

    Hi Team,
    On & off i am having intermittent with this "5.1.2 unknown host or domain"
    nslookup from server to dedicated domain is good.
    Any idea ?
    Cheer
    Sam

    Hi Shane,
    The email was sent to a group of user.
    THe email sent to gmail was ok but most of the hotmail , & yahoo email having this error
    26-Oct-2009 16:47:31.15 tcp_auth                  JEAS 0 [email protected] rfc822; '[email protected]'   welcomePC ([unknown] [172.16.1.5]) 550  5.1.2 unknown host or domain: '[email protected]'
    26-Oct-2009 16:47:31.15 tcp_auth                  JEAS 0 [email protected] rfc822; '[email protected]'   welcomePC ([unknown] [172.16.1.5]) 550  5.1.2 unknown host or domain: '[email protected]'
    26-Oct-2009 16:47:31.15 tcp_auth                  JEAS 0 [email protected] rfc822; '[email protected]'   welcomePC ([unknown] [172.16.1.5]) 550 5.1 .2 unknown host or domain: '[email protected]'
    26-Oct-2009 16:47:31.15 tcp_auth                  JEAS 0 [email protected] rfc822; '[email protected]'   welcomePC ([unknown] [172.16.1.5]) 550 5.1.2  unknown host or domain: '[email protected]'
    26-Oct-2009 16:47:35.53 tcp_auth     tcp_local    EEAS 63 [email protected] rfc822;[email protected] [email protected] /opt/sun/comms/messaging64/data/queue/tcp_local/015/ZZg0I2j1wj90I.00 <00a601ca5618$f6dd1bd0$e4975370$@[email protected]> welcomePC ([unknown] [172.16.1.5])Cheer
    Sam

  • Konqueror, other browsers: "unknown host", WTF?!

    Every once in a while, Konqueror gives me the following error page after trying to load a website:
    An error occured while loading [page of website]:
    Unknown host [website].
    Trying again will *always* result in the page loading properly - this stuff happens when my internet connection is solid.
    Dillo gives me exactly the same problem. Interestingly, Firefox and Links/eLinks don't. It seems almost as though the problem's rate of occurrence is related to the rendering speed of the browser, though I doubt that's the case.
    More interestingly, Firefox and Internet Explorer are both affected this way on another computer in my house. Other machines are asymptomatic.
    This problem appeared following the installation of a new router, a Dynex DX-E401, after the old one was fried by a power surge.
    Changing the MTU used by the router has not helped.
    What is going on?

    I'm not qualified to say anything good, bad or indifferent about anything related to kde, but in general, disabling IPv6 unless you actually need it is a good thing, IME. I always exclude it from my hand-rolled kernels - that way I don't need to worry about any related config in userspace.
    By comparison, I've recently put OpenBSD onto a freed-up partition on this machine, and as I don't know enough about it yet, I'm using their stock kernel. The logs have frequent entries about IPv6 connection attempts failing - not surprising, since my lan knows nothing about it. 

  • Catalog backup getting Error resolving host - unknown host name in dataset

    I have new install of OSB version 10.3.0.1.0 [Admin, Mediaserver, Client] installed on the same OEL server. My Catalog Backup jobs end up with error " unknown host name in dataset" and the job detail shows only "Error resolving host - unknown host name in dataset" while I can ping the admin host with obtool pingh command. The standard auto created Catalog backup dataset looks like this:
    Dataset: OSB-CATALOG-DS
    # Dataset for backing up the OSB Catalog on this administrative host
    include catalog
    I am able to create a separate dataset with the hostname defined and able to backup filesystems on the same host, np . Only the catalog backup from system generated dataset and schedule doesn't run. I appreciate any help or tip to make this catalog backup work. Thanks.

    This problem is fixed by just restarting observiced on admin server.

  • Unknown Host sidhost (see /etc/hosts)

    Hi experts,
        I'm facing a problem in maxdb please help us the issue
    Error:
    starting database instance ...
    Error! Connection failed to node devhost for database DEV:
    unknown host devhost (see /etc/hosts)
    Opening Database...
    Error! Connection failed to node devhost for database DEV:
    unknown host devhost (see /etc/hosts)
    connect to the database to verify the database is now open
    dbmcli check finished with return code: 0
    database start failed

    Hi Deepak,
                       This is the DBM.PRT log file.
    'db_warm' is being executed.
    2014-02-28 09:50:00       4993 INF          1 DBMKnl   Sending an administrative statement to the database DEV on computer localhost
                              4993 INF          8 DBMKnl   Statement:  RESTART
    2014-02-28 09:50:50       4993 INF          3 DBMKnl   Received the result of an administrative statement from the database DEV on computer localhost
                              4993 INF          9 DBMKnl   Statement:  RESTART
                              4993 INF         10 DBMKnl   Returncode: 0
    2014-02-28 09:50:59       4993 INF        419 DBMSrv   Command 'db_warm' has ended with return code 0.
    2014-02-28 09:50:59       4993 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 4991 on computer transids.transaltus.com).
    2014-02-28 09:59:35       7407 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-02-28 09:59:35 (client process has process ID 7194 on computer transids.transaltus.com).
    2014-02-28 09:59:36       7407 INF        283 DBMSrv   Command 'dban_start ...' is being executed.
    2014-02-28 10:00:41       7407 INF        419 DBMSrv   Command 'dban_start' has ended with return code 0.
    2014-02-28 10:16:57       7407 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 7194 on computer transids.transaltus.com).
    2014-02-28 17:55:12      14698 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-02-28 17:55:12 (client process has process ID 14696 on computer transids.transaltus.com).
    2014-02-28 17:55:12      14698 INF        283 DBMSrv   Command 'dban_stop' is being executed.
    2014-02-28 17:55:14      14698 INF        419 DBMSrv   Command 'dban_stop' has ended with return code 0.
    2014-02-28 17:55:14      14698 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 14696 on computer transids.transaltus.com).
    2014-02-28 17:55:15      14724 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-02-28 17:55:14 (client process has process ID 14722 on computer transids.transaltus.com).
    2014-02-28 17:55:15      14724 INF        283 DBMSrv   Command 'db_cold' is being executed.
    2014-02-28 17:55:15      14724 INF          1 DBMKnl   Sending an administrative statement to the database DEV on computer localhost
                             14724 INF          8 DBMKnl   Statement:  SHUTDOWN
    2014-02-28 17:55:15      14724 INF          3 DBMKnl   Received the result of an administrative statement from the database DEV on computer localhost
                             14724 INF          9 DBMKnl   Statement:  SHUTDOWN
                             14724 INF         10 DBMKnl   Returncode: 0
    2014-02-28 17:55:30      14724 INF        419 DBMSrv   Command 'db_cold' has ended with return code 0.
    2014-02-28 17:55:30      14724 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 14722 on computer transids.transaltus.com).
    2014-02-28 17:55:30      14769 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-02-28 17:55:30 (client process has process ID 14767 on computer transids.transaltus.com).
    2014-02-28 17:55:30      14769 INF        283 DBMSrv   Command 'db_offline' is being executed.
    2014-02-28 17:55:32      14769 INF        419 DBMSrv   Command 'db_offline' has ended with return code 0.
    2014-02-28 17:55:32      14769 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 14767 on computer transids.transaltus.com).
    2014-03-03 09:19:32       4829 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-03-03 09:19:32 (client process has process ID 4827 on computer transids.transaltus.com).
    2014-03-03 09:19:32       4829 INF        283 DBMSrv   Command 'db_clear' is being executed.
    2014-03-03 09:19:32       4829 INF        419 DBMSrv   Command 'db_clear' has ended with return code 0.
    2014-03-03 09:19:32       4829 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 4827 on computer transids.transaltus.com).
    2014-03-03 09:19:32       4834 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-03-03 09:19:32 (client process has process ID 4832 on computer transids.transaltus.com).
    2014-03-03 09:19:32       4834 INF        283 DBMSrv   Command 'db_start' is being executed.
    2014-03-03 09:19:47       4834 INF        419 DBMSrv   Command 'db_start' has ended with return code 0.
    2014-03-03 09:19:47       4834 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 4832 on computer transids.transaltus.com).
    2014-03-03 09:19:47       4879 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-03-03 09:19:47 (client process has process ID 4877 on computer transids.transaltus.com).
    2014-03-03 09:19:47       4879 INF        283 DBMSrv   Command 'db_warm' is being executed.
    2014-03-03 09:19:47       4879 INF          1 DBMKnl   Sending an administrative statement to the database DEV on computer localhost
                              4879 INF          8 DBMKnl   Statement:  RESTART
    2014-03-03 09:20:41       4879 INF          3 DBMKnl   Received the result of an administrative statement from the database DEV on computer localhost
                              4879 INF          9 DBMKnl   Statement:  RESTART
                              4879 INF         10 DBMKnl   Returncode: 0
    2014-03-03 09:20:50       4879 INF        419 DBMSrv   Command 'db_warm' has ended with return code 0.
    2014-03-03 09:20:50       4879 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 4877 on computer transids.transaltus.com).
    2014-03-03 09:39:11       7414 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-03-03 09:39:10 (client process has process ID 7098 on computer transids.transaltus.com).
    2014-03-03 09:39:11       7414 INF        283 DBMSrv   Command 'dban_start ...' is being executed.
    2014-03-03 09:40:01       7414 INF        419 DBMSrv   Command 'dban_start' has ended with return code 0.
    2014-03-03 09:41:13       7414 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 7098 on computer transids.transaltus.com).
    2014-03-03 17:44:38      14827 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-03-03 17:44:38 (client process has process ID 14825 on computer transids.transaltus.com).
    2014-03-03 17:44:38      14827 INF        283 DBMSrv   Command 'dban_stop' is being executed.
    2014-03-03 17:44:40      14827 INF        419 DBMSrv   Command 'dban_stop' has ended with return code 0.
    2014-03-03 17:44:40      14827 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 14825 on computer transids.transaltus.com).
    2014-03-03 17:44:40      14853 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-03-03 17:44:40 (client process has process ID 14851 on computer transids.transaltus.com).
    2014-03-03 17:44:40      14853 INF        283 DBMSrv   Command 'db_cold' is being executed.
    2014-03-03 17:44:40      14853 INF          1 DBMKnl   Sending an administrative statement to the database DEV on computer localhost
                             14853 INF          8 DBMKnl   Statement:  SHUTDOWN
    2014-03-03 17:44:44      14853 INF          3 DBMKnl   Received the result of an administrative statement from the database DEV on computer localhost
                             14853 INF          9 DBMKnl   Statement:  SHUTDOWN
                             14853 INF         10 DBMKnl   Returncode: 0
    2014-03-03 17:45:00      14853 INF        419 DBMSrv   Command 'db_cold' has ended with return code 0.
    2014-03-03 17:45:00      14853 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 14851 on computer transids.transaltus.com).
    2014-03-03 17:45:00      14902 INF          1 DBMSrvCo A DBM Server client connection was established at 2014-03-03 17:45:00 (client process has process ID 14900 on computer transids.transaltus.com).
    2014-03-03 17:45:00      14902 INF        283 DBMSrv   Command 'db_offline' is being executed.
    2014-03-03 17:45:01      14902 INF        419 DBMSrv   Command 'db_offline' has ended with return code 0.
    2014-03-03 17:45:01      14902 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 14900 on computer transids.transaltus.com).

  • Tunneling and problem with unknown host exception

    hello! i've got a problem with https. i use jdk 1.5.0, jboss-4.0.4.ga-patch1, soap.
    and i'm going crasy.. i've testet my client code at our network and it works fine. but if i want to get jobs from the server of our customer, my client throw an "unknown host exception: firm".
    i wonder why it hasn't the full host. the url may look like this: https://firm.sub.com:443/ and while the client connects to the server, i depugged it and the host is correct: firm.sub.
    but after the connection, when the client want to get something from the server (when it wants to communicate with the server over soap) it crashs.
    my client code looks like this:
    private ClientInterfaceEndpoint getClientInterface() throws ServiceException {
    QName serviceQName = new QName(DOCSERVER_NAMESPACE, CLIENT_INTERFACE_SERVICENAME);
    URL wsdlUrl = getClientInterfaceWsdlUrl();
    log.info("*******WSDLURL host: " + wsdlUrl.getHost()); // out: firm.sub
    log.info("*******WSDLURL port: " + wsdlUrl.getPort()); // out: 443
    URL mapping = getClass().getClassLoader().getResource("META-INF/DocumentServer_Mapping.xml");
    log.info("*******MappingURL path: " + mapping.getPath());
    if (wsdlUrl.toString().toLowerCase().contains("https")) {
    if (null == getConfig().getTruststore() || getConfig().getTruststore().equalsIgnoreCase("")) {
    throw new RuntimeException("No or incorrect TruststorePath in the docclient-config");
    File tmp = new File(getConfig().getTruststore());
    if (!tmp.isFile() || !tmp.canRead()) {
    throw new RuntimeException("The truststore at the 'TruststorePath' isn't a file or can't be read.");
    System.setProperty(SYS_PROPERTY_KEY_TRUST, getConfig().getTruststore());
    System.setProperty(SYS_PROPERTY_KEY_TRUST_PW, config.getTruststorePass());
    ServiceFactoryImpl factory = null;
    factory = (ServiceFactoryImpl) ServiceFactory.newInstance();
    Service clientInterfaceService = null;
    try {// create the service for the ClientInterface
    clientInterfaceService = factory.createService(wsdlUrl, serviceQName, mapping, new URL(config.getServerURL())); //, new URL(config.getServerURL())
    log.info("*******ClientInterFaceService WSDL URL Host: " + clientInterfaceService.getWSDLDocumentLocation().getHost()); // out:firm.sub
    log.info("*******ClientInterFaceService WSDL URL Port: " + clientInterfaceService.getWSDLDocumentLocation().getPort()); // out: 443
    } catch (ServiceException e) {
    log.error(e.getMessage());
    throw new RuntimeException(e.getMessage());
    } catch (MalformedURLException e) {
    log.error(e.getMessage());
    throw new RuntimeException(e.getMessage());
    } catch (Exception e) {
    log.error(e.getMessage());
    throw new RuntimeException(e.getMessage());
    }// getting the ClientInterfaceEndpoint
    ClientInterfaceEndpoint clientInterface = (ClientInterfaceEndpoint) clientInterfaceService.getPort(ClientInterfaceEndpoint.class);
    return clientInterface;
    protected URL getClientInterfaceWsdlUrl() {
    URL url = null;
    String urlString = getConfig().getServerURL() + CLIENT_INTERFACE_URI + "?wsdl";
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    Properties properties = System.getProperties();
    String handlers = System.getProperty(SYS_PROPERTY_KEY_PKGS);
    if (handlers == null) {
    properties.put(SYS_PROPERTY_KEY_PKGS, SYS_PROPERTY_VALUE_PKGS);
    else {
    properties.put(SYS_PROPERTY_KEY_PKGS, SYS_PROPERTY_VALUE_PKGS.concat("|").concat(handlers));
    try {
    url = new URL(urlString);
    log.info("*******URL host: " + url.getHost());
    log.info("*******URL port: " + url.getPort());
    log.info("*******URL path: " + url.getPath());
    } catch (MalformedURLException e) {
    log.fatal("DocumentProvider SOAP configured incorrectly. DocServer URL malformed: " + urlString);
    throw new RuntimeException("DocumentProvider SOAP configured incorrectly. DocServer URL malformed: " + urlString, e);
    System.setProperties(properties);
    return url;
    }if it's usefull: the customer use a apache server (not tomcat) where a the server is and the client at another system the jboss.
    The customer told me: if i want to connect the client via http i have to tunnel.. maybe i have to tunnel using https too?
    have i to generate the endpoint classes a second time, extra for https?
    or doesn't soap like host like "firm.sub"?
    can anyone help me please?!
    sorry, my english isn't very well...

    sorry, it's not the same error. The output is: Unable to connect to any host due to exception: java.net.socket.exception: java.net.socket.exception: Unregcognized windows socket error: 10106: create.

  • InetAddress posting Unknown Host Exception

    Hello,
    I am relatively new to java and I am running into an Unknown Host Exception when attempting to return the IP's for valid host names. The strange part is that the first host name returns an address however every entry after the first returns the Unkown Host Exception. Here is the snippet of code that the problem is occuring in.
    Inet address as declared earlier in the code:
         private InetAddress Address = null;Code reporting errors:
              StringBuffer sb0 = new StringBuffer();
              int chr;
              // Read until the end of the stream     
              while ((chr = inputStream0.read()) != -1)
                      sb0.append((char) chr);
              String display = sb0.toString();
              String temp = display.replace("Giant ", "g0");
              String[] words = temp.split("\\|");
              StringBuffer db = new StringBuffer();
              for (int i=0; i < words.length; i++)
                      String many = (words[i] +"wu1");
                      try
                              Address = InetAddress.getByName(many);
                   db.append(words[i] + "wu1|" + Address);
                      catch(NullPointerException e)
                              db.append(words[i] + "wu1 - Null Pointer - ");
                      catch(UnknownHostException e)
                              db.append(words[i] + "wu1 - Unknown Host - ");
              String yay = db.toString();
              log.append(yay);
                                    catch (FileNotFoundException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
                                    catch (IOException e)
              // TODO Auto-generated catch block
              e.printStackTrace();
              }I have attempted setting Address back to null after the address was appended but it didn't make any difference.
    Edited by: mudbuggle on Aug 4, 2008 7:19 PM

    I made the adjustments however I am still experiencing the same problem.
    www.yahoo.com returns an ip address but the rest return Unknown Host Exceptions.
    www.yahoo.comjava.net.UnknownHostException:
    forums.sun.com
         at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
         at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
         at java.net.InetAddress.getAddressFromNameService(Unknown Source)
         at java.net.InetAddress.getAllByName0(Unknown Source)
         at java.net.InetAddress.getAllByName(Unknown Source)
    forums.sun.com     at java.net.InetAddress.getAllByName(Unknown Source)
         at java.net.InetAddress.getByName(Unknown Source)
         at IP$1.actionPerformed(IP.java:83)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    java.net.UnknownHostException:
    www.google.com
         at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
         at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
         at java.net.InetAddress.getAddressFromNameService(Unknown Source)
         at java.net.InetAddress.getAllByName0(Unknown Source)
         at java.net.InetAddress.getAllByName(Unknown Source)
         at java.net.InetAddress.getAllByName(Unknown Source)
         at java.net.InetAddress.getByName(Unknown Source)
         at IP$1.actionPerformed(IP.java:83)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

Maybe you are looking for