• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MDB deployment errors

 
Sham Phadtale
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jaikiran for your replay.

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

 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic