geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Linda77 <snow5...@gmail.com>
Subject ejb Couldn't write EjbResponse to output stream
Date Fri, 20 Feb 2009 02:55:21 GMT

Hello,
    When I run my j2ee module on Geronimo2.0.2, I met some failure. My j2ee
Module can run successfuly on Geronimo2.0M6.

    On Geronimo2.0M6,I lookup JNDI like this: ref =
jndiContext.lookup(artifactId + "/" + bean + "/" + beanInterface);
The JNDI format according by {moduleId}+{beanName}/{BeanRemoteClass}

    Without any change, I run j2ee module on Geronimo2.0.2, however it
cannot lookup JNDI.So I change the JNDI format like this:  ref =
jndiContext.lookup(bean + "RemoteHome" ); It can returen "ref", but another
exception is thrown:
15:41:12,992 FATAL [ejb] Couldn't write EjbResponse to output stream
java.net.SocketException: Broken pipe
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
	at
java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1685)
	at
java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1594)
	at
java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1173)
	at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1127)
	at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
	at
java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1398)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:305)
	at
org.apache.openejb.client.EJBResponse.writeExternal(EJBResponse.java:111)
	at
org.apache.openejb.server.ejbd.EjbRequestHandler.processRequest(EjbRequestHandler.java:196)
	at
org.apache.openejb.server.ejbd.EjbDaemon.processEjbRequest(EjbDaemon.java:164)
	at org.apache.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:122)
	at org.apache.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:84)
	at org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:60)
	at org.apache.openejb.server.ServiceLogger.service(ServiceLogger.java:73)
	at
org.apache.openejb.server.ServiceAccessController.service(ServiceAccessController.java:55)
	at org.apache.openejb.server.ServiceDaemon$1.run(ServiceDaemon.java:117)
	at java.lang.Thread.run(Thread.java:595)
15:41:12,993 ERROR [remote] "EJB_REQUEST OEJP/3.0" FAIL "Broken pipe"

I have spent so much time on it, but  nothing is changed. Now I totally have
no idea on it.
Waiting for someone show me how to get onto the right way.
Thanks in advance!

Linda
-- 
View this message in context: http://www.nabble.com/ejb-Couldn%27t-write-EjbResponse-to-output-stream-tp22113948s134p22113948.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message