Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mdb deploy problem

 
kevin chang
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i correctly delploy mdb with weblogic in connecting factory and destination name , but in weblogic it can just received my message but can't System.out.println() the code in my MDB. i could see that JMSconnection is false in weblogic. is it necessary? any suggestion about deploy in MDB?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't quite understand -- did you or did you not receive the JMS message?
BEA has extensive documentation for WebLogic products at edocs.bea.com.
 
kevin chang
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i recieved my message in JMS, but can't consume it with MDB. I might think that MDB didn't correctly connect to JMS , what should i put i ebj-jar.xml to right connect to JMS?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't connect the MDB to the actual JMS queue/topic with ejb-jar.xml -- you need to use the vendor-specific deployment descriptor (e.g., weblogic-ejb-jar.xml for WebLogic and so on).
 
kevin chang
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think i do right deploy them in the file u refer to.

why still can't connect to JMS?
i 'm wondering
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic