>>>>> "Allan" == Allan Kamau <[EMAIL PROTECTED]> writes: Allan> I am running tomcat and JBoss separately. And I would Allan> like to access an ejb from a servlet just as my client Allan> application did. Allan> I tried the ejb interest example and it worked just Allan> fine. Allan> The client application was able to communicated with a Allan> remote ejb. I modified this client application into a Allan> servlet and complied it just fine. Allan> During execution, the servlet throws the exception Allan> below. Sure JBoss was running as I did successfully Allan> run the usual client application. Allan> Then copied the jbosssx-client.jar,jboss-client.jar, Allan> jnp-client.jar and even the jaas.jar and ejb.jar files Allan> into tomcats lib directory, but the error persisted Allan> (even after restarting tomcat). I'm not certain this will make a difference here, but I believe the jar files needed by the application have to be stored in the WEB-INF/lib directory, not the $TOMCAT_HOME/lib directory. -- =================================================================== David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004) _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user