wood burning stoves*
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


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: 10146
    
165

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: 10146
    
165

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: 10146
    
165

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.
 
GeeCON Prague 2014
 
subject: MDB deployment errors