Log file naming?

2002-12-17 Thread Armbrust, Daniel C.

Is there anyway that I can reconfigure Tomcat 4.1.12 so that my log files do not have 
the date in them?  I would like to have one log file that I can skim over for a month 
of activity, not 31 that I have to combine.

It seems to give you options for changing everything else, why it the date stuff hard 
coded?

Dan

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Log file naming?

2002-12-17 Thread Armbrust, Daniel C.
Is there anyway that I can reconfigure Tomcat 4.1.12 so that my log files do not have 
the date in them?  I would like to have one log file that I can skim over for a month 
of activity, not 31 that I have to combine.

It seems to give you options for changing everything else, why it the date stuff hard 
coded?

Dan

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Log file naming?

2002-12-17 Thread Armbrust, Daniel C.
To my understanding, that controls the timestamp written out inside of the log file.  
I'm talking about changing the name of the log file, and not making it rotate the log 
file every night.


-Original Message-
From: Alexander Wallace [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 17, 2002 3:52 PM
To: Tomcat Users List
Subject: Re: Log file naming?


Don't you have a timestamp option in server.xml for the logs?

On Tuesday 17 December 2002 14:54, Armbrust, Daniel C. wrote:
 Is there anyway that I can reconfigure Tomcat 4.1.12 so that my log files
 do not have the date in them?  I would like to have one log file that I can
 skim over for a month of activity, not 31 that I have to combine.

 It seems to give you options for changing everything else, why it the date
 stuff hard coded?

 Dan

 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED] For additional
 commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: security issue!

2002-01-24 Thread Armbrust, Daniel C.


Its just a request for a web page from a code red infected IIS server.

There not by an active hacker, just some infected machine looking to
spread its infection.

They will not manage to infect you, since you aren't using IIS.

It just an error message saying that someone asked for a file that you don't
have on your website.  You would get a similar message in your log file if I
opened up a browser, and went to www.yourmachine.com/foobar.txt, (Assuming
you don't have a file on your webserver called foobar.txt.

The only (easy) way you can stop these (from reoccuring) would be to block
the ip addresses that they came from.  

I take that back.  Theres one other thing I saw one time - someone wrote a
plugin for apache that recognizes an incoming codered request, and then
fires a message back to the compromised server ordering it to shut off
(Which it will do since it is already compromised) but I don't know where I
saw it.




-Original Message-
From: Henry Lu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 11:44 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: security issue!


I don't have web server and application server other than Tomcat 4.

 [EMAIL PROTECTED] 01/24/02 12:34PM 
there's only one 

turn off your web server and your application server.

It's a request onto your site.
Try getting apache to re-direct it to something else



Henry Lu wrote:

 I need a solution to orevent from its happenning!

 Any ideas?

 Thanks,

  [EMAIL PROTECTED] 01/24/02 12:21PM 
 looks like good old nimda. but it does not affect your tomcat, since it
 only attacks iis on win-systems

  -Original Message-
  From: Henry Lu [mailto:[EMAIL PROTECTED]] 
  Sent: Thursday, January 24, 2002 6:16 PM
  To: [EMAIL PROTECTED] 
  Subject: security issue!
 
 
  In the CATALINA_HOME/logs/catalina_log.2002-01-24.txt file, there
  are a lot of
  log information like the followings:
 
  2002-01-24 09:29:48 HttpProcessor[80][3]  Invalid request URI:
  '/scripts/..%255c../winnt/system32/cmd.exe'
  2002-01-24 09:29:48 HttpProcessor[80][3]  Invalid request URI:
  '/_vti_bin/..%255c../..%255c../..%255c../winnt/system32/cmd.exe'
  2002-01-24 09:29:48 HttpProcessor[80][3]  Invalid request URI:
  '/_mem_bin/..%255c../..%255c../..%255c../winnt/system32/cmd.exe'
  2002-01-24 09:29:48 HttpProcessor[80][3]  Invalid request URI:
  '/msadc/..%255c../..%255c../..%255c/..%c1%1c../..%c1%1c../..%c1%1c
  ../winnt/system32/cmd.exe'
  2002-01-24 09:29:48 HttpProcessor[80][3]  Invalid request URI:
  '/scripts/..%c0%2f../winnt/system32/cmd.exe'
  2002-01-24 09:29:48 HttpProcessor[80][3]  Invalid request URI:
  '/scripts/..%25%35%63../winnt/system32/cmd.exe'
  2002-01-24 09:29:48 HttpProcessor[80][3]  Invalid request URI:
  '/scripts/..%252f../winnt/system32/cmd.exe'
 
  Are these from the Tomcat 4.o internal?
  Are these from the out side hacker?
  What we can do to prevent from these happen?
  Can we use Valve? How?
 
  Thanks, Henry
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: howto install shared jar's at runtime

2002-01-18 Thread Armbrust, Daniel C.

The folks at http://www.mmaweb.net/ provide tomcat based web hosting, and
give you the option to restart your instance of tomcat remotely (i.e. click
a button on your site administrators web page)  maybe they would be
willing to release their code for restarting the server.  

Can't hurt to ask anyway...  




-Original Message-
From: Hans Schlenker [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 11:36 AM
To: Tomcat Users List
Subject: howto install shared jar's at runtime



Hi!

How can I install a jar package at $CATALINA_HOME/lib at Tomcat
*runtime* such that webapps may use its contents right after
installation (without restarting Tomcat, since this is not possible
remotely)?

The intended sequence is:
- start Tomcat
- install a new webapp using the Tomcat manager app remotely
- start the new webapp: this initially copies a new 
  package shrd.jar into $CATALINA_HOME/lib
(-maybe restart the new web app)
- use the new shrd.jar package within the new web app (currently,
  this raises a java.lang.NoClassDefFoundError)
In case a new version of the webapp is available:
- shut down old webapp version
- install new version under new webapp path (since if the old
  one is used, the old files are not overwritten by the manager)
- use new webapp version with already loaded package shrd.jar

Tchnical background: I have to install the shrd.jar package in a shared
place since it relates to some native library that is also copied into
the Tomcat tree at runtime and initialized and started the first time,
the shared package is used. If shrd.jar is copied into the webapp's
WEB-INF/lib directory, it would be loaded separately for each web app
instance. Thus, the new web app instance would load a new shrd.jar
instance which does not have any reference to the already loaded native
library.

Another and even better solution to this and some other problems we
have, would be to remotely restart Tomcat (i.e. its JVM)! Might this be
possible?

Any hint would be appreciated!

Best regards,

Hans


PS: Please see also the related bug-report/request for enhancement
#5858: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5858
hS

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: multiple java processes

2002-01-18 Thread Armbrust, Daniel C.

paste

My problem is that whenever Tomcat is started, it spawns off at least 30
processes identified only as java when I do a ps -e command, and each one 
of
these processes eats up about 23.1 MB of Ram, which ends up making Tomcat
take more than 900 MB of RAM when no one is even hitting the server!

They are NOT processes, they are threads, well... that linux-threads 
hybrid -don't flame me, please, I use Linux happily everyday on the 
server side-. And those threads are sharing 23 MB of ram (if all of them 
are under the same Java instance, use ps -axf for a fancy look of this), 
donĀ“t panic.

By the way, this question has been answered many times on this list. You 
can find useful information by browsing or searching the archives at:

http://mikal.org/interests/java/tomcat/index.jsp or
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/ or... google 
can give you more

Francisco J. Novella
[EMAIL PROTECTED]


-Original Message-
From: David Bazell [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 2:49 PM
To: [EMAIL PROTECTED]
Subject: multiple java processes


When I start tomcat and do a ps I see 18 java processes have started.  Is
this normal?  Why are they all there?

Thanks,
Dave


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Problem with mod_webapp.so

2002-01-14 Thread Armbrust, Daniel C.

This what you want?

paste
The binary of the lastest version are not (yet) available. The sources are
in
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/src/webap
p-module-1.0.1-tc401-src.tar.gz

/paste




-Original Message-
From: Ansalvish, Dave R [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 14, 2002 1:22 PM
To: '[EMAIL PROTECTED]'
Subject: Problem with mod_webapp.so


Hi,

  I'm trying to intergrate Tomcat 4.0.1 with Apache.1.3 on my Solaris 8 box.
When I execute the
command 'apachetl configtest' that was in the inscrutions with
mod_webapp.so. I receive the following error. 

  _lshrdir3 reference symbol not found

  I checked the Tomcat User List Archive and searched for lshrdir and could
not find anything.
So, does anyone have a clue?  Also, where can I find the source for
mod_webapp.so?  I haven't been able to find it on the jakarta web page.

Thanks a bunch,
Dave

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: apache mod_auth and tomcat

2002-01-11 Thread Armbrust, Daniel C.

You could also put a good firewall in front of the machine, and only let
port 80 in.

An extra bit of security never hurts...



-Original Message-
From: Charles N. Harvey III [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 4:46 PM
To: Tomcat Users List
Subject: RE: apache mod_auth and tomcat


You could completely disable the Standalone container in the server.xml.
Leave the warp-connected apache container and remove everything in the
standalone one.  Then there will be no port :8080.

That's just one idea though.

Charlie

-Original Message-
From: W. Wood Harter [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 5:43 PM
To: [EMAIL PROTECTED]
Subject: apache mod_auth and tomcat


I've searched the archives and didn't find how to use apache mod_auth 
for basic authorization to protect tomcat pages. My problem is that 
apache is on port 80 and tomcat is on 8080. If I protect a link at 
http://myhost:80/myapp/ with Apache's mod_auth, a smart user could just 
use http://myhost:8080/myapp.

Anyone know how to configure Tomcat to only speak with my Apache server?

If this is impossible, I guess I could use Tomcat, but I have a database 
already populated with unix crypt passwords which work fine with 
mod_auth_mysql. I don't want to have to change my password storage system.

Thanks,
Wood



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: how to deploy WebApps in apache's UserDir's ?

2002-01-10 Thread Armbrust, Daniel C.

Maybe I am misunderstanding what you want to do, but, If you just want to
deploy the Hello World example, you should make a new webapp, say testurl.

inside of testurl, put the HelloWorld.html file, and also, a WEB-INF
directory, inside of which you will need a classes folder, where you will
put the class file(s) for HelloWorld.

your directory structure should be something like

/var/tomcat4/webapps/testurl
HelloWorld.html
WEB-INF(directory)

/var/tomcat4/webapps/testurl/WEB-INF
classes(directory)
/var/tomcat4/webapps/testurl/WEB-INF/classes
HelloWorldExample.class


which you should then be able to deploy in apache with 

WebAppDeploy /testurl conn /testurl

You only specify the path to the webapp, as the directory that contains the
WEB-INF directory, and the other parts of your webapp.


(after you deploy it in tomcat of course, with something like
  Context path=/testurl docBase=testurl 
 debug=0 privileged=true/
)


You were trying to deploy helloworld as its own webapp, but it isn't one the
way it is currently.  It is a part of the example webapp.  So you cannont
simply put your webapp path as 
WebAppDeploy /test/WEB-INF/HelloWorldExample conn /testurl

and have it work. 

I didn't test any of this, and there may be a typo/mistake or two, but, it
should get you closer to what you want to do.

Dan
 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: how to deploy WebApps in apache's UserDir's ?

2002-01-10 Thread Armbrust, Daniel C.

Sorry, I made a heck of a booboo in my last post...   I understand your
confusion.

You are partially right, partially wrong.  It is possible to map any path to
and webapp, which is different than to any url.

You are correct in that the .html file is not necessary.  I forgot that they
had the source code in here... and I've been working mostly with .jsp
files... and was thinking it was a .jsp file for some reason.  

when you point your browser to

http://localhost/examples/servlet/HelloWorldExample

it is returning the servlet that was compiled from 

/var/tomcat4/webapps/testurl/WEB-INF/classes
HelloWorldExample.class

My understanding is that since that file compiles to a servlet, the only way
you can execute it is to point your broswer to
//localhost/yourwebappname/servlet/classname

the servlet is required, and cannot be removed, as that is how servlets
work.

The rest of this still holds true (I made a correction or two however)
Your directory structure would be (for deploying JUST the helloworld
example)

/var/tomcat4/webapps/testurl/WEB-INF
classes(directory)
/var/tomcat4/webapps/testurl/WEB-INF/classes
HelloWorldExample.class


which you should then be able to deploy in apache with 

WebAppDeploy /testurl conn /testurl

You only specify the path to the webapp, as the directory that contains the
WEB-INF directory, and the other parts of your webapp.


(after you deploy it in tomcat of course, with something like
  Context path=/testurl docBase=testurl 
 debug=0/
)


So now, to get the webapp, the what you have to type in is
http://localhost/testurl/servlet/HelloWorldExample

However, if you want to do this 
http://localhost/testurl/

and have it run, you could simply write an html file called index.html and
have it automatically redirect the browser to 
/servlet/HelloWorldExample/

Sorry for the goofup.  Does this clear it up for you?


Dan



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: how to deploy WebApps in apache's UserDir's ?

2002-01-09 Thread Armbrust, Daniel C.


I think this will work:

I think the Warp connector has problems with absolute path names

try this... - depending on where your tomcat webapps directory is

WebAppDeploy /../../../home/laura/www/jsp conn /jsp

Check the apache log and see if it gives a file not found error when it
tries to deploy your webapp.


-Original Message-
From: Laura Reising [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2002 3:15 AM
To: Tomcat Users List
Subject: Re: how to deploy WebApps in apache's UserDir's ?


Hello Craig, Jon and all others,

I'm playing around with the same thing at this moment.

 (1) In the Context element, the docBase attribute takes either a
 relative or an absolute pathname.  If it's relative, then it is resolved
 against the webapps subdirectory; if absolute, it can be anywhere.
 Thus, you can configure one Context element for each user that points
 into their own directories.

so far so good:

!-- Laura's Context --
Context path=/laura
 docBase=/home/laura/www/jsp
 debug=0
 reloadable=true/

Now I can get my JSP-Stuff under:
http://www.mydomain.tld:8080/laura/

Fine - but now I try to get this Stuff over my Apache:
http://www.mydomain.tld/jsp/
Therefore I tried this in http.conf:

WebAppDeploy /home/laura/www/jsp conn /jsp
(yes - conn is alive and kick'n)


What I get is:

Web-application not yet deployed

(same with WebAppDeploy laura conn /jsp)


Any idea what to do?

Best regards
Laura


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat 4.0.1 + Apache 1.3.22 + WebAppDeploy

2002-01-04 Thread Armbrust, Daniel C.

I ran into problems trying to do this as well - deploy a webapp through
apache that was not in tomcats default location for serving webapps.  I
could not get an absolute path name to work - its a particularly nasty
little bug - as when I put in an absolute path name, it not only wouldn't
find it on startup, it would lock into an infinite loop while attempting to
deploy it, and never finish starting apache.  It did make some impressively
sized error log files before I tracked it down however... :)

Has anyone else had this infinite loop bug?  I should probably go look in
bugzilla somewhere, and report it... 

Anyway, use a relative path name (I think from tomcats webapps directory),
and it should work.  This works for me.  


IfModule mod_webapp.c
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy manager warpConnection /manager
WebAppDeploy /../../../home/armbrust/webapps/test warpConnection /test
/IfModule




-Original Message-
From: Ali Manji [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 04, 2002 10:34 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.0.1 + Apache 1.3.22 + WebAppDeploy


I am trying to figure out what I would put for the WebAppDeploy entry in
my apache httpd.conf file.

I have the following configuration in my TC4.0.1 server.xml I have something

like the following:

 ...
 Host name=star debug=0 appBase=webapps unpackWARs=true
Context path=/myApp
 docBase=E:/WORK/MyApplication/DEPLOYMENT
 reloadable=true
/Context
/Host
 ...

That is to say my application does NOT sit under the tomcat webapps 
directory.  So I was wondering what I would enter in this scenario for the 
WebAppDeploy entry in my apache httpd.conf file to suit this scenario?

Thanks in advance,
Ali



*
Ali M. Manji

We increase what we have through scattering it and
experience poverty through hoarding it.
We are enlarged by pressure and shrunk by prosperity.
*


_
Join the world's largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat 4.0.1 + Apache 1.3.22 + WebAppDeploy

2002-01-04 Thread Armbrust, Daniel C.

That one I don't know.  Sorry.  

Where should this bug be reported?  Is there a separate group for the warp
Connector?  Or should it go to Apache, or just to Tomcat error places?




-Original Message-
From: Ali Manji [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 04, 2002 11:15 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat 4.0.1 + Apache 1.3.22 + WebAppDeploy


Thanks Daniel for your reply.  Yes, I experienced the exact same problem 
with the infinite loop and the error log being pumped full with the same 
error message.  I think it would be a good idea to open up a bug report if 
you dont find the problem on bugzilla.

Another question, how would you provide a relative path, if you are on 
Windows, and Apache and the application are on different drives, i.e. D:\ 
and E:\ respectively?

Thanks and regards


From: Armbrust, Daniel C. [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Tomcat 4.0.1  + Apache 1.3.22 + WebAppDeploy
Date: Fri, 4 Jan 2002 10:51:58 -0600

I ran into problems trying to do this as well - deploy a webapp through
apache that was not in tomcats default location for serving webapps.  I
could not get an absolute path name to work - its a particularly nasty
little bug - as when I put in an absolute path name, it not only wouldn't
find it on startup, it would lock into an infinite loop while attempting to
deploy it, and never finish starting apache.  It did make some impressively
sized error log files before I tracked it down however... :)

Has anyone else had this infinite loop bug?  I should probably go look in
bugzilla somewhere, and report it...

Anyway, use a relative path name (I think from tomcats webapps directory),
and it should work.  This works for me.


IfModule mod_webapp.c
 WebAppConnection warpConnection warp localhost:8008
 WebAppDeploy manager warpConnection /manager
 WebAppDeploy /../../../home/armbrust/webapps/test warpConnection /test
/IfModule




-Original Message-
From: Ali Manji [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 04, 2002 10:34 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.0.1 + Apache 1.3.22 + WebAppDeploy


I am trying to figure out what I would put for the WebAppDeploy entry in
my apache httpd.conf file.

I have the following configuration in my TC4.0.1 server.xml I have 
something

like the following:

  ...
  Host name=star debug=0 appBase=webapps unpackWARs=true
 Context path=/myApp
  docBase=E:/WORK/MyApplication/DEPLOYMENT
reloadable=true
 /Context
   /Host
  ...

That is to say my application does NOT sit under the tomcat webapps
directory.  So I was wondering what I would enter in this scenario for the
WebAppDeploy entry in my apache httpd.conf file to suit this scenario?

Thanks in advance,
Ali


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat Spawning, memory usage

2002-01-03 Thread Armbrust, Daniel C.

I am running a copy of Tomcat 4.0.1 on RedHat 7.2 with Suns java SDK version
1.3.01.

I also have apache installed, (whichever version ships with redhat 7.2) and
one application deployed through the warp connector to apache.

The webapps that come with tomcat (manager, examples, etc) are also still
deployed.

My problem is that whenever Tomcat is started, it spawns off at least 30
processes identified only as java when I do a ps -e command, and each one of
these processes eats up about 23.1 MB of Ram, which ends up making Tomcat
take more than 900 MB of RAM when no one is even hitting the server!

I tried changing the MinProcessors and MaxProcessors both down to 1
throughout the server.xml file, but this has little to no affect on the
number of processes spawned.

How do I control the number of java processes spawned?  I'm only using this
machine for development, so I am the only user.  Having Tomcat take up 900MB
of Ram seems quite ridiculous.

Thanks for any help,

Dan

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]