"Michael Schuldt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I dont't set any JVM options when starting tomcat as a console app. > > For starting as a service I'm using Tomcat Service Manager (3rd Party Tool). > The only option set is -Xrs. >
You might want to try procrun from Jakarta/commons/daemon. I've been very happy using it (as apposed to JavaService :). Also, this is the Windows service wrapper that ships by default with Tomcat 5. > > > -----Ursprungliche Nachricht----- > Von: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 16. Oktober 2003 20:07 > An: Tomcat Users List > Betreff: RE: Strange behaviour with Tomcat 4.x running as a service > > > > Howdy, > Do you have different JVM options (or JVMs altogether) between the > service and the console startup scripts? > > Yoav Shapira > Millennium ChemInformatics > > > >-----Original Message----- > >From: Michael Schuldt [mailto:[EMAIL PROTECTED] > >Sent: Thursday, October 16, 2003 2:04 PM > >To: [EMAIL PROTECTED] > >Subject: Strange behaviour with Tomcat 4.x running as a service > > > >Hi, > > > > > > > >I've got running Tomcat 4.x running as a service under Win2k. In my > >application there are some threads doing some database-requests through > >Objectstyle-Cayenne. Every Thread doing database requests will get a > >null-pointer exception after several hundred requests. I discussed this > >behaviour with the guys from objectstyle but they don't have an idea. > We > >looked in the code and there is an object used. It's not null and > nothing > >will be done with it. In the next row, the object should be used again > and > >the it's null. Several hundred times before the code works in the right > way > >and then it crashes suddenly. > > > > > > > >I thought about an error in Cayenne. But when I'm runnig Tomcat as a > >console > >application everything works fine! > > > > > > > >Am I doing something wrong? > > > > > > > >Michael Schuldt > > > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > This e-mail, including any attachments, is a confidential business > communication, and may contain information that is confidential, proprietary > and/or privileged. This e-mail is intended only for the individual(s) to > whom it is addressed, and may not be saved, copied, printed, disclosed or > used by anyone else. If you are not the(an) intended recipient, please > immediately delete this e-mail from your computer system and notify the > sender. Thank you. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
