Skip to Main Content

Java HotSpot Virtual Machine

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!

java.net.SocketException: Unexpected end of file from server

843829May 30 2006 — edited May 28 2008
Dear All,

Issue:- When applet sends POST data via browser, the server does not receive the same.
On checking the Java Console, the following error is displayed.
"java.net.SocketException: Unexpected end of file from server"

O.S :- Win XP, Service Pack 2
Browser:- I.E 6, Service Pack 2
Applet :- Signed Applet
VM :- Sun VM (1.4.2_06)

Note:- When MS VM is used, there is no issue, this is only happening with SUN VM.

Java Console details given below.

Using JRE version 1.4.2_06 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\PKJFinst
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to
----------------------------------------------------
save failure counter:0
oldversion = false
read failure counter: 0
connectKeyStore: load disk
genkey: connect
genkey: login
clearkeystore: delete item 0
clearkeystore: delete item 1
clearkeystore: delete item 2
clearkeystore: delete item 3
genkey: clear
save failure counter:0
genkey: genkey
genkey: stop
oldversion = false
read failure counter: 0
connectKeyStore: load disk
genCertReq: connect
genCertReq: login
genCertReq: getpubkey
before restoreprivatekey. failure counter=0
genCertReq: sign req
genCertReq: stop
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.doTunneling(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(Unknown Source)
at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown Source)
at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
at com.arch.carbon.pki.app.a.a(Unknown Source)
at com.arch.carbon.pki.app.a.a(Unknown Source)
at com.arch.carbon.pki.app.PKIApplet.createCertificates(Unknown Source)
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 sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
stop: null obj

Appreciate if somebody could let me know why this is happening.

TIA. Balaji Rangan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 25 2008
Added on May 30 2006
4 comments
4,324 views