wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes MDB deployment errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "MDB deployment errors" Watch "MDB deployment errors" New topic
Author

MDB deployment errors

Sham Phadtale
Ranch Hand

Joined: Jul 29, 2008
Posts: 75
Hello all,

I am trying to deploy MDB into JBoss5.1 AS server but I am getting following exception -



From server log it seems that after attempting to bound later JBoss again tries to bound and it found at that time.
Please see following line from server log -


While googling to fix above exception problem I found to add entry in destinations-service.xml as -


After adding this I am getting following exception


Please anybody can help me to resolve this. What I am doing incorrect? Also give me link for how to write questions on this forum.

Regards,
Sham P.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

How are you deploying the original MyTest queue? Do you have any *-service.xml files in your application which are deploying that original queue? What do they look like?

[My Blog] [JavaRanch Journal]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

Sham Phadtale wrote:Also give me link for how to write questions on this forum.



http://www.coderanch.com/how-to/java/HowToAskQuestionsOnJavaRanch
Sham Phadtale
Ranch Hand

Joined: Jul 29, 2008
Posts: 75
Thanks Jaikiran for your replay.

I am using jboss-service.xml having entry for MDB as follow -

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

java.lang.IllegalStateException: Cannot deploy queue MyTest it is already deployed


That error indicates that you already have another file deploying the same queue. You'll have to find where that is. It might be somewhere within your application packaging or in the deploy folder of the server.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: MDB deployment errors
 
Similar Threads
Class Loading Configuration
Error starting up my jboss
Error creating bean with name 'datasource': Invocation of init method failed; comp not bound
NameNotFoundException with topic name not bound message
Conflict with jar in the Jboss 5.1 ?