ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » MDB problem

Post new topic  Reply to topic
 MDB problem « View previous topic :: View next topic » 
Author Message
Zatko55
PostPosted: Thu May 29, 2003 5:40 am    Post subject: MDB problem Reply with quote

Newbie

Joined: 01 May 2003
Posts: 6
Location: Reading, PA

Hey all. I have written a very simple MDB that gets a message and it works fine. But, then I need to take that message and call a CMP entity bean from the MDB. I get a weird, long stack trace. (I use WAS5 and WSAD5) If I use a session bean to call the entity bean, I have no issues.

Basically, can someone tell me what is required to have an mdb call/create cmp entity beans?
Back to top
View user's profile Send private message AIM Address
Zatko55
PostPosted: Mon Jun 02, 2003 1:07 pm    Post subject: Reply with quote

Newbie

Joined: 01 May 2003
Posts: 6
Location: Reading, PA

It needs an XA data source.
Back to top
View user's profile Send private message AIM Address
jackie
PostPosted: Tue Jun 10, 2003 12:37 pm    Post subject: Reply with quote

Novice

Joined: 01 Jun 2003
Posts: 20
Location: NYC

do u have two projects one for MDB and the other for CMP, since MDB does not have to be deployed? I wonder how you structured your projects. post your stacks so that i can see it.
Back to top
View user's profile Send private message
Zatko55
PostPosted: Tue Jun 10, 2003 12:44 pm    Post subject: Reply with quote

Newbie

Joined: 01 May 2003
Posts: 6
Location: Reading, PA

I fixed the problem. You need to define your database as an XA database instead of just a normal one. I used the DB2 XA driver. It now works.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MDB problem
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.