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

Reply via email to