Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Strange behaviour with Tomcat 4.x running as a service

Michael Schuldt

2003-10-16


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



ascensys
Software & Consulting
Schuldt und Spajic GbR

Individualsoftware � Sicherheitskonzepte � Internetl�sungen � Schulungen
individual software � security concepts � internet solutions � trainings

Leidhecke 24
D-51570 Windeck
Germany

fon:            +49 (0) 2292 6801-47
fax:             +49 (0) 2292 6801-48

internet:        http://www.ascensys.de <http://www.ascensys.de/>
e-mail:          info@(protected)>

Confidentiality Notice: This e-mail is privileged and confidential and for
the use of the addressee only. Should you have received this e-mail in error
please notify us by replying directly to the sender or by sending a message
to the sender and delete the e-mail. Unauthorised use, disclosure or copying
of the contents of this e-mail, or any similar action, is prohibited. Thank
you.

©2008 junlu.com - Jax Systems, LLC, U.S.A.