[Deployers on JBoss (Deployers/JBoss)] - BaseClassLoader attachement makes DeploymentUnit non-seriali
by dimitris@jboss.org
Somehow an org.jboss.classloader.spi.base.BaseClassLoader ends-up being a non-transient attachment to a DeploymentUnit, causing a series of deployment tests to fail, just because the client cannot query the DeploymentUnit from the server.
How can we locate this classloader addition?
| Testsuite: org.jboss.test.deployers.ejb.test.EJBDeploymentUnitTestCase
| Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 6.75 sec
|
| Testcase: testEJBDeployment took 0.109 sec
| Caused an ERROR
| org.jboss.classloader.spi.base.BaseClassLoader
| java.io.NotSerializableException: org.jboss.classloader.spi.base.BaseClassLoader
| at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
| at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
| at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
| at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
| at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
| at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
| at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
| at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
| at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
| at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
| at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1380)
| at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
| at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
| at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
| at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
| at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
| at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
| at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
| at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
| at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
| at org.jboss.deployers.plugins.attachments.AttachmentsImpl.writeExternal(AttachmentsImpl.java:145)
| at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
| at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
| at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
| at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
| at org.jboss.deployers.spi.attachments.helpers.ManagedObjectAttachmentsImpl.writeExternal(ManagedObjectAttachmentsImpl.java:65)
| at org.jboss.deployers.spi.attachments.helpers.ManagedObjectsWithTransientAttachmentsImpl.writeExternal(ManagedObjectsWithTransientAttachmentsImpl.java:70)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.writeExternal(AbstractDeploymentContext.java:836)
| at org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentContext.writeExternal(AbstractVFSDeploymentContext.java:406)
| at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
| at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
| at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
| at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
| at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.writeExternal(AbstractDeploymentUnit.java:509)
| at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
| at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
| at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
| at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
| at java.rmi.MarshalledObject.<init>(MarshalledObject.java:92)
| at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420)
| at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
| at sun.rmi.transport.Transport$1.run(Transport.java:153)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
| at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
| at java.lang.Thread.run(Thread.java:595)
| at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
| at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
| at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
| at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
| at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133)
| at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:244)
| at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:181)
| at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66)
| at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:87)
| at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
| at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
| at $Proxy1.invoke(Unknown Source)
| at org.jboss.test.deployers.AbstractDeploymentTest.invokeMainDeployer(AbstractDeploymentTest.java:83)
| at org.jboss.test.deployers.AbstractDeploymentTest.getDeploymentUnit(AbstractDeploymentTest.java:114)
| at org.jboss.test.deployers.AbstractDeploymentTest.assertDeployed(AbstractDeploymentTest.java:89)
| at org.jboss.test.deployers.AbstractDeploymentTest.assertDeployed(AbstractDeploymentTest.java:96)
| at org.jboss.test.deployers.ejb.test.EJBDeploymentUnitTestCase.testEJBDeployment(EJBDeploymentUnitTestCase.java:44)
| at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
| at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
| at junit.extensions.TestSetup.run(TestSetup.java:23)
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156871#4156871
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156871
16 years, 3 months
[Design of POJO Server] - Re: HDScanner exception
by scott.stark@jboss.org
>From Emanuel's lsof I see he is running the all config. I have problems with that starting up cleanly for some reason due to jboss messaging config issues. I'll start it up to see if its showing this problem over time as well.
I see duplicate files open in his trace though from the all/deploy/cluster directory, for example the cluster-beans.xml:
| [522][valkyrie: /home/svn/JBossAS]$ grep cluster-beans.xml /tmp/lsof.output
| java 4422 emuckenh 98r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 114r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 153r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 185r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 217r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 249r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 281r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 313r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 345r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 377r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 409r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 441r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 473r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 505r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 537r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 569r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 601r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 633r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 665r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 697r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 729r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 761r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 793r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 827r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 859r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 891r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 923r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 955r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 987r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| java 4422 emuckenh 1019r REG 253,0 3202 124143 /home/emuckenh/workspace/as/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/cluster/cluster-beans.xml
| [523][valkyrie: /home/svn/JBossAS]$
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156851#4156851
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156851
16 years, 3 months