I've tried that but it does not still works ...
It is correct to put jndi.properties (with information that point to my ejb
server) file in my classpath ?
- Original Message -
From: Richard Plukker [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, June 18, 2002 9:27 AM
Subject: Re: Tomcat 4 JNDI
In tomcat 4 you can also use the ejb-ref element in the server.xml
look at the tomcat examples, hope it will work.
good luck
On Tuesday 18 June 2002 08:56, you wrote:
I've a problem:
i want to call my EJB resource (running on a remote machine on JBoss
3.0)
from a servlet (running on my local machine).
I've tried to put in classpath jndi.properties file like this:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=remote-machine
java.naming.factory.url.pkgs=org.jboss.naming.org.jnp.interfaces
and to modify web-xml file:
resource-env-ref
resource-env-ref-nameAddressEJBHome/resource-env-ref-name
resource-env-ref-typecom.sun.j2ee.blueprints.address.ejb.AddressEJBBean/
r esource-env-ref-type
/resource-env-ref
can you help me ?
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]