Hi,

specify the JNDI-Name in your web.xml, e.g. :

<resource-ref>
 <description>...</description>
 <res-ref-name>jms/xxxxTopic</res-ref-name>
 <res-type>javax.jms.Topic</res-type>
 <res-auth>Container</res-auth>
 </resource-ref>

 <resource-ref>
 <description>...</description>
 <res-ref-name>jms/xxxTopicConnectionFactory</res-ref-name>
 <res-type>javax.jms.TopicConnectionFactory</res-type>
 <res-auth>Container</res-auth>
 </resource-ref>

Ciao TK

----- Original Message ----- 
From: "Harini P" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, April 04, 2002 12:28 PM
Subject: jms and createTopic


> Hi,
> I am using createTopic function to create a Topic , i
> then bind it to a jndi context. I can lookup to that
> topic if the application server is running on the same
> machine as that of the client. If the client connects
> to the server running on a remote machine, the lookup
> does not happen unless and until the topic name is
> present in the application-client.xml. How do i solve
> the problem?
> Harini
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> 
> 


Reply via email to