1 Reply Latest reply on Jul 4, 2003 5:41 AM by senthilvellan

    Problems runnning JBoss Test suite

    arunvijai

      Hello All,
      We have problems while trying to run the JBoss test suite. Here i list the versions,
      1) JBoss server -- 3.2.1
      2) JBoss test suite --1.0
      3) JDK version --1.4.1
      I am getting the following errors while trying to run hellotest.bat
      ======================================
      Deploying: ../deploy/hello.jar...javax.naming.CommunicationException. Root exce
      ption is java.rmi.UnmarshalException: error unmarshalling return; nested excepti
      on is:
      java.io.InvalidClassException: org.jnp.interfaces.NamingParser; local cl
      ass incompatible: stream classdesc serialVersionUID = 2925203703371001031, local
      class serialVersionUID = 4215542038258421067
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:164)
      at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at org.jboss.jmx.client.Deployer.lookupAdaptor(Deployer.java:104)
      at org.jboss.jmx.client.Deployer.deploy(Deployer.java:57)
      at org.jboss.test.util.Deploy.deploy(Deploy.java:66)
      at org.jboss.test.hello.test.Main.suite(Main.java:208)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at junit.swingui.TestRunner.getTest(TestRunner.java:520)
      at junit.swingui.TestRunner.runSuite(TestRunner.java:680)
      at junit.swingui.TestRunner.start(TestRunner.java:821)
      at junit.swingui.TestRunner.main(TestRunner.java:588)
      Caused by: java.io.InvalidClassException: org.jnp.interfaces.NamingParser; local
      class incompatible: stream classdesc serialVersionUID = 2925203703371001031, lo
      cal class serialVersionUID = 4215542038258421067
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:459)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:152
      1)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      626)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:18
      45)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)

      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
      646)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
      at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:297)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:146)
      ... 16 more
      ======================================

        • 1. Re: Problems runnning JBoss Test suite
          senthilvellan

          Hello Arun,
          Test suite 1.0 is to test the Jboss Version upto 2.xx. The errors are due to mismatched versions.
          Check the testsuite with Jboss version 2.x.x.
          I have tried Jboss 2.4.1 and the test suite 1.0 is working fine.
          Please let me know if you need any more informations.

          regards,
          Senthil.