[JBoss-user] [Messaging, JMS & JBossMQ] - JMS on 3.24RC2 problem

2004-05-24 Thread richieb
Is this a known issue? Starting default configuration out of the box I see this exception: | | 2004-05-24 08:17:25,904 DEBUG [org.jboss.system.ServiceController] starting service jboss.mq:service=SecurityManager | 2004-05-24 08:17:25,904 DEBUG [org.jboss.mq.security.SecurityManager] Star

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Restarting JMS

2004-05-20 Thread richieb
"StephaneNicoll" wrote : Why not searching the origin of the deadlock in a first place? | I am looking into it. But this is a production system that needs to be up all the time. Restarting JBoss is bit drastic, as it kicks all users off and makes our app UI unavailable for a while. Restar

[JBoss-user] [Messaging, JMS & JBossMQ] - Restarting JMS

2004-05-20 Thread richieb
Is it possible to restart JMS without restarting the JBoss server? I'm using JBoss 3.2.3 and in some cases we run into a problem with JMS deadlocking. Restarting JBoss server fixes the problem, but I'd like to be able to just stop and restart JMS. TIA ...richie View the original post : http

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss on Solaris leaves threads hanging

2004-04-06 Thread richieb
Here is the resolution of this issue. It turns out that we hit some weird networking/Solaris problem between two specific Solaris machines. What happens is that when the client on one machine disconnects from the server (running on the other machine), Solaris does not cleanup the sockets. As f

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss on Solaris leaves threads hanging

2004-04-06 Thread richieb
"[EMAIL PROTECTED]" wrote : What is the netstat status of these connections, connected? Perhaps the tcp_keepalive_interval is too high, or not all OS patches for java have been installed. Ah! Thanks for the suggestion. Seems that the tcp_keepalive_interval is set to the default value of 120 mi

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss on Solaris leaves threads hanging

2004-04-05 Thread richieb
One thing I noticed that when the connections start going bad this is what the thread dump of the ReaderTask looks like. | "UIL2.SocketManager.ReadTask#11" daemon prio=5 tid=0x00cfade8 nid=0x72 runnable [ae58..ae5819c0] | at java.net.SocketInputStream.socketRead0(Native Method) |

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss on Solaris leaves threads hanging

2004-04-05 Thread richieb
I have ReadTimeout set and it seems to work sometimes. The problem seems to occur when I run clients over wide area network, which has many delays and occasional errors. Doing a simple kill -9 on a client seems to terminate everything properly. It's when network hits occur that things can get m

