Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Debugging jnlp application (Java 1.6) problem..

945789Jun 26 2012 — edited Jun 26 2012
Im trying to debug a jnlp that we have deployed. I have tried the following options:

javaws -J-Xdebug -J-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n http://mywebmachine.internal.com/1.6/link_OIL-ID_Remote.jnlp

javaws -J-Xdebug -J-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n http://mywebmachine.internal.com/1.6/link_OIL-ID_Remote.jnlp

In either case, if I try to telnet to this port, it fails:
C:\>telnet 127.0.0.1 8787
Connecting To 127.0.0.1...Could not open connection to the host, on port 8787: Connect failed

C:\>telnet localhost 8787
Connecting To localhost...Could not open connection to the host, on port 8787: Connect failed

I used the information from these forum posts, but it isn't helping me get any leads...
http://java.dzone.com/articles/debugging-java-web-start (Help for JWS 1.5)
http://docs.oracle.com/javase/1.5.0/docs/guide/javaws/developersguide/troubleshooting.03.06.html (Comparison between 1.5 & 1.6)
http://www.coderanch.com/t/87270/Tomcat/ERROR-transport-error-connect-failed

Can anyone help me figure out how I can debug Java Web Start application? The machine which runs the JWS is:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)

I'll be using IntelliJ IDEA 10.0 to connect & debug this process

Comments

The best advice I can give is to upgrade PHP, either to the free Zend Server edition or to a stock PHP distribution (http://www.oracle.com/technetwork/articles/technote-php-instant-084410.html).

Other than that, try to identify how the crash is triggered and see if you can work around it.

Since this is a Zend Core issue you could contact Zend, but I expect they will also want you to upgrade.
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 24 2012
Added on Jun 26 2012
1 comment
1,872 views