[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 timfox
Sounds like you're running out of memory. Can you look in the logs for an OutOfMemoryErrory. Also can you look at the JVM memory consumption over the 30 minutes that you run it. Perhaps you are sending messages faster than you can consume them? BTW Which JVM are you using (Sun, JRockit,

[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 timfox
Ok. What we really need is for you to send us something that we can unzip and run that reliably reproduces the problem, then we have something to go on. Otherwise we are just guessing. Thx. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953706#3953706 Reply

[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 timfox
| | javax.jms.JMSSecurityException: User null is NOT authenticated | at org.jboss.jms.server.security.SecurityMetadataStore.authenticate(SecurityMetadataStore.java:181) | at org.jboss.jms.server.container.SecurityAspect.check(SecurityAspect.java:252) | at

[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 timfox
Can you try adding: | module-option name=unauthenticatedIdentityguest/module-option | In the config for the other domain, so it looks like: | login-module code = org.jboss.security.auth.spi.UsersRolesLoginModule | flag = required |module-option

[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 [EMAIL PROTECTED]
We are on the way of releasing CR3, which includes a host of bug fixes. I should get it out today. Please try and use it to see if it solves your problem. If it doesn't, there's no other way of fixing it (if it is indeed a Messaging problem) except being able to replicate it here. Do you

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

2006-06-26 Thread timfox
ONIT wrote : Tim, | | No change. I still get the same exception. | | Dennis | Did the security exception go away though? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953520#3953520 Reply to the post :

[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 timfox
ONIT wrote : | This is inspite of the fact that I get a new ConnectionFactory, InitialContext, Queue, Connection, Session, and MessageConsumer everytime the EJB getResponse method is called. Well you're not really getting a new Connection, Session each time. You're using JmsXA, which is

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

2006-06-23 Thread timfox
Can you post your entire exception please View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952894#3952894 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952894 Using Tomcat but need to do more? Need to support web services,

[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-23 Thread [EMAIL PROTECTED]
I deployed a stateless session bean and an MDB in a configuration similar to yours. I used the stateless session bean to send a message to requestQueue. The message has been immediately processed by the MDB and the response has been placed in responseQueue (no expiration for message). I then

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

2006-06-22 Thread timfox
Hi Dennis- Can you post your code and config please? Thx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952587#3952587 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952587 All the advantages of Linux Managed

[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 :