Hi,
I am trying to create simple
EJB MDB project.
I created EJB project and then one more separate dynamic web project. I am using
JBoss 5 server.
I was looking for JMS folder under
C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2\server\default\deploy
I could not see jms folder there.
I want to open
jbossmq-destinations-services.xml
under the jms folder to edit it.
I could not see that file as well .
In jboss4.2 there used to be jms folder and under that there used to be
jbossmq-destinations-services.xml
Not sure where can I find
jbossmq-destinations-services.xml
Alternately i found destinations-services.xml under below folder
C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2\server\default\deploy\messaging
I modified that as below by adding mbean at the end
MDBs looks as below
I deployed both ejb project and web project.
My
servlet sending text messages to topic on which 3 message driven beans(mdb) are listening.
When i go to servlet url
http://localhost:8080/GpWebProj/GPServlet
My console is not roling with the text messages instead i see some errors there as below
16:49:09,679 INFO [STDOUT] entering GpServlet do get method--------
16:49:09,745 INFO [ServerSessionEndpoint] Received send for ID:JBM-5099599c-6b94-408b-a5a5-b9c669f4cbb7 reliable: true
16:49:09,745 INFO [ServerSessionEndpoint] Done send
16:49:09,745 INFO [STDOUT] exiting GpServlet do get method--------
Instead I would like to see something like below
16:49:09,679 INFO [STDOUT] entering GpServlet do get method--------
GpMDB01 onMessage method received msg msg from GpServlet
GpMDB02 onMessage method received msg msg from GpServlet
GpMDB03 onMessage method received msg msg from GpServlet
16:49:09,745 INFO [STDOUT] exiting GpServlet do get method--------
I am not sure where is the issue. How can i fix this issue
Please advise. Any links, sample code, resources, ideas highly appreciated. thanks in advance