You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Shapira, Yoav" <Yo...@mpi.com> on 2002/10/02 20:54:44 UTC

JNDI for JMS configuration question

Hi,
I'm using tomcat 4.1.12-LE / jdk 1.4.1, and I'd like to send a JMS
message to a remote server.  

I have the parameters for the server, e.g. providerURL,
connectionFactory, queue name.  I'd like to configure these in my
web.xml, not server.xml, and use tomcat's InitialContext implementation
to lookup the remote JMS queue.  

Is this possible?

If so, configuration and code help would be appreciated.  Let's say my
resources are:
providerURL = http://myprovider:myport
connectionFactory = com.mypackage.MyConnectionFactory
JMS queue = com.mypackage.MyQueue

Thanks in advance,

Yoav Shapira
Millennium ChemInformatics