[jboss-jira] [JBoss JIRA] Created: (JBAS-3973) org.jboss.test.classloader.test.CircularityUnitTestCase.testRecursiveLoadMT fails under jdk1.5.0_09

Scott M Stark (JIRA) jira-events at jboss.com
Wed Jan 10 00:54:26 EST 2007


org.jboss.test.classloader.test.CircularityUnitTestCase.testRecursiveLoadMT fails under jdk1.5.0_09
---------------------------------------------------------------------------------------------------

                 Key: JBAS-3973
                 URL: http://jira.jboss.com/jira/browse/JBAS-3973
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: ClassLoading, Test Suite
    Affects Versions: JBossAS-4.0.5.GA
            Reporter: Scott M Stark
         Assigned To: Scott M Stark


[starksm at succubus testsuite]$ ant one-test -Dtest=org.jboss.test.classloader.test.CircularityUnitTestCase
Buildfile: build.xml

one-test:
   [delete] Deleting: /home/svn/JBoss4.0/jboss-4.0.x/testsuite/output/log/test.log
    [junit] Running org.jboss.test.classloader.test.CircularityUnitTestCase
    [junit] Tests run: 7, Failures: 0, Errors: 1, Time elapsed: 5.26 sec
    [junit] Test org.jboss.test.classloader.test.CircularityUnitTestCase FAILED
BUILD SUCCESSFUL
Total time: 8 seconds

21:25:07,745 INFO  [Starter] Begin testRecursiveLoadMT
21:25:07,748 INFO  [RecursiveCCETests] Begin testRecursiveLoadMT
21:25:07,748 INFO  [RecursiveCCETests] Service origURL=file:/home/svn/JBoss4.0/jboss-4.0.x/testsuite/output/lib/circularity.sar
21:25:07,749 INFO  [RecursiveCCETests] j0 = file:/home/svn/JBoss4.0/jboss-4.0.x/testsuite/output/lib/ha.jar
21:25:07,755 INFO  [RecursiveCCETests] Starting T0
21:25:07,755 INFO  [RecursiveCCETests] Started T0, waiting on ucl=1832413009
21:25:07,755 INFO  [RecursiveCCETests$MyUCL] loadClass, name=org.jboss.test.classloader.circularity.support.HARMIServerImpl
21:25:07,756 INFO  [RecursiveCCETests$MyUCL] Acquired loadClass lock
21:25:07,756 INFO  [RecursiveCCETests] UCL0 notify received
21:25:07,756 INFO  [RecursiveCCETests] Starting T1
21:25:07,757 INFO  [RecursiveCCETests$MyUCL] notifyAll, ucl=1832413009
21:25:07,757 INFO  [RecursiveCCETests] Started T1, waiting on ucl=302460636
21:25:07,757 INFO  [RecursiveCCETests$MyUCL] loadClass, name=org.jboss.test.classloader.circularity.support.HARMIServerImpl_Stub
21:25:07,757 INFO  [RecursiveCCETests$MyUCL] Acquired loadClass lock
21:25:07,758 INFO  [RecursiveCCETests$MyUCL] notifyAll, ucl=302460636
21:25:07,758 INFO  [RecursiveCCETests] UCL1 notify received
21:25:07,761 INFO  [RecursiveCCETests$MyUCL] loadClass, name=org.jboss.test.classloader.circularity.support.HARMIServer
21:25:07,761 INFO  [RecursiveCCETests$MyUCL] Acquired loadClass lock
21:25:07,761 INFO  [RecursiveCCETests$MyUCL] notifyAll, ucl=1832413009
21:25:12,763 INFO  [RecursiveCCETests$MyUCL] Passed HARMIServer barrier
21:25:12,765 INFO  [RecursiveCCETests$MyUCL] Unexpected error during load of:org.jboss.test.classloader.circularity.support.HARMIServerImpl_Stub
java.lang.LinkageError: org/jboss/test/classloader/circularity/support/HARMIServer
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:672)
        at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)
        at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
        at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
        at org.jboss.test.classloader.circularity.test.RecursiveCCETests$MyUCL.loadClass(RecursiveCCETests.java:199)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:672)
        at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)
        at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
        at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
        at org.jboss.test.classloader.circularity.test.RecursiveCCETests$MyUCL.loadClass(RecursiveCCETests.java:199)
        at org.jboss.test.classloader.circularity.test.RecursiveCCETests$MyThread.run(RecursiveCCETests.java:131)
21:25:12,766 ERROR [RecursiveCCETests] Failed to load: org.jboss.test.classloader.circularity.support.HARMIServerImpl_Stub
java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.test.classloader.circularity.support.HARMIServerImpl_Stub, msg=org/jboss/test/classloader/circularity/support/HARMIServer
        at org.jboss.test.classloader.circularity.test.RecursiveCCETests$MyUCL.loadClass(RecursiveCCETests.java:228)
        at org.jboss.test.classloader.circularity.test.RecursiveCCETests$MyThread.run(RecursiveCCETests.java:131)
21:25:12,766 ERROR [RecursiveCCETests] Thread1 failed to load HARMIServerImpl_Stub, class=null
java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.test.classloader.circularity.support.HARMIServerImpl_Stub, msg=org/jboss/test/classloader/circularity/support/HARMIServer
        at org.jboss.test.classloader.circularity.test.RecursiveCCETests$MyUCL.loadClass(RecursiveCCETests.java:228)
        at org.jboss.test.classloader.circularity.test.RecursiveCCETests$MyThread.run(RecursiveCCETests.java:131)
21:25:12,767 ERROR [Starter] testRecursiveLoadMT
java.lang.Exception: Thread1 failed to load HARMIServerImpl_Stub, class=null
        at org.jboss.test.classloader.circularity.test.RecursiveCCETests.testRecursiveLoadMT(RecursiveCCETests.java:99)
        at org.jboss.test.classloader.circularity.Starter.testRecursiveLoadMT(Starter.java:154)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)        at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)        at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819)
        at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
        at sun.rmi.transport.Transport$1.run(Transport.java:159)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)


-- 
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