Response code 403 from server when launching jnlp

Ive searched the forums for this same problem to no avail. We have a reverse proxy server which requires authentication to log in. Once the user logs in, then they can run our webstart app. But when I run it, I get this error in webstart: Please pay attention to the "Caused by:" section of the WRAPPED EXCEPTION tab.
GENERAL
An error occurred while launching/running the application.
Title: Sherlock
Vendor: Boeing
Category: Download Error
Unable to load resource: https://rptest.ca.boeing.com/sherlock/sherlockbpn.jnlp
LAUNCH FILE
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="https://rptest.ca.boeing.com/sherlock/"
href="sherlockbpn.jnlp">
<information>
<title>Sherlock</title>
<vendor>Boeing</vendor>
<homepage href="."/>
<description>Sherlock description.</description>
<offline-allowed/>
<icon href="sherlockWindowsIcon.gif"/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4"/>
<jar href="sherlock.jar"/>
</resources>
<application-desc main-class="sherlock.gui.applet.SherlockApplet">
</application-desc>
</jnlp>
EXCEPTION
JNLPException[category: Download Error : Exception: java.io.IOException : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
WRAPPED EXCEPTION
JNLPException[category: Download Error : Exception: java.io.IOException : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://rptest.ca.boeing.com:443/ReverseProxy/Authentication.html
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
... 10 more
CONSOLE
Java Web Start 1.4.2_05 Console, started Fri Sep 17 07:54:41 CDT 2004
Java 2 Runtime Environment: Version 1.4.2_05 by Sun Microsystems Inc.
If you look at the wrapped exception, the server appears to be try ing to bounch Web Start back to the login screen. Thats what that https://rptest.ca.boeing.com:443/ReverseProxy/Authentication.html is. Its the login screen. But I have already logged in! It is as if I tried to launch this app without ever logging in. Is there any way to run a web start app after you have authenticated into a server? Please help if you can, I'm really in a bind.
Thanks,
Steve

You may have logged in using your browser, but Java doesn't know that so it will need to login again.
However, there are some issues with regards to NTLM protected resources (e.g. those behind a Microsoft Proxy Server), which has apparently been fixed in 1.4.2 (meaning it didn't work with earlier versions). Perhaps this is what's happening?

Similar Messages

  • Missing version filed in response from server when accessing resource

    Hello all,
    I am getting the following error when trying to do jar version download in webstart.
    Missing version field in response from server when accessing resource(http://lo alhost:8080/jdc/jnlp/new/SimpleGUI.jar,1.0)
    I am using Tomcat 5.5.
    My web.xml looks like this,
    <web-app>
    <display-name>Tomcat Examples</display-name>
    <description>
    Tomcat Example servlets and JSP pages.
    </description>
    <servlet>
    <servlet-name>
    JnlpDownloadServlet
    </servlet-name>
    <servlet-class>
    jnlp.sample.servlet.JnlpDownloadServlet
    </servlet-class>
    <init-param>
    <param-name>
    logLevel
    </param-name>
    <param-value>
    DEBUG
    </param-value>
    </init-param>
    <init-param>
    <param-name>
    logPath
    </param-name>
    <param-value>
    c:\logs\jnlpdownloadservlet.log
    </param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>/jdc/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>*.jnlp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>*.jar</url-pattern>
    </servlet-mapping>
    </web-app>
    My version.xml file.
    <jnlp-versions>
    <resource>
    <pattern>
    <name>SimpleGUI_v1.0.jar</name>
    <version-id>1.0</version-id>
    <locale>en_US</locale>
    <locale>en</locale>
    </pattern>
    <file>SimpleGUI_v1.0.jar</file>
    </resource>
    <resource>
    <pattern>
    <name>SimpleGUI_v2.0.jar</name>
    <version-id>2.0</version-id>
    <locale>en_US</locale>
    <locale>en</locale>
    </pattern>
    <file>SimpleGUI_v2.0.jar</file>
    </resource>
    </jnlp-versions>
    My jnlp file is as follows,
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8080/jdc/jnlp/new" href="SimpleGUI.jnlp">
    <information>
    <title>SimpleGUI</title>
    <vendor>Java Developer Connection</vendor>
    <homepage href="/jdc/jnlp/new/index.html" />
    <description>Demonstration of JNLP</description>
    </information>
    <offline-allowed/>
    <resources>
    <j2se href="http://java.sun.com/products/autodl/j2se" version="1.5+ " />
    <jar href="SimpleGUI_v1.0.jar" version="1.0"/>
    <jar href="AddLogic_v1.0.jar"/>
    <jar href="SimpleGUI_v2.0.jar" version="2.0"/>
    <jar href="AddLogic_v2.0.jar"/>
    </resources>
    <application-desc main-class="com.logic.SimpleGUI" />
    </jnlp>
    For the codebase if I use $$codebase then it reports an error showing,
    The field <jnlp> codebase has an invalid value:$$codebase
    I think the JnlpDpwnloadServlet is not getting invoked. I cant figure out my mistake. I am tired searching in forums and there is no proper answer to this problem. Any help is appreciated.
    Thanks in advance.
    Regards,
    robi

    Thanks for including all your code. I've ran into version download problems before also. In the jar reference don't include the actual __V.jar file name, just include all pre __V.jar. <jar href="AddLogic_v1.0.jar"/> would become <jar href="AddLogic.jar"/>. Now I haven't done it with the version.xml before I just did it with making file named *__V.jar.
    I just re-read all that you did, if you title your files with the __V.jar notation you don't need a version.xml file.
    <jar href="SimpleGUI_v1.0.jar" version="1.0"/>
    Should become
    <jar href="SimpleGUI.jar" version="1.0"/>
    And you would have SimpleGUI_v1.0.jar on your server. Also might need it to be a capital "V" not sure.
    Message was edited by:
    javaunixsolaris

  • Missing version field in response from server when accessing resource

    HY
    I have a problem to use the version option of the webstart. All files are included into a war file (created with jar cvf xx.war *). This file is in the webapps folder of the Tomcat 5. The jar files from the dev. kit (jnlp-servlet.jar, jaxp.jar, parser.jar are in the WEB-INF/lib folder).
    Every time I get the same message:
    Category: Download Error
    Missing version field in response from server when accessing resource: (http://localhost:8080/version/ademo.jar, 1.1)
    Do I need a aditional file or must Iwrite a servlet???
    Whats wrong
    my JNLP file
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File fuer HJP3 WebStart Demo-Applikation -->
    <jnlp codebase="http://localhost:8080/version/" href="wstest.jnlp">
    <information>
    <title>HJP3 WebStart Demo Application</title>
    <vendor>Guido Krueger</vendor>
    <homepage href="http://www.javabuch.de"/>
    <description>HJP3 WebStart Demo Application</description>
    <icon href="wstest.gif"/>
    <offline-allowed/>
    </information>
    <information locale="de">
    <description>HJP3 WebStart Demo-Applikation</description>
    <offline-allowed/>
    </information>
    <security>
    <!-- <all-permissions/> //-->
    </security>
    <resources>
    <j2se version="1.4+"/>
    <jar href="ademo.jar" version="1.1"/>
    </resources>
    <application-desc main-class="Listing3813"/>
    </jnlp>
    my version.xml file
    <jnlp-versions>
    <resource>
    <pattern>
    <name>ademo.jar</name>
    <version-id>1.1</version-id>
    </pattern>
    <file>application.jar</file>
    </resource>
    </jnlp-versions>
    my web.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <servlet>
              <servlet-name>JnlpDownloadServlet</servlet-name>
              <servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>JnlpDownloadServlet</servlet-name>
              <url-pattern>*.jnlp</url-pattern>
         </servlet-mapping>
    </web-app>

    The log file (jnlpdownloadservlet.log) would show the calls for the jar files if the servlet is called for the jar files (did you correct the url mapping ?). Here are a few lines from a log file
    JnlpDownloadServlet(4): Initializing
    JnlpDownloadServlet(3): Request: /maportal/wfe/wfeguiv.jnlp
    JnlpDownloadServlet(3): User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
    JnlpDownloadServlet(4): DownloadRequest[path=/wfe/wfeguiv.jnlp isPlatformRequest=false]
    JnlpDownloadServlet(4): Basic Protocol lookup
    JnlpDownloadServlet(4): JnlpResource: JnlpResource[WAR Path: /wfe/wfeguiv.jnlp lastModified=Tue Mar 23 17:06:56 CET 2004]]
    JnlpDownloadServlet(3): Resource returned: /wfe/wfeguiv.jnlp
    JnlpDownloadServlet(4): lastModified: 1080058016000 Tue Mar 23 17:06:56 CET 2004
    JnlpDownloadServlet(3): Request: /maportal/wfe/wfegui.gif
    JnlpDownloadServlet(3): User-Agent: JNLP/1.0.1 javaws/1.4.2_03 (b02) J2SE/1.4.2_03
    JnlpDownloadServlet(4): DownloadRequest[path=/wfe/wfegui.gif isPlatformRequest=false]
    JnlpDownloadServlet(3): Request: /maportal/wfe/wfegui.jar
    JnlpDownloadServlet(3): User-Agent: JNLP/1.0.1 javaws/1.4.2_03 (b02) J2SE/1.4.2_03
    JnlpDownloadServlet(4): DownloadRequest[path=/wfe/wfegui.jar isPlatformRequest=false]
    JnlpDownloadServlet(4): Basic Protocol lookup
    JnlpDownloadServlet(4): JnlpResource: JnlpResource[WAR Path: /wfe/wfegui.jar lastModified=Tue Mar 23 17:06:30 CET 2004]]
    JnlpDownloadServlet(3): Resource returned: /wfe/wfegui.jarYou should see all the resources (including jar files) being requested, and whether a specific version was requested or not (in above sample, not).
    I put my problems down to my application server (Orion) as other people seem to have this working. The deployment in Orion keeps the original timestamps of the jars, so I explicitly set the timestamps in my build so that the unchanged jars do not have to be downloaded all the time. This is not really a good solution, so maybe someone else can give further advice.
    Brendan

  • HTTP response code: 500  (Internal Server Error) when updating CMS

    Hi all,
    I'm using NWDI to develop a component.
    After I have created Product and SC in SLD, I'm going to add SC into my Track. However the component doesn't appear in the list, even I have updated CMS.
    Then I checked the CMS log file, it says
    #1.5#00110915CACE0071000000190000185400042CDBD4231025#1175222575219#/Applications/CMS/PCS#sap.com/tcSLCMS~PCS#com.sap.cms.pcs.conf.manager.CmsConfManager#liuxiao#126#SAP J2EE Engine JTA Transaction : [1ffffffdf252200315]#shaw2k07_J2E_31401250#liuxiao#27a26201de6811db9d8c00110915cace#SAPEngine_Application_Thread[impl:3]_7##0#0#Error#1#com.sap.cms.pcs.conf.manager.CmsConfManager#Plain###Update CMS failed#
    #1.5#00110915CACE00710000001C0000185400042CDBD4256832#1175222575375#/Applications/CMS#sap.com/tcwddispwda#com.sap.cms.ui.landconf.LandConfController#liuxiao#126##shaw2k07_J2E_31401250#liuxiao#27a26201de6811db9d8c00110915cace#SAPEngine_Application_Thread[impl:3]_7##0#0#Error#1#com.sap.cms.ui.landconf.LandConfController#Plain###CMSConfigurationException SLD (URL http://shaw2k07:50300) server exception: HTTP response code: 500 (Internal Server Error)#
    How can I handle with this problem?
    Thanks in advance.

    Hi Pascal,
    I have checked the SLD server log. When updating CMS failed, this log shows
    #18 03/31/2007 22:17:21.273 [SAPEngine_Application_Thread[impl:3]_10] FATAL com.sap.lcr.cimsrv.CIMOMServlet: SLD initialization failure, can not set up cluster-wide event notification. Please check your JMS provider for errors. More...
    #17 03/31/2007 22:17:21.273 [SAPEngine_Application_Thread[impl:3]_10] ERROR com.sap.lcr.cimsrv.ClusterNotificationListener: Failed to initialize cluster notification. Please check your JNDI service and JMS provider for errors. More...
    #16 03/31/2007 22:17:21.226 [SAPEngine_Application_Thread[impl:3]_38] FATAL com.sap.lcr.cimsrv.CIMOMServlet: SLD initialization failure, can not set up cluster-wide event notification. Please check your JMS provider for errors. More...
    #15 03/31/2007 22:17:21.210 [SAPEngine_Application_Thread[impl:3]_38] ERROR com.sap.lcr.cimsrv.ClusterNotificationListener: Failed to initialize cluster notification. Please check your JNDI service and JMS provider for errors. More...
    and More says
    #17 03/31/2007 22:17:21.273 [SAPEngine_Application_Thread[impl:3]_10] ERROR com.sap.lcr.cimsrv.ClusterNotificationListener: Failed to initialize cluster notification. Please check your JNDI service and JMS provider for errors.
    Thrown:
    javax.jms.JMSSecurityException: You do not have permissions: action consumer and instance SLDClusterNotificationTopic.
    at com.sap.jms.protocol.notification.ServerExceptionResponse.getException(ServerExceptionResponse.java:231)
    at com.sap.jms.client.session.Session.checkReceivedPacket(Session.java:2613)
    at com.sap.jms.client.session.Session.createConsumer(Session.java:2172)
    at com.sap.jms.client.session.TopicSession.createSubscriber(TopicSession.java:39)
    at com.sap.lcr.cimsrv.ClusterNotificationListener.<init>(ClusterNotificationListener.java:141)
    at com.sap.lcr.cimsrv.ClusterNotificationListener.start(ClusterNotificationListener.java:68)
    at com.sap.lcr.cimsrv.CIMOMServlet.init(CIMOMServlet.java:106)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.getServlet(WebComponents.java:339)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:354)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    As for the
    javax.jms.JMSSecurityException: You do not have permissions: action consumer and instance SLDClusterNotificationTopic.
    I found information in this thread
    SLD Connection failed
    I'm quite sure that the user loggin into the SLD has the required role referred by "service.jms.default.authorization" "Security Role" "administrator". But it still doesn't work.
    Btw when I restart the whole system the SLD server log also shows
    FATAL com.sap.lcr.cimsrv.CIMOMServlet: SLD initialization failure, can not set up cluster-wide event notification. Please check your JMS provider for errors. More...
    I just have no idea really...

  • System Landscape Directory: HTTP response code: 403 (Forbidden)

    Hi,
    After upgrading PI 7.1 (with local SLD) Stack06 -> Stack09 we have the following error in the runtime workbench. It seems that the connection
    between PI and SLD is not working:
    1) error in RWB -
    Error during communication with System Landscape Directory: HTTP response code: 403 (Forbidden)
    2) another error:      
    8 Message(s) : SLD agent unable to specify domain - Error class com.sap.aii.rwb.exceptions.BuildLandscapeException: Error during communication with System Landscape Directory: HTTP response code: 403 (Forbidden) - Attempt to create JCo connection object failed for domain domain.00.hfasapxi1 - Integration Server unable to specify a JCo client - No component names available from Integration Server - SLD agent unable to specify domain - Error class com.sap.aii.rwb.exceptions.BuildLandscapeException: Error during communication with System Landscape Directory: HTTP response code: 403 (Forbidden) - Attempt to create JCo connection object failed for domain domain.00.hfasapxi1
    3) in the sld:
    INFO com.sap.sld.api.builder.app.DefineHostedSystem: Communication exception in SLD ping (HTTP 403 = FORBIDDEN): http://hfasapxi1:50000/sld/cimom, namespace sld/active.
    sldcheck is working and the users are not locked or not valid. All seems to be ok but I still get these errors.
    Any idea ?
    Dimitry Haritonov

    Hi Venu,
    thanks for the answer but it seems to be something else. After searching for that problem I also ran the configuration wizard->PI self registration. This activity registers all the component of the PI, unfortunately it only registered the "integration server" part without the Adapter engine, domain, RWB and etc.
    Also, when I trigger the registration of the adapter engine I get the following error in the default trace:
    The AdatperEngine has not been registered with the SLD due to: com.sap.aii.af.lib.sld.SLDException: Could not register AdapterFramework to SLD. Reason: Self-registration of instance af.xid.hfasapxi1 of class SAP_XIAdapterFramework failed
    the reason is unknown ... any idea ?
    Dimitry Haritonov

  • HTTP response code 403 (forbidden)

    Hi, my name is Sebastiano and I'm a student.
    I'm developping a Server-Client application for Web in 100% Java.
    My application comunicates with a browser (Explorer) through a socket to satisfy http request.
    So my application is between the browser and the web (like a proxy).
    My application create an HttpUrlConnection with the URL contained in the http request getting from the browser, receive the response (the content of the url requested) from this URL and after doing some task with it, send it to browser as response.
    However some site (in particular www.google.com when my application send to it a query of research) gives to my application http response code 403 (forbidden) raising an "java.io.IOException: Server returned http response code: 403 for URL ...".
    There is someone who can help me ... may questions are:
    Why my application get this respone code?
    There is something to set in HttpUrlConnection to avoid this response?
    How can I avoid this response?
    Thank you very much for yuor reply,
    Sebastiano.

    Read this page:
    http://www.google.com/terms_of_service.html
    Especially the section headed "No Automated Querying".

  • Client certificate - response code: 403

    Hi,
    I'm hitting into a "Server returned HTTP response code: 403" when trying to access a site requiring a client cert/authentication. The site that I'm trying to access has provided me a client cert (public/private key) to use when accessing the site. The certificate is in .pfx-format. I know the cert works because if I install it in a browser (IE or Mozilla on Solaris) it works perfect to access the site. When I try to use it in my code I hit into a "Server returned HTTP response code: 403". Because the client certificate is in .pfx-format I could not use keytool to import it into a keystore so I used BouncyCastleProvider to access the .pfx file directly. Here's my code:
    java.security.Provider provider =
    new org.bouncycastle.jce.provider.BouncyCastleProvider();
    java.security.Security.addProvider(provider);
    System.out.print("creating secure random...");
    SecureRandom secureRandom = new SecureRandom();
    secureRandom.nextInt();
    System.out.println("done!");
    System.out.print("getting the server trust/keystore...");
    KeyStore serverKeyStore = KeyStore.getInstance("JKS");
    System.out.println("done!");
    System.out.print("loading the servers public key...");
    serverKeyStore.load(new FileInputStream("/usr/java/jre/lib/security/cacerts"),
    "changeit".toCharArray() );
    System.out.println("done!");
    System.out.print("loading my private key...");
    KeyStore clientKeyStore = KeyStore.getInstance("PKCS12", "BC");
    clientKeyStore.load(
    new FileInputStream("/home/mabe/clientcert.pfx" ),
    "SV".toCharArray() );
    System.out.println("done!");
    System.out.print("initializing truststore...");
    TrustManagerFactory tmf = TrustManagerFactory.getInstance( "SunX509" );
    tmf.init( serverKeyStore );
    System.out.println("done!");
    System.out.print("initializing keystore...");
    KeyManagerFactory kmf = KeyManagerFactory.getInstance( "SunX509" );
    kmf.init( clientKeyStore, "".toCharArray() );
    System.out.println("done!");
    //print out the aliases from the client keystore, to see that we really got the cert
    System.out.println("aliases in keystore:");
    Enumeration e = clientKeyStore.aliases();
    while(e.hasMoreElements())
    System.out.println(e.nextElement());
    System.out.print("getting the sslcontext...");
    SSLContext sslContext = SSLContext.getInstance( "TLS" );
    sslContext.init( kmf.getKeyManagers(),
    tmf.getTrustManagers(),
    secureRandom );
    System.out.println("done!");
    URL myUrl =
    new java.net.URL("https://bla.bla.bla");
    HttpsURLConnection conn =
    (javax.net.ssl.HttpsURLConnection) myUrl.openConnection();
    conn.setSSLSocketFactory(sslContext.getSocketFactory());
    InputStream in = conn.getInputStream();
    BufferedReader reader =
    new BufferedReader(new InputStreamReader(in));
    String tmp = "";
    while ((tmp = reader.readLine()) != null)
    System.out.println(tmp);
    And here is the output:
    creating secure random...done!
    getting the keystore...done!
    loading the servers public key...done!
    loading my private key...done!
    initializing truststore...done!
    initializing keystore...done!
    aliases in keystore:
    57e720cd2a8b9abea9ac42c6a13aed40_67817e58-6eef-418c-93e8-bcd1b4604bb0
    getting the sslcontext...done!
    Boom!
    java.io.IOException: Server returned HTTP response code: 403 for URL: https://bla.bla.bla.
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:791)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(DashoA6275)
    at Client.<init>(Client.java:81)
    at Client.main(Client.java:11)
    So it seems to me that I never send the client cert to the server... or am I missing something important? The strange alias you see in the output I think is a Microsoft thing (the cert was created, I think, in a Microsoft environment). If I use KeyStore explorer (http://www.lazgosoftware.com/kse/) I can load the .pfx-file into a keystore and view it, then I se another alias.
    Is there any way to find out that the client cert is being sent? I tried to understand the output from javax.net.debug=ssl, but it was to much, If you are interested I will gladly post it.
    So, do you guys have any clue why this aint working? Any help would be great!
    regards
    Mange

    Hi,
    found a soloution on this forum, I imported the .pfx-keypair in Netscape and then exported (used backup in Netscape) it as a .p12-file, then it worked!
    /mange

  • AutoVue applet return HTTP response code: 403 for URL with chinese characte

    Dear All,
    When i integrate with AutoVue Server 19.3 Using AutoVue applet into my web application it returns the following exception
    java.io.IOException: Server returned HTTP response code: 403 for URL: http://.....
    when the file name have chinese characte,but when the file name have no chinese characte and all the normal
    Anyone can help?
    Best Regards

    There are many possible causes of a 403 error. Is this error happening when launching the applet, or does the applet launch properly and the error comes up when loading the file? How do you have AutoVue integrated to your web application? Is it integrated using the AutoVue ISDK? Or are you passing filenames into the applet in a different way? Can you clarify again, does the error only occur when the user tries to open a Chinese filename?
    Also, please note that AutoVue version 19.3 is no longer under Oracle Premier Support. If possible you should upgrade to the latest version of AutoVue, especially if you end up needing to log a Service Request to Oracle.

  • AutoVue applet return HTTP response code: 403 for URL ......

    Dear All,
    When i integrate with AutoVue Server 20.0 Using AutoVue applet into my web application it returns the following exception
    java.io.IOException: Server returned HTTP response code: 403 for URL: http://.....
    but when i view the same content from UCM in AutoVue It open smoothly.
    Anyone can help?
    Best Regards
    Wa'el Abu Rahmeh

    Hello,
    I think we'll need more info to troubleshoot this one. Are you a current AutoVue customer or partner on maintenance? If so, please log an SR so support can investigate with you.
    If not, please contact your AutoVue Account Manager and he'll set you up with a resource who can help.
    Regards,
    Jeff

  • Received HTTP response code 500 : Internal Server Error

    Hi All,
    In my scenario EANCOM to IDOC, I am getting an error in the sender communication channel (FILE Adapter). It is being picked up from the ‘sender’ directory successfully but not reaching the XI box (no messages seen in SXMB_MONI).
    The error in the runtime Workbench says the following:
    “Transmitting the message to endpoint http://gdrsap.nestle.com:50000/XIAxisAdapter/MessageServlet? using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500 : Internal Server Error.”
    Regards,
    Manohar

    Hi Murli
    error code 500 stands for Internal Server Error
    This code is the default for an error condition when none of the other 5xx codes apply.
    for more details on error code follow the link
    http://www.web-cache.com/Writings/http-status-codes.html
    you have to restart J2EE engine
    steps to restart J2EE engine
    1) run transaction SMICM
    2) then in the tab administration => J2EE instance(local) =>send soft shutdown with restart
    by this java engine will restart and will be up in 5-10 minutes and your problem will be solved
    Thanks
    sandeep sharma
    PS ; if helpful kindly reward points

  • Received HTTP response code 500 : Internal Server Error in XI

    Hi,
    I have configured a scenario SOAP to RFC in XI. when I am sending a message from web service, I got following error
    <SOAP:Fault>
                   <faultcode>SOAP:Server</faultcode>
                   <faultstring>Server Error</faultstring>
                   <detail>
                        <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>DeliveryException</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500 : Internal Server Error
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:144)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:831)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
              ]]></text>
                        </s:SystemError>
                   </detail>
              </SOAP:Fault>
    Please suggest.
    Thanks,
    Ashish

    Read blog for all HTTP response code:Http* Errors in XI
    and read sap note  804124, 807000

  • XML Form Build Error Unexpected http response code 500: Internal Server Err

    Hi
    I have the following error message when i am trying to load  XML Form Builder
    "Unexpected http response code 500: Internal Server Error "
    When i am trying to Run the test its shows me the follwoing error log.
    Test Environment: XML Forms Builder Environment Check *
    Start Time: 2008-09-17 15:09:53                       *
    End Time: 2008-09-17 15:09:59                         *
    - Test: Java Environment
    - OK
    -      Start Time: 2008-09-17 15:09:53
    -      End Time: 2008-09-17 15:09:53
    -      Java Runtime Version is 1.6.0_02
    - Test: Connection Tests
    - ! Test Failed !
    -      Start Time: 2008-09-17 15:09:53
    -      End Time: 2008-09-17 15:09:59
    -      A test in the suite failed
         - Test: Download XML Forms Builder Jar
         - OK
         -      Start Time: 2008-09-17 15:09:53
         -      End Time: 2008-09-17 15:09:55
         -      Successfully loaded XML Forms Builder Jar from http://zhmscad8.whirlpool.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/km.appl.xmlforms.xfbuilder_core.jar, Version 6.4.1
         - Test: Download SAP XML Toolkit Jar
         - OK
         -      Start Time: 2008-09-17 15:09:55
         -      End Time: 2008-09-17 15:09:59
         -      Successfully loaded SAP XML Toolkit Jar from http://zhmscad8.whirlpool.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/sapxmltoolkit.jar
         - Test: XML Forms Builder Version
         - ! Test Failed !
         -      Start Time: 2008-09-17 15:09:59
         -      End Time: 2008-09-17 15:09:59
         -      Unexpected http response code 500: Internal Server Error
         - Test: Load Global Settings
         - Not Started
         -      This test depends on the test "XML Forms Builder Version", which did not complete successfully
         - Test: Load Project List
         - Not Started
         -      This test depends on the test "XML Forms Builder Version", which did not complete successfully
    Please let me know the how to slove this Problem.
    Thanks
    Mmukesh
    Edited by: mmukesh reddy on Sep 17, 2008 9:29 PM

    Hi Koti Reddy
    That is not related to my issue.
    Here this error only comming for two users in my group.
    The environment every thing working for remaining user.  But only that two users are facing the problem.
    So please let me know is there any security issues.
    Thanks
    mmukesh

  • HTTP response code: 500  Internal Server Error

    Hi,
    I am working on OpenScript 8.5.
    1) When i play back the script i got the following error message in result view.
    oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException: HTTP response code: 500  Internal Server Error
    * see the Result View :*
    +15:41:09,973 INFO [1] Step: [4] Safexpress PROPEL+
    +15:41:10,066 ERROR [1] Error in section Run+
    oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException: HTTP response code: 500  Internal Server Error
    +     at oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException.createErrorInvalidHttpResponseCode(ThinBrowserException.java:43)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.validate(HTTPService.java:574)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.navigate(HTTPService.java:473)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.navigate(HTTPService.java:1197)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.post(HTTPService.java:1704)+
    +     at script.run(script.java:45)+
    +     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:225)+
    +     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:595)+
    +     at java.lang.Thread.run(Thread.java:619)+
    +15:41:10,066 ERROR [1] Error in section Run+
    oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException: HTTP response code: 500  Internal Server Error
    +     at oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException.createErrorInvalidHttpResponseCode(ThinBrowserException.java:43)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.validate(HTTPService.java:574)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.navigate(HTTPService.java:473)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.navigate(HTTPService.java:1197)+
    +     at oracle.oats.scripting.modules.http.api.HTTPService.post(HTTPService.java:1704)+
    +     at script.run(script.java:45)+
    +     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:225)+
    +     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:595)+
    +     at java.lang.Thread.run(Thread.java:619)+
    +15:41:10,082 ERROR [1] HTTP response code: 500 Internal Server Error+
    2) And how to record the JS(Javascript files) in OpenScript.
    How i can solve this problem.Can any one help me in this issue.

    Ramesh
    The 500 error I guess is due to a miss correlation, sending wrong data to the server making it crash.
    You can record JavaScript files by editing the proxy filter:
    View -> OpenScript Preferences -> Record -> HTTP module (or Sieble) -> Change to URL Filters tab; you can add edit remove filters from there.
    Regards
    Alex

  • Web service error message ' Invalid Response Code: (403) Forbidden'

    Hi Experts,
    I created a webservice, and it working fine in Development and Quality systems. But it is not working in Production system. When trying to click on 'Open Web Service navigator for selected binding' for testing it's giving the following error message.
    Cannot download WSDL from http://na00stgerp01.systems.corbis.net:8003/sap/bc/srt/wsdl/bndg_DFCA9B84C8D5A7F1A013001C23C37FBD/wsdl11/allinone/standard/document?sap-client=120: Invalid Response Code: (403) Forbidden. The requested URL was:"http://na00stgerp01.systems.corbis.net:8003/sap/bc/srt/wsdl/bndg_DFCA9B84C8D5A7F1A013001C23C37FBD/wsdl11/allinone/standard/document?sap-client=120"
    Please suggest me any solution.
    Thanks
    Lakshminarayana

    Hi Lakshminarayana,
    there may be lots of reasons.
    [http://lmgtfy.com/?q=http%20%2B%20403]
    Regards, Hubert

  • Invalid Response Code: (403) Forbidden

    Hi All,
    Im creating a webservice that uses a proxy, when i test the webservice, send this message:
    Error: Service call exception; nested exception is:      com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (403) Forbidden. The requested URL was:"http://15.128.1.176:7001/UTG_webservice/services/Transact"

    Hi,
    Please check if the webservice is up and running and also check if there is any authorization required to consume this webservice.
    try testing your webservice from sap soap client and se ethe result.
    thanks
    amit

Maybe you are looking for

  • Start a workflow for a list item that was created by someone else

    What settings do I need to change so that I can start a workflow for a list item created by another user? I have a SharePoint 2013 workflow (let's call it LSR Status Workflow) that is associated with a list (called LSR List). When a user creates an i

  • Equipment for Airplay

    Let me understand this. I can use a PC with iTunes to WiFi a movie to the Apple TV (square) and then via HDMI cable to my HD television. Or I can use an iPad with WiFi to send a movie to the Apple TV (square) then to the TV via HDMI cable. Is that ho

  • Configuring MSCS Node B in windows clustring environment.

    Hello everybody, I installed the  IDES 5.0 on windows 2003 SP1 and SQL serer 2005 in windows clustering environment. I have configured the MSCS Node A but I am confuse for How to configure on Node B 1. How to configure MSCS on node B? 2. Is  setup (i

  • TS1814 Error 7 Windows error 5

    I have a hp laptop computer.  When I tried updating Itunes, it said error 7 (windows error 5).   I even uninstalled itunes, then tried installing again.  Results are the same.   I have used just about every suggestion that was thrown at me to no avai

  • Stop Firefox automatically opening homepage when opening links in external apps.

    When Firefox is not running, and intermittently when running and there are no windows open, clicking a link in another program (such as Tweetie or Apple's Mail.app) causes Firefox to open a second window with my homepage in it. I cannot find a way to