[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-12-02 Thread gaohoward
Hi, If you are using MDB, you can get better help from the AS forum. Howard View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268667#4268667 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268667

[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-26 Thread belcar
I have deployed the same code as a stand-alone Java Application launched from the CLI on that same linux server, and it keeps serving messages, even after a nights sleep. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267618#4267618 Reply to the post :

[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-25 Thread belcar
Howard I've talked to the guys that manage the 2 firewalls in between and they've disabled all timeouts. After that change the polling client still stops receiving messages after a while. I've also enabled TRACE for jms and remoting on the JBM 1.4.5 server and I can see ping

[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-24 Thread belcar
Hi Howard I'm not sure if it is a bug or not but here's the following: I've TRACED org.jboss.jms and org.jboss.remoting on the polling client. I can see the client ping the server every 30 seconds. I see no exceptions in the logs. However after 10 or 15 minutes this client no longer finds

[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-22 Thread gaohoward
Did you find any exceptions in your log? You can turn on the TRACE log level to see more details. If you believe it's a real problem, you can raise a jira and attach logs/tests if any. Thanks Howard View the original post :

[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-20 Thread belcar
I've enabled the setting but it had no effect. The client polling application is still loosing its link. I can build in a reconnect but this is fairly unfancy... Any ideas on how I could proceed? Thank you View the original post :

[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-18 Thread belcar
No, I do not use a MDB. The application opens up a single connection and session and manages a thread pool. I've got one daemon thread that polls for incoming messages and dispatches incoming messages to a worker thread obtained from that pool. That works great, but after X-time messages are

[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-18 Thread belcar
It was setup this way to make sure traffic flow in 1 direction only. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266219#4266219 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266219

[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-18 Thread gaohoward
How is your remoting config looks like? It seems to me maybe your remoting ping timeout is too small. If the connection between your message client and server is not good, try to enlarge the ping period. View the original post :

[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-18 Thread belcar
There is a firewall between both machines, so I enabled those sections: The configuration looks as follows: attribute name=marshaller isParam=trueorg.jboss.jms.wireformat.JMSWireFormat/attribute | attribute name=unmarshaller isParam=trueorg.jboss.jms.wireformat.JMSWireFormat/attribute |

[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-18 Thread gaohoward
please try to uncomment the 'writeTimeout' and give it a value suitable for your case. This controls the socket write timeout when the JBM server is trying to deliver messages through a socket that has been closed by the firewall. View the original post :

[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-17 Thread gaohoward
Not sure if I understand the situation. Can you clarify how you poll messages? Are you using MDB? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266207#4266207 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266207