When I try to lookup a home interface in tomcat I get the following
exception:
javax.naming.CommunicationException. Root exception is
java.io.StreamCorruptedException: Type code out of range, is 125
at java.io.ObjectInputStream.peekCode(ObjectInputStream.java, Compiled Code)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java, Compiled Code)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java, Compiled Code)
at java.rmi.MarshalledObject.get(MarshalledObject.java, Compiled Code)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java, Compiled Code)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java, Compiled Code)
at javax.naming.InitialContext.lookup(InitialContext.java, Compiled Code)
at nextstep.bean(nextstep.java, Compiled Code)
at nextstep.doPost(nextstep.java, Compiled Code)
at nextstep.doGet(nextstep.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java,
Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled
Code)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java,
Compiled Code)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java,
Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
The code which causes this is:
Context ctx = new InitialContext();
ctx.lookup( "converter" );
Is this likely to be a tomcat classloader issue? All of the jboss
client libraries are in the tomcat/lib directory.
Thanks
Tom
--
Tom Cook - Software Operations
"We rarely find that people have good sense unless they agree
with us."
- Francois, Duc de la Rochefoucauld
LISAsoft Pty Ltd - www.lisa.com.au
--------------------------------------------------
38 Greenhill Rd. Level 3, 228 Pitt Street
Wayville, SA, 5034 Sydney, NSW, 2000
Phone: +61 8 8272 1555 Phone: +61 2 9283 0877
Fax: +61 8 8271 1199 Fax: +61 2 9283 0866
--------------------------------------------------
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]