I have given up and decided to just put all my servlet, Struts, and EJB 
interface classes into a single JAR file that I put on the system classpath 
instead of in the WAR files WEB-INF/classes and lib directories.  This just 
required some changes to my ANT build script so is not a big deal, but I am 
still very curious why this will not work...

Specifically, for those new to this thread, the problem is as follows:

Tomcat talking with JBoss using separate VMs for Tomcat and JBoss.

I'm getting a class not found exception for class 
org.jnp.interfaces.NamingContextFactory when trying to do an 
InitialContext.lookup() on an EJB home interface.  This works fine when all 
my Tomcat stuff is put on the system classpath, which is not a problem 
during my development and testing, but *should* work when putting my 
classes in the WEB-INF/classes and /lib directories of the WAR file.

Has anyone gotten this to work these files in their WAR file?

Rick Horowitz


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to