Copy %JBOSS_HOME%/client/[jboss-client.jar,jboss-common-client.jar,
jbosssx-client.jar, jnp-client.jar, jboss-j2ee.jar, and log4j.jar] to
%CATALINA_HOME%/shared/lib.  

-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] 
 
Hi,
Where do the org.jnp classes come from?

Thanks,


>-----Original Message-----
>From: Becker, Michael [mailto:[EMAIL PROTECTED]]
>
>This works for me:
>
>// Try to find each of these individual parameters
>// and construct the properties
>// object appropriately
>java.util.Properties p = new java.util.Properties();
>
>p.put(InitialContext.INITIAL_CONTEXT_FACTORY,
>               "org.jnp.interfaces.NamingContextFactory");
>p.put(InitialContext.URL_PKG_PREFIXES,
>            "org.jboss.naming:org.jnp.interfaces");
>p.put(InitialContext.PROVIDER_URL,"yourservername");
>InitialContext context = new InitialContext(p);
>
>
>After that you can do your EJB lookup's with that context.
>
>
>-----Original Message-----
>From: Andrzej Jan Taramina [mailto:[EMAIL PROTECTED]]
>Sent: Friday, November 22, 2002 7:05 AM
>To: [EMAIL PROTECTED]
>Subject: Tomcat with external JBoss (JNDI problems)...
>
>I've got Tomcat 4.1.12 and JBoss 3.0.4 running on separate
machines/VMs.
>
>I've put a jndi.properties file pointing to the JBoss JNDI server in my
>WEB-
>INF/classes directory....but my servlet does not pick it up for some
>reason....and just grabs Tomcats JNDI instance instead.
>
>Anyone know how to set this up so my servlet can get an IntialContext
>that
>points to the JBoss server (that is, so that it finds the
>jndi.properties file)?
>
>Thanks!
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to