Hi Folks. I am new to JBoss and have been trying to deploy an MDB on my server in Eclipse with no luck. If I export the JAR file to the deploy folder of JBOSS server/all directory, I can run the message generator from Eclipse and it works as I expect (consumer onMessage generates a little "Hello" Message in the log). I can work with it this way, but its a hassle to have to stop and restart the server every time I make a change.
The process I was using in eclipse was:
1) Use add/remove to add the project to the JBOSS 5 server in the server view.
2) Select the project in the server view and select "Full Publish".
3) Start the Server
When I'd run the message generator, the server log would show the connection, but the message consumer wasn't being called. The book I am using says that I should see the JAR file for the project generated at that point in the JBOSS server/all directory, but its not being generated.
I'm sure its something in the way I have Eclipse and JBOSS playing together but I'm not sure what.
"The greatest of all weaknesses is the fear of appearing weak." - JB Bossuet
It almost sounds like you have automatic builds turned off. If so, did you manually run a build (right-click the project and select Build Project).
Also, I don't think you will see that JAR file in that location when using Eclipse. Instead, there will be a subdirectory somewhere under workspace/.metadata to which the JAR is published and JBoss AS will be instructed to deploy the app from there.
By the way, do you have JBoss Tools installed into Eclipse?
Thanks for the reply Peter.
Yep, I have autobuild off, but I build each time I make a change. I can turn autobuild though and see if that changes anything. I do have JBoss Tools installed.
I will see If I can check that ./metdata path to see if I can see the jar there.