[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss on Solaris leaves threads hanging

2004-04-05 Thread richieb
We are testing with JBoss on Solaris and we observe the following situation. If the client process is killed, the topic subscriptions are not getting cleaned up and others who publish on this topic fill up the queues. Looking at the thread listing in jmx-console we see several Read tasks that ar

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: where the jbossMQ is?

2004-04-02 Thread richieb
"zhebincong" wrote : hello | i am new to jbossMQ,i have download the jboss322,i wonder if the mq is included?and how can i config a queue?which config file should i modify? | | thank you. It's included. Take a look in $JBOSS_HOME/server/default/deploy/jms. You can add queues by modifying

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to recover from failed connection

2004-04-01 Thread richieb
"[EMAIL PROTECTED]" wrote : Closing the connection will close the session. | | Your fundamental problem is that the server is not responding to your requests. | The connection isn't broken, the server just isn't responding in time. | Have a look at what the server is doing. | We have a

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to recover from failed connection

2004-04-01 Thread richieb
Here is more detail on how things look when the problem occurs. First we get an exception saying that "Ping Timed Out". When we try to shutdown the JMS connection the threads hang. Here is relevant thread dump: "UIL2.SocketManager.WriteTask#142" daemon prio=1 tid=0x082268b0 nid=0x75d5 in Objec

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to recover from failed connection

2004-03-31 Thread richieb
"[EMAIL PROTECTED]" wrote : Close the session/connection in a background thread so you can resume. What is the problem with the TTL approach in more detail? See bug 890030. There is a thread created for each subscription that uses TTL messages and the thread never exits. The problem with closin

[JBoss-user] [Messaging, JMS & JBossMQ] - How to recover from failed connection

2004-03-31 Thread richieb
We have a client that uses UIL2 IL layer. When there is a connection error (Ping Timeout in our case), the client tries to close the session and reconnect. However, due to network problems the close hangs (as session.close() tries to send unsubscribed message). As a result we get subscriptions

[JBoss-user] [Messaging, JMS & JBossMQ] - Question about "onException" callback

2004-03-30 Thread richieb
If I'm using JVM IL, will there ever be a case when the "onException" handler (registered with Connection) is invoked? ...richie View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828091#3828091 Reply to the post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Platform dependent problem with JBossMQ

2004-03-25 Thread richieb
Are you running some firewall software on the Windows machines? ...richie http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827426#3827426";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827426>Reply to the post

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS hang/crash (Jboss 3.2.3)

2004-03-17 Thread richieb
I forgot to add that when I tried to shut Jboss down with shutdown.sh script it did not work. The script timed out. ..richie http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826235#3826235";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38262

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS hang/crash (Jboss 3.2.3)

2004-03-17 Thread richieb
We had a JMS crash/hang occur in our development JBoss 3.2.3. An OutOfMemory error occured first, and then the clients got into a weird state. Some clients got stuck while trying to reconnect to Jboss in InitialContext look up. We had a program that was monitoring topic message counts and it sta

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: topic consumer does not recieve messages when jboss and

2004-03-08 Thread richieb
"cuonglam" wrote : I am running jboss 3.2.3 on a linux box. I have 2 programs: | | I would like to know if anyone has managed to send messages from linux and receive from windows. I can send people source that reproduces the problem We have no problems doing this. Are you using the same ve

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Identifying a stuck subscriber

2004-03-01 Thread richieb
"[EMAIL PROTECTED]" wrote : Enable trace logging on the client, see what error you get. | | Regards, | Adrian Unfortunately, this only seems to occur on production machines and I cannot enable trace there. :( What we did though, was to implement a simple timer inside the client. Then if

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: OutOfMemoryError

2004-02-27 Thread richieb
"Jochen" wrote : Hi! | | We have a problem with the following scenario: when the client has sent a message to the server, he gets a message in response. We have the problem that when the client sends a lot of messages in a very short period of time and in consequence the server vice versa,

[JBoss-user] [Messaging, JMS & JBossMQ] - Identifying a stuck subscriber

2004-02-26 Thread richieb
(this is a repost with corrected subject line) We have a problem with one of our client programs that subscribes to a topic (this is a temp subscription). The thread that processes the subscribed messages gets "stuck". Initial effect was that a lot of messages queued up on the topic (in one case

[JBoss-user] [Messaging, JMS & JBossMQ] - How to identify a

2004-02-25 Thread richieb
We have a problem with one of our client programs that subscribes to a topic (this is a temp subscription). The thread that processes the subscribed messages gets "stuck". Initial effect was that a lot of messages queued up on the topic (in one case we had over 200,000). Now we set a maxDepth on

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: SimpleTimer threads are growing

2004-02-23 Thread richieb
OK. I'll take a look... ...richie View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822603#3822603 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822603 --- SF.Net is

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: SimpleTimer threads are growing

2004-02-23 Thread richieb
Ah, thanks. Are you looking for someone to implement this? :) ...richie View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822575#3822575 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822575 --

[JBoss-user] [Messaging, JMS & JBossMQ] - SimpleTimer threads are growing

2004-02-23 Thread richieb
I started setting TTL on the messages I publish to several topics. Now looking at the thread dump form the web-console, I see that the number of SimpleTimer threads is growing. At present there are about 155 of them. I have 7 topics with about 40 subscribers (non-durable). These values do not ch

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS hangs after IOException in the server

2004-02-23 Thread richieb
I'm afraid I don't have a thread dump. This is a production system, so I only find out after a JBoss restart. ...richie View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822542#3822542 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&m

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS hangs after IOException in the server

2004-02-23 Thread richieb
Yes we have. Here are snippets of our code: tcf_ = (TopicConnectionFactory) context_.lookup(connectionFactory_); conn_ = tcf_.createTopicConnection (); conn_.setExceptionListener(new ExceptionListener() { public void onException(JMSException e) { if (!r

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS hangs after IOException in the server

2004-02-23 Thread richieb
Here is a small extract from the server log: 2004-02-20 18:26:10,946 ERROR [org.jboss.mq.server.JMSDestinationManager] The connection to client ID :7 failed. 2004-02-20 18:26:10,948 ERROR [org.jboss.mq.il.uil2.SocketManager] Failed to handle: org.jboss.mq.il. uil2.msgs.AcknowledgementRequestMsg1