Re: maintaing single db connection over multiple rpc calls

2002-08-27 Thread Scott Nichol
est shown.. Also thanks to Mark Childerson and Niclas Hedhman ... regards Rafi ----- Original Message ----- From: Scott Nichol <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 26, 2002 7:15 PM Subject: Re: maintaing single db connection over multiple rpc calls > Ra

Re: maintaing single db connection over multiple rpc calls

2002-08-27 Thread Rafi M M
--- From: Scott Nichol <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 26, 2002 7:15 PM Subject: Re: maintaing single db connection over multiple rpc calls > Rafi, > > To help investigate this, the following would be useful: > > 1. Versions of software

Re: maintaing single db connection over multiple rpc calls

2002-08-26 Thread Niclas Hedhman
We also have _some_ problem with SOAP Sessions, which are terminated a little bit by random. Even if we keep doing a dummy call every now and so often (1min), it happens that a new session is created. This is leading us to not trust Session, and are planning to introduce our own session handli

Re: maintaing single db connection over multiple rpc calls

2002-08-26 Thread Mark Childerson
I had some trouble with the session scope of soap calls myself, so what I did was create a Singleton class to hold a pool of database connections. The SOAP server then runs with request scope and gets a connection from the pool. As well as solving the immediate problem, connection pooling like thi

Re: maintaing single db connection over multiple rpc calls

2002-08-26 Thread Scott Nichol
Rafi, To help investigate this, the following would be useful: 1. Versions of software used (Apache SOAP, Tomcat, JVM, etc.) for both LAN and WAN scenarios. Also, does your WAN connection go through a proxy. 2. Capture (e.g. using TcpTunnelGui) of a pair of messages that you expect to be in a s