Exception: java.io.IOException: HTTP response 404 : LaunchDesc: null ]

What's matter?
I checked URL in jnlp file several times. but I coudn't know how to do.
Error mesagge shows below,
Exception: java.io.IOException: HTTP response 404 : LaunchDesc: null ]
     at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
...etc
Anybody help, plz?

Hi,
this might be a proxy config issue. Check Sun's Web Start FAQ for more details.
- Gerald

Similar Messages

  • Java.io.IOException: HTTPS hostname wrong:  should be localhost

    I'm having problems verifying an SSL client using Tomcat v5.x. I create a key in a particular keystore, let's call it C:\tomcat. I start tomcat specifying this file as the keystore to use. I then connect to the server on port 8443 with Internet Explorer and save the certificate returned from the server in a file. I then import the certificate into a keystore, let's say C:\tomcat_client. In my SSL client code I am specifiying the keystore to use with a System.setProperty("javax.net.ssl.trustStore", "C://tomcat_client"); However when I try to retrieve an output stream from a HttpURLConnection I receive the above exception. Any ideas what is happening ?
    Exception : java.io.IOException: HTTPS hostname wrong: should be <localhost>
    I have tried a variety of other options including importing the certificate into jssecacerts in the lib/security directory of the jre I am using to execute the SSL client, using the same keystore file for tomcat and the SSL client, etc.

    Hi Everybody!
    I've had a lot of problems with HTTPS connection. But finally I found a solution that works for me. So here is the Servlet:
    * File name: TestServlet.java
    * Created on 2005.01.21.
    package georgie.test.servlet;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.net.URL;
    import javax.net.ssl.HostnameVerifier;
    import javax.net.ssl.HttpsURLConnection;
    import javax.net.ssl.SSLSession;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    * @author Gy�rgy Nov�k
    public class TestServlet extends HttpServlet
        protected void doGet(HttpServletRequest request,
                HttpServletResponse response) throws ServletException, IOException
            try
                trustAllHttpsCertificates();
                String urlStr = request.getParameter("url");
                HttpsURLConnection.setDefaultHostnameVerifier(hv);
                URL url = new URL(urlStr == null ? "https://www.verisign.com/"
                        : urlStr);
                debug("URL READY");
                BufferedReader in = new BufferedReader(new InputStreamReader(url
                        .openStream()));
                debug("INPUT READY");
                int buff;
                while ((buff = in.read()) != -1)
                in.close();
                debug("EVERYTHING IS DONE!!!");
            catch (Exception e)
                e.printStackTrace();
        HostnameVerifier hv = new HostnameVerifier()
            public boolean verify(String urlHostName, SSLSession session)
                System.out.println("Warning: URL Host: " + urlHostName + " vs. "
                        + session.getPeerHost());
                return true;
        private void debug(String s)
            System.out.println("[DEBUG] -- TestServlet -- \n" + s);
        private static void trustAllHttpsCertificates() throws Exception
            //  Create a trust manager that does not validate certificate chains:
            javax.net.ssl.TrustManager[] trustAllCerts =
            new javax.net.ssl.TrustManager[1];
            javax.net.ssl.TrustManager tm = new miTM();
            trustAllCerts[0] = tm;
            javax.net.ssl.SSLContext sc =
            javax.net.ssl.SSLContext.getInstance("SSL");
            sc.init(null, trustAllCerts, null);
            javax.net.ssl.HttpsURLConnection.setDefaultSSLSocketFactory(
            sc.getSocketFactory());
        public static class miTM implements javax.net.ssl.TrustManager,
                javax.net.ssl.X509TrustManager
            public java.security.cert.X509Certificate[] getAcceptedIssuers()
                return null;
            public boolean isServerTrusted(
                    java.security.cert.X509Certificate[] certs)
                return true;
            public boolean isClientTrusted(
                    java.security.cert.X509Certificate[] certs)
                return true;
            public void checkServerTrusted(
                    java.security.cert.X509Certificate[] certs, String authType)
                    throws java.security.cert.CertificateException
                return;
            public void checkClientTrusted(
                    java.security.cert.X509Certificate[] certs, String authType)
                    throws java.security.cert.CertificateException
                return;
    }Wish You all the best:
    Georgie

  • Java.io.IOException: HTTPS hostname wrong

    Hello
    I was trying to open a connection to secure URL and post content to it.
    I got the following exception:
    java.io.IOException: HTTPS hostname wrong: should be <165.112.121.195>
    at sun.net.www.protocol.https.HttpsClient.b(DashoA12275)
    Its apparantly because the connection is
    com.sun.net.ssl.internal.www.protocol.https.DelegateHttpsURLConnection
    not
    sun.net.ssl.www.protocol.DelegateHttpsURLConnection
    I tried setting the system property
    System.setProperty("java.protocol.handler.pkgs","sun.net.www.protocol");
    to force JVM to use the newer Delegate.
    Its still doent work. I use JDK 1.4.2_05. I deploy my application in OC4J 9.0.4
    Interesting thing is, I use this code in two different applications, it works in
    one and doen't work in one. Both containers use same JDK. Both are OC4J
    containers.
    Any thoughts? I would appreciate.
    thanks
    Raghavan

    Do you mean?
    System.setProperty("java.protocol.handler.pkgs","sun.net.ssl.www.protocol");

  • How to slove follwoing error "Unreported exception java.io.IOException;"

    Currently I'm using following:
    XP Professional
    J2sdk1.4.2_01
    Xerces-2_5_0
    Xalan-j_2_5_1
    Jakarta-tomcat-4.1.27
    Jdom-b9
    Current Classpath setting
    User variables
    PATH = c:\bmrt2.5\bin; c:\j2sdk\bin;%PATH%;%JAVA_HOME%\bin;
    CLASSPATH=.;c:\xerces\xmlParserAPIs.jar;c:\xerces\xercesImpl.jar;
    c:\xerces\xercesSamples.jar;c:\xalan\xercesImpl.jar;c:\xalan\xmlapis.jar;c:\xalan\xalan.jar;c:\tomcat\lib\webserver.jar;c:\tomcat\lib\jasper.jar;c:\tomcat\lib\xml.jar;c:\tomcat\common\lib\serlet.jar;c:\tomcat\lib\tools.jar; c:\tomcat\lib\tools.jar;c:\jdom\build\jdom.jar;
    CATALINA_HOME= c:\tomcat
    JAVA_HOME= c:\j2sdk
    System variables
    PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
    c:\j2sdk\bin;%Path%;%JAVA_HOME%\bin;
    CLASSPATH=.;c:\xerces\xmlParserAPIs.jar;c:\xerces\xercesImpl.jar;
    c:\xerces\xercesSamples.jar;c:\xalan\xercesImpl.jar;c:\xalan\xmlapis.jar;c:\xalan\xalan.jar;c:\tomcat\lib\webserver.jar;c:\tomcat\lib\jasper.jar;c:\tomcat\lib\xml.jar;c:\tomcat\common\lib\serlet.jar;c:\tomcat\lib\tools.jar; c:\tomcat\lib\tools.jar;
    CATALINA_HOME= c:\tomcat
    JAVA_HOME= c:\j2sdk
    Program
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import org.jdom.*;
    import org.jdom.Element;
    import org.jdom.Document;
    import org.jdom.output.XMLOutputter;
    import org.jdom.input.SAXBuilder;
    import org.jdom.Attribute;
    import java.util.List;
    public class AddToList extends HttpServlet
         public Document getDocument(File sourceFile, PrintWriter errorsOut)
              try
                   SAXBuilder builder = new SAXBuilder();
                   Document document = builder.build(sourceFile);
                   return document;
              catch(JDOMException e)
                   errorsOut.print("there was a problem building the document: " e. getMessage()"<br/>"+ "Returning blank document.");
                   return new Document(new Element("blank"));
         public void saveDocument(Document saveDoc, File saveFile, PrintWriter errorsOut)
              try
                   FileOutputStream outStream= new FileOutputStream(saveFile);
                   XMLOutputter outToFile= new XMLOutputter(" ",true);
                   outToFile.output(saveDoc, outStream);
                   outStream.flush();
                   outStream.close();
              catch (IOException e)
                   errorsOut.print("Can't save order.xml: " + e.getMessage()+"<br />");
         public void addItem(Element orderElement, String product_id, String quant)
              Element newItem =new Element("item");
              newItem.setAttribute("product_id", product_id);
              Element quantity =new Element("quantity");
              quantity.addContent(quant);
              newItem.addContent(quantity);
              orderElement.addContent(newItem);
         public void doGet(HttpServletRequest request, HttpServletResponse response)
              throws IOException, ServletException
              String thisProduct_id=request.getParameter("addProduct_id");
              String thisQuantity=request.getParameter("addQuantity");
              response.setContentType("text/html");
              PrintWriter out= response.getWriter();
              out.print("Adding "+ thisQuantity + "of item to chart "+ thisProduct_id +" ... ");
              File orderFile = new File ("file:///c:/jdk1.3/orders.xml");
              if(!orderFile.exists())
                   out.print("Creating ordersrocks....<br />");
                   Element root= new Element("orders");
                   root.addContent(" ");
                   Document document = new Document(root);
                   saveDocument (document, orderFile, out);
              else
                   out.print("Orders File Exists.");
              Document document =getDocument(orderFile, out);
              HttpSession session =request.getSession(true);
              String session_id= session.getId();
              Element root =document.getRootElement();
              List orders =root.getChildren();
              int num_orders =orders.size();
              boolean orderExists =false;
              int orderIndex =0;
              for(int i=0; i<num_orders; i++)
                   Element iOrder=(Element)orders.get(i);
                   String iOrder_id=iOrder.getAttributeValue("order_id");
                   if (iOrder_id.equals(session_id))
                        orderExists=true;
                        orderIndex=i;
                        break;
              if(!orderExists)
                   Element order =new Element("order");
                   order.setAttribute("order_id", session_id);
                   Element status =new Element("order_status");
                   status.setText("open");
                   order.addContent(status);
                   addItem(order, thisProduct_id, thisQuantity);
                   root.addContent(order);
              else
                   Element thisOrder=(Element)orders.get(orderIndex);
                   boolean itemExists=false;
                   int itemIndex =0;
                   List items =thisOrder.getChildren("item");
                   int num_items =items.size();
                   for(int i=0; i<num_items; i++)
                        Element iItem=(Element)items.get(i);
                        String iProduct_id =iItem.getAttribute("product_id").getValue();
                        if(iProduct_id.equals(thisProduct_id))
                             itemExists =true;
                             itemIndex =i;
                             break;
                   if(itemExists)
                        Element thisItem=(Element)items.get(itemIndex);
                        String currentQuantity= thisItem.getChildText("quantity");
                        int newQuantity = Integer.parseInt(currentQuantity)+ Integer.parseInt(thisQuantity);
                        String strQuantity= new String().valueOf(newQuantity)+1;
                        thisItem.getChild("quantity").setText(strQuantity);
                   else
                        addItem(thisOrder, thisProduct_id, thisQuantity);
              saveDocument (document, orderFile, out);
         public void doPost(HttpServletRequest request, HttpServletResponse response)
              throws IOException, ServletException
              doGet(request, response);
    When I compile above program, it gives me following error.
    Error
    C:\tomcat\webapps\book\WEB-INF\classes>javac AddToList.java
    AddToList.java:19: unreported exception java.io.IOException; must be caught
    or declared to be thrown
    Document document = builder.build(sourceFile);
    ^
    1 error
    Any help regarding this will be appreciated
    Thank you
    Rocks

    Obadare
    Thank for your help, my program compile successfully. But now I�m facing different kind of error on Tomcat; why it gives me following error and how do I solve it
    http://localhost:8080/rock/servlet/AddToList
    Following Error generate by Tomcat:
    Http Status 500-
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Cannot allocate servlet instance for path /rock/servlet/AddToList
         at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:435)
         at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
    (ApplicationFilterChain.java:247)
    root cause
    java.lang.NoClassDefFoundError: org/jdom/JDOMException
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Class.java:237)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:903)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
         at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:416)
         at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
    (ApplicationFilterChain.java:247)
    The following is my configuration
    Classpath= .;c:\xalan\bin\xalan.jar;c:\xalan\bin\xml-apis.jar;c:\xerces\xmlParserAPIs.jar;c:\xerces\xercesImpl.jar;c:\tomcat\common\lib\servlet.jar;c:\jdom\build\jdom.jar;
    Java_Home=c:\jdk1.3
    Catalina_Home=c:\tomcat
    Server.xml
    <Engine name="Standalone" defaultHost="localhost" debug="0">
    <Host name="localhost" debug="0" appBase="webapps"
    unpackWARs="true" autoDeploy="true">
    <Context path="/rock" docBase="rock" debug="0"
    reloadable="true" crossContext="true">
    P.S When I try to build javadoc it give me following error:
    C:\jdom>build javadoc
    JDOM Build System
    Building with classpath c:\jdk1.3\lib\tools.jar;.\lib\ant.jar;.\lib\xml-apis.jar
    ;.\lib\xerces.jar;
    Starting Ant...
    Buildfile: build.xml
    [javadoc] Constructing Javadoc information...
    [javadoc] Building tree for all the packages and classes...
    [javadoc] Building index for all the packages and classes...
    [javadoc] javadoc: warning - Tag @link: Class or Package not found: javax.xml.
    transform.TransformerFactory#getFeature
    [javadoc] javadoc: warning - Tag @link: Class or Package not found: javax.xml.
    transform.TransformerFactory#getFeature
    [javadoc] Building index for all classes...
    [javadoc] javadoc: warning - Tag @link: Class or Package not found: javax.xml.
    transform.TransformerFactory#getFeature
    [javadoc] javadoc: warning - Tag @link: Class or Package not found: javax.xml.
    transform.TransformerFactory#getFeature
    [javadoc] javadoc: warning - Tag @link: Class or Package not found: javax.xml.
    transform.Transformer
    [javadoc] javadoc: warning - Tag @link: Class or Package not found: javax.xml.
    transform.Transformer
    [javadoc] javadoc: warning - Tag @link: Class or Package not found: javax.xml.
    transform.Transformer JAXP TrAX Transformer
    [javadoc] javadoc: warning - Tag @link: Class or Package not found: javax.xml.
    transform.TransformerFactory#getFeature
    [javadoc] javadoc: warning - Tag @link: Class or Package not found: javax.xml.
    transform.TransformerFactory#getFeature
    [javadoc] javadoc: warning - Tag @link: Class or Package not found: java.lang.
    Double#NaN
    [javadoc] Generating C:\jdom\build\apidocs\stylesheet.css...
    [javadoc] 10 warnings
    BUILD SUCCESSFUL
    Total time: 12 seconds

  • Different "java.io.IOException: HTTPS hostname wrong:  should be ..." error

    Hi
         I am experiencing some problems using SSL with Java 1.4.2_12 which appear to be subtly different to the ones posted earlier in this forum.
         ProcessA is trying to establish an HTTPS connection with an Apache server but gets the following error whilst trying to open the stream:
         java.io.IOException: HTTPS hostname wrong: should be <nnn.nnn.nnn.n>
         ProcessA obtains the IP to connect to from local config and this exactly matches the IP the IOEXception says it should be! Consequently I am confused as to why JSSE complains.
         I checked the certificates in the local keystore and the CN is also identical to the supplied IP
         I do not have the authority to tinker with the Apache configuration so I can't try anything else out. I must have missed a step somewhere but I am at a loss as to what. If anyone can shed some light on what may be happening here, I'd be obliged.
         thanks

    Ejp: please accept my apologies for the hugely late response to this.
    The problem was indeed at the server end. I had already employed the HostnameVerifier but after some badgering of the server admin the problem was nailed as exactyly what you said.
    Thanks (and apologies) again.

  • Java.io.IOException: Unexpected response: 220

    Hi,
    I am trying to read mails from my inbox.I dont get error during compiling the code but get the below error while executing.Can any help me.And also i am able to send mails but can't read it from inbox.
    Thanks in advance.
    Output
    Session complete
    Store complete
    javax.mail.MessagingException: Connect failed;
      nested exception is:
            java.io.IOException: Unexpected response: 220 Host Name Micros
    oft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at  Tue, 10 Apr 2007 12:14:
    05 +0530code
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import java.io.*;
    import java.util.Properties;
    class Readmail
    public static void main(String[] args) throws Exception
    try
    // Create empty properties
    // Get system properties
       Properties props = new Properties();
       props.put("mail.store.protocol", "pop3");
        props.put("mail.pop3.port", "25");
       props.put("mail.pop3.host", "hostname");
        props.put("mail.pop3.auth", "true");
    // Get session
    Session session = Session.getDefaultInstance(props, null);
    // Get the store
    System.out.println("Session complete");
    Store store = session.getStore("pop3");
    System.out.println("Store complete");
    store.connect("hostname",25,"id","password");
    System.out.println(store.isConnected());
    // Get folder
    Folder folder = store.getDefaultFolder();
    folder = store.getFolder("INBOX");
    folder.open(Folder.READ_ONLY);
    // Get directory
    Message message[] = folder.getMessages();
    for (int i=0, n=message.length; i<n; i++)
       System.out.println(i + ": " + message.getFrom()[0]
    + "\t" + message[i].getSubject());
    // Close connection
    folder.close(false);
    store.close();
    }catch(Exception e){System.out.println(e);}

    Thanks Drclap i got telnet.
    Hi bshannon ,
    The trace received for my company id and below that is for gmailid and also my code below that.
    DEBUG: JavaMail version 1.4ea
    DEBUG: java.io.FileNotFoundException: C:\jdk1.4.2\jre\lib\javamail.providers (Th
    e system cannot find the file specified)
    DEBUG: URL jar:file:/C:/jdk1.4.2/jre/lib/ext/imap.jar!/META-INF/javamail.provide
    rs
    DEBUG: successfully loaded resource: jar:file:/C:/jdk1.4.2/jre/lib/ext/imap.jar!
    /META-INF/javamail.providers
    DEBUG: URL jar:file:/C:/jdk1.4.2/jre/lib/ext/pop3.jar!/META-INF/javamail.provide
    rs
    DEBUG: successfully loaded resource: jar:file:/C:/jdk1.4.2/jre/lib/ext/pop3.jar!
    /META-INF/javamail.providers
    DEBUG: URL jar:file:/C:/jdk1.4.2/jre/lib/ext/smtp.jar!/META-INF/javamail.provide
    rs
    DEBUG: successfully loaded resource: jar:file:/C:/jdk1.4.2/jre/lib/ext/smtp.jar!
    /META-INF/javamail.providers
    DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
    DEBUG: Tables of loaded providers
    DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax
    .mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsyste
    ms, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com
    .sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLSt
    ore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsyst
    ems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.su
    n.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=jav
    ax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc],
    com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP
    3Store,Sun Microsystems, Inc]}
    DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.
    sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STOR
    E,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Prov
    ider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],
    pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy stem
    s, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport
    ,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3
    .POP3SSLStore,Sun Microsystems, Inc]}
    DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
    DEBUG: URL jar:file:/C:/jdk1.4.2/jre/lib/ext/smtp.jar!/META-INF/javamail.address
    .map
    DEBUG: successfully loaded resource: jar:file:/C:/jdk1.4.2/jre/lib/ext/smtp.jar!
    /META-INF/javamail.address.map
    DEBUG: java.io.FileNotFoundException: C:\jdk1.4.2\jre\lib\javamail.address.map (
    The system cannot find the file specified)
    DEBUG: setDebug: JavaMail version 1.4ea
    Session complete
    DEBUG: getProvider() returning javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.
    POP3Store,Sun Microsy stems, Inc]
    Store complete
    DEBUG POP3: connecting to host "Hostname", port 110, isSSL false
    javax.mail.MessagingException: Connect failed;
      nested exception is:
            java.net.ConnectException: Connection refused: connect
    javax.mail.MessagingException: Connect failed;
      nested exception is:
            java.net.ConnectException: Connection refused: connect
            at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)
            at javax.mail.Service.connect(Service.java:275)
            at javax.mail.Service.connect(Service.java:156)
            at Readmail.main(Readmail.java:52)
    Caused by: java.net.ConnectException: Connection refused: connect
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
            at java.net.Socket.connect(Socket.java:452)
            at java.net.Socket.connect(Socket.java:402)
            at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
            at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
            at com.sun.mail.pop3.Protocol.<init>(Protocol.java:81)
            at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:201)
            at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:144)
            ... 3 moreGmail trace
    DEBUG: JavaMail version 1.4ea
    DEBUG: java.io.FileNotFoundException: C:\jdk1.4.2\jre\lib\javamail.providers (Th
    e system cannot find the file specified)
    DEBUG: URL jar:file:/C:/jdk1.4.2/jre/lib/ext/imap.jar!/META-INF/javamail.provide
    rs
    DEBUG: successfully loaded resource: jar:file:/C:/jdk1.4.2/jre/lib/ext/imap.jar!
    /META-INF/javamail.providers
    DEBUG: URL jar:file:/C:/jdk1.4.2/jre/lib/ext/pop3.jar!/META-INF/javamail.provide
    rs
    DEBUG: successfully loaded resource: jar:file:/C:/jdk1.4.2/jre/lib/ext/pop3.jar!
    /META-INF/javamail.providers
    DEBUG: URL jar:file:/C:/jdk1.4.2/jre/lib/ext/smtp.jar!/META-INF/javamail.provide
    rs
    DEBUG: successfully loaded resource: jar:file:/C:/jdk1.4.2/jre/lib/ext/smtp.jar!
    /META-INF/javamail.providers
    DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
    DEBUG: Tables of loaded providers
    DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax
    .mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsyste
    ms, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com
    .sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLSt
    ore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsyst
    ems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.su
    n.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=jav
    ax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc],
    com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP
    3Store,Sun Microsystems, Inc]}
    DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.
    sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STOR
    E,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Prov
    ider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],
    pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy stem
    s, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport
    ,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3
    .POP3SSLStore,Sun Microsystems, Inc]}
    DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
    DEBUG: URL jar:file:/C:/jdk1.4.2/jre/lib/ext/smtp.jar!/META-INF/javamail.address
    .map
    DEBUG: successfully loaded resource: jar:file:/C:/jdk1.4.2/jre/lib/ext/smtp.jar!
    /META-INF/javamail.address.map
    DEBUG: java.io.FileNotFoundException: C:\jdk1.4.2\jre\lib\javamail.address.map (
    The system cannot find the file specified)
    DEBUG: setDebug: JavaMail version 1.4ea
    Session complete
    DEBUG: getProvider() returning javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.
    POP3Store,Sun Microsy stems, Inc]
    Store complete
    DEBUG POP3: connecting to host "pop.gmail.com", port 110, isSSL false
    javax.mail.MessagingException: Connect failed;
      nested exception is:
            java.net.ConnectException: Connection timed out: connect
    javax.mail.MessagingException: Connect failed;
      nested exception is:
            java.net.ConnectException: Connection timed out: connect
            at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)
            at javax.mail.Service.connect(Service.java:275)
            at javax.mail.Service.connect(Service.java:156)
            at Readmail.main(Readmail.java:52)
    Caused by: java.net.ConnectException: Connection timed out: connect
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
            at java.net.Socket.connect(Socket.java:452)
            at java.net.Socket.connect(Socket.java:402)
            at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
            at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
            at com.sun.mail.pop3.Protocol.<init>(Protocol.java:81)
            at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:201)
            at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:144)
            ... 3 moreCode
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import java.io.*;
    import java.util.Properties;
    public class Readmail
    public static void main(String[] args) throws Exception
    try
        Properties props = new Properties();
        props.put("mail.store.protocol", "pop3");
        props.put("mail.pop3.host", "hostname");
        props.put("mail.pop3.auth", "true");
        props.put("mail.debug", "true");
        props.put("mail.debug.quote", "true");
    // Get session
    Session session = Session.getInstance(props, new MyAuthenticator("userid","password"));
    session.setDebug(true);
    // Get the store
    System.out.println("Session complete");
    Store store = session.getStore("pop3");
    System.out.println("Store complete");
    store.connect("hostname","userid","password");
    System.out.println(store.isConnected());
    // Get folder
    Folder folder = store.getDefaultFolder();
    folder = store.getFolder("INBOX");
    folder.open(Folder.READ_ONLY);
    // Get directory
    Message message[] = folder.getMessages();
    for (int i=0, n=message.length; i<n; i++)
       System.out.println(i + ": " + message.getFrom()[0]
    + "\t" + message[i].getSubject());
    // Close connection
    folder.close(false);
    store.close();
    }catch(Exception e){System.out.println(e);e.printStackTrace();}

  • OPP log shows java.io.IOException: HTTPS hostname wrong:

    Hi All -
    While running BI Publisher programs in R12.1.3 instance , we are getting below error.
    [11/14/11 10:02:33 PM] [UNEXPECTED] [82134:RT731346] java.io.IOException: HTTPS hostname wrong: should be <test0va1.mia.abc.com>
    Can anyone please help ?
    Regards

    The error is reported in these docs but I do not think it is helpful.
    Pdf Export On Worklist Throws HTTPS Hostname Wrong Exception [ID 1118694.
    E-IB: Getting "java.io.IOException: HTTPS hostname wrong: should be <*.*.*.*>, but cert says..." on Accessing External Web Service Node over HTTPS [ID 1163124.1]
    Encountering excpetion when calling an external Web Service: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed [ID 1029108.1]
    Please log a SR.
    Thanks,
    Hussein

  • SEVERE: HttpRequestHandler.run Exception: java.io.IOException:

    Hi all:
    I use ADF 11g tp3/ejb to develop my application.(To open a dialog by clicking a button), when I run my application developed by 11g tp2, it is right. But when I change to TP3, the error message is as below:
    08/02/29 16:50:05 SEVERE: HttpRequestHandler.run Exception: java.io.IOException: ????????????????????
         at sun.nio.ch.SocketDispatcher.write0(Native Method)
         at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
         at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
         at sun.nio.ch.IOUtil.write(IOUtil.java:75)
         at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
         at java.nio.channels.Channels.write(Channels.java:60)
         at java.nio.channels.Channels.access$000(Channels.java:47)
         at java.nio.channels.Channels$1.write(Channels.java:134)
         at com.evermind.io.ChunkedOutputStream.close(ChunkedOutputStream.java:105)
         at com.evermind.server.http.EvermindServletOutputStream.closeFinally(EvermindServletOutputStream.java:338)
         at com.evermind.server.http.EvermindHttpServletResponse.close(EvermindHttpServletResponse.java:394)
         at com.evermind.server.http.HttpRequestHandler.doFinishProcessingRequest(HttpRequestHandler.java:854)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:848)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
         at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)Anyone knows what's the problem?
    Thanks
    Hart

    Hi,
    does this reproduce in a TP3 testcase that doesn't use EJB but only the code to open the dialog ? If no, then add EJB back to the equation.
    Frank

  • BLOBDestination Caught exception: java.io.IOException: ORA-01031

    Having problems getting the blobdestination feature to work. Everything looks good in the server trace, up to the distribution of the output. Any idea what the ORA-01031 complaint is about?
    [2006/12/4 4:14:20:484] Exception 50125 (): Caught exception: java.io.IOException: ORA-01031: insufficient privileges
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    at oracle.reports.utility.Utility.newRWException(Utility.java:756)
    at oracle.reports.utility.Utility.newRWException(Utility.java:769)
    at oracle.reports.plugin.destination.blob.BLOBDestination.sendFile(BLOBDestination.java:229)
    at oracle.reports.server.Destination.send(Destination.java:484)
    at oracle.reports.server.JobObject.distribute(JobObject.java:1582)
    at oracle.reports.server.JobManager.updateJobStatus(JobManager.java:2231)
    at oracle.reports.server.EngineCommImpl.updateEngineJobStatus(EngineCommImpl.java:134)
    at oracle.reports.server._EngineCommImplBase._invoke(_EngineCommImplBase.java:94)
    at com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
    at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:280)
    at com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
    at com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)
    [2006/12/4 4:14:20:484] State 56016 (JobManager:updateJobStatus): Job 28 status is: Executed successfully but there were some errors when
    distribute the output
    REP-50159: Executed successfully but there were some errors when distribute the output

    It's Sounds the Privilege issue..
    check these
    - What user is the user connected as ?
    - What is the SQL statement being issued ?
    - Who owns the objects referenced in the statement ?
    Various operations required SELECT as WELL AS INSERT privilege to work

  • POF Exception , java.io.IOException: previous property index=4...

    I am getting the following error when the following application code runs:
    public void testPOF() {
    Token T1 = new Token(1,1,"Toronto",3,5);
    NamedCache aceCache = CacheFactory.getCache("ACE");
    aceCache.put("TokenTest1", T1);
    Token T2 = (Token) aceCache.get("AnkitAsthana");
    if (T1.getNeID().equals(T1.getNeID())) {
    System.out.println(" Works and equal ");
    System.out.println("===============\n");
    As you might already guess Token is a POF object , its artifacts are attached below. Coherence-cache-server seemed to startup fine.
    <Oct 13, 2011 7:56:47 PM PDT> <Warning> <EJB> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
    (Wrapped) java.io.IOException: previous property index=4, requested property index=1 while writing user type 1001.
    (Wrapped) java.io.IOException: previous property index=4, requested property index=1 while writing user type 1001
    at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:215)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ConverterValueToBinary.convert(PartitionedCache.CDB:3)
    at com.tangosol.util.ConverterCollections$ConverterMap.put(ConverterCollections.java:1578)
    Plz help I have no idea what the issue is?
    ======================================================================================================================
    tokens-pof-config.xml
    ======================================================================================================================
    <?xml version="1.0"?>
    <pof-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://xmlns.oracle.com/coherence/coherence-pof-config"
    xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-pof-config coherence-pof-config.xsd">
    <user-type-list>
    <!-- coherence POF user types -->
    <include>coherence-pof-config.xml</include>
    <!-- com.tangosol.examples package -->
    <user-type>
    <type-id>1001</type-id>
    <class-name>Token</class-name>
    </user-type>
    </user-type-list>
    <allow-interfaces>true</allow-interfaces>
    <allow-subclasses>true</allow-subclasses>
    </pof-config>
    ======================================================================================================================
    Token.java
    ======================================================================================================================
    import java.io.IOException;
    import java.io.Serializable;
    import com.tangosol.io.pof.PortableObject;
    import com.tangosol.io.pof.PofReader;
    import com.tangosol.io.pof.PofWriter;
    import java.sql.*;
    import java.util.Enumeration;
    public class Token implements PortableObject {
         * 1 - Unassigned
         * 2 - Available
         * 3 - Reserved
         * 4 - defunct
         private int state;
         * NE-ID(s)
         private String neID;
         * Number of tokens currently Active
         private int tokensCurrentlyActive;
         * Max - Number of tokens available
         private int maxTokensAvailable;
         * unqiue Token ID, used to identify Tokens
         private int tokenID;
         * POF index for data members
         public static final int TOKENID = 0;
         public static final int STATE = 1;
         public static final int NEID = 2;     
         public static final int CURTOKEN = 3;
         public static final int MAXTOKEN = 4;
         * @param state
         public void setState(int state) {
              this.state = state;
         * @return
         public int getState() {
              return state;
         * @param neID
         public void setNeID(String neID) {
              this.neID = neID;
         * @return
         public String getNeID() {
              return neID;
         * @param tokensCurrentlyActive
         public void setTokensCurrentlyActive(int tokensCurrentlyActive) {
              this.tokensCurrentlyActive = tokensCurrentlyActive;
         * @return
         public int getTokensCurrentlyActive() {
              return tokensCurrentlyActive;
         * @param maxTokensAvailable
         public void setMaxTokensAvailable(int maxTokensAvailable) {
              this.maxTokensAvailable = maxTokensAvailable;
         * @return
         public int getMaxTokensAvailable() {
              return maxTokensAvailable;
         * @param tokenID
         public void setTokenID(int tokenID) {
              this.tokenID = tokenID;
         * @return
         public int getTokenID() {
              return tokenID;
         public Token(int state, int tokenID, String neID, int maxTokensAvailable, int tokensCurrentlyActive){
         this.state = state;
         this.tokenID = tokenID;
         this.neID = "Toronto";
         this.maxTokensAvailable = maxTokensAvailable;
         this.tokensCurrentlyActive = tokensCurrentlyActive;
         // ----- PortableObject interface ---------------------------------------
    * {@inheritDoc}
    public void readExternal(PofReader reader)
              throws IOException
    tokenID = Integer.parseInt(reader.readString(TOKENID));
         neID = reader.readString(NEID);
         tokensCurrentlyActive = Integer.parseInt(reader.readString(CURTOKEN));
         maxTokensAvailable = Integer.parseInt(reader.readString(MAXTOKEN));
    state = Integer.parseInt(reader.readString(STATE));
    * {@inheritDoc}
    public void writeExternal(PofWriter writer)
              throws IOException
    writer.writeString(TOKENID,Integer.toString(tokenID));
    writer.writeString(NEID,neID);
    writer.writeString(CURTOKEN,Integer.toString(CURTOKEN));
    writer.writeString(MAXTOKEN,Integer.toString(MAXTOKEN));
    writer.writeString(STATE,Integer.toString(STATE));
    ======================================================================================================================
    coherence-cache-config.xml
    ======================================================================================================================
    <distributed-scheme>
    <scheme-name>example-distributed</scheme-name>
    <service-name>DistributedCache</service-name>
    <serializer>
    <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
    <init-params>
    <init-param>
    <param-type>string</param-type>
    <param-value>tokens-pof-config.xml</param-value>
    </init-param>
    </init-params>
    </serializer>
    <backing-map-scheme>
    <local-scheme>
    <scheme-ref>example-binary-backing-map</scheme-ref>
    </local-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>

    Your read and write methods are wrong.
    your constants are:
    public static final int TOKENID = 0;
    public static final int STATE = 1;
    public static final int NEID = 2;     
    public static final int CURTOKEN = 3;
    public static final int MAXTOKEN = 4;your readExternal and writeExternal methods are...
    public void readExternal(PofReader reader)
    throws IOException
        tokenID = Integer.parseInt(reader.readString(TOKENID));
        neID = reader.readString(NEID);
        tokensCurrentlyActive = Integer.parseInt(reader.readString(CURTOKEN));
        maxTokensAvailable = Integer.parseInt(reader.readString(MAXTOKEN));
        state = Integer.parseInt(reader.readString(STATE));
    public void writeExternal(PofWriter writer)
    throws IOException
        writer.writeString(TOKENID,Integer.toString(tokenID));
        writer.writeString(NEID,neID);
        writer.writeString(CURTOKEN,Integer.toString(CURTOKEN));
        writer.writeString(MAXTOKEN,Integer.toString(MAXTOKEN));
        writer.writeString(STATE,Integer.toString(STATE));
    }so the order you are writing the fields is 0, 2, 3, 4, 1 which you cannot do as with POF you must always write the fields in numerical oeder of the POF ID.
    Like this...
    public void readExternal(PofReader reader)
    throws IOException
        tokenID = Integer.parseInt(reader.readString(TOKENID));
        state = Integer.parseInt(reader.readString(STATE));
        neID = reader.readString(NEID);
        tokensCurrentlyActive = Integer.parseInt(reader.readString(CURTOKEN));
        maxTokensAvailable = Integer.parseInt(reader.readString(MAXTOKEN));
    public void writeExternal(PofWriter writer)
    throws IOException
        writer.writeString(TOKENID,Integer.toString(tokenID));
        writer.writeString(STATE,Integer.toString(STATE));
        writer.writeString(NEID,neID);
        writer.writeString(CURTOKEN,Integer.toString(CURTOKEN));
        writer.writeString(MAXTOKEN,Integer.toString(MAXTOKEN));
    }For Pof ID values you can use any int you like and you can have gaps (so you could use 100, 200, 300 etc...) but they must always be written and read in order.
    JK

  • HTTP_RESP_STATUS_CODE_NOT_OK HTTP Response 404

    Hello experts.
    I'm facing the following problem with XI IDoc to IDoc scenario.
    The problem is that XML messages appear in SXMB_MONI transaction with an error status, the status is
    HTTP_RESP_STATUS_CODE_NOT_OK.
    The error looks as following:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Call Adapter  -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
         <SAP:Category>XIServer</SAP:Category>
         <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
         <SAP:P1>404</SAP:P1>
         <SAP:P2>Not Found</SAP:P2>
         <SAP:P3 />
         <SAP:P4 />
         <SAP:AdditionalText>..{some text here} ..</SAP:AdditionalText>
         <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 404 with the description Not Found Error when  sending by HTTP (error code: 404, error text: Not Found)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    I have an assumption that the problem is in the HTTP port of requested URL. because of the following:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Call Adapter   -->
    <SAP:OutboundBinding xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SAP:OutboundBindingEntry version="30">
    <SAP:OutboundBindingObjectId>06720EBBEDD533F3ABBD5CAEC853280E</SAP:OutboundBindingObjectId>
      <SAP:FromPartyName />
      <SAP:FromServiceName>NW0</SAP:FromServiceName>
      <SAP:ToPartyName />
      <SAP:ToServiceName>SXI</SAP:ToServiceName>
      <SAP:ToInterfaceName>ZULIST.ZULIST</SAP:ToInterfaceName>
      <SAP:ToInterfaceNamespace>urn:sap-com:document:sap:idoc:messages</SAP:ToInterfaceNamespace>
      <SAP:OutboundBindingAttributes>
      <SAP:AdapterTypeData xmlns:SAP="http://sap.com/xi/XI/Message/30" />
      </SAP:OutboundBindingAttributes>
      <SAP:HeaderMapping>
      <SAP:FieldMapping xmlns:SAP="http://sap.com/xi/XI/Message/30" />
      </SAP:HeaderMapping>
      <SAP:ChannelEntry version="30">
      <SAP:PartyName xmlns:SAP="http://sap.com/xi/XI/Message/30" />
      <SAP:ServiceName xmlns:SAP="http://sap.com/xi/XI/Message/30">SXI</SAP:ServiceName>
      <SAP:ChannelName xmlns:SAP="http://sap.com/xi/XI/Message/30">IDOC</SAP:ChannelName>
      <SAP:AdapterName xmlns:SAP="http://sap.com/xi/XI/Message/30">XI</SAP:AdapterName>
      <SAP:AdapterNamespace xmlns:SAP="http://sap.com/xi/XI/Message/30">http://sap.com/xi/XI/System</SAP:AdapterNamespace>
      <SAP:AdapterSWCV xmlns:SAP="http://sap.com/xi/XI/Message/30">3B787A8035C111D6BBE0EFE50A1145A5</SAP:AdapterSWCV>
      <SAP:AdapterEngineType xmlns:SAP="http://sap.com/xi/XI/Message/30">IS</SAP:AdapterEngineType>
      <SAP:AdapterEngineName xmlns:SAP="http://sap.com/xi/XI/Message/30" />
      <SAP:MessageProtocol xmlns:SAP="http://sap.com/xi/XI/Message/30">XI</SAP:MessageProtocol>
      <SAP:MessageProtocolVersion xmlns:SAP="http://sap.com/xi/XI/Message/30">3.0</SAP:MessageProtocolVersion>
      <SAP:TransportProtocol xmlns:SAP="http://sap.com/xi/XI/Message/30">HTTP</SAP:TransportProtocol>
      <SAP:TransportProtocolVersion xmlns:SAP="http://sap.com/xi/XI/Message/30">1.0</SAP:TransportProtocolVersion>
      <SAP:ChannelDirection xmlns:SAP="http://sap.com/xi/XI/Message/30">O</SAP:ChannelDirection>
      <SAP:FromPartyAgency xmlns:SAP="http://sap.com/xi/XI/Message/30" />
      <SAP:FromPartySchema xmlns:SAP="http://sap.com/xi/XI/Message/30" />
      <SAP:ToPartySchema xmlns:SAP="http://sap.com/xi/XI/Message/30" />
      <SAP:ToPartyAgency xmlns:SAP="http://sap.com/xi/XI/Message/30" />
      <SAP:ChannelAttributes xmlns:SAP="http://sap.com/xi/XI/Message/30">
      <SAP:AdapterTypeData xmlns:SAP="http://sap.com/xi/XI/Message/30">
      <SAP:Attribute>
      <SAP:Name>addressingMode</SAP:Name>
      <SAP:Value>url</SAP:Value>
      </SAP:Attribute>
      <SAP:Attribute>
      <SAP:Name>authenticationModeBasicAnon</SAP:Name>
      <SAP:Value>basicSAP</SAP:Value>
      </SAP:Attribute>
      <SAP:Attribute>
      <SAP:Name>host</SAP:Name>
      <SAP:Value>drobnitsa</SAP:Value>
      </SAP:Attribute>
      <SAP:Attribute>
      <SAP:Name>httpDestination</SAP:Name>
      <SAP:Value />
      </SAP:Attribute>
      <SAP:Attribute>
      <SAP:Name>isMessageSecurity</SAP:Name>
      <SAP:Value>0</SAP:Value>
      </SAP:Attribute>
      <SAP:Attribute>
      <SAP:Name>logonClient</SAP:Name>
      <SAP:Value>000</SAP:Value>
      </SAP:Attribute>
      <SAP:Attribute>
      <SAP:Name>logonLanguage</SAP:Name>
      <SAP:Value>EN</SAP:Value>
      </SAP:Attribute>
      <SAP:Attribute>
      <SAP:Name>logonPassword</SAP:Name>
      <SAP:Value isPassword="true" />
      </SAP:Attribute>
      <SAP:Attribute>
      <SAP:Name>logonUser</SAP:Name>
      <SAP:Value>XISUPER</SAP:Value>
      </SAP:Attribute>
      <SAP:Attribute>
      <SAP:Name>passHopList</SAP:Name>
      <SAP:Value>1</SAP:Value>
      </SAP:Attribute>
      <SAP:Attribute>
      <SAP:Name>path</SAP:Name>
      <SAP:Value>*/sap/xi/engine?type=entry*</SAP:Value>
      </SAP:Attribute>
      <SAP:Attribute>
      <SAP:Name>port</SAP:Name>
      <SAP:Value> 50000 </SAP:Value>
      </SAP:Attribute>
      </SAP:AdapterTypeData>
      </SAP:ChannelAttributes>
      </SAP:ChannelEntry>
      </SAP:OutboundBindingEntry>
      </SAP:OutboundBinding>
    If I am no mistaken
      <SAP:Attribute>
      <SAP:Name>port</SAP:Name>
      <SAP:Value> 50000 </SAP:Value>
      </SAP:Attribute>
    this attribute is setting the port of requested URL, it is 50000, but it should be, I guess, 8000.

    Thank you for your answers I had already checked this and I'am sure that the port should be 8000.
    Where did this port number should be specified?
    Unfortinatally I did not have any basis men around me, I did installation and post-installtion check by myself, I have rechecked all post-installation activities but found nothing wrong.
    Please guide me.

  • HTTP Response 404, Forbidqden Error 403

    Hi
    We are unable to receive any messages into Integration server. Following are the error messages in log viewer and in the Tool Test Configuration in the Integration Directory.
    <u>Log Viewer</u>
    <b>"Transmitting the message to the endpoint http://piserv33:50100/sap/xi/engine?type=entry  using connection AFW failed, due to : com.sap.aii.af.ra.ms.api.RecovarableException: Received HTTP response code 404  : Not Found."</b>
    <u> Tool Test Configuration </u>
    <b>Sender Agreement
    <Not found>
    <Trace level="1" type="B">SENDER AGREEMENT SIMULATION</Trace>... (5 lines)
    Receiver Determination
    <Not found>
    Internal Error
    HTTP connection to ABAP Runtime failed. Error: 403 Forbidden URL: http://piserv33:8001/sap/xi/simulation?sap-client=001 User: PIDIRUSER </b>
    Any pointers to solve this will be of great helpful.
    System is PI 7.0.
    Regards
    Anandan

    Hi,
    1) Activated all services
    2) In Integration builder, receiver communication channel make sure you have entered proper
    host service number
    path = /sap/xi/enigne?type = receiver.
    3)Go to SU01 > type PIISUSER and reset the user's pw
    Check out this might be helpful
    http://help.sap.com/saphelp_nw04/helpdata/en/89/05793c05f0807be10000000a11405a/content.htm
    This will help you
    403 ERROR
    See if the note might help you 961880
    Regards
    Agasthuri Doss

  • Java.io.IOException: Error in HTTP operation

    hai
    My Application is working fine in emulator and working fine under Via OTA and also works fine in Nokia 7210 ,but i install in Nokia 6230i i got the error java.io.IOException: Error in HTTP operation,when i type the same url in Nokia 6230i browser the result came back from the server ,only in application its not working ,plese help me regarding this , what is the problem
    my code for Http Connection
    System.out.println("in here");
         HttpConnection c = null;
    InputStream is = null;
    try
              System.out.println("in try");
    c=(HttpConnection)Connector.open(url);
              c.setRequestMethod(HttpConnection.GET);
              c.setRequestProperty("User-Agent", "Profile/MIDP-2.0 Configuration/CLDC-1.0");
              c.setRequestProperty("Content-Language", "en-US");
              System.out.println("after passing url");
    int rc = c.getResponseCode();
    if (rc != HttpConnection.HTTP_OK)
    throw new IOException("HTTP response code: " + rc);
    System.out.println("after responce");
    is = c.openInputStream();
    ByteArrayOutputStream bin = new ByteArrayOutputStream();
    byte[] buffer = new byte[3000];
    int rd;
    while ( (rd=is.read(buffer))!= -1)
    bin.write(buffer,0,rd);
    System.out.println("after getting data");
    bin.flush();
    return bin.toString();
    Thanks & regards
    Ravi varma

    You still did not answer my question on the other forum: what is the value of rc? int rc = c.getResponseCode();Mihai

  • Java.io.IOException Exception

    i just configured the tomcat5.5 server and when i try to run my servlet from JBuilder2006 it gives me the error:
    org.apache.catalina.startup. boostrap init classloader
    severe: class loader creation threw exception
    java.io.IOException : the file name, directory name or volume label syntax is incorrect;
    its my first servlet so if u could further i ll be greateful

    * Log files for Database Tier located under $ORACLE_HOME/appsutil/log/<SID>_<hostname>
    i.e. C:\oracle\proddb\9.2.0\appsutil\log\PROD_jccsoracle
    XXXXXXX.log - Main Oracle Applications Rapid Install Wizard Install log for DB Tier
    (Where XXXXXXXX = MMDDHHMM - Date and Time of run, e.g. 02030450.log)
    * Log files for Application Tier located under $APPL_TOP/admin/<SID>_<hostname>/log
    XXXXXXX.log - Main Oracle Applications Rapid Install Wizard Install log for Apps Tier
    (Where XXXXXXXX = MMDDHHMM - Date and Time of run, e.g. 02030450.log)

  • Java.io.IOException: There is no process to read data written to a pipe.

    Hi all
    I am facing a problem when i run my application
    I am using jdk1.3 and Tomcat 4.0.3
    Actually my application works absolutely fine but when i check the
    local_host log file of tomcat i find the following stack trace in it
    2006-01-04 10:59:00 StandardWrapperValve[default]: Servlet.service() for servlet default threw exception
    java.io.IOException: There is no process to read data written to a pipe.
         at java.net.SocketOutputStream.socketWrite(Native Method)
         at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled Code))
         at org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java(Compiled Code))
         at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
         at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
         at org.apache.catalina.connector.ResponseStream.write(ResponseStream.java:312)
         at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java:189)
         at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java:1903)
         at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1652)
         at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:1197)
         at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:519)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
         at java.lang.Thread.run(Thread.java:498)
    2006-01-04 10:59:00 ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/error]
    java.lang.IllegalStateException
         at java.lang.RuntimeException.<init>(RuntimeException.java:39)
         at java.lang.IllegalStateException.<init>(IllegalStateException.java:36)
         at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:243)
         at org.apache.catalina.valves.ErrorDispatcherValve.custom(ErrorDispatcherValve.java:384)
         at org.apache.catalina.valves.ErrorDispatcherValve.throwable(ErrorDispatcherValve.java:250)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:178)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
         at java.lang.Thread.run(Thread.java:498)
    What i dont get is in the entire stack trace i am not able to locate which of my application files is causing the errors
    I searched on net and found a few root causes but i am not able to find out exactly which class file is causing the stack trace
    Any suggestions are most welcome
    Thanking in advance

    Did you do something strange like writing the object out using the Servlet response's output stream and then attempted to redirect or forward a user to another page? That is usually how the IllegalStateException gets generated. You would still see a valid response from the caller's perspective, but since you attempted to forward or redirect after data has already been written to the stream on the server, an exception is thrown there.
    - Saish

Maybe you are looking for

  • Applicatio​n icon is going to downloads

    Hai all            i developed an application in blackberry. when iam loading it to curve 8900 simulator theappplication icon is not shong in the menu items INSTED IT IS GOING TO DOWNLOADS. .can anyone suggest me how to show my applicationicon in the

  • Copy and Paste text from Tabnavigator?

    Within a tab navigator, I am using a canvas that contains an mx:form and mx:formItem to display the query results. I would like to be able to give the users the ability to highlight the text displayed to copy and paste. Is there a built-in option tha

  • MiniDP port doesn't play sound via HDMI

    I have connected it from the computer to the HD tv, and the video works. But the sound will not transfer, The sound preferences doesn't show any outputs but the internal speakers, and I checked the MIDI setup Utility, and it also did not show it as a

  • How to send the complete apex page in email.

    Hi All, I have created an apex page which contains 5 sql report region and one IR region. All these regions are dynamic. Now I have created on button to just send an email to the addresses mentioned in the process. Now I want to send this page daily

  • Itunes opens by itself and plays music at random hours. I was awakened in the middle of the night.

    Does anyone else have this problem? I actually talked to an Apple support person who laughed and said "is this a Halloween joke?" It is not a joke, I am so annoyed by this behaviour of itunes that I will have to uninstall and go without if it isn't s