[jboss-jira] [JBoss JIRA] Assigned: (JBAS-3959) Error obtaining some MBeanInfo instances via RMIAdaptor--NotSerializableException: org.jboss.deployment.scanner.DeploymentFilter

Dimitris Andreadis (JIRA) jira-events at jboss.com
Tue Jan 9 14:44:27 EST 2007


     [ http://jira.jboss.com/jira/browse/JBAS-3959?page=all ]

Dimitris Andreadis reassigned JBAS-3959:
----------------------------------------

    Assignee: Dimitris Andreadis  (was: Scott M Stark)

> Error obtaining some MBeanInfo instances via RMIAdaptor--NotSerializableException: org.jboss.deployment.scanner.DeploymentFilter
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-3959
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3959
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JMX
>         Environment: [java.version: 1.5.0_09]
> [java.vendor: Sun Microsystems Inc.]
> [java.vm.version: 1.5.0_09-b03]
> [java.vm.name: Java HotSpot(TM) 64-Bit Server VM]
> [java.vm.info: mixed mode]
> [os.name: Linux]
> [os.arch: amd64]
> [os.version: 2.6.5-7.244-smp]
>            Reporter: River Zhang
>         Assigned To: Dimitris Andreadis
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> I meet the below error  when  runing the  jboss testsuite by " ant one-test -Dtest=org.jboss.test.jmx.test.RMIAdaptorUnitTestCase" 
> ==============
> 05:38:36,570 DEBUG [RMIAdaptorUnitTestCase] JBossTestServices(), className=org.jboss.test.jmx.test.RMIAdaptorUnitTestCase
> 05:38:36,680 DEBUG [RMIAdaptorUnitTestCase] initialContext.getEnvironment()={jnp.parsedName=, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.provider.url=localhost:1099, java.naming.factory.url.pkgs=org.jnp.interfaces}
> 05:38:36,726 DEBUG [RMIAdaptorUnitTestCase] +++ testMBeanInfoMarshalling
> 05:38:37,722 DEBUG [SecurityAssociation] Using ThreadLocal: false
> 05:38:38,563 ERROR [RMIAdaptorUnitTestCase] Caught exception getting MBeanInfo for: jboss.deployment:type=DeploymentScanner,flavor=URL
> java.io.NotSerializableException: org.jboss.deployment.scanner.DeploymentFilter
> 	at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> 	at java.io.ObjectOutputStream.writeObject(Unknown Source)
> 	at java.util.HashMap.writeObject(Unknown Source)
> 	at java.lang.LangAccessImpl.writeObject(Unknown Source)
> 	at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
> 	at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> 	at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
> 	at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> 	at java.io.ObjectOutputStream.access$100(Unknown Source)
> 	at java.io.ObjectOutputStream$PutFieldImpl.writeFields(Unknown Source)
> 	at java.io.ObjectOutputStream.writeFields(Unknown Source)
> 	at javax.management.modelmbean.DescriptorSupport.writeObject(DescriptorSupport.java:1398)
> 	at java.lang.LangAccessImpl.writeObject(Unknown Source)
> 	at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
> 	at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> 	at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
> 	at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> 	at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
> 	at java.io.ObjectOutputStream.defaultWriteObject(Unknown Source)
> 	at javax.management.modelmbean.ModelMBeanAttributeInfo.writeObject(ModelMBeanAttributeInfo.java:536)
> 	at java.lang.LangAccessImpl.writeObject(Unknown Source)
> 	at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
> 	at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> 	at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
> 	at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> 	at java.io.ObjectOutputStream.writeArray(Unknown Source)
> 	at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> 	at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
> 	at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> 	at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
> 	at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> 	at java.io.ObjectOutputStream.writeObject(Unknown Source)
> 	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(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(Unknown Source)
> 	at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133)
> 	at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
> 	at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
> 	at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66)
> 	at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
> 	at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
> 	at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
> 	at $Proxy0.getMBeanInfo(Ljavax.management.ObjectName;)Ljavax.management.MBeanInfo;(Unknown Source)
> 	at org.jboss.test.jmx.test.RMIAdaptorUnitTestCase.testMBeanInfoMarshalling(RMIAdaptorUnitTestCase.java:67)
> 	at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;J)Ljava.lang.Object;(Unknown Source)
> 	at junit.framework.TestCase.runTest(TestCase.java:154)
> 	at junit.framework.TestCase.runBare(TestCase.java:127)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:118)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
> 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
> 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list