Hi Rick,

i've just completed my test of separate JVMs for Jboss (2.0 Final) and
Tomcat 3.2.1 using the examples. I couldn't phantom why the example was
putting the EJB client jar in the tomcat classpath. I left it as that.
After reading your message, I think I will go back and retry the 'proper'
approach as u have outlined. The jar should go into the WEB-INF/lib
directory.

This is indeed mysterious but logically the fault should be at the tomcat
end rather than JBoss no? After all, it is a JNDI lookup.


Lionel

----- Original Message -----
From: "Rick Horowitz" <[EMAIL PROTECTED]>
To: "jBoss" <[EMAIL PROTECTED]>
Sent: Saturday, January 27, 2001 7:19 AM
Subject: Re: [jBoss-User] Problem configuring Tomcat3.2.1 to talk tojboss on
other vm/mach ine


> 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]
>



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

Reply via email to