On Wed, 27 Sep 2000, Andrew wrote:
> When I tried to connect to EJB from App all is ok, but from servlet
> I've get ClassNotFound for home interface. I'll do all the same as for
> application put ejb.jar,jndi.jar,jnp-client.jar and jboss-client.jar
> in lib folder of tomcat. And put interface classes under
> WEB-INF\classes\mypackage but it dosn't help me...
> 
> What could be wrong?Maybe security constraints but ifaces available
> localy -no need to download. (All do on the same machine)

        You should put ejb.jar, jndi.jar, jnp-client.jar, and
jboss-client.jar under WEB-INF/lib.  You should put your bean's home and
remote interfaces and jndi.properties under WEB-INF/classes.  If you split
things between tomcat/lib and WEB-INF/xxx then it probably won't work,
since different ClassLoaders are used for the two locations.

Aaron



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to