You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kwok Peng Tuck <pe...@makmal.com> on 2002/11/20 00:56:41 UTC

Re: JMS, Tomcat & Naming Contexts

>
>
> 
>  
>
If you read the JNDI  how-to you'll see that they do ask you to put jar 
files into $CATALINA_HOME/common/lib .
So I think that if you want to access the jms as a JNDI  resource then 
you need to put it in the said directory.

>I want a servlet running on Tomcat to send messages to the same JMS
>topic. There are no EJBs involved and hence I have the jms.jar in the
>Web-INF/lib directory of the webapp. The servlet fails to locate the
>TopicConnectionFactory as it "is not bound in this context" within
>Tomcat.
>  
>

I'm not sure I understand why you are putting this in there and why it 
needs to be used in the first place.

>When I put the j2ee.jar in the WEB-INF lib, it blows up.
>
> 
>
> 
>
>
>  
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>