Debugging Webstart applications

In order to debug a webstart application (remotely) some parameters (e.g. -Xdebug -Xrunjdwp:transport=...) have to be added to the JVM of the application.
Because WebStart-JVM terminates after launching the application in a seperate JVM the debug-parameters are useless for the application-JVM.
To solve the problem either
a) WebStart must be told not to invoke a seperate JVM or
b) there has to be a place (e.g. the JNLP-file) where to enter the debugging parameters belonging to the application-JVM.
Can anybody give me some hints how to solve a) and/or b)?
Thanks

I already looked at www.vamphq.com. But I only found a description how to start the WebStart-JVM with debugging parameters set and a small untillity which sets the parameters automatically for the WebStart-JVM.
Both solutions dont't work for the application-JVM which was invoked by WebStart.

Similar Messages

  • Java Webstart application problem with TLS certificate revocation checks (Java 1.7.0_76)

    We have a problem with our Java Web Start Application regarding the TLS certificate revocation check:
    The application is running on a server within a wide area network which is separated from the internet.
    The application users have access to the WAN, and also access to the internet over some corporate proxy/firewall.
    The user has to enter, for example "https://my-site.de/myapp/ma.jnlp" within a webbrowser or could also call  "javaws https://my-site.de/myapp/ma.jnlp" to start the application client.
    The webserver has a certificate from a trusted certificate authority. This certificate seems to be ok, the browser is even configured to perform OCSP status check.
    The application files are signed with a certificate from another trusted certificate authority. This certificate seems also to be ok. Regarding this certificate there
    are no problems with certificate revocation checks.
    The problem is, while starting the application client there is a message box which tell us something like "the connection to this website ist not trustworthy",
    "Website: https://my-site.de:80", and something about an invalid certificate, meaning the webserver certificate.
    Obviously the jvm runtime, which is executed on the users workstation, tries to perform a revocation check for the webservers certificate, but this fails because
    it cannot fetch the certificate under https://my-site.de:80.
    The application will execute without further problems after that message but the users are very concerned about the "invalid" certificate, so here are my questions:
    - Why is the application trying to get the webserver certificate over Port 80. Our application developers told me, there is no corresponding statement. Calling this address
      has to fail while "https://my-site.de:443" or "https://my-site.de" would not have a problem.
    - Is there a way to make the application go on without performing a tls revocation check? I mean, by adjusting the application sourcecode and not by configuring the users Java Control Panel.
      While disabling the TLS Certificate Revocation check in the Java Control Panel, the Webstart Application executes without a warning message, but this is not a workable solution for
      our users.
    It would be great if someone can help me with a hint so i can send our developers into the right direction;-)
    Many thanks!
    This is a part from a java console output after calling "javaws -verbose https://my-site.de/myapp/"
    (sorry for this is in german... and also my english above)
    network: Verbindung von http://ocsp.serverpass.telesec.de/ocspr mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    network: Verbindung von http://ocsp.serverpass.telesec.de/ocspr mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    security: OCSP Response: GOOD
    network: Verbindung von http://ocsp.serverpass.telesec.de/ocspr mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    security: UNAUTHORIZED
    security: Failing over to CRLs: java.security.cert.CertPathValidatorException: OCSP response error: UNAUTHORIZED
    network: Cacheeintrag gefunden [URL: http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl, Version: null] prevalidated=false/0
    cache: Adding MemoryCache entry: http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl
    cache: Resource http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl has expired.
    network: Verbindung von http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    network: Verbindung von http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl mit Proxy=HTTP @ internet-proxy.***:80 wird hergestellt
    network: ResponseCode für http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl: 200
    network: Codierung für http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl: null
    network: Verbindung mit http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl trennen
    CacheEntry[http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl]: updateAvailable=true,lastModified=Tue Mar 24 10:50:01 CET 2015,length=53241
    network: Verbindung von http://crl.serverpass.telesec.de/rl/TeleSec_ServerPass_CA_1.crl mit Proxy=HTTP @ internet-proxy.***:80 wird
    network: Verbindung von socket://ldap.serverpass.telesec.de:389 mit Proxy=DIRECT wird hergestellt
    security: Revocation Status Unknown
    com.sun.deploy.security.RevocationChecker$StatusUnknownException: java.security.cert.CertPathValidatorException: OCSP response error: UNAUTHORIZED
        at com.sun.deploy.security.RevocationChecker.checkOCSP(Unknown Source)
        at com.sun.deploy.security.RevocationChecker.check(Unknown Source)
        at com.sun.deploy.security.RevocationCheckHelper.doRevocationCheck(Unknown Source)
        at com.sun.deploy.security.RevocationCheckHelper.doRevocationCheck(Unknown Source)
        at com.sun.deploy.security.RevocationCheckHelper.checkRevocationStatus(Unknown Source)
        at com.sun.deploy.security.X509TrustManagerDelegate.checkTrusted(Unknown Source)
        at com.sun.deploy.security.X509Extended7DeployTrustManagerDelegate.checkServerTrusted(Unknown Source)
        at com.sun.deploy.security.X509Extended7DeployTrustManager.checkServerTrusted(Unknown Source)
        at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
        at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
        at sun.security.ssl.Handshaker.processLoop(Unknown Source)
        at sun.security.ssl.Handshaker.process_record(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
        at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
        at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
        at com.sun.deploy.model.ResourceProvider.getResource(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
        at com.sun.javaws.Main.launchApp(Unknown Source)
        at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
        at com.sun.javaws.Main.access$000(Unknown Source)
        at com.sun.javaws.Main$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
        Suppressed: com.sun.deploy.security.RevocationChecker$StatusUnknownException
            at com.sun.deploy.security.RevocationChecker.checkCRLs(Unknown Source)
            ... 35 more
    Caused by: java.security.cert.CertPathValidatorException: OCSP response error: UNAUTHORIZED
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        at sun.security.provider.certpath.OCSP.check(Unknown Source)
        ... 36 more
    security: Ungültiges Zertifikat vom HTTPS-Server
    network: Cacheeintrag nicht gefunden [URL: https://my-site.de:80, Version: null]

    Add the JSF Jars to the WEB-INF/lib directory of the application. If still getting error add to the CLASSPATH variable in the startWebLogic script in the domain/bin directory.

  • Unable to debug any application after upgrading to Reef Shark and Update 6

    Hi,
    Since I upgraded to Reef Shark and consequently also installed the update 6 I can't access the deployment server.
    None of the applications show up in the broswer, nor does the admin-console for the server.
    I get the following exceptions in the browser window when I want to debug my application:
    javax.servlet.ServletException: com.sun.security.auth.PolicyFile
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:218)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         java.security.AccessController.doPrivileged(Native Method)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:169)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    root cause
    java.lang.IncompatibleClassChangeError: com.sun.security.auth.PolicyFile
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
         java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         java.lang.Class.forName0(Native Method)
         java.lang.Class.forName(Class.java:219)
         javax.security.auth.Policy$3.run(Policy.java:215)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Policy.getPolicyNoCheck(Policy.java:209)
         javax.security.auth.Policy.getPolicy(Policy.java:179)
         javax.security.auth.SubjectDomainCombiner$2.run(SubjectDomainCombiner.java:178)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.SubjectDomainCombiner.combine(SubjectDomainCombiner.java:174)
         java.security.AccessControlContext.goCombiner(AccessControlContext.java:386)
         java.security.AccessControlContext.optimize(AccessControlContext.java:310)
         java.security.AccessController.checkPermission(AccessController.java:400)
         java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
         java.lang.SecurityManager.checkRead(SecurityManager.java:863)
         java.io.File.lastModified(File.java:771)
         org.apache.naming.resources.FileDirContext$FileResourceAttributes.getLastModifiedDate(FileDirContext.java:1123)
         org.apache.naming.resources.ResourceAttributes.get(ResourceAttributes.java:706)
         org.apache.naming.resources.DirContextURLConnection.getLastModified(DirContextURLConnection.java:211)
         org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:474)
         org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:450)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:262)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         java.security.AccessController.doPrivileged(Native Method)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:169)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)And when start the admin-console, the browser window stays empty, but this is the exception-trace from the server-log:
    [#|2005-02-12T00:21:44.890+0100|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|ApplicationDispatcher[/asadmin] Servlet.service() for servlet default threw exception
    java.lang.IncompatibleClassChangeError: com.sun.security.auth.PolicyFile
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:219)
            at javax.security.auth.Policy$3.run(Policy.java:215)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Policy.getPolicyNoCheck(Policy.java:209)
            at javax.security.auth.Policy.getPolicy(Policy.java:179)
            at javax.security.auth.SubjectDomainCombiner$2.run(SubjectDomainCombiner.java:178)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.SubjectDomainCombiner.combine(SubjectDomainCombiner.java:174)
            at java.security.AccessControlContext.goCombiner(AccessControlContext.java:386)
            at java.security.AccessControlContext.optimize(AccessControlContext.java:310)
            at java.security.AccessController.checkPermission(AccessController.java:400)
            at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
            at java.lang.SecurityManager.checkRead(SecurityManager.java:863)
            at java.io.File.lastModified(File.java:771)
            at org.apache.naming.resources.FileDirContext$FileResourceAttributes.getCreationDate(FileDirContext.java:1097)
            at org.apache.catalina.servlets.DefaultServlet$ResourceInfo.set(DefaultServlet.java:2399)
            at org.apache.catalina.servlets.DefaultServlet$ResourceInfo.<init>(DefaultServlet.java:2331)
            at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:884)
            at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:470)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:748)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:718)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:478)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:413)
            at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:77)
            at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:92)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
            at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:208)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:509)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
            at java.lang.Thread.run(Thread.java:534)
    |#]
    [#|2005-02-12T00:21:44.890+0100|WARNING|sun-appserver-pe8.0.0_01|org.apache.catalina.authenticator.FormAuthenticator|_ThreadID=14;|Unexpected error forwarding to login page
    javax.servlet.ServletException: com.sun.security.auth.PolicyFile
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:286)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:718)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:478)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:413)
            at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:77)
            at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:92)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:319)
            at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:208)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:509)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
            at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
            at java.lang.Thread.run(Thread.java:534)
    |#]I have no clue as to what is causing this problem. Any help is highly appreciated.
    Iwan

    Hi Iwan,
    From JDK 1.4 the com.sun.security.auth.PolicyFile class has been deprecated and replaced by sun.security.provider.PolicyFile. Could this be the reason?
    I found this info at the following URL. Maybe this will help you in some way: http://www.doc.ic.ac.uk/csg/java/1.4docs/guide/security/jaas/spec/com/sun/security/auth/PolicyFile.html
    Cheers :-)
    Creator Team

  • Error While Debugging the Application

    Hello,
    I am developing applications using WebDynpro  for JAVA.
    I am using NWDI 7.0.
    I am getting an error while debugging the application. When I click on debug mode in debug perspective, I am getting error message as :
    "Failed to connect to remote VM. Connection refused"
    Could any one of you help in resolving this error?
    Thanks and regards,
    Pradnya

    Hi,
    I think NWDI has nothing to do with debugging the application.
    Probably you will get some answers in WebDynpro java forum
    -Ashutosh

  • Common Language Runtime Debugging Services Application has generated an exception that could not be handled

    Our custom got an error when startup our .NET windows form application.
    XXXXX.exe - Common Language Runtime Debugging Services
    Application has generated an exception that could not be handled
    Process id=0x654(1620), Thread id = 0x5b0 (1456)
    Click OK to terminate the application
    Click CANCEL to debug the application
    If they click on "CANCEL" then following error message appears:
    Registered JIT debugger is not available. An attempt to launch a JIT
    debugger with the following command resulted in an error code of 0x2(2)
    Please check the computer settings
    cordbg.exe !a0x654
    Click on Retry to have the process wait while attaching a debugger
    manually.
    Click on Cancel to abort the JIT debug request
    We can not duplicate this problem in our development environment and test environment. So, we ask them to uninstall application, .NET Framework 1.1 and resinstall .NET Framework 1.1 and application. They still got same error. We further ask them to install .NET Framework SDK 1.1. They got some detail error message.
    [thread 0x840] Thread created.
    Unable to determine existence of prolog, if any
    [thread 0x188] Thread created.
    [thread 0xba8] Thread created.
    [thread 0x840] Unhandled exception generated: <0x00c0344c> <System.IO.FileNotFoundException>
     _fileName=<null>
     _fusionLog=<null>
     _className=<null>
     _exceptionMethod=<null>
     _exceptionMethodString=<null>
     _message=<0x00c04cc8> "The specified module could not be found."
     _innserException=<null>
     _helpURL=<null>
     _stackTrace=<0x00c04d2c> array with dims=[156]
     _stackTraceString=<null>
     _remoteStackTraceString=<null>
     _remoteStackIndex=0x00000000
     _HResult=0x8007007e
     _source=<null>
     _xptrs=0x00000000
     _xcode=0xe0434fd
    Thread 0x840 R 0x00000000: <unknown>
    <cordbg>
    Looks like the problem is casued by missing component. But we don't know which component missing and how to find it. Is there anybody can give us some clue what we need to check next and what tool we can use to detect missing component.
    Thanks!!!!

    I tried Dependency Walker in our development environment, looks like it's useless for .NE T Window Form application, the result I got is like bellow,
    XXXXX.EXE
        MSCOREE.DLL
            KERNEL32.DLL
            USER32.DLL
            ADVAPI32.DLL
            SHLWAPI.DLL
            URLMON.DLL
            VERSION.DLL
    I know we used some other DLL like Mirosoft Office Object Library, but MSCOREE.DLL (.NET Runtime Engine) covered them. Any other idea? Thanks!!!!

  • Dont want to download webstart application onto desktop

    Hi all,
    I dont want my webstart application to be downloaded on desktop or you can say i dont want shortcut of this application on my machine.
    I want to restrict opening of this application from shortcut. I want it can only be opened using explorer.
    Thanks in advance

    Hi,
    Thanks for your reply, i didnt understood your last line "Either way a user could create a shortcut on their desktop to the JNLP file (even if it is on the web). "
    This is my JNLP. Tell me what else i have to do to stop creating shortcut on desktop. I dont want to shortcut creation automatically.
    or if shortcut appears then i dont want application to run from that shortcut.
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+"
    codebase="http://10.112.133.205/test"
    href=""
    >
    <information>
    <title>abc</title>
    <vendor>xyz</vendor>
    <homepage href="http://10.112.133.205/test" />
    <description>test</description>
    <icon href="images/logo.gif"/>
    <shortcut online="false">
    <desktop/>
    <menu/>
    </shortcut>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4+" />
    <jar href="test.jar"/>
    </resources>
    <application-desc
    main-class="SysConfig" name="SysConfig" >
    </application-desc>
    </jnlp>

  • Debugging Linux applications on Microblaze

    Hello,
    could someone please answer some questions who is debugging Linux applications on Microblaze.
    I have to prepare an environment to debug applications running on Microblaze Linux 2.6.38. Everywhere, I can find hints how to do it with ARM on Zynq, but this is only a Spartan-6. I might change the Linuxversion but not the hardware.
    First, I compiled the kernel 2.6.38 (PLB, big endian) with initramfs_minimal.cpio.gz, then I compiled it with initramfs_complete.cpio.gz. In both cases, the Linux Kernel is running on Microblaze and I can access the filesystem with a serial link and with LAN using telnet.
    To debug applications, I tried to run with Windows 7 (64-bit) the Xilinx SDK (Eclipse) included in ISE/XPS 14.7. For Linux applications running on Microblaze, I tried to use the GDB-Debugger in SDK. I think I have to start a GDBserver first and then start SDK to connect to it.
    I could not find the GDBserver in the above mentioned filesystems. So, I downloaded the GDB sources for GDB 7.7 and did two configurations. One for the host (first VirtualBox with Ubuntu-Linux-32bit, later Windows 7) and one for the target (microblaze running on spartan-6).
    to create the GDBclient for the PC:
    configure --prefix=/opt/gdb/mb-linux/cross --target=microblaze-unknown-linux-gnu
    The following commands 'make' and 'make install' are running without errors.
    to create GDBserver for the FPGA:
    configure --prefix=/opt/gdb/mb-linux/native --host=microblaze-unknown-linux-gnu
    There is an error with the following command 'make'.
    error: Gdb does not support native target microblaze-unknown-linux-gnu
    I have really tried a lot, looked at many pages, e.g.:
    http://www.wiki.xilinx.com/
    Xilinx Wiki - Getting started
    Xilinx Wiki - MicroBlaze
    Xilinx Wiki - Create Linux Application
    Xilinx Wiki -Debug Application
    Many links were broken and if accessible, debugging Linux on Zynq or debugging a standalone application on microblaze was described.
    It would be very helpful if someone who actually did debug Linux applications on microblaze with or without SDK could describe a little bit how it works.
    Is GDB included in either of these filesystems and I did not see it ?
    Do I need to create GDBserver ?
    What is wrong with my settings to create GDBserver ?
    Is there a totally different way to debug ?
    Thanks in advance for your help,
    Michael

    Hello Achutha,
    thank you for your reply.
    I already knew those two links but I took a close look at them again.
    The second link helps to run a Linux kernel on Microblaze. It ends when it's getting interresting for me. It does not describe anything about developing a Linux application.
    The first link is using Zynq. Most of the steps can be done with Microblaze as well. When I start debugging, it changes to the debug perspektive and after some seconds I see the message
    Hello_Linux_Debug(SDK Linux TCF Agent: Disconnected): Connection refused: connect
    SDK.log in the SDK workspace shows:
    15:20:34.399 ERROR - Unexpected error while parsing XMD response ?: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: invalid number or unquoted string near
    I tried the following options but nothing helped:
    Kernel with initramfs_minimal.cpio.gz and with initramfs_complete.cpio.gz.
    Changed the access rights of /tmp (I used it for 'Remote File Path')
    In the video for Zynq, it is said:
    by default, there is a TCF agent running
    I guess, the TCF agent can be seen on Zynq if you list all processes running.
    What is the name of the TCF agent?
    I guess this one is missing on my Microblaze.
    Any other suggestions?
    Kind regards,
    Michael

  • How to launch a Java WebStart application with older JREs when Java 7u25 is on the client?

    How can I launch older versions of my Java WebStart application, that are built and run with Java 7u21 or earlier, even if Java 7u25 is installed locally on the client? Application launch and behaviour must be reliable and consistent.
    Background:
    As of 7u25 (and later), Java Webstart applications launch with a different class loader than pre-7u25.
    My Java Webstart application has supported versions that were built with older versions of the JDK (e.g. Java 5, 6, 7u21 or earlier). These applications run with their required JRE version, enforced through JNLP. Once Java 7u25 is installed locally, these older applications fail to launch, due to classloader differences.
    The question is: what is required to run older Java WebStart applications even if 7u25 (or later) Java Webstart is installed locally on the client?

    I confirm your findings when using shortcuts to try specific versions of JavaWS with 7u25 or later installed:
    JRE 5u14 launched and the classloader was as pre 7u25
    JRE 6u43 would not launch
    JRE 7u21 launched but the classloader was not as pre 7u25
    You can launch the shortcut with the JavaWS -verbose option to display a messagebox with valuable information.
    I am keeping a close watch on this thread.

  • Use naming datasource in WebStart application

    Hello!
    I created a simple WebStart application with ADF Swing components.(JDeveloper version is 11.1.1.3)
    I deployed this application on Weblogic server (version is 10.3.3).
    But my application works fine, when I use JDBC connection in configuration of my application module.
    When I change type to JDBC DataSource, I get an error: (oracle.jbo.DMLException) JBO-27200: Failure JNDI. Can't execute search of datasource in context hrGlobal
    Where, "hrGlobal" is name of DataSource which is situated on WLS. (This DataSource I created using WLS Console).
    Maybe, there is any help or source code or documentation about this problem, but i could not find such information.
    So, if anyone had met with this problem and can share solution with me, it would be great.
    Thank you for time and answers.
    Regards, Stanislav.

    Hi. Thank you for link. But my problem that this naming DataSource works in ADF Faces application and gives an error in ADF Swing WebStart application. Names in this 2 applications(ADF Faces and ADF Swing) match and i don't use property jbo.server.internal_connection.

  • Debugging EP application project

    Hi Experts,
    I am trying to debug EP application project. In order to do this I have done following steps:
    1) Started config tool of J2EE engine.
    2) Switch to current instance and go to debug tab
    3) Set "Enable debug mode" checked
    4) Set valid debug port.
    5) Saved the settings.
    I am however not able to carry out debugging. Can you pls help me out.
    Thanks
    Gaurav

    Hi Shree,
    maybe this blog helps:
    <a href="https://weblogs.sdn.sap.com/pub/wlg/1971">NetWeaver portal debugging</a>
    Greetings,
    Carsten

  • Building and Debugging MIDP applications.

    Hi,
    I have java files(MIDlet) for MIDP applications. I am unable to compile it in JBuilder7.0. Using J2ME -> KToolbar i am able to build the application/project, But i am unable to debug it. Can anybody tell me how can i successfully create/build/debug MIDP applications?
    what are the necessary S/W required??
    Thanks
    Sunil.

    go to
    http://www.borland.com/products/downloads/download_jbuilder.html#
    and download MobileSet and install it.
    then:
    1) install Wireless Toolkit if you dont have it already
    2) start JBuilder
    3) Tools menu -> Configure JDKs
    4) click "New"
    5) set the path to your WTK path (for example c:\wtk20)
    6) click ok
    7) select it as JDK for your project (or as default) using "Project properties" on the project menu
    for JBuilder Personal Edition, there's a trick to make it work - you can replace the included J2SE JDK with MIDP 2.0 and get it working (personal edition doesn't normally have the ability to add new JDKs)
    When you're going to run an application in your project, you'll get the Run window coming up. Do like this
    1) click "New"
    2) pick Type: MIDlet
    3) browse to your main class (extends MIDlet)
    4) optional: pick Build target: <None> if you don't want to run make on the project before each run
    5) click "ok"
    6) now you can run your midlet using the green play button

  • I need to sign a java webstart application but Im no coder

    Hi
    I have a java webstart application that was writen for me by a coder that I can no longer contact. I was given all the souce code for the application including an unsigned jar file. What I would like to know is how do I go about getting the application signed by a trusted authority so that the people who use the app for the first time dont get the big ugly warnings. I have no java programing experience at all so any help will be greatly appreciated.
    Regards
    Dean

    Please note that users will still get a message, because signing does not infer trust, it only establishes identity.

  • Debugging webdynpro application

    I would like to debug webdynpro application (cProjects portal application), can you anyone explain how can i debug the portal application (which is on ABAP stack)

    Hi Venkat,
    I am also doing modifications to cProjects. In SICF transaction, I see the cProjects service as active, but when I go to 'se80' and enter 'cProjects' as a webdynpro application, it says that the application does not exist. Could you please tell me where I am going wrong.
    Thanks,
    Tom

  • Xcode: how to debug an application as root ?

    Hello,
    I need to debug an application that must be ran as root. Is it possible to do it with Xcode ? If yes, how ?
    Thanks in advance for any help.

    Remote debugging is one (the ?) solution, with root@localhost as the "Connect to" parameter.
    http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuid e/Contents/Resources/en.lproj/0602_db_set_up_debug/chapter_40_section3.html
    http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuid e/Contents/Resources/en.lproj/0607_db_remote_debug/chapter_45_section_1.html#//appleref/doc/uid/TP40002704-CEGDDHBH
    iMac G5 Mac OS X (10.4.7)

  • How to debug an Application Service?

    Hi,
    I have created an application Service which has  been exposed as as a Web Service. Now how can I debug the Web Service or in other words the application service.
    I have started the CE server in debug mode and I am able to debug WebDynpro Applications.
    I am working on SAP CE 7.1.
    Please reply ASAP.
    Regards,
    Manish Sethi

    Hi Manish
    follow this tutorial it describes how to configure and use the SAP NetWeaver Developer Studio and the J2EE Engine for debugging CAF Application Service.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9db6c4ea-0c01-0010-15b1-f72f12aade28
    thanks
    Asif

Maybe you are looking for

  • Lumia 720 volume down button not working

    Hey buddies, I'm using lumia 720 and often i get this volume down button not working. I changed the button by giving it in nokia care for 3times and still im facing the same problem. And also noticed that this is happening to most of the lumia 720's.

  • Blue square instead of photo in email!

    Why can't I view pictures sent in email on my iPhone? It worked fine on my 3g, I now have a 3gs and I get a small blue square with a question mark inside instead of photos. Why is this? As far as I know the settings are the same. So frustrating - hop

  • World of Tanks connection issues

    Having an issue since yesterday 6th September 2012 with World of Tanks World of Tank client keeps disconecting, then has issues logging back in to the client. This is a game I pay a monthly suscriction to, so being unable to use its service is extrem

  • HT4929 I have (or had?) 2 alias  I followed the instructions to go from MobileMe to iCloud. But the alias stayed on MobileMe server (?) How to get this to iCloud?

    I have (or had?) 2 alias My main account is on iCloud. I followed the instructions to go from MobileMe to iCloud. But the alias stayed on MobileMe server (?) How to get this to iCloud? Not possible to put them into icloud as alias. How to keep  it wo

  • Where is the coupon code?

    I recently got Adobe Photoshop CS6 from my university and I need the coupon code to get the serial number but I did not recieve the coupon code with it. I've looked over everything in the box, there is no coupon code. What do I do?