java.lang.IllegalStateException: java.io.IOException: Unexpected end of file from server

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by nikles007, 1 year ago
java.io.IOException: Unexpected end of file from server
via Oracle Community by 807574, 1 year ago
Illegal operation for a disconnected DeploymentManager: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
via Oracle Community by 807574, 1 year ago
Illegal operation for a disconnected DeploymentManager: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
via Oracle Community by 892126, 1 year ago
Illegal operation for a disconnected DeploymentManager: java.io.IOException: http://localhost:18000/web1/remotejmx
java.lang.IllegalStateException: java.io.IOException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
at com.sun.enterprise.admin.jmx.remote.comm.ServletConnection.receive(ServletConnection.java:127)
at com.sun.enterprise.admin.jmx.remote.comm.MBeanServerMessageConductor.invoke(MBeanServerMessageConductor.java:84)
at com.sun.enterprise.admin.jmx.remote.internal.RemoteMBeanServerConnection.getAttribute(RemoteMBeanServerConnection.java:297)
at com.sun.appserv.management.util.jmx.JMXUtil.getMBeanServerID(JMXUtil.java:123)
at com.sun.appserv.management.client.ProxyFactory.getInstance(ProxyFactory.java:445)
at com.sun.enterprise.deployapi.SunDeploymentManager.getProxyFactory(SunDeploymentManager.java:1661)
at com.sun.enterprise.deployapi.SunDeploymentManager.getRootProxy(SunDeploymentManager.java:1638)
at com.sun.enterprise.deployapi.SunDeploymentManager.getDomainConfigProxy(SunDeploymentManager.java:1650)
at com.sun.enterprise.deployapi.SunDeploymentManager.getTargets(SunDeploymentManager.java:199)
at com.blablabla.utils.appserver.glassfish.DeploymentHelper.deploy(DeploymentHelper.java:121)
at com.blablabla.utils.appserver.glassfish.GlassFishManager.deployArchive(GlassFishManager.java:399)
at com.myproject.installer.AssembleAndRedeploy.refreshApplication(AssembleAndRedeploy.java:111)
at com.myproject.installer.AssembleAndRedeploy.main(AssembleAndRedeploy.java:144)

Users with the same issue

4 times, 7 months ago
6 times, 9 months ago
48 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
35 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.