are you meaning to modify the tomcat config files and add the ejb.jar ( i
have tried this ) or putting it in the WEB-INF/classes directory (which I
have also done).
Or is there something else that I missed?
Kevin
> -----Original Message-----
> From: Reynir Hübner [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 7:53 AM
> To: [EMAIL PROTECTED]
> Subject: RE: NoClassDefFoundError: javax/ejb/EJBHome
>
> you will need to have your ejbclasses in the classpath of tomcat, then u
> can access the classes over JNDI.
>
> have a nice day
> -r
>
>
> -----Original Message-----
> From: Verhoff, Kevin A. [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 12:54 PM
> To: [EMAIL PROTECTED]
> Subject: NoClassDefFoundError: javax/ejb/EJBHome
>
>
> Hello all,
>
> This, in my opinion, is a very strange error. We have tried everything
> we
> can think of and still have no luck with this.
>
> What we are trying to do is to get Tomcat on a desktop machine to access
> EJBs running inside of JBoss on another machine. However, we get the
> following error:
>
> java.lang.NoClassDefFoundError: javax/ejb/EJBHome
>
> I have searched the tomcat and JBoss archives for a solution and tried
> several things on my own, including moving the J2EE jar into different
> places in the classpath, going as far as putting it specifically in the
> classpath. I did find that someone had managed to get this exact same
> thing
> to work and wrote a howto describing how to set everything up.
>
> We did try and write a command line client to access the EJB and it
> works.
>
> Tomcat seems to be getting the context using the JBoss libraries and
> then
> spits out the error above. I have repeatedly made sure that the
> J2EE.jar or
> the ejb.jar that comes with JBoss is in the classpath along with the
> other
> libraries, and still have had no luck.
>
> Our setup is:
>
> WinNT running apache and Tomcat as the client
>
> and the server is
>
> Win2000 running IIS, JBoss and Tomcat
>
> Has anyone else run into this? Thanks in advance for any help that you
> can
> give!
>
> Thanks!
> Kevin
>