-
1. Re: javax.jms.InvalidDestinationException
alt_amit Jul 7, 2004 2:33 PM (in response to pankilshah82)Try putting in the corresponding session bean's section in the ejb-jar.xml, the following para:
<resource-ref>
<res-ref-name>jms/QCF</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
Let me know if that works. If yours is a topic, use the topic stuff instead.
- amit. -
2. Re: javax.jms.InvalidDestinationException
pankilshah82 Jul 10, 2004 5:31 AM (in response to pankilshah82)hi amit,
I tried the code, but it doesn't work. I am not able to get the remote machine MessageDrivenBean Reference. I would like to clarify that i am having two JBoss servers running. on first server there is a MDB and on the second server there is a Session Bean which sends the message to the MDB. now when i do lookup for the MDB running on the first server it is not able to get the reference of that MDB and says javax.jms.InvalidDestinationException. So what changes are to be made either in server configuration or in the client code so as to get the reference of the MDB on the first server to the second server. -
3. Re: javax.jms.InvalidDestinationException
pankilshah82 Jul 11, 2004 1:49 AM (in response to pankilshah82)Hi all,
I got some information about getting access to the remote JMS provider. We have to configure the jms-ds.xml of the local JBoss server to listen to the remote JBoss Server Topic. This would enable the session bean on the local server to send the message to MDB of the remote sever. But i don't know how to do this. So Anyone please help me in this matter. Thanx. -
4. Re: javax.jms.InvalidDestinationException
stephanenicoll Jul 11, 2004 6:23 AM (in response to pankilshah82)Read the FAQ, Adrian added an entry on that subject.
Regards,
Stephane -
5. Re: javax.jms.InvalidDestinationException
pankilshah82 Jul 11, 2004 10:38 AM (in response to pankilshah82)hi,
Thank You for your suggestion. I solved the problem before ur post. Actually i read the Online documentation and was able to solve it.
I would post the solution as soon as possible. -
6. Re: javax.jms.InvalidDestinationException
kenshin81 Nov 17, 2004 1:15 AM (in response to pankilshah82)pankilshah82, would you be kind enough to post ur solution? i meet the same problem.
thanks a lot -
7. Re: javax.jms.InvalidDestinationException
pankilshah82 Feb 25, 2005 3:30 AM (in response to pankilshah82)hi kenshin81,
vist the link below.
http://www.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureAnMDBToTalkToARemoteQueue