users@glassfish.java.net

Re: glassfish and tomcat when using appserv-rt.jar

From: <glassfish_at_javadesktop.org>
Date: Wed, 02 Jan 2008 07:15:27 PST

Hi Ron,

Glassfish EJB FAQ has some info on this topic:
https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#nonJavaEEwebcontainerRemoteEJB

You may need to tweak the tomcat classpath so that glassfish jars are at the end of tomcat classpath, or only available for a specific webapp. It may have to do with the fact that appserv-rt.jar is alphabetically before other tomcat jars. If it's tomcat 5, you can try putting it in shared/lib instead of common/lib, or packaged it inside the war.

The last resort, you can delete appserv-rt.jar!jndi.properties when using it in tomcat.

-cheng
[Message sent by forum member 'cf126330' (cf126330)]

http://forums.java.net/jive/thread.jspa?messageID=251908