3 Replies Latest reply on May 8, 2006 6:09 PM by nraok2000

    JBoss-4.0.3SP1 startup errors

    nraok2000

      Hi,

      I have extracted the Jboss-4.0.3SP1.zip into one directory and tried to start "all" server instance (run -c all), it is giving following exception. The default server instance is working fine. Tried with both jdk1.4.2 and jdk1.5.0_04, problem remains the same. I didn't deploy any application on this instance.

      INFO [DefaultPartition] Number of cluster members: 2
      INFO [DefaultPartition] Other members: 1
      INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
      ERROR [DefaultPartition] setState failed
      java.io.InvalidClassException: org.jnp.server.NamingServer; local class incompatible: stream classdesc serialVersionUID = -8660186163352829936, local class serialVersionUID = 4183855539507934373
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
      at java.util.HashMap.readObject(HashMap.java:1013)
      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:585)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
      at org.jboss.ha.framework.server.HAPartitionImpl.objectFromByteBuffer(HAPartitionImpl.java:136)
      at org.jboss.ha.framework.server.HAPartitionImpl.setState(HAPartitionImpl.java:441)
      at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.passUp(MessageDispatcher.java:614)


      Any help in this is appreciated.

      Thanks,
      Rao

        • 1. Re: JBoss-4.0.3SP1 startup errors
          dimitris

          there is another jboss instance in your network, probably of different version and they are trying to form a cluster, when running the all configuraiton.

          • 2. Re: JBoss-4.0.3SP1 startup errors
            nraok2000

            dimitri,

            Thanks for quick response. I don't have another Jboss version jar files in the classpath; it seems to be connecting to another Jboss instance in the network. I don't want my instance to connect to another instance in the network, any configuration setting to achieve this?

            Also I am getting following OutOfMemoryError.

            INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
            INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [A] Bound to JNDI name: queue/A
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [B] Bound to JNDI name: queue/B
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [C] Bound to JNDI name: queue/C
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [D] Bound to JNDI name: queue/D
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [ex] Bound to JNDI name: queue/ex
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [testTopic] Bound to JNDI name: topic/testTopic
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [securedTopic] Bound to JNDI name: topic/securedTopic
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [testQueue] Bound to JNDI name: queue/testQueue
            INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit
            INFO [STDOUT] java.lang.OutOfMemoryError: Requested array size exceeds VM limit

            Thanks,
            Rao

            • 3. Re: JBoss-4.0.3SP1 startup errors
              nraok2000

              I found a way to disable automatic clustering in 'all' server configuration.

              http://wiki.jboss.org/wiki/Wiki.jsp?page=TwoClustersSameNetwork