Hi all,

I've been developing a set of CMP 2.0 beans for JBoss 3.0.0 with JDK
1.4.0 and J2EE 1.3.1. Everything deploys fine and test clients using a
1.4 JVM work OK as well. The problem is when I connect a client using
JDK 1.2.2 I get a serialization error:

 javax.naming.CommunicationException.  Root exception is
java.io.StreamCorruptedException: Type code out of range, is 125
        java.lang.Throwable(java.lang.String)
        java.lang.Exception(java.lang.String)
        java.io.IOException(java.lang.String)
        java.io.ObjectStreamException(java.lang.String)
        java.io.StreamCorruptedException(java.lang.String)
        byte java.io.ObjectInputStream.peekCode()
        java.lang.Object java.io.ObjectInputStream.readObject(boolean)
        java.lang.Object java.io.ObjectInputStream.readObject()  
        ...

I then tried adding an argument to the JVM that launches JBOSS:
        -Djava.vm.version=1.2.2

But then JBoss can't successfully load the EJB's:
 2002-07-21 19:32:36,217 INFO  [org.jboss.ejb.EjbModule] Deploying MEJB
 2002-07-21 19:32:36,295 ERROR [org.jboss.ejb.EjbModule] error adding
container to app.
 java.lang.NullPointerException
        at
org.jboss.ejb.EjbModule.initializeContainer(EjbModule.java:698)
        at
org.jboss.ejb.EjbModule.createStatelessSessionContainer(EjbModule.java:5
93)
        at org.jboss.ejb.EjbModule.createContainer(EjbModule.java:548)
        at org.jboss.ejb.EjbModule.createService(EjbModule.java:372)
        at
org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:134
)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke
(ReflectedMBeanDispatcher.java:284)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
        at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController
.java:894)
        at $Proxy6.create(Unknown Source)
        ...

I played around with various permutations (such as changing the Jboss
JVM to 1.3.1) with the same results. 

Any ideas?

Thanks,
Tom




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to