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-name>jms/TopicConnectionFactory</res-ref-name> > <res-type>javax.jms.TopicConnectionFactory</res-type> > <res-auth>Container</res-auth> ></resource-ref> ><resource-ref> > <res-ref-name>jms/BenelogNewOrder</res-ref-name> > <res-type>javax.jms.Topic</res-type> > <res-auth>Container</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 >