Re: Application Client JMS
Hi, no, it is an application client, i.e. a normal Java - Applikation. I´d like to write a small Swing - app which monitors the messaging. I´m using Orion´s JMS. I want the application to look up an existing Topic on the server via JNDI and post / receive messages to / from this Topic. thanks, Jochen Manoj Sadangi schrieb: Hi Jochen , The MessageMonitor class you have written , is it a servlet? r u using Orion's JMS? thanks, manoj. Jochen Kressin wrote: Hi, i have some problems writing an application client that uses JMS. I have created a SessionBean which publishes messages and a MDB which receives the messages. This works fine. I now want to write a client application that can participate in messaging. The client connects to the server without problems, but messages published by the client seem to go nowhere. The MDB does not receive anything. Also, the client does not receive any messages sent by the SessionBean. The directory structure of the client app is: client +--- MessageMonitor.class +--- META-INF +---application-client.xml +---orion-application-client.xml The application-client.xml: ... resource-ref res-ref-namejms/TopicConnectionFactory/res-ref-name res-typejavax.jms.TopicConnectionFactory/res-type res-authContainer/res-auth /resource-ref resource-ref res-ref-namejms/BenelogNewOrder/res-ref-name res-typejavax.jms.Topic/res-type res-authContainer/res-auth /resource-ref where BenelogNewOrder is the name of the Topic I would like to subscribe to. The client looks up the Topic using something like: lookup(java:comp/env/jms/BenelogNewOrder); Please give me some hint what i am doing wrong. Also, any informations where to find more about app-clients Orion is appreciated. Neither orion nor atlassian seem to have tutorials on this topic. Thanks in advance! Jochen -- - Jochen Kressin [EMAIL PROTECTED] Interested in distributed computing? http://www.jeremi.org
Application Client JMS
Hi, i have some problems writing an application client that uses JMS. I have created a SessionBean which publishes messages and a MDB which receives the messages. This works fine. I now want to write a client application that can participate in messaging. The client connects to the server without problems, but messages published by the client seem to go nowhere. The MDB does not receive anything. Also, the client does not receive any messages sent by the SessionBean. The directory structure of the client app is: client +--- MessageMonitor.class +--- META-INF +---application-client.xml +---orion-application-client.xml The application-client.xml: ... resource-ref res-ref-namejms/TopicConnectionFactory/res-ref-name res-typejavax.jms.TopicConnectionFactory/res-type res-authContainer/res-auth /resource-ref resource-ref res-ref-namejms/BenelogNewOrder/res-ref-name res-typejavax.jms.Topic/res-type res-authContainer/res-auth /resource-ref where BenelogNewOrder is the name of the Topic I would like to subscribe to. The client looks up the Topic using something like: lookup(java:comp/env/jms/BenelogNewOrder); Please give me some hint what i am doing wrong. Also, any informations where to find more about app-clients Orion is appreciated. Neither orion nor atlassian seem to have tutorials on this topic. Thanks in advance! Jochen -- - Jochen Kressin [EMAIL PROTECTED] Interested in distributed computing? http://www.jeremi.org
Re: Application Client JMS
Hi Jochen , The MessageMonitor class you have written , is it a servlet? r u using Orion's JMS? thanks, manoj. Jochen Kressin wrote: Hi, i have some problems writing an application client that uses JMS. I have created a SessionBean which publishes messages and a MDB which receives the messages. This works fine. I now want to write a client application that can participate in messaging. The client connects to the server without problems, but messages published by the client seem to go nowhere. The MDB does not receive anything. Also, the client does not receive any messages sent by the SessionBean. The directory structure of the client app is: client +--- MessageMonitor.class +--- META-INF +---application-client.xml +---orion-application-client.xml The application-client.xml: ... resource-ref res-ref-namejms/TopicConnectionFactory/res-ref-name res-typejavax.jms.TopicConnectionFactory/res-type res-authContainer/res-auth /resource-ref resource-ref res-ref-namejms/BenelogNewOrder/res-ref-name res-typejavax.jms.Topic/res-type res-authContainer/res-auth /resource-ref where BenelogNewOrder is the name of the Topic I would like to subscribe to. The client looks up the Topic using something like: lookup(java:comp/env/jms/BenelogNewOrder); Please give me some hint what i am doing wrong. Also, any informations where to find more about app-clients Orion is appreciated. Neither orion nor atlassian seem to have tutorials on this topic. Thanks in advance! Jochen