geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From WinnieNicklaus <jls...@u.washington.edu>
Subject Error unmarshaling return when attempting to deploy ear file; then Geronimo server hangs
Date Mon, 02 May 2011 17:50:08 GMT
 I am attempting to deploy an application EAR. I have successfully deployed
deployment plans to repository/console/dbpool and repository/console/jms,
and am attempting to deploy the application EAR to
repository/default/<application name>.  The command I am using is

java -jar <geronimo_home>/bin/deployer.jar --user <geronimo> --password
<password> deploy <application_name>.ear

When I do this, I get the following error:

10:59:42,353 ERROR [BaseDeploymentFactory] java.rmi.UnmarshalException:
Error unmarshaling return; nested exception is: 
        java.io.EOFException
org.apache.geronimo.kernel.InternalKernelException:
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: 
        java.io.EOFException
        at
org.apache.geronimo.system.jmx.KernelDelegate.listGBeans(KernelDelegate.java:841)
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.getConfigurationManagerName(ConfigurationUtil.java:291)
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.getConfigurationManager(ConfigurationUtil.java:320)
        at
org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.initialize(JMXDeploymentManager.java:75)
        at
org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager.init(RemoteDeploymentManager.java:83)
        at
org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.newRemoteDeploymentManager(BaseDeploymentFactory.java:161)
        at
org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.getDeploymentManager(BaseDeploymentFactory.java:131)
        at
javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManager.java:111)
        at
org.apache.geronimo.deployment.cli.ServerConnection.tryToConnect(ServerConnection.java:181)
        at
org.apache.geronimo.deployment.cli.ServerConnection.<init>(ServerConnection.java:93)
        at
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:158)
        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
        at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
        at
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
Caused by: java.rmi.UnmarshalException: Error unmarshaling return; nested
exception is: 
        java.io.EOFException
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:227)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
        at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
        at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown
Source)
        at
javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:978)
        at
org.apache.geronimo.system.jmx.KernelDelegate.invokeKernel(KernelDelegate.java:890)
        at
org.apache.geronimo.system.jmx.KernelDelegate.listGBeans(KernelDelegate.java:837)
        ... 13 more
Caused by: java.io.EOFException
        at
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554)
        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:225)
        ... 19 more
Exception in thread "main"
org.apache.geronimo.kernel.InternalKernelException:
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: 
        java.io.EOFException
        at
org.apache.geronimo.system.jmx.KernelDelegate.listGBeans(KernelDelegate.java:841)
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.getConfigurationManagerName(ConfigurationUtil.java:291)
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.getConfigurationManager(ConfigurationUtil.java:320)
        at
org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.initialize(JMXDeploymentManager.java:75)
        at
org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager.init(RemoteDeploymentManager.java:83)
        at
org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.newRemoteDeploymentManager(BaseDeploymentFactory.java:161)
        at
org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.getDeploymentManager(BaseDeploymentFactory.java:131)
        at
javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManager.java:111)
        at
org.apache.geronimo.deployment.cli.ServerConnection.tryToConnect(ServerConnection.java:181)
        at
org.apache.geronimo.deployment.cli.ServerConnection.<init>(ServerConnection.java:93)
        at
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:158)
        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
        at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
        at
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
Caused by: java.rmi.UnmarshalException: Error unmarshaling return; nested
exception is: 
        java.io.EOFException
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:227)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
        at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
        at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown
Source)
        at
javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:978)
        at
org.apache.geronimo.system.jmx.KernelDelegate.invokeKernel(KernelDelegate.java:890)
        at
org.apache.geronimo.system.jmx.KernelDelegate.listGBeans(KernelDelegate.java:837)
        ... 13 more
Caused by: java.io.EOFException
        at
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554)
        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:225)
        ... 19 more

At this point, nothing more seems to happen, and the Geronimo server console
is unresponsive.  When I restart it, the application shows up on the
Application EARs page as installed, but stopped.  If I try to start it, the
server crashes again.  The same behavior happens if I attempt to deploy the
application through the Deploy New page on the console.

Is this a problem with the EAR file itself?  It was created in France and I
am in the US, so perhaps there is an encoding issue that confuses java when
looking for EOF?

Thanks for the help.

--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Error-unmarshaling-return-when-attempting-to-deploy-ear-file-then-Geronimo-server-hangs-tp2890712p2890712.html
Sent from the Users mailing list archive at Nabble.com.

Mime
View raw message