Skip to Main Content

Java APIs

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!

socket connection problem in web start 6

843790Jan 2 2007 — edited Jan 30 2007
hello,

my client-server program which uses socket and rmi communication was working perfectly with java 5. it seems broken with java 6 on some machines (it works fine on my machine so i cannot inspect it in detail)

rmi and socket communications works well within standalone applications. problem arises with java web start. below is the stack trace of an unsuccesfull socket creation attempt. rmi fails with similar stack trace

that machine has a new java6 installation and known to run the application without problems with java 5. any ideas ?
java.net.MalformedURLException: unknown protocol: socket
       at java.net.URL.<init>(Unknown Source)
       at java.net.URL.<init>(Unknown Source)
       at java.net.URL.<init>(Unknown Source)
       at java.net.URI.toURL(Unknown Source)
       at com.sun.deploy.net.proxy.DeployProxySelector.connectFailed(Unknown Source)
       at java.net.SocksSocketImpl.connect(Unknown Source)
       at java.net.Socket.connect(Unknown Source)
       at java.net.Socket.connect(Unknown Source)
       at java.net.Socket.<init>(Unknown Source)
       at java.net.Socket.<init>(Unknown Source)
       at NetTest.connect(NetTest.java:7)
       at NetTest.main(NetTest.java:16)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at com.sun.javaws.Launcher.executeApplication(Unknown Source)
       at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
       at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
       at com.sun.javaws.Launcher.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)
for the curious the program may be found at http://www.aptalkarga.com/en

r a f t
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 27 2007
Added on Jan 2 2007
7 comments
605 views