File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Cannot access entity bean deployed in different machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Cannot access entity bean deployed in different machine" Watch "Cannot access entity bean deployed in different machine" New topic
Author

Cannot access entity bean deployed in different machine

LazyCoder
Greenhorn

Joined: Jul 08, 2004
Posts: 11
hello,
I am not able to access an entity bean diployed at remote machine throu session bean. if both are diployed in same container everything is working fine. I am using JBoss 3.
here is the full stack trace. plz suggest/ mailto:karthikt@spinc.org

12:09:20,806 ERROR [STDERR] java.rmi.MarshalException: error marshalling argumen
ts; nested exception is:
java.io.NotSerializableException: org.jboss.tm.TransactionImpl
12:09:20,806 ERROR [STDERR] java.io.NotSerializableException: org.jboss.tm.Trans
actionImpl
12:09:20,806 ERROR [STDERR] at java.io.ObjectOutputStream.outputObject(Objec
tOutputStream.java:1148)
12:09:20,806 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(Object
OutputStream.java:366)
12:09:20,806 ERROR [STDERR] at org.jboss.invocation.MarshalledInvocation.wri
teExternal(MarshalledInvocation.java:381)
12:09:20,806 ERROR [STDERR] at java.io.ObjectOutputStream.outputObject(Objec
tOutputStream.java:1172)
12:09:20,822 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(Object
OutputStream.java:366)
12:09:20,822 ERROR [STDERR] at sun.rmi.server.UnicastRef.marshalValue(Unicas
tRef.java:268)
12:09:20,822 ERROR [STDERR] at sun.rmi.server.UnicastRef.invoke(UnicastRef.j
ava:106)
12:09:20,822 ERROR [STDERR] at org.jboss.invocation.jrmp.server.JRMPInvoker_
Stub.invoke(Unknown Source)
12:09:20,822 ERROR [STDERR] at org.jboss.invocation.jrmp.interfaces.JRMPInvo
kerProxy.invoke(JRMPInvokerProxy.java:135)
12:09:20,822 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invok
e(InvokerInterceptor.java:87)
12:09:20,822 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke
(TransactionInterceptor.java:46)
12:09:20,822 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(Se
curityInterceptor.java:45)
12:09:20,822 ERROR [STDERR] at org.jboss.proxy.ejb.HomeInterceptor.invoke(Ho
meInterceptor.java:173)
12:09:20,822 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(Client
Container.java:85)
12:09:20,822 ERROR [STDERR] at $Proxy45.findByPrimaryKey(Unknown Source)
12:09:20,822 ERROR [STDERR] at com.sejb.TestSessionBean.getName(TestSessionB
ean.java:102)
12:09:20,822 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method
)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$Conta
inerInterceptor.invoke(StatelessSessionContainer.java:629)
12:09:20,822 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedCo
nnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanc
eInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.i
nvokeNext(AbstractTxInterceptor.java:84)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWit
hTransactions(TxInterceptorCMT.java:296)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke
(TxInterceptorCMT.java:104)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.inv
oke(SecurityInterceptor.java:117)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(L
ogInterceptor.java:191)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInter
ceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.inter
nalInvoke(StatelessSessionContainer.java:322)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java
:674)
12:09:20,822 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method
)
12:09:20,822 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
her.invoke(ReflectedMBeanDispatcher.java:284)
12:09:20,822 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:549)
12:09:20,822 ERROR [STDERR] at org.jboss.invocation.jrmp.server.JRMPInvoker.
invoke(JRMPInvoker.java:359)
12:09:20,822 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method
)
12:09:20,822 ERROR [STDERR] at sun.rmi.server.UnicastServerRef.dispatch(Unic
astServerRef.java:241)
12:09:20,822 ERROR [STDERR] at sun.rmi.transport.Transport$1.run(Transport.j
ava:152)
12:09:20,837 ERROR [STDERR] at java.security.AccessController.doPrivileged(N
ative Method)
12:09:20,837 ERROR [STDERR] at sun.rmi.transport.Transport.serviceCall(Trans
port.java:148)
12:09:20,837 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport.handleMess
ages(TCPTransport.java:465)
12:09:20,837 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$Connection
Handler.run(TCPTransport.java:706)
12:09:20,837 ERROR [STDERR] at java.lang.Thread.run(Thread.java:484)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot access entity bean deployed in different machine
 
Similar Threads
ejb2.0+ relationship+ local interface lookup= not bind exception
NameNotFoundException: MSAccessDS not bound
Session Beans in Jboss
Proble with Relationship in Entity Bean
PROCEDURE mysql.IDENTITY does not exist