| Author |
mdb deploy problem
|
kevin chang
Ranch Hand
Joined: Mar 08, 2003
Posts: 64
|
|
|
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?
|
Sun Certified Java Programmer, Sun Certified Java Developer. <br />Strving to be a real architect.
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
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.
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
kevin chang
Ranch Hand
Joined: Mar 08, 2003
Posts: 64
|
|
|
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
Joined: Jan 23, 2002
Posts: 11962
|
|
|
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
Joined: Mar 08, 2003
Posts: 64
|
|
i think i do right deploy them in the file u refer to. why still can't connect to JMS? i 'm wondering
|
 |
 |
|
|
subject: mdb deploy problem
|
|
|