Title: RE: [JBoss-user] [Beginners Corner] - Calling JBoss 3.2.3 from standalone Tomcat

Try including jbossall-client.jar in your classpath.

> -----Original Message-----
> From: damonrand [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 18, 2004 12:29 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] [Beginners Corner] - Calling JBoss 3.2.3 from
> standalone Tomcat
>
>
> Hi guys,
>
> I have made some progress on connecting to an EJB from Tomcat
> 4.1.29 running on a standalone server. Unfortunately the
> system seems to be demanding JBoss server-side libraries for
> some reason.. Here is what I have done so far.
>
> 1. I have this in web.xml
>
>   <ejb-ref>
>     Test EJB connection.....
>     <ejb-ref-name>ejb/HelloWorld</ejb-ref-name>
>     <ejb-ref-type>Session</ejb-ref-type>   
> org.service.helloworld.server.facade.interfaces.HelloWorldRemoteHome
> org.service.helloworld.server.facade.interfaces.HelloWorldRemote
>    
> <ejb-link>jnp://server:1099/remote/org.service.helloworld.serv
> er.facade.ejb.HelloWorld</ejb-link>
>   </ejb-ref>
>  
> 2. And in /WEB-INF/classes/jndi.properties
>
>   java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
>
> 3. And copy all the jars from JBoss 3.2.3 client folder into
> %JRE_HOME%/lib/ext
>
> 4. Copied my helloworld-service.jar (containing the EJB
> interfaces) into web-inf/lib
>
> Now I am now running into this error..
>   class java.lang.NoClassDefFoundError: javax.ejb.EJBObject
>
> And if I solve that one but making j2ee.jar available to
> Tomcat I get too..
>   class java.lang.NoClassDefFoundError:
> org/jboss/tm/TransactionPropagationContextFactory
>
> So looks like I am going to run into a sequence of
> NoClassDefFoundError that lead me to put the whole of JBoss
> into my Tomcat webapp -- not a preferable option. ;-)
>
> Am I doing anything obviously wrong or will this config just not work?
>
> Regards,
> Damon.
>
> View the original post :
> http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38353
96#3835396

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835396


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to