Hi, > > 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 othe > r 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, jn > p-client.jar etc ... to TOMCAT_HOME/lib, it started working. > This shows that WEB-INF/lib/*.jar are not included in > classpath. HELP?????????????????????????? > Are you using jndi.properties to specify your naming server? I do and have found that I need to put all my jars on the main classpath for tomcat to find it - it seems to be a problem with tomcat accessing non-class files on its WEB-INF path/classloader.... Chris ================================================================================================ This electronic message (email) and any attachments to it are subject to copyright and are sent for the personal attention of the addressee. Although you may be the named recipient, it may become apparent that this email and its contents are not intended for you and an addressing error has been made. This email may include information that is legally privileged and exempt from disclosure. If you have received this email in error, please advise us immediately and delete this email and any attachments from your computer system.Rabobank International is the trading name of Coöperatieve Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands. Registered with the Registrar of Companies for England & Wales No. BR002630 and regulated by the SFA for the conduct of investment business in the UK. The presence of this footnote also confirms that this email has been automatically checked by Rabobank International for the presence of computer viruses prior to it being sent, however, no guarantee is given or implied that this email is virus free upon delivery. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
