> From: Jonathan Richard [mailto:richa...@gmail.com] > Subject: using glassfish remoting in tomcat 6 > > I place my jars (javaee.jar and appserver-rt and the necessary > dependencies) in my WEB-INF/lib/ direcectory.
You must not put javaee.jar anywhere that's reachable by Tomcat, including any WEB-INF/lib or Tomcat's lib directory. Some of the classes in javaee.jar conflict with the ones supplied by Tomcat and cannot be used. You will have to extract whatever pieces of javaee.jar you really need and put those in WEB-INF/lib (or WEB-INF/classes); doing otherwise will result in a never-ending series of classloader problems. The same may be true of appserver-rt.jar, but I'm not familiar with it. - Chuck P.S. The name of a jar has only a random effect on search order and cannot be relied upon. THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org