On Tue, 6 Mar 2001, James Cook wrote:
> No, all beans are in the same jar.
>
> There are no RMI stubs generated or in the jar (AFAIK). I am assuming that these
> are somehow marshalled to the client using a codebase variable?
>
> I am using JDK 1.3.
Stubs are generated at runtime using the java.lang.reflect.Proxy class and
its ilk.
what is happening at EJBUtil.java, line 33?
>
> jim
>
> ----- Original Message -----
> From: "Dan Christopherson" <[EMAIL PROTECTED]>
> To: "JBoss-User" <[EMAIL PROTECTED]>
> Sent: Tuesday, March 06, 2001 1:30 PM
> Subject: Re: [jBoss-User] Looking up entity from session
>
>
> > I take it the two beans are in different jars? Try either putting them in
> > the same jar (probably best if they're closely related), putting all
> > interface classes (including primary keys) into a third jar which is
> > referenced in a Class-Path statement in the ejb-jars manifest.mf file.
> >
> > On Tue, 6 Mar 2001, James Cook wrote:
> >
> > > I can lookup my entity bean from my client and invoke methods on it, however
> I
> > > can't access the entity bean from a session bean. I have tried accessing the
> > > entity bean from the session using ejb-ref properties and direct. No success
> > > either way. The exception I get appears below:
> > >
> > > thanks,
> > > jim
> > >
> > > When looking up the home interface, I receive:
> > >
> > > [ODOTRefBean] TRANSACTION ROLLBACK EXCEPTION:null; nested exception is:
> > > java.lang.NoClassDefFoundError
> > > [ODOTRefBean] java.lang.NoClassDefFoundError
> > > [ODOTRefBean] at
> us.oh.state.dot.common.ejb.EJBUtil.getHome(EJBUtil.java:33)
> > > [ODOTRefBean] at
> > >
> us.oh.state.dot.common.ejb.reference.ejb.bean.ODOTRefBean.addCounty(ODOTRefBean.
> > > java:136)
> > > [ODOTRefBean] at java.lang.reflect.Method.invoke(Native Method)
> > > [ODOTRefBean] at
> > >
> org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSes
> > > sionContainer.java:472)
> > > [ODOTRefBean] at
> > >
> org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessio
> > > nInstanceInterceptor.java:87)
> > > [ODOTRefBean] at
> > > org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
> > > [ODOTRefBean] at
> > >
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java
> > > :263)
> > > [ODOTRefBean] at
> > > org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
> > > [ODOTRefBean] at
> > >
> org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:144)
> > > [ODOTRefBean] at
> > > org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
> > > [ODOTRefBean] at
> > >
> org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:27
> > > 1)
> > > [ODOTRefBean] at
> > >
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvok
> > > er.java:163)
> > > [ODOTRefBean] at java.lang.reflect.Method.invoke(Native Method)
> > > [ODOTRefBean] at
> > > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
> > > [ODOTRefBean] at sun.rmi.transport.Transport$1.run(Transport.java:142)
> > > [ODOTRefBean] at java.security.AccessController.doPrivileged(Native
> Method)
> > > [ODOTRefBean] at
> sun.rmi.transport.Transport.serviceCall(Transport.java:139)
> > > [ODOTRefBean] at
> > > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
> > > [ODOTRefBean] at
> > >
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:643)
> > > [ODOTRefBean] at java.lang.Thread.run(Thread.java:484)
> > >
> > >
> > >
> > > --
> > > --------------------------------------------------------------
> > > To subscribe: [EMAIL PROTECTED]
> > > To unsubscribe: [EMAIL PROTECTED]
> > >
> >
> > --
> > Dan Christopherson (danch)
> > nVisia Technical Architect (www.nvisia.com)
> >
> > Opinions expressed are mine and do not neccessarily reflect any
> > position or opinion of nVISIA.
> >
> > ---------------------------------------------------------------------------
> > If you're a capitalist and you have the best goods and they're
> > free, you don't have to proselytize, you just have to wait.
> > -Eben Moglen
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
>
--
Dan Christopherson (danch)
nVisia Technical Architect (www.nvisia.com)
Opinions expressed are mine and do not neccessarily reflect any
position or opinion of nVISIA.
---------------------------------------------------------------------------
If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
-Eben Moglen
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]