Hi Adrian,

Thank you very much for replying my message. I have read the topic you recommended. 
But it did not solve my problem. 

Plainly speaking, I want to send a BytesMessage with one mega bytes to and forth two 
queues and track the RTT(round trip time). The error messages are shown below. I 
changed the contents  of MESSAGEBLOB here which is actually one mega bytes long.

        at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:745)
        at org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:44)
        at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:145)
        at 
org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:407)
        at 
org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:383)
        at 
org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptorSupport.java:136)
        at 
org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:162)
        at 
org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:279)
        at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:136)
        at 
org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:249)
        at java.lang.Thread.run(Thread.java:536)
Caused by: java.sql.SQLException: Serialization failure in statement [INSERT INTO 
JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) 
VALUES(2,'QUEUE.RequestQueue','aced00057a000004000202000c526571756573700000000000000000000000000000000',NULL,'A')]
        at org.hsqldb.Trace.getError(Unknown Source)
        at org.hsqldb.Result.(Unknown Source)
        at org.hsqldb.jdbcConnection.executeHSQL(Unknown Source)
        at org.hsqldb.jdbcConnection.execute(Unknown Source)
        at org.hsqldb.jdbcStatement.fetchResult(Unknown Source)
        at org.hsqldb.jdbcStatement.executeUpdate(Unknown Source)
        at org.hsqldb.jdbcPreparedStatement.executeUpdate(Unknown Source)
        at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:324)
        at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:783)
        at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:730)
        ... 10 more

This error occurs only when I sent 1 MB BytesMessage, I have tested with 16K, 32K, 
64K, 128K... and there are no problems. 
Any lucks to hear from you again?


Best Regards
Jianjia

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829544#3829544

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829544


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to