I spent most of the day tring to get this to work (three days now) and still no luck. Does anyone know how I can access an EJB hosted on a Sun Application server through a servlet hosted on Tomcat Any help would be most appreciated.
Jon -----Original Message----- From: Jon Hoffman [mailto:[EMAIL PROTECTED] Sent: Thu 7/27/2006 8:15 AM To: users@tomcat.apache.org Subject: Tomcat and Sun's Application server Hi, I have been beating my head for the past two days on this problem. I have a Sun Java Application Server 8.1 with a couple Enterprise Java Beans. I want to be able to have a web application running on my Tomcat cluster access those EJB's. My servlet keeps throwing up this Exception: java.lang.NoClassDefFoundError com.sun.enterprise.iiop.IIOPSSLSocketFactory.<init>(IIOPSSLSocketFactory .java:149) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA ccessorImpl.java:39) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons tructorAccessorImpl.java:27) java.lang.reflect.Constructor.newInstance(Constructor.java:494) java.lang.Class.newInstance0(Class.java:350) java.lang.Class.newInstance(Class.java:303) com.sun.corba.ee.impl.orb.ParserTable$5.operate(ParserTable.java:650) com.sun.corba.ee.impl.orb.NormalParserAction.apply(NormalParserAction.ja va:22) com.sun.corba.ee.spi.orb.PropertyParser.parse(PropertyParser.java:52) com.sun.corba.ee.spi.orb.ParserImplBase.init(ParserImplBase.java:55) com.sun.corba.ee.impl.orb.ORBDataParserImpl.<init>(ORBDataParserImpl.jav a:397) com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:514) com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:604) org.omg.CORBA.ORB.init(ORB.java:337) com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:372) com.sun.enterprise.util.ORBManager.init(ORBManager.java:236) com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:248) com.sun.appserv.naming.S1ASCtxFactory.getInitialContext(S1ASCtxFactory.j ava:208) javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) javax.naming.InitialContext.init(InitialContext.java:223) javax.naming.InitialContext.<init>(InitialContext.java:197) com.xxxxxxxx.model.xxxxxx.xxxxxxx(xxxxxxxx.java:52) com.xxxxxxxx.web.xxxxx.processRequest(xxxxxx.java:36) com.xxxxxxxx.web.xxxxx.doPost(xxxxxx.java:75) javax.servlet.http.HttpServlet.service(HttpServlet.java:709) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) The problem seems to come from Sun's J2EE.jar file. This jar is needed by the EJB client but it also conflicts with the servlet.jar file that comes with tomcat therefore I get this warning in my Tomcat log file: INFO: validateJarFile(/usr/local/src/apache-tomcat-5.5.17/webapps/firewallrule s/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Can anyone give me any suggestions on how to get this to work? Thanks in advance for any help you can provide. Jon Hoffman
--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]