You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Reynir Hübner <Re...@hugsmidjan.is> on 2001/06/29 14:52:32 UTC
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:VerhoffKA@bvsg.com]
Sent: Friday, June 29, 2001 12:54 PM
To: tomcat-user@jakarta.apache.org
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