Hi,
I have a problem running the TestBeanClient from ZOL.. I am getting
the following exception the bean is deployed without any problems but
the client is not working.. I have ejb.jar, jndi.jar, jta-spec1_0_1.jar,
jboss-client.jar and jnp-client.jar. Do I need something more.. I have
also tried other examples and it's the same deployment is fine but
clients doesn't work, what am I missing? I am using sun's jdk1.3beta on
linux..
The trace follows:
_____________________________________________
jBoss, the EJB Open Source Server
Copyright (C), The jBoss Organization, 2000
_____________________________________________
Welcome to the test Suite v1.0
_____________________________________________
1- Trying the context...OK
Test Stateless Bean
===================
2- Looking up the home
nextgen.StatelessSession...javax.naming.CommunicationExce
ption. Root exception is java.io.StreamCorruptedException: Type code
out of ran
ge, is 125
at
java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1276)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:278)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:228)
at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:974)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:228)
at java.rmi.MarshalledObject.get(MarshalledObject.java:138)
at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:284)
at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:265)
at javax.naming.InitialContext.lookup(InitialContext.java:354)
at
org.jboss.zol.testbean.client.EjbossClient.doSomeTesting(EjbossClient
.java:69)
at
org.jboss.zol.testbean.client.EjbossClient.main(EjbossClient.java:494
)
Running Account Tests...
These will test EJB references, findByPrimaryKey operations and SQL
Insert,
Select and Update operations.
Unable to start the application:
javax.naming.CommunicationException [Root exception is
java.io.StreamCorruptedEx
ception: Type code out of range, is 125]
thanks
Abhishek
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]