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 » General IBM MQ Support » Message getting trucated when MDB listening the message

Post new topic  Reply to topic
 Message getting trucated when MDB listening the message « View previous topic :: View next topic » 
Author Message
sirfvikas
PostPosted: Thu Oct 22, 2009 8:26 am    Post subject: Message getting trucated when MDB listening the message Reply with quote

Newbie

Joined: 22 Oct 2009
Posts: 9

Hi All,

I am facing three problems:-

1. I am getting this error message which MDB is listening the request and messages are going into Backout queue.I am using Pramati Appserver and deployed MDBs in the same.

for this Log is as follows:-

EJB50082; Exception in onMessage for the message
JMS Message class: jms_text
JMSType: null
JMSDeliveryMode: 2
JMSExpiration: 0
JMSPriority: 4
JMSMessageID: ID:414d5120534c524d53514d202020202028497c4ac83b8928
JMSTimestamp: 1256212614880
JMSCorrelationID:null
JMSDestination: null
JMSReplyTo: null
JMSRedelivered: false
JMS_IBM_PutDate:20091022
JMSXAppID:WebSphere MQ Client for Java
JMS_IBM_Format:MQSTR
JMS_IBM_PutApplType:28
JMS_IBM_MsgType:8
JMSXUserID:wbimb
JMS_IBM_PutTime:11565488
JMSXDeliveryCount:1
<GCLWkflReqs> <Hdr> <APPID>19676</APPID><TRNUID>a</TRNUID><DTCLIENT>2001-12-17T09:30:47Z</DTCLIENT>
Another 289 character(s) omitted in MDB CustomerPortalRequestMDB.
java.lang.IllegalStateException: Can change transaction status only for beans deployed with Container Managed Transactions and TX_REQUIRED tx attribute.
at com.pramati.ejb.mdb.MessageDrivenContextImpl.setRollbackOnly(MessageDrivenContextImpl.java:115)
at com.dnb.bpms.slrm.util.gateway.SLRMMessageQueueMDB.onMessage(SLRMMessageQueueMDB.java:65)
at com.pramati.ejb.mdb.MDBHandler$1.run(MDBHandler.java:239)
at com.pramati.security.util.JAASSecurityHelper.doAs(JAASSecurityHelper.java:156)
at com.pramati.security.util.JAASSecurityHelper.doAs(JAASSecurityHelper.java:264)
at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.pramati.services.security.spi.SecurityHelper.doAs(SecurityHelper.java:240)
at com.pramati.ejb.mdb.MDBHandler.delegateToBean(MDBHandler.java:237)
at com.pramati.ejb.mdb.MDBHandler._onMessage(MDBHandler.java:123)
at com.pramati.ejb.mdb.MDBHandler.onMessage(MDBHandler.java:76)
at com.ibm.mq.jms.MQSession.run(MQSession.java:1588)
at com.pramati.ejb.mdb.JMSServerSession.run(JMSServerSession.java:64)
at com.pramati.util.thread.ThreadPool$PooledThread.run(ThreadPool.java:161)



2 Problem:-

Consumption of messages are very slow by MDB in JBOSS. In another layer I am using Jboss server which has also MDBs but these MDBs are consuming very slow.



Need the solution for the above. Thanks for the forum in advance.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 22, 2009 5:45 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Quote:
Code:
java.lang.IllegalStateException: Can change transaction status only for beans deployed with Container Managed Transactions and TX_REQUIRED tx attribute.


Looks like your MDB's deployment attributes are not right.
By the way the MDB should have Requires New on the transaction attribute.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sirfvikas
PostPosted: Fri Oct 23, 2009 6:10 am    Post subject: Reply with quote

Newbie

Joined: 22 Oct 2009
Posts: 9

Could you please elaborate the specific attribute which you are talking about so that I could check the same and confirm?

Thank a ton!!! for this information.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Oct 23, 2009 6:33 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

This is often specific to your J2EE platform. Read up on the MDB deployment descriptor of your platform...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Message getting trucated when MDB listening the message
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.