Skip to main content

Why MessageFormat Error in MDB after receiving data?

No replies
deepujs
Offline
Joined: 2009-11-09

I have deployed an ear file which as MDB listening to a Tibco queue. I used genericra and it is working fine. But after receiving in the MDB this error is coming each time when new messages are receiving.
For logginf purpose i am using org.apache.log4j.Logger
There is no log statement in MDB also.

Can anyone please give some hint for the solution?

[#|2009-12-07T05:21:15.608-0600|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=85;_ThreadName=p: thread-pool-1; w: 40;_RequestID=6e8e8217-b064-4dd1-a0de-a949dc7956e4;|
java.util.logging.ErrorManager: 5: Error in formatting Logrecord|#]

[#|2009-12-07T05:21:15.608-0600|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=85;_ThreadName=p: thread-pool-1; w: 40;_RequestID=6e8e8217-b064-4dd1-a0de-a949dc7956e4;|
java.lang.IllegalArgumentException: cant parse argument number Header={ JMSMessageID={ID:DICC08.11DB4A8BBB4BB575A:1} JMSDestination={Queue[REQUEST.QUEUE]} JMSReplyTo={null} JMSDeliveryMode={PERSISTENT} JMSRedelivered={false} JMSCorrelationID={9408} JMSType={null} JMSTimestamp={Mon Dec 07 05:21:15 CST 2009} JMSExpiration={0} JMSPriority={4} } Properties={ } Text={<?xml version="1.0" encoding="UTF-8"?>hello}
at java.text.MessageFormat.makeFormat(MessageFormat.java:1339)
at java.text.MessageFormat.applyPattern(MessageFormat.java:458)
at java.text.MessageFormat.(MessageFormat.java:350)
at java.text.MessageFormat.format(MessageFormat.java:811)
at com.sun.enterprise.server.logging.UniformLogFormatter.uniformLogFormat(UniformLogFormatter.java:329)
at com.sun.enterprise.server.logging.UniformLogFormatter.format(UniformLogFormatter.java:151)
at com.sun.enterprise.server.logging.AMXLoggingHook.publish(AMXLoggingHook.java:198)
at com.sun.enterprise.server.logging.FileandSyslogHandler.publish(FileandSyslogHandler.java:514)
at java.util.logging.Logger.log(Logger.java:472)
at java.util.logging.Logger.doLog(Logger.java:494)
at java.util.logging.Logger.log(Logger.java:517)
at com.sun.genericra.inbound.MessageListener.onMessage(MessageListener.java:52)
at com.tibco.tibjms.TibjmsxSessionImp._submit(TibjmsxSessionImp.java:3944)
at com.tibco.tibjms.TibjmsxSessionImp._dispatchAsyncMessage(TibjmsxSessionImp.java:2197)
at com.tibco.tibjms.TibjmsxSessionImp._run(TibjmsxSessionImp.java:3422)
at com.tibco.tibjms.TibjmsxSessionImp.run(TibjmsxSessionImp.java:4628)
at com.sun.genericra.inbound.WorkImpl.run(WorkImpl.java:52)
at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:76)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)