[JBoss-user] [Messaging, JMS JBossMQ] - Re: Message size limit with BytesMessage and writeUTF method

2006-01-19 Thread [EMAIL PROTECTED]
For everybody else, here's a link to the bug report:
http://jira.jboss.com/jira/browse/JBAS-2641

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3918417#3918417

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918417


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Message size limit with BytesMessage and writeUTF method

2006-01-09 Thread [EMAIL PROTECTED]
Its an implementation detail limitation of the underlying DataOutputStream:

http://java.sun.com/products/jdk/serialization/faq/

# Why is UTFDataFormatException thrown by DataOutputStream.writeUTF() when 
serializing a String?

DataOutputStream.writeUTF() does not support writing out strings larger than 
64K. The first two bytes of a UTF string in the stream are the length of the 
string. If a java.lang.String can be larger than 64K, it needs to be stored in 
the stream by an alternative method rather than depending on the default method 
of storing a String in the stream, writeUTF.

Try a javax.jms.TextMessage which works around this issue.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3916565#3916565

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916565


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Message Size?

2005-10-14 Thread [EMAIL PROTECTED]
There is no limit. Details of server version and jms configuration are needed.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3901074#3901074

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3901074


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Message Size?

2005-10-14 Thread lxfsuccess
Thank you very much,Scott. 
server version : jboss-4.0.2 
database: postgreSQL 7.4.6
In my application,I didn't use MDB,just created a jar package as a JMS server 
which defined a sender interface , a receiver interface and a start() method.
Configuration details:
  (1)Expose the Naming service interface via HTTPS in the file 
\deploy\http-invoker.sar\META-INF\jboss-server.xml
  mbean code=org.jboss.invocation.http.server.HttpProxyFactory
  |   name=jboss:service=invoker,type=https,target=Naming
  |!-- The Naming service we are proxying --
  |attribute name=InvokerNamejboss:service=Naming/attribute
  |!-- Compose the invoker URL from the cluster node address --
  |attribute name=InvokerURLPrefixhttps:///attribute
  |attribute 
name=InvokerURLSuffix:443/invoker/JMXInvokerServlet/attribute
  |attribute name=UseHostNamefalse/attribute
  |attribute 
name=ExportedInterfaceorg.jnp.interfaces.Naming/attribute
  |attribute name=JndiName/attribute
  |attribute name=ClientInterceptors
  |interceptors
  |
interceptororg.jboss.proxy.ClientMethodInterceptor/interceptor
  |
interceptororg.jboss.proxy.SecurityInterceptor/interceptor
  |
interceptororg.jboss.naming.interceptors.ExceptionInterceptor/interceptor
  |
interceptororg.jboss.invocation.InvokerInterceptor/interceptor
  |/interceptors
  |/attribute
  |/mbean
  (2)Define servlet 'JNDIFactorySSL' in the file 
\deploy\http-invoker.sar\invoker.war\WEB-INF\web.xml
  (3)Define SSL/TLS Connector in the file 
\deploy\jbossweb-tomcat55.sar\server.xml
 Connector port=443 address=${jboss.bind.address}
  |maxThreads=100 strategy=ms maxHttpHeaderSize=8192
  |emptySessionPath=true
  |scheme=https secure=true clientAuth=false 
  |keystoreFile=${jboss.server.home.dir}/conf/server.keystore
  |keystorePass=123456 sslProtocol = TLS /
  (4)Add two attributes in the file 
\deploy\jms\jbossmq-httpil.sar\META-INF\jboss-service.xml
 attribute name=URLPrefixhttps:///attribute 
  |  attribute name=URLPort443/attribute
  (5)database configuration in the file \deploy\postgres-ds.xml:
?xml version=1.0 encoding=UTF-8?
  | datasources
  |   local-tx-datasource
  | jndi-namePostgresDS/jndi-name
  | connection-urljdbc:postgresql://hostname:port/db-name/connection-url
  | driver-classorg.postgresql.Driver/driver-class
  | user-nameusername/user-name
  | passwordpassword/password
  |  metadata
  |  type-mappingPostgreSQL 7.4.6/type-mapping
  |   /metadata
  |   /local-tx-datasource
  | /datasources

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3901104#3901104

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3901104


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: message size

2005-03-31 Thread Sheen
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

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3872065#3872065

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872065


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: message size

2005-03-31 Thread [EMAIL PROTECTED]
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

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3872201#3872201

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872201


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: message size

2005-03-27 Thread 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


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3871738#3871738

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3871738


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: message size

2005-02-16 Thread senaka
Hi,
Did u find the way to handle large message with JBOSS?

BR
Senaka

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3866865#3866865

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3866865


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: message size

2004-04-07 Thread [EMAIL PROTECTED]
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

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3829572#3829572

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829572


---
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=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: message size

2004-04-07 Thread jianjia
Thank you very much for your help. I will try to find some alternative solutions 
myself. Cheers.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3829682#3829682

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829682


---
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=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: message size

2004-04-06 Thread 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','aced00057a04000202000c5265717565737',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=bbop=viewtopicp=3829544#3829544

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=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=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: message size

2004-04-05 Thread [EMAIL PROTECTED]
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=bbop=viewtopict=46187

Regards,
Adrian



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3829280#3829280

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829280


---
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=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user