tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From הילה <>
Subject Re: Memory Leak in Tomcat
Date Tue, 22 Feb 2011 22:59:33 GMT

When going to tomcat site, you can download "32-bit/64-bit Windows Service
That's what I have installed. When installing this, it creates the tomcat
service in windows + the regular folder under c:\program files\apache
software foundation\Tomcat 6.0.
The tomcat service (on windows) ran with local system, and the connection
URL (of the DB) is specified under "c:\program files\apache software
foundation\tomcat 6.0\conf\catalina\localhost\*.xml"
In this xml file, along with the connection URL to DB, there is also the
user name and password of the user that have access to the DB, in clear
In order for me to remove the user and password, I have changed the user
that runs the tomcat service to a domain user with access and permissions to
DB, placed the jdts-1.2.5.jar in the tomcat 6.0\lib folder and the
ntlmauth.dll (which is essential for the windows authentication to work) in

Now the tomcat service is running and authenticates to the DB with a domain
user (and not SQL user), but I have this memory leak as a side affect which
I'm trying (with, hopefully, the help of you guys) to resolve.


2011/2/23 André Warnier <>

> Your initial description says :
> Until now, we used [b]SQL Authentication[/b] for the tomcat service and
> configuration (user and password for tomcat to access the DB was provided
> within the xml configuration file, under c:\Program Files\Apache Software
> Foundation\Tomcat 6.0\conf\catalina\localhost), but! since we changed
> configuration to use [b]Windows Authentication [/b](the user that runs
> tomcat is now a domain user with permissions on the DB + removed user and
> password from xml configuration file), we observed a trend of memory leak,
> where it comes to attention by the process of tomcat, which is increasing
> on
> a daily basis.
> This is not very clear to me.
> This all seems to be happening on a Windows platform.
> How exactly then were you previously using "[b]SQL Authentication[/b] for
> the tomcat service" ? Are you talking about the user-id under which the
> Windows Tomcat Service was running ?
> (To my knowledge, the only way to run a Service under Windows, is under a
> Windows user-id.)
> Or are you talking about the way in which users of the Tomcat applications
> were authenticating to Tomcat ?
> If it is this second case, then you must be using some additional component
> to achieve this, because - again to my knowledge -, Tomcat itself does not
> contain components to perform Windows Domain authentication.
> Can you enlighten me ?
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message