[Rife-users] How to use Rife with Eclipse WTP

2006-09-28 Thread ying lcs
Hi,I am new to Rife. I would like to know how to use Rife with Eclipse WTP. My understanding is Rife needs a specified directory hierarchy. But that is different from WTP generated. So what is the best way to start Rife with Eclipse WTP. Thank you. ___ Ri

Re: [Rife-users] Startup error in Gate.java

2006-09-28 Thread Geert Bevin
Hi Fred, if you're getting that with the RIFE classloader disabled, the culprit must be something else. I would try putting Log4J and similar general purpose libraries in the common/endorsed Tomcat directory and see if that changes something. Also, make sure you have no other jars in your

Re: [Rife-users] Startup error in Gate.java

2006-09-28 Thread Fred Baube
> Are you sure you have a site that is setup through your participants? Do you mean, the site is configured in XML and not on-the-fly ? Yes, that is the case. I tried a new Tomcat installation, and now I'm getting a new weird exception, with Rife's classloader disabled. This is one example of t

Re: [Rife-users] Startup error in Gate.java

2006-09-28 Thread Geert Bevin
Are you sure you have a site that is setup through your participants? On 28 Sep 2006, at 21:31, Fred Baube wrote: I'm getting consistent patterns of errors. When I disable Rife's classloader, in web.xml: engineclassloader.enabledparam-name>

Re: [Rife-users] Startup error in Gate.java

2006-09-28 Thread Fred Baube
I'm getting consistent patterns of errors. When I disable Rife's classloader, in web.xml: engineclassloader.enabled false ... then I get the error I posted before: java.lang.Exception The required

Re: [Rife-users] the mysql connection timeout problem

2006-09-28 Thread Geert Bevin
Hi Steven, MySQL is the only database that behaves like this I think, and it's very frustrating. If you Google for the errors, you'll see that a lot of connection pools have problems with it. Steven, would it be possible for you to change your scheduler task and simply clean the connectio

Re: [Rife-users] the mysql connection timeout problem

2006-09-28 Thread Steven Grimm
Postgres and Oracle, at least, don't close client connections. Maybe they can be configured to do so, but by default they don't. The onus is on the clients to be well-behaved. Honestly I think the only reason MySQL closes connections by default is because it's the non-Windows database of choice

Re: [Rife-users] the mysql connection timeout problem

2006-09-28 Thread Joshua Hansen
Hi Geert (et al), Does anyone know offhand how other DBs & drivers handle this situation? Keeping stale connections to a minimum is desirable, so a timeout mechanism such as MySQL provides seems like an intuitive way to address this. Why don't other DBs & drivers (i.e., Postgres) have this p

Re: [Rife-users] the mysql connection timeout problem

2006-09-28 Thread Geert Bevin
Hi Henk, that's exactly what several people are already doing, I suppose I should include it into RIFE itself. Steven, mind checking in what you're using for this? Take care, Geert On 28 Sep 2006, at 10:10, henk wrote: Hi, I read in the archives that it is a known problem that mysql af

Re: [Rife-users] Startup error in Gate.java

2006-09-28 Thread Geert Bevin
You probably haven't setup the web.xml file in your webapp: https://svn.rifers.org/rife/trunk/src/webapp/WEB-INF/web.xml On 28 Sep 2006, at 09:37, Fred Baube wrote: When I install my servlet into Tomcat I'm getting an odd error, with Rife 1.5.1 (jdk 1.5). Any thoughts on how to debug this ? O

[Rife-users] the mysql connection timeout problem

2006-09-28 Thread henk
Hi, I read in the archives that it is a known problem that mysql after, say, eight hours closes its connections. I also understand the solution is not to be expected soon. But I was wondering if anybody has some clear solution for this (or an example). If I implement an Executor that does

[Rife-users] Startup error in Gate.java

2006-09-28 Thread Fred Baube
When I install my servlet into Tomcat I'm getting an odd error, with Rife 1.5.1 (jdk 1.5). Any thoughts on how to debug this ? Ordinarily, where is this parameter set ? fred b java.lang.Exception The required init parameter 'site.xml.path' is not provided. at com.uwyn.rife.engine.Gate ob