[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-27 Thread ONIT
Tim, QUEUE ALWAYS DIES AFTER 30 MINUTES! I tried using the preconfigured testQueue and A queues for the reponse queue - same exceptions. Then I started the server and used a keep-alive jsp to hit the server every 10 seconds. After 30 minutes (everytime) the server threw the following

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-27 Thread ONIT
Tim, The machine is not running out of memory and I am not sending messages faster than I can comsume them. I can send messages every 2 minutes or every ten minutes and at 30 minutes I will get that exception. It is always 30 minutes - not 28 or 33. It sounds like some lease expires and the

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-27 Thread ONIT
Tim, Sounds lika a good idea. Let me see if I can disable the code that accesses other systems so that it is self contained. Thanks, Dennis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953713#3953713 Reply to the post :

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-27 Thread ONIT
Tim, It looks like I 'fixed' the problem. I copied the messaging-users.properties and messaging-roles.properties files into the: \server\messaging \server\messaging\conf \server\messaging\conf\props directories. The keep-alive jsp has been running for over an hour. Over the

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-26 Thread ONIT
Here is some more data that might shed some light on the problem. destinations-service.xml CONFIGURATION DATA mbean code=org.jboss.jms.server.destination.Queue name=jboss.messaging.destination:service=Queue,name=requestQueue xmbean-dd=xmdesc/Queue-xmbean.xml depends

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-26 Thread ONIT
Hi Tim, Here is the login-config.xml file. ?xml version='1.0'? !DOCTYPE policy PUBLIC -//JBoss//DTD JBOSS Security Config 3.0//EN http://www.jboss.org/j2ee/dtd/security_config.dtd; !-- The XML based JAAS login configuration read by the org.jboss.security.auth.login.XMLLoginConfig

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-26 Thread ONIT
Tim, I changed the login-config.xml file and now the other domain section looks like this: application-policy name = other !-- A simple server login module, which can be used when the number of users is relatively small. It uses two properties files: users.properties,

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-26 Thread ONIT
Tim, No change. I still get the same exception. Dennis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953507#3953507 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953507 Using Tomcat but need to do more? Need to

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-26 Thread ONIT
Tim, No. 2006-06-26 13:50:32,593 WARN [org.jboss.jms.client.JBossConnectionConsumer] Connection consumer closing due to error in listening thread JBossConnectionConsumer[-2147483628, 1] javax.jms.JMSSecurityException: User null is NOT authenticated at

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-24 Thread ONIT
Ovidiu, Thanks for the follow-up. I have a jsp that requests data using the following code (cdCountyData is the stateless EJB): try { String sessionKey = request.getRequestedSessionId() + (10 + System.currentTimeMillis()%10); int intCounties = cdCountyData.sendDataRequest(sessionKey,

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-23 Thread ONIT
Tim, It looks like it cut off my server log. Can I send you an email attachment? Dennis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953014#3953014 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953014 Using Tomcat

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-23 Thread ONIT
Tim, Here is just the exception part. 2006-06-23 10:16:19,718 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] Connection -2147483617 stopped 2006-06-23 10:16:19,718 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] Connection -2147483617 stopped 2006-06-23

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-22 Thread ONIT
Hi Tim, Thanks for taking a look at my code. I will give what I think is relevent code since the entire application is a bit large. Let me know if you need anything else. Keep in mind I am in a development and debug mode so the code is a bit sloppy and inefficient.

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-22 Thread ONIT
Tim, Don't know why it messed up my queue configuration data but it is pretty standard. Dennis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952722#3952722 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952722 Using

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-22 Thread ONIT
Tim, Forgot to point out the system fails at this location: System.out.println(CountyDataBean.getDataResponse Ready to get response message); responseMessage = messageConsumer.receive(waitTime); System.out.println(CountyDataBean.getDataResponse Ready got response message); Dennis View

[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer

2006-06-22 Thread ONIT
Tim, Here is another clue. The exception occurs immediately after the MDB has finished putting the TextMessage in the response queue. Dennis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952730#3952730 Reply to the post :

[JBoss-user] [JBoss Messaging] - IllegalStateException: Cannot find consumer

2006-06-21 Thread ONIT
Hello again, I am using: JBoss_4_0_4_GA JBoss Messaging 1.0.1.CR2 Windows XP Professional Everything is on one JBoss server. I have an EJB that is virtually identical to the messaging stateless EJB in the examples that come with JBoss Messaging. The EJB has a sendRequest method that puts a

[JBoss-user] [JBoss Messaging] - Simple message selector question

2006-06-20 Thread ONIT
Hello, I am passing messages around in a couple queues and want to filter the messages based a session key. I have a SessionKey string property in the TextMessages and try to filter the messages with this code: String messageSelector = SessionKey=' + sessionKey + ';

[JBoss-user] [JBoss Messaging] - Re: Simple message selector question

2006-06-20 Thread ONIT
Hello, Delete this post - it was a case of stupidity. The message selector works great. Dennis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952159#3952159 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952159

[JBoss-user] [JBoss Messaging] - Re: TextMessage delivered without text message (Repost)

2006-06-18 Thread ONIT
Tim, The messaging bombs as soon the string goes over 32K - to the byte. Dennis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3951391#3951391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3951391

[JBoss-user] [JBoss Messaging] - Re: TextMessages returned as payloadasbytearray

2006-06-16 Thread ONIT
Tim, Thanks for the response. I found the problem. It only occurs when the text message exceeds a certain size. I don't know how to increase this limit. The messages could be as much as 100K. Thanks again, Dennis View the original post :

[JBoss-user] [JBoss Messaging] - Re: TextMessage delivered without text message

2006-06-16 Thread ONIT
Tim, Thanks for the response to both of my messages. They address the same problem so I will only follow this thread. If you could delete my other posting it would be appreciated. I found the problem. It only occurs when the text message exceeds a certain size. I don't know how to

[JBoss-user] [JBoss Messaging] - Re: TextMessage delivered without text message

2006-06-16 Thread ONIT
Hi Tim, This is very strange. Looked at the logs - no memory exceptions. Created an object with a string property for the message. Sent the ObjectMessage. Same result. Once the string exceeded a certain limit (I'm guessing about 40K) the string didn't get passed with the object. I'm at a

[JBoss-user] [JBoss Messaging] - Re: TextMessage delivered without text message

2006-06-16 Thread ONIT
Tim, The messaging bombs as soon the string goes over 32K - to the byte. Dennis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3951391#3951391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3951391

[JBoss-user] [JBoss Messaging] - Re: TextMessages returned as payloadasbytearray

2006-06-16 Thread ONIT
I am running into a 32K limit - to the byte. I have 32K test string that works but as soon as I add 1 more character it bombs Dennis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3951396#3951396 Reply to the post :

[JBoss-user] [JBoss Messaging] - TextMessages returned as payloadasbytearray

2006-06-15 Thread ONIT
Hello, I am using: JBoss_4_0_4_GA JBoss Messaging 1.0.1.CR2 Everything is on one JBoss server. I have an EJB that is virtually identical to the messaging stateless EJB in the examples that come with JBoss Messaging. The EJB has a sendRequest method that puts a TextMessage in a queue

[JBoss-user] [JBoss Messaging] - TextMessage delivered without text message

2006-06-15 Thread ONIT
Hello again, Going to try this again under a different subject. I am using: JBoss_4_0_4_GA JBoss Messaging 1.0.1.CR2 Everything is on one JBoss server. I have an EJB that is virtually identical to the messaging stateless EJB in the examples that come with JBoss Messaging. The EJB has a

[JBoss-user] [EJB/JBoss] - Parallel Data Requests

2006-05-30 Thread ONIT
Hi, I have an EJB that gathers data from several sites using HTTP/XML requests. Right now I send the requests serially. I need to send the requests in parallel or the response time will grow to be unacceptable as more sites are added. Do you have any ideas on how to accomplish this? Thanks