-
1. Re: message size
adrian.brock Apr 5, 2004 1:16 PM (in response to jianjia)My thoughts on hypersonic are probably well known if you look through these
forums.
If you really want an MSc project, try this related task:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=46187
Regards,
Adrian -
2. Re: message size
jianjia Apr 6, 2004 6:35 PM (in response to jianjia)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 -
3. Re: message size
adrian.brock Apr 7, 2004 5:26 AM (in response to jianjia)Ask the hsqldb project why they can't serialize 1MB of data.
Or try a db that can. You'll find configs for alternate dbs in docs/examples/jms
Regards,
Adrian -
4. Re: message size
jianjia Apr 7, 2004 12:44 PM (in response to jianjia)Thank you very much for your help. I will try to find some alternative solutions myself. Cheers.
-
5. Re: message size
senaka Feb 17, 2005 12:58 AM (in response to jianjia)Hi,
Did u find the way to handle large message with JBOSS?
BR
Senaka -
6. Re: message size
jianjia Mar 28, 2005 2:00 AM (in response to jianjia)Sorry, I haven't logged into this forum for a long time. I've tested oracle with openjms, and it can accept up to 10M message. You might change a db and see if it works. Hope this help.
Thanks
Jianjia -
7. Re: message size
sheen Mar 30, 2005 12:05 PM (in response to jianjia)Hi Jianjia,
Any chance you were trying to get messages from the Oracle Queue into JBoss? Have you successfully implemented this between Oracle and JBoss using OpenJMS?
In a project I am involved with, we are trying to subscribe to an Oracle Advanced Queue from JBoss and there aren't any clear solutions to do that. If you have done this successfully would you please point me in the right direction with some useful tips and info/links.
Kind regards,
SB -
8. Re: message size
adrian.brock Mar 31, 2005 11:07 AM (in response to jianjia)"Sheen" wrote:
please point me in the right direction with some useful tips and info/links.
"READ THIS FIRST" on how NOT to hijack somebody else's thread and also find the FAQ