When I try to execute the following statement:

Object home = ctx.lookup("Import");

I get the following exception:

javax.naming.CommunicationException.  Root exception is java.io.StreamCorruptedE
xception: Type code out of range, is 125
        at java.io.ObjectInputStream.peekCode(Unknown Source)
        at java.io.ObjectInputStream.readObject(Unknown Source)
        at java.io.ObjectInputStream.readObject(Unknown Source)
        at java.io.ObjectInputStream.inputObject(Unknown Source)
        at java.io.ObjectInputStream.readObject(Unknown Source)
        at java.io.ObjectInputStream.readObject(Unknown Source)
        at java.rmi.MarshalledObject.get(Unknown Source)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java, Compiled
Code)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279)
        at javax.naming.InitialContext.lookup(InitialContext.java:354)
        at batchserver.Poller.importBatches(Poller.java:287)
        at batchserver.Poller.poll(Poller.java:222)
        at batchserver.Poller.access$6(Poller.java:22)
        at batchserver.Poller$PollerThread.run(Poller.java, Compiled Code)

"Import" is the JNDI name of my ejb.

Does any-one know what the problem is?

Thank you!

Thomas Kirsch



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to