I am integrating Apache Web server, Tomcat and Jboss (EJB container). Tomcat is 
running out of Apache process using mod_jk adapter. Tomcat is working fine for serving 
normal servlets and jsp. I deployed EJB on jBoss and accessed that by creating one 
java client application, it worked all right. Now when i want to access that EJB 
through Servlet, it is giving problems. I copied all the libraries required for client 
(ejb.jar, jnp-client.jar, jboss-client.jar and jta-spec.jar) to WEB-INF/lib, servlet 
and other helping classes to WEB-INF/classes. Now when i access the Servlet it gives " 
Cannot instantiate class: org.jnp.interf aces.NamingContextFactory. Root exception is 
java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory" Though this 
class is available in jnp-client.jar library which is in WEB-INF/lib directory. As per 
Tomcat documentation, Tomcat will include all jar files from WEB-INF/lib/ to 
classpath, but it is not working here. When i copied that the suppored client library 
files, jnp-client.jar etc ... to TOMCAT_HOME/lib, it started working. This shows that 
WEB-INF/lib/*.jar are not included in classpath. HELP?????????????????????????? 






_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to