Details

      Description

      The testcase org.jboss.test.asynch.AsynchTestCase fails when running under jdk6 (even if compiled with jdk5).

      It doesn't fail with jdk5.

      http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-testSuite-sun16/lastBuild/testReport/org.jboss.test.asynch/AsynchTestCase/unknown/

      Again, something to do with tmp file handling:

      java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
      java.lang.ClassNotFoundException: org.jboss.deployment.DeploymentException (no security manager: RMI class loader disabled)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:227)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
      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: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:68)
      at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
      at $Proxy0.invoke(Unknown Source)
      at org.jboss.test.JBossTestServices.invoke(JBossTestServices.java:239)
      at org.jboss.test.JBossTestServices.invoke(JBossTestServices.java:228)
      at org.jboss.test.JBossTestServices.redeploy(JBossTestServices.java:302)
      at org.jboss.test.JBossTestSetup.redeploy(JBossTestSetup.java:185)
      at org.jboss.test.aop.test.AOPTestSetup.setUp(AOPTestSetup.java:71)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
      at junit.extensions.TestSetup.run(TestSetup.java:25)
      Caused by: java.lang.ClassNotFoundException: org.jboss.deployment.DeploymentException (no security manager: RMI class loader disabled)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
      at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
      at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
      at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:225)
      Caused by: java.security.PrivilegedActionException: java.io.FileNotFoundException: /tmp/aopdynclasses/org/jboss/deployment/DeploymentException.class (No such file or directory)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.aop.standalone.SystemClassLoader.loadClassBytes(SystemClassLoader.java:262)
      at org.jboss.aop.standalone.SystemClassLoader.loadClass(SystemClassLoader.java:170)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:247)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:359)
      Caused by: java.io.FileNotFoundException: /tmp/aopdynclasses/org/jboss/deployment/DeploymentException.class (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at org.jboss.aop.standalone.SystemClassLoader$3.run(SystemClassLoader.java:269)
      at org.jboss.aop.standalone.SystemClassLoader$3.run(SystemClassLoader.java:264)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kabirkhan Kabir Khan
                  Reporter:
                  dimitris Dimitris Andreadis
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: