[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-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 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] - How to set socket timeouts?

2009-11-17 Thread belcar
Hi I have a Web Application that has a Thread polling for incoming messages on a remote JBM 1.4.5 queue. After some time the thread no longer picks up any messages, so I assume the socket connection has timed out. If I'm correct, you can manage these settings in

[jboss-user] [JBoss Messaging Users] - Re: Nullpointer while creating a remote JMS Session

2009-10-06 Thread belcar
Indeed, but it only mentions non-JBoss clients. It reads: In order to access JBoss Messaging from a client outside the JBoss app server, you will need to ensure the following jar files are on the client classpath Since I was deploying on JBoss I expected everything was already on the

[jboss-user] [JBoss Messaging Users] - Re: Nullpointer while creating a remote JMS Session

2009-10-05 Thread belcar
I've managed to reproduce this error on a windows environment, but only when the 2 JBoss processes are remote. Since you need to patch JBoss Remoting to get JBM working I guess my issue might be related to just that! As a result, I wonder how and where I need to provide this patch. Currently

[jboss-user] [JBoss Messaging Users] - Re: Nullpointer while creating a remote JMS Session

2009-10-05 Thread belcar
FYI: The update to JBM 1.4.5 had no effect. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4258641#4258641 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4258641 ___ jboss-user

[jboss-user] [JBoss Messaging Users] - Re: Nullpointer while creating a remote JMS Session

2009-10-05 Thread belcar
I finally found the solution for my problem. I had to put the javassist.jar and jboss-aop-jdk50.jar in my WEB-INF/lib folder to make it work. This was a lot of trial and error going on here, so I would be delighted if somebody could explain why this happened to be the (a) solution. Also why

[jboss-user] [JBoss Portal Users] - Re: links from portlet content to another portal page

2009-10-01 Thread belcar
The reference guide has a topic about this: 13.9.3. Link to other pages. // Get the ParentNode. Since we are inside a Window, the Parent is the Page | PortalNode thisNode = req.getPortalNode().getParent(); | // Get the Node in the Portal hierarchy tree known as ../default | PortalNode

[jboss-user] [JBoss Messaging Users] - Nullpointer while creating a remote JMS Session

2009-09-30 Thread belcar
Hi all My JMS client application running on JBoss 4.2.3 fails to create a remote JMS Session on startup due to a NullpointerException. The JMS server is JBM 1.4.4 on JBoss AS 4.2.3. Threads mentioned below already discuss the issue, but even when trying to change the scoping/loader the issue

[jboss-user] [JBoss Portal Users] - Re: EJB3 access issue between portal 2.7.2 and AS 5.1.0GA

2009-09-25 Thread belcar
I worked around it deploying my EJB services layer on JBoss AS 4.2.3 but fell back to JBoss Messaging 1.4.4 instead of using JBM 2.0. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4257019#4257019 Reply to the post :

[jboss-user] [JBoss Portal Users] - EJB3 access issue between portal 2.7.2 and AS 5.1.0GA

2009-09-24 Thread belcar
I've deployed an EJB3 service on JBoss AS 5.1.0.GA. I now want to interact with this service from portlets deployed on JBoss Portal 2.7.2 (on JBoss AS 4.2.3). For some reason the remoting fails with a NullPointerException. Caused by: java.lang.NullPointerException | at