Re: Heap size - java.lang.OutOfMemoryError

2005-02-27 Thread KwonNam Son
Check this out.
http://www.pauaware.co.nz/tomcatntservice.htm


On Sat, 26 Feb 2005 07:51:06 -0600, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
> > From: Rasmus - Camp Online [mailto:[EMAIL PROTECTED]
> > Subject: Heap size - java.lang.OutOfMemoryError
> >
> > I have tried everything to increase the heap size, setting the
> > environment variables:
> 
> As has been explained on this list numerous times, environment variables are 
> not used when running Tomcat as a Windows service.  Only the .bat files look 
> at the variables.  There are registry setting you can set to have the service 
> change the JVM heap parameters.  Look in the archives, Google, read the doc, 
> ...
> 
>  - Chuck
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
> MATERIAL and is thus for use only by the intended recipient. If you received 
> this in error, please contact the sender and delete the e-mail and its 
> attachments from all computers.
> 
> -
> 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]



RE: Heap size - java.lang.OutOfMemoryError

2005-02-26 Thread Caldarale, Charles R
> From: Rasmus - Camp Online [mailto:[EMAIL PROTECTED]
> Subject: Heap size - java.lang.OutOfMemoryError
> 
> I have tried everything to increase the heap size, setting the
> environment variables:

As has been explained on this list numerous times, environment variables are 
not used when running Tomcat as a Windows service.  Only the .bat files look at 
the variables.  There are registry setting you can set to have the service 
change the JVM heap parameters.  Look in the archives, Google, read the doc, ...

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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



Re: Heap size - java.lang.OutOfMemoryError

2005-02-26 Thread A Leg
Hi Rasmus
Switch to Linux 8-)
Unfortunatly, I have no idea but joke. I realy think that this problem 
is OS dependent.

Are you sure that your environment variables are taken in count ?
Suppose you run tomcat using some startup.bat ? in this case may be 
could you print some debug telling you the real args passed to the JVM.

I have done this on linux using set -x in startup.sh, I don't remember 
the equivalent for bat.
I think you can just change the first line echo off by echo on. May be 

At that time I had seen that for any reason my env was crashed somewhere.
Andre
Rasmus - Camp Online wrote:
Hi
I keep getting a  java.lang.OutOfMemoryError in my tomcat-log. I am
pretty sure it relates to the size of my heap - I keep getting the error
when the tomcat.exe process reaches approx. 118 MB of memory usage.
I am running Windows Server 2003, IIS 6, Tomcat 4.1 (running as a
windows service)
I have tried everything to increase the heap size, setting the
environment variables:
-CATALINA_OPTS -Xms256m -Xmx768m
-JAVA_OPTS -Xms256m -Xmx768m
-TOMCAT_OPTS -Xms256m -Xmx768m
But no matter what I do, it has ABSOLUTELY NO EFFECT
Please help, as I am going crazy over this
Best regards,
Rasmus

-
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]


Heap size - java.lang.OutOfMemoryError

2005-02-26 Thread Rasmus - Camp Online
Hi

I keep getting a  java.lang.OutOfMemoryError in my tomcat-log. I am
pretty sure it relates to the size of my heap - I keep getting the error
when the tomcat.exe process reaches approx. 118 MB of memory usage.

I am running Windows Server 2003, IIS 6, Tomcat 4.1 (running as a
windows service)

I have tried everything to increase the heap size, setting the
environment variables:

-CATALINA_OPTS -Xms256m -Xmx768m
-JAVA_OPTS -Xms256m -Xmx768m
-TOMCAT_OPTS -Xms256m -Xmx768m

But no matter what I do, it has ABSOLUTELY NO EFFECT

Please help, as I am going crazy over this

Best regards,

Rasmus



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



Re: Tomcat5 java.lang.OutOfMemoryError

2005-01-17 Thread David Johnson
Can you post a link to the archives?


On Tue, 11 Jan 2005 16:31:40 -0800 (PST), Ryan Stewart <[EMAIL PROTECTED]> 
wrote:
> I posted a how-to on this just yesterday I think. Try the archives. It's 
> typically a good idea to check there before you post.
> 
> -Original Message-
> From: "SARMIENTO Claudia COGA"<[EMAIL PROTECTED]>
> To: "'Tomcat Users List'"
> Date: Mon Jan 10 10:49:20 PST 2005
> Subject: Tomcat5  java.lang.OutOfMemoryError
> 
> >Hello all:
> >I have problems with memory in Tomcat, this happen when the servlet try to
> >forward the result jsp only if the result is too big (a set of rows in a
> >period date)
> >Th bean doesn't have problems, but the servlet yes, so i think i need to
> >change my configuration to set more memory at startup. (Actually is the
> >default)
> >
> >I work in Tomcat 5.0.25 under W2000 with tomcat as a service, i read that i
> >have to re-install tomcat
> >(http://marc.theaimsgroup.com/?l=tomcat-user&m=104331482014538&w=2) the
> >notes is for tomcat 4, is the same for tomcat 5.0?
> >
> >Thanks!
> >Claudia
> >
> >PD:
> >
> >This is the exactly error:
> >
> >2005-01-10 11:26:42 StandardWrapperValve[invoker]: Servlet.service() para
> >servlet invoker lanzó excepción
> >java.lang.OutOfMemoryError
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> ___
> Check-out GO.com
> GO get your free GO E-Mail account with expanded storage of 6 MB!
> http://mail.go.com
> 
> -
> 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]



RE: Tomcat5 java.lang.OutOfMemoryError

2005-01-12 Thread Furash Gary
I searched under "beanshell" and "BSH" on

http://mail-archives.apache.org/eyebrowse/SearchList?listId=&[EMAIL 
PROTECTED]&searchText=bsh&defaultField=subject&Search=Search

No items. 


Gary Furash, MBA, PMP
Applications Manager, Maricopa County Attorney's Office
602-506-0351 (Work), 602-725-1985 (Mobile)

-Original Message-
From: Ryan Stewart [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 11, 2005 5:32 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: Tomcat5 java.lang.OutOfMemoryError

I posted a how-to on this just yesterday I think. Try the archives. It's 
typically a good idea to check there before you post.

-Original Message-
From: "SARMIENTO Claudia COGA"<[EMAIL PROTECTED]>
To: "'Tomcat Users List'"
Date: Mon Jan 10 10:49:20 PST 2005
Subject: Tomcat5  java.lang.OutOfMemoryError

>Hello all:
>I have problems with memory in Tomcat, this happen when the servlet try 
>to forward the result jsp only if the result is too big (a set of rows 
>in a period date) Th bean doesn't have problems, but the servlet yes, 
>so i think i need to change my configuration to set more memory at 
>startup. (Actually is the
>default)
>
>I work in Tomcat 5.0.25 under W2000 with tomcat as a service, i read 
>that i have to re-install tomcat
>(http://marc.theaimsgroup.com/?l=tomcat-user&m=104331482014538&w=2) the 
>notes is for tomcat 4, is the same for tomcat 5.0?
>
>Thanks!
>Claudia
>
>PD:
>
>This is the exactly error:
>
>2005-01-10 11:26:42 StandardWrapperValve[invoker]: Servlet.service() 
>para servlet invoker lanzó excepción java.lang.OutOfMemoryError
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>


___
Check-out GO.com
GO get your free GO E-Mail account with expanded storage of 6 MB!
http://mail.go.com



-
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]



RE: Tomcat5 java.lang.OutOfMemoryError

2005-01-12 Thread Furash Gary
Whoops.  I thought I had.  Must have not used the right search criteria. ;-) 


Gary Furash, MBA, PMP
Applications Manager, Maricopa County Attorney's Office
602-506-0351 (Work), 602-725-1985 (Mobile)

-Original Message-
From: Ryan Stewart [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 11, 2005 5:32 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: Tomcat5 java.lang.OutOfMemoryError

I posted a how-to on this just yesterday I think. Try the archives. It's 
typically a good idea to check there before you post.

-Original Message-
From: "SARMIENTO Claudia COGA"<[EMAIL PROTECTED]>
To: "'Tomcat Users List'"
Date: Mon Jan 10 10:49:20 PST 2005
Subject: Tomcat5  java.lang.OutOfMemoryError

>Hello all:
>I have problems with memory in Tomcat, this happen when the servlet try 
>to forward the result jsp only if the result is too big (a set of rows 
>in a period date) Th bean doesn't have problems, but the servlet yes, 
>so i think i need to change my configuration to set more memory at 
>startup. (Actually is the
>default)
>
>I work in Tomcat 5.0.25 under W2000 with tomcat as a service, i read 
>that i have to re-install tomcat
>(http://marc.theaimsgroup.com/?l=tomcat-user&m=104331482014538&w=2) the 
>notes is for tomcat 4, is the same for tomcat 5.0?
>
>Thanks!
>Claudia
>
>PD:
>
>This is the exactly error:
>
>2005-01-10 11:26:42 StandardWrapperValve[invoker]: Servlet.service() 
>para servlet invoker lanzó excepción java.lang.OutOfMemoryError
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>


___
Check-out GO.com
GO get your free GO E-Mail account with expanded storage of 6 MB!
http://mail.go.com



-
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]



Re: Tomcat5 java.lang.OutOfMemoryError

2005-01-11 Thread Ryan Stewart
I posted a how-to on this just yesterday I think. Try the archives. It's 
typically a good idea to check there before you post.

-Original Message-
From: "SARMIENTO Claudia COGA"<[EMAIL PROTECTED]>
To: "'Tomcat Users List'"
Date: Mon Jan 10 10:49:20 PST 2005
Subject: Tomcat5  java.lang.OutOfMemoryError

>Hello all:
>I have problems with memory in Tomcat, this happen when the servlet try to
>forward the result jsp only if the result is too big (a set of rows in a
>period date)
>Th bean doesn't have problems, but the servlet yes, so i think i need to
>change my configuration to set more memory at startup. (Actually is the
>default)
>
>I work in Tomcat 5.0.25 under W2000 with tomcat as a service, i read that i
>have to re-install tomcat
>(http://marc.theaimsgroup.com/?l=tomcat-user&m=104331482014538&w=2) the
>notes is for tomcat 4, is the same for tomcat 5.0?
>
>Thanks!
>Claudia
>
>PD:
>
>This is the exactly error:
>
>2005-01-10 11:26:42 StandardWrapperValve[invoker]: Servlet.service() para
>servlet invoker lanzó excepción
>java.lang.OutOfMemoryError
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>


___
Check-out GO.com
GO get your free GO E-Mail account with expanded storage of 6 MB!
http://mail.go.com



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



RES: Tomcat5 java.lang.OutOfMemoryError

2005-01-10 Thread Roberto Rios
Hi Claudia,

It's NOT necessary to reinstall tomcat in order to change it's values.

Take a look at:
http://forum.java.sun.com/thread.jspa?threadID=559924&tstart=360

Bob


-Mensagem original-
De: SARMIENTO Claudia COGA [mailto:[EMAIL PROTECTED] 
Enviada em: segunda-feira, 10 de janeiro de 2005 16:49
Para: 'Tomcat Users List'
Assunto: Tomcat5 java.lang.OutOfMemoryError

Hello all:
I have problems with memory in Tomcat, this happen when the servlet try
to
forward the result jsp only if the result is too big (a set of rows in a
period date)
Th bean doesn't have problems, but the servlet yes, so i think i need to
change my configuration to set more memory at startup. (Actually is the
default)

I work in Tomcat 5.0.25 under W2000 with tomcat as a service, i read
that i
have to re-install tomcat
(http://marc.theaimsgroup.com/?l=tomcat-user&m=104331482014538&w=2) the
notes is for tomcat 4, is the same for tomcat 5.0?

Thanks!
Claudia

PD:

This is the exactly error:

2005-01-10 11:26:42 StandardWrapperValve[invoker]: Servlet.service()
para
servlet invoker lanzó excepción
java.lang.OutOfMemoryError



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



Tomcat5 java.lang.OutOfMemoryError

2005-01-10 Thread SARMIENTO Claudia COGA
Hello all:
I have problems with memory in Tomcat, this happen when the servlet try to
forward the result jsp only if the result is too big (a set of rows in a
period date)
Th bean doesn't have problems, but the servlet yes, so i think i need to
change my configuration to set more memory at startup. (Actually is the
default)

I work in Tomcat 5.0.25 under W2000 with tomcat as a service, i read that i
have to re-install tomcat
(http://marc.theaimsgroup.com/?l=tomcat-user&m=104331482014538&w=2) the
notes is for tomcat 4, is the same for tomcat 5.0?

Thanks!
Claudia

PD:

This is the exactly error:

2005-01-10 11:26:42 StandardWrapperValve[invoker]: Servlet.service() para
servlet invoker lanzó excepción
java.lang.OutOfMemoryError


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



RE: java.lang.OutOfMemoryError Tomcat4.1.30

2005-01-07 Thread Dale, Matt

Increase the size of the heap. The default is only 64M.

Ta
Matt

-Original Message-
From: kjiang [mailto:[EMAIL PROTECTED]
Sent: 06 January 2005 21:19
To: tomcat-user@jakarta.apache.org
Subject: java.lang.OutOfMemoryError Tomcat4.1.30


Hi
When tomcat (version 4.1.30) read in a large file,
java.lang.OutOfMemoryError occurred, what can I do for this issue.
 
Thanks
 
Kelvin jiang

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not 
the intended recipient or the person responsible for delivering to the intended 
recipient, be advised that you have received this E-mail in error and that any 
use or copying is strictly prohibited. If you have received this E-mail in 
error please notify the beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual 
sender and not beCogent Ltd. You must take full responsibility for virus 
checking this email and any attachments.
Please note that the content of this email or any of its attachments may 
contain data that falls within the scope of the Data Protection Acts and that 
you must ensure that any handling or processing of such data by you is fully 
compliant with the terms and provisions of the Data Protection Act 1984 and 
1998.


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

RE: java.lang.OutOfMemoryError Tomcat4.1.30

2005-01-06 Thread Mike Jackson
Either don't read so large a file into memory (ie read chunks and
process them rather than the entire file) or increase the memory that
Tomcat can use.  You can increase the memory allowed to the VM using
the -X arguements (java -X for help).  The one you'll want is going to
be -Xmx###M where the ### should be the amount of memory you want to
allocate.  Generally for production servers I typically allow tomcat
at least 256 megs of ram using the option "-Xmx256M".

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

> -Original Message-
> From: kjiang [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, January 06, 2005 1:19 PM
> To: tomcat-user@jakarta.apache.org
> Subject: java.lang.OutOfMemoryError Tomcat4.1.30
> 
> 
> Hi
> When tomcat (version 4.1.30) read in a large file, 
> java.lang.OutOfMemoryError occurred, what can I do for this issue.
>  
> Thanks
>  
> Kelvin jiang
> 
> 



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



java.lang.OutOfMemoryError Tomcat4.1.30

2005-01-06 Thread kjiang
Hi
When tomcat (version 4.1.30) read in a large file,
java.lang.OutOfMemoryError occurred, what can I do for this issue.
 
Thanks
 
Kelvin jiang



RE: java.lang.OutOfMemoryError: Java heap space

2004-11-25 Thread Ben Souther
On Thu, 2004-11-25 at 00:23, Lee Chin Khiong wrote:
> I'm using Tomcat 5, jdk1.5, running XP.
> This happen after a while and I didn't configure the memory, it's default.
Tomcat 5.5, I assume.

It could just be that your app needs more than the 64m than the JVM
initially allots for itself.  This is fairly common.

Follow Quinton Delpeche's instructions for configuring the memory and
watch your app over time with the manager tool.  

Just remember, the manager tool has limited value.  Because Java's
garbage collection (GC) doesn't run until the JVM see itself getting
close to running out of memory, the memory setting shown in the manager
will always climb, even if there isn't a problem. 

If you have a memory leak in your code, this will only postpone the
problem and it, eventually, will happen again, no matter how high you
set the memory settings.  

If the problem continues with more memory alloted, you may want to
invest in a profiler to see where it's going.

- Ben


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



Re: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Quinton Delpeche
On Thursday 25 November 2004 07:23, Lee Chin Khiong wrote:
> I'm using Tomcat 5, jdk1.5, running XP.

By default Tomcat only allocates 64MB of memory to the compiler.

You also make sure that you don't have a memory leak in your code.

Power up the manager/html application and go to server status.

Keep refreshing the page and watch if your memory usage just keeps climbing 
without releasing any memory.

> This happen after a while and I didn't configure the memory, it's default.

Regards

Q
-- 
Quinton Delpeche
Internal Systems Developer
Softline VIP

Telephone: +27 12 420 7000
Direct:+27 12 420 7007
Facsimile: +27 12 420 7344

http://www.vippayroll.co.za/

The reason it's called "Grape Nuts" is that it contains "dextrose",
which is also sometimes called "grape sugar", and also because "Grape
Nuts" is catchier, in terms of marketing, than "A Cross Between Gerbil
Food and Gravel", which is what it tastes like.
-- Dave Barry, "Tips for Writer's"


pgprkkoXRjji7.pgp
Description: PGP signature


RE: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Lee Chin Khiong

I'm using Tomcat 5, jdk1.5, running XP.
This happen after a while and I didn't configure the memory, it's default.


-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 25, 2004 12:09 PM
To: Tomcat Users List
Subject: RE: java.lang.OutOfMemoryError: Java heap space


You're not giving us much to work with.

What version of Tomcat are you running?
What JVM are you using?
What OS are you running on?
Does this happen at startup, after an hour, after a month?
Have you configured the memory settings for tomcat?
If so, what are they?
Is there more to this stack trace than you're sharing with us?

Here's a page in the Tomcat documentation that deals with memory:
http://jakarta.apache.org/tomcat/faq/memory.html

Hope it helps.

-Ben




On Wed, 2004-11-24 at 23:01, Lee Chin Khiong wrote:
> How to solve this ?
> 
> -Original Message-
> From: Ben Souther [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 25, 2004 11:39 AM
> To: Tomcat Users List
> Subject: Re: java.lang.OutOfMemoryError: Java heap space
> 
> 
> It's an error message telling you that your JVM has run out of memory.
> 
> 
> On Wed, 2004-11-24 at 22:34, Lee Chin Khiong wrote:
> > ERROR : java.lang.OutOfMemoryError: Java heap space. What is this ?
> > 
> 
> 
> -
> 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]


Re: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Quinton Delpeche
On Thursday 25 November 2004 06:01, Lee Chin Khiong wrote:
> How to solve this ?

Add this line to your catalina.sh for unix:
JAVA_OPTS="-Xms128m -Xmx256m"

Add this line to you catalina.bat for Windows:
set JAVA_OPTS="-Xms128m -Xmx256m"

I normally add this line under the one that start JAVADIR.

This will set your minimum heap size -Xms to 128 MB and your memory -Xmx to 
256m.

You will have to tweak this setting to get the best results, sometimes if you 
set it too high, Tomcat will not start up (check you catalina.out file).

On our live server we have set this option to -Xms1024m and -Xmx2048m. The 
machine has 8GB of RAM so that is why we set it so high. :)

Q
-- 
Quinton Delpeche
Internal Systems Developer
Softline VIP

Telephone: +27 12 420 7000
Direct:+27 12 420 7007
Facsimile: +27 12 420 7344

http://www.vippayroll.co.za/

Hindsight is an exact science.


pgpI5uzi9N6EE.pgp
Description: PGP signature


RE: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Ben Souther
You're not giving us much to work with.

What version of Tomcat are you running?
What JVM are you using?
What OS are you running on?
Does this happen at startup, after an hour, after a month?
Have you configured the memory settings for tomcat?
If so, what are they?
Is there more to this stack trace than you're sharing with us?

Here's a page in the Tomcat documentation that deals with memory:
http://jakarta.apache.org/tomcat/faq/memory.html

Hope it helps.

-Ben




On Wed, 2004-11-24 at 23:01, Lee Chin Khiong wrote:
> How to solve this ?
> 
> -Original Message-
> From: Ben Souther [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 25, 2004 11:39 AM
> To: Tomcat Users List
> Subject: Re: java.lang.OutOfMemoryError: Java heap space
> 
> 
> It's an error message telling you that your JVM has run out of memory.
> 
> 
> On Wed, 2004-11-24 at 22:34, Lee Chin Khiong wrote:
> > ERROR : java.lang.OutOfMemoryError: Java heap space. What is this ?
> > 
> 
> 
> -
> 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]



RE: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Lee Chin Khiong
How to solve this ?

-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 25, 2004 11:39 AM
To: Tomcat Users List
Subject: Re: java.lang.OutOfMemoryError: Java heap space


It's an error message telling you that your JVM has run out of memory.


On Wed, 2004-11-24 at 22:34, Lee Chin Khiong wrote:
> ERROR : java.lang.OutOfMemoryError: Java heap space. What is this ?
> 


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


Re: java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Ben Souther
It's an error message telling you that your JVM has run out of memory.


On Wed, 2004-11-24 at 22:34, Lee Chin Khiong wrote:
> ERROR : java.lang.OutOfMemoryError: Java heap space. What is this ?
> 


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



java.lang.OutOfMemoryError: Java heap space

2004-11-24 Thread Lee Chin Khiong

ERROR : java.lang.OutOfMemoryError: Java heap space. What is this ?



Re: java.lang.OutOfMemoryError

2004-08-05 Thread Michiel Toneman
True,  there is a definite memory leak when using a connector and a 
front-end webserver (e.g. mod_jk, mod_jk2)

You can try fixing this by putting:
# Fix memory leak bug in tomcat 5.0.19:
request.registerRequests=false
in $TOMCAT_HOME/conf/jk2.properties
Cheers,
Michiel
Allistair Crossley wrote:
We had memory loss with 5.0.19. We profiled a 5.0.19 web app and found that memory was 
not being garbage collected too well. As soon as we upgraded this went away and was 
proven by th profiling. Start by trying out 5.0.27 and see how it goes. If it still 
happens then take Yoav's advice and profile you app using the (now freeware and 
excellent) JProbe (www.quest.com) and go from there.
ADC
 

-Original Message-
From: Matt He [mailto:[EMAIL PROTECTED]
Sent: 05 August 2004 15:43
To: Tomcat Users List
Subject: java.lang.OutOfMemoryError

Hi,
We upgraded our Tomcat server from 3.0 to 5.1.19 about two 
months ago (linux
machine). Since then it frequently crashed (twice a week). It 
seems like the
crash was caused a web crawler. This web crawler generate 
many threads and
quickly drained server memory. The log file showed
java.lang.OutOfMemoryError. When we use Tomcat 3, this 
crawler didn't cause
this problem.

Does anyone have any suggestion on how to solve this problem 
(we don't want
to block this crawler)?

Thanks.
Matt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---


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


--
Michiel Toneman  Software Engineer   Bibit Global Payment Services
Regulierenring 10  3981 LB  Bunnik   [EMAIL PROTECTED]
Tel. +31-30-6595168  Fax +31-30-6564464  http://www.bibit.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: java.lang.OutOfMemoryError

2004-08-05 Thread Allistair Crossley
We had memory loss with 5.0.19. We profiled a 5.0.19 web app and found that memory was 
not being garbage collected too well. As soon as we upgraded this went away and was 
proven by th profiling. Start by trying out 5.0.27 and see how it goes. If it still 
happens then take Yoav's advice and profile you app using the (now freeware and 
excellent) JProbe (www.quest.com) and go from there.

ADC

> -Original Message-
> From: Matt He [mailto:[EMAIL PROTECTED]
> Sent: 05 August 2004 15:43
> To: Tomcat Users List
> Subject: java.lang.OutOfMemoryError
> 
> 
> 
> Hi,
> 
> We upgraded our Tomcat server from 3.0 to 5.1.19 about two 
> months ago (linux
> machine). Since then it frequently crashed (twice a week). It 
> seems like the
> crash was caused a web crawler. This web crawler generate 
> many threads and
> quickly drained server memory. The log file showed
> java.lang.OutOfMemoryError. When we use Tomcat 3, this 
> crawler didn't cause
> this problem.
> 
> 
> Does anyone have any suggestion on how to solve this problem 
> (we don't want
> to block this crawler)?
> 
> 
> Thanks.
> 
> 
> Matt
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



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



Re: java.lang.OutOfMemoryError

2004-08-05 Thread Michiel Toneman
In addition to Yoav's comment, you may also want to check on the number 
of sessions that get created. I know that JRun3 didn't create a session 
when it wasn't necessary to do so, Tomcat 5 (as per servlet spec.) 
always creates a session. Typically webcrawlers don't 'do' cookies, so a 
new session gets created for each request. This can of course have a 
significant effect on memory.

Regards,
Michiel

Matt He wrote:
Hi,
We upgraded our Tomcat server from 3.0 to 5.1.19 about two months ago (linux
machine). Since then it frequently crashed (twice a week). It seems like the
crash was caused a web crawler. This web crawler generate many threads and
quickly drained server memory. The log file showed
java.lang.OutOfMemoryError. When we use Tomcat 3, this crawler didn't cause
this problem.
Does anyone have any suggestion on how to solve this problem (we don't want
to block this crawler)?
Thanks.
Matt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


--
Michiel Toneman  Software Engineer   Bibit Global Payment Services
Regulierenring 10  3981 LB  Bunnik   [EMAIL PROTECTED]
Tel. +31-30-6595168  Fax +31-30-6564464  http://www.bibit.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: java.lang.OutOfMemoryError

2004-08-05 Thread Shapira, Yoav

Hi,
Give the server more memory maybe?  Or code your webapps to use less
memory (or rather, use memory better)?  With the information you gave,
more specific advice is impossible.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Matt He [mailto:[EMAIL PROTECTED]
>Sent: Thursday, August 05, 2004 10:43 AM
>To: Tomcat Users List
>Subject: java.lang.OutOfMemoryError
>
>
>Hi,
>
>We upgraded our Tomcat server from 3.0 to 5.1.19 about two months ago
>(linux
>machine). Since then it frequently crashed (twice a week). It seems
like
>the
>crash was caused a web crawler. This web crawler generate many threads
and
>quickly drained server memory. The log file showed
>java.lang.OutOfMemoryError. When we use Tomcat 3, this crawler didn't
cause
>this problem.
>
>
>Does anyone have any suggestion on how to solve this problem (we don't
want
>to block this crawler)?
>
>
>Thanks.
>
>
>Matt
>
>
>-
>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]



java.lang.OutOfMemoryError

2004-08-05 Thread Matt He

Hi,

We upgraded our Tomcat server from 3.0 to 5.1.19 about two months ago (linux
machine). Since then it frequently crashed (twice a week). It seems like the
crash was caused a web crawler. This web crawler generate many threads and
quickly drained server memory. The log file showed
java.lang.OutOfMemoryError. When we use Tomcat 3, this crawler didn't cause
this problem.


Does anyone have any suggestion on how to solve this problem (we don't want
to block this crawler)?


Thanks.


Matt


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



RE: java.lang.OutOfMemoryError

2004-06-03 Thread Jagsir.Dhillon
Search for '$JAVA_OPTS' env var in catalina.sh placed in
$tomcat_home/bin
And set it to "-Xms512m -Xmx2048m"

Note: Now this 512m is least memory that should be free for tomcat
before you
start tomcat.

Regards,
Jagsir Singh Dhillon
   IFlex Solutions
Associate Consultant   i-flex Center, 399 Subash Road
PrimeSourcing  Vile Parle(East)  Mumbai - 57
Tel: +91-22-5668 5361  web: www.iflexsolutions.com



>Thanks for all replies and recommendations. Pretty helpful, FYI, I am
running Tomcat 5.0.12 on solaris >8. 

>Matt 

Subject: java.lang.OutOfMemoryError


> Has anyone ever experienced this error? The machine I am running has
enough
> memory, I think it is around 2GB. The java instance just used for less
than
> 150MB memory from prstat. Does anyone know how to increase initial
tomcat
> memory size just like Java does?
>
> Thanks!
>
> Matt chen
>
>
>
>
> ********
>
> java.lang.OutOfMemoryError
>
> java.lang.OutOfMemoryError
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Error processing request
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Error unregistering mbean
>
> java.lang.OutOfMemoryError
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Unexpected error
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Unexpected error
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Unexpected error
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM org.apache.coyote.http11.Http11Processor
process
>
> SEVERE: Error processing request
>
> java.lang.OutOfMemoryError
>


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



RE: java.lang.OutOfMemoryError

2004-06-03 Thread Matthew Chen
Thanks for all replies and recommendations. Pretty helpful, FYI, I am
running Tomcat 5.0.12 on solaris 8. 

Matt 

-Original Message-
From: James Sherwood [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 03, 2004 10:40 AM
To: Tomcat Users List
Subject: Re: java.lang.OutOfMemoryError

more information please,

version of tomcat and windows or linux?


- Original Message - 
From: "Matthew Chen" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, June 03, 2004 11:24 AM
Subject: java.lang.OutOfMemoryError


>
>
> Has anyone ever experienced this error? The machine I am running has
enough
> memory, I think it is around 2GB. The java instance just used for less
than
> 150MB memory from prstat. Does anyone know how to increase initial tomcat
> memory size just like Java does?
>
> Thanks!
>
> Matt chen
>
>
>
>
> ********
>
> java.lang.OutOfMemoryError
>
> java.lang.OutOfMemoryError
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Error processing request
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Error unregistering mbean
>
> java.lang.OutOfMemoryError
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Unexpected error
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Unexpected error
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Unexpected error
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM org.apache.coyote.http11.Http11Processor process
>
> SEVERE: Error processing request
>
> java.lang.OutOfMemoryError
>
>
>
>
>
>
>
>
>
>
>
>
> -
> 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]

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



Re: java.lang.OutOfMemoryError

2004-06-03 Thread Filip Hanik - Dev
catalina.bat or catalina.sh, set 
JAVA_OPTS=-mx512m




- Original Message - 
From: "James Sherwood" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, June 03, 2004 9:39 AM
Subject: Re: java.lang.OutOfMemoryError


> more information please,
> 
> version of tomcat and windows or linux?
> 
> 
> - Original Message - 
> From: "Matthew Chen" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, June 03, 2004 11:24 AM
> Subject: java.lang.OutOfMemoryError
> 
> 
> >
> >
> > Has anyone ever experienced this error? The machine I am running has
> enough
> > memory, I think it is around 2GB. The java instance just used for less
> than
> > 150MB memory from prstat. Does anyone know how to increase initial tomcat
> > memory size just like Java does?
> >
> > Thanks!
> >
> > Matt chen
> >
> >
> >
> >
> > 
> >
> > java.lang.OutOfMemoryError
> >
> > java.lang.OutOfMemoryError
> >
> > java.lang.OutOfMemoryError
> >
> > Jun 2, 2004 3:21:14 PM unknown unknown
> >
> > SEVERE: Error processing request
> >
> > java.lang.OutOfMemoryError
> >
> > Jun 2, 2004 3:21:14 PM unknown unknown
> >
> > SEVERE: Error unregistering mbean
> >
> > java.lang.OutOfMemoryError
> >
> > java.lang.OutOfMemoryError
> >
> > Jun 2, 2004 3:21:14 PM unknown unknown
> >
> > SEVERE: Unexpected error
> >
> > java.lang.OutOfMemoryError
> >
> > Jun 2, 2004 3:21:14 PM unknown unknown
> >
> > SEVERE: Unexpected error
> >
> > java.lang.OutOfMemoryError
> >
> > Jun 2, 2004 3:21:14 PM unknown unknown
> >
> > SEVERE: Unexpected error
> >
> > java.lang.OutOfMemoryError
> >
> > Jun 2, 2004 3:21:14 PM org.apache.coyote.http11.Http11Processor process
> >
> > SEVERE: Error processing request
> >
> > java.lang.OutOfMemoryError
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > -
> > 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]


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



Re: java.lang.OutOfMemoryError

2004-06-03 Thread James Sherwood
more information please,

version of tomcat and windows or linux?


- Original Message - 
From: "Matthew Chen" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, June 03, 2004 11:24 AM
Subject: java.lang.OutOfMemoryError


>
>
> Has anyone ever experienced this error? The machine I am running has
enough
> memory, I think it is around 2GB. The java instance just used for less
than
> 150MB memory from prstat. Does anyone know how to increase initial tomcat
> memory size just like Java does?
>
> Thanks!
>
> Matt chen
>
>
>
>
> ********
>
> java.lang.OutOfMemoryError
>
> java.lang.OutOfMemoryError
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Error processing request
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Error unregistering mbean
>
> java.lang.OutOfMemoryError
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Unexpected error
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Unexpected error
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM unknown unknown
>
> SEVERE: Unexpected error
>
> java.lang.OutOfMemoryError
>
> Jun 2, 2004 3:21:14 PM org.apache.coyote.http11.Http11Processor process
>
> SEVERE: Error processing request
>
> java.lang.OutOfMemoryError
>
>
>
>
>
>
>
>
>
>
>
>
> -
> 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]



Re: java.lang.OutOfMemoryError

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 10:24:47AM -0400, Matthew Chen wrote:
: Has anyone ever experienced this error? The machine I am running has enough
: memory, I think it is around 2GB. The java instance just used for less than
: 150MB memory from prstat. Does anyone know how to increase initial tomcat
: memory size just like Java does?

Yes -- search the archives for the $JAVA_OPTS env var
and set it to your preffered "-Xmx -Xms" values.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



RE: java.lang.OutOfMemoryError

2004-06-03 Thread Shapira, Yoav

Hi,
It wouldn't hurt to search the FAQ or archives before posting:
http://jakarta.apache.org/tomcat/faq/memory.html
http://marc.theaimsgroup.com/?l=tomcat-user&w=2&r=1&s=OutOfMemoryError&q
=b

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Matthew Chen [mailto:[EMAIL PROTECTED]
>Sent: Thursday, June 03, 2004 10:25 AM
>To: Tomcat Users List
>Subject: java.lang.OutOfMemoryError
>
>
>
>Has anyone ever experienced this error? The machine I am running has
enough
>memory, I think it is around 2GB. The java instance just used for less
than
>150MB memory from prstat. Does anyone know how to increase initial
tomcat
>memory size just like Java does?
>
>Thanks!
>
>Matt chen
>
>
>
>
>****
>
>java.lang.OutOfMemoryError
>
>java.lang.OutOfMemoryError
>
>java.lang.OutOfMemoryError
>
>Jun 2, 2004 3:21:14 PM unknown unknown
>
>SEVERE: Error processing request
>
>java.lang.OutOfMemoryError
>
>Jun 2, 2004 3:21:14 PM unknown unknown
>
>SEVERE: Error unregistering mbean
>
>java.lang.OutOfMemoryError
>
>java.lang.OutOfMemoryError
>
>Jun 2, 2004 3:21:14 PM unknown unknown
>
>SEVERE: Unexpected error
>
>java.lang.OutOfMemoryError
>
>Jun 2, 2004 3:21:14 PM unknown unknown
>
>SEVERE: Unexpected error
>
>java.lang.OutOfMemoryError
>
>Jun 2, 2004 3:21:14 PM unknown unknown
>
>SEVERE: Unexpected error
>
>java.lang.OutOfMemoryError
>
>Jun 2, 2004 3:21:14 PM org.apache.coyote.http11.Http11Processor process
>
>SEVERE: Error processing request
>
>java.lang.OutOfMemoryError
>
>
>
>
>
>
>
>
>
>
>
>
>-
>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]



java.lang.OutOfMemoryError

2004-06-03 Thread Matthew Chen


Has anyone ever experienced this error? The machine I am running has enough
memory, I think it is around 2GB. The java instance just used for less than
150MB memory from prstat. Does anyone know how to increase initial tomcat
memory size just like Java does?

Thanks!

Matt chen
 

 



java.lang.OutOfMemoryError

java.lang.OutOfMemoryError

java.lang.OutOfMemoryError

Jun 2, 2004 3:21:14 PM unknown unknown

SEVERE: Error processing request

java.lang.OutOfMemoryError

Jun 2, 2004 3:21:14 PM unknown unknown

SEVERE: Error unregistering mbean

java.lang.OutOfMemoryError

java.lang.OutOfMemoryError

Jun 2, 2004 3:21:14 PM unknown unknown

SEVERE: Unexpected error

java.lang.OutOfMemoryError

Jun 2, 2004 3:21:14 PM unknown unknown

SEVERE: Unexpected error

java.lang.OutOfMemoryError

Jun 2, 2004 3:21:14 PM unknown unknown

SEVERE: Unexpected error

java.lang.OutOfMemoryError

Jun 2, 2004 3:21:14 PM org.apache.coyote.http11.Http11Processor process

SEVERE: Error processing request

java.lang.OutOfMemoryError

 

 



 

 


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



RE: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Peter Guyatt
Hi There,

Yep that exactly what I am saying ;-)

I had this problem with the stuff that I have done, a customer wanted to
display a file that happened to be 10 meg, so I to use the print stream in a
Servlet instead of using JSP pages.

Thanks

Pete

-Original Message-
From: Francesco Pellegrini [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 11:31
To: Tomcat Users List
Subject: R: Tomcat 5 : java.lang.OutOfMemoryError


At the moment I use :

java class to execute query
JSP page  that shows the result of the query.

Your answer means i need to execute query and shows the result by SERVLET ?

Thans

Francesco.



-Messaggio originale-
Da: Peter Guyatt [mailto:[EMAIL PROTECTED]
Inviato: martedì 20 aprile 2004 12.19
A: Tomcat Users List
Oggetto: RE: Tomcat 5 : java.lang.OutOfMemoryError


Hi There,

I have seen this before.

It is when your page is going to be over a certain size. (I believe its
around 4MB)

Just use a Servlet to display the result of the query

Thanks

Pete

-Original Message-
From: Francesco Pellegrini [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 11:05
To: Tomcat-User-ML
Subject: Tomcat 5 : java.lang.OutOfMemoryError


Hi all,

I have Tomcat 5.0.18 with one java web application and database Access 2000.

When one Servlet/JSP try to make "heavy" query to database, tomcat shows
this error message :


HTTP Status 500 -




type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:867)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:800)

org.apache.jsp.pannelli.telematica.visconsumi_jsp._jspService(visconsumi_jsp
.java:789)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


root cause

java.lang.OutOfMemoryError


--

I've tried to modify the catilina.bat file, increased start memory  by set :

set CATALINA_OPTS=" -server -Xmx1200M -Xms1200M -Xss256k"

but i still having the same problem

How can I solve it?


Thans in advance for your kind attention,


Francesco.



-
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]



-
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]



AW: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Bernhard Slominski
Maybe your query just returns too much results, because sometimes copies a
part of the data locally to your client and does the query processing there,
so for a serious Web Apllication Access is definitly the wrong choice,
consider using either SQL Server or maybe MySql.

Cheers

Bernhard

-Ursprüngliche Nachricht-
Von: Francesco Pellegrini [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 20. April 2004 12:05
An: Tomcat-User-ML
Betreff: Tomcat 5 : java.lang.OutOfMemoryError


Hi all,

I have Tomcat 5.0.18 with one java web application and database Access 2000.

When one Servlet/JSP try to make "heavy" query to database, tomcat shows
this error message :


HTTP Status 500 -




type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:867)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:800)

org.apache.jsp.pannelli.telematica.visconsumi_jsp._jspService(visconsumi_jsp
.java:789)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


root cause

java.lang.OutOfMemoryError


--

I've tried to modify the catilina.bat file, increased start memory  by set :

set CATALINA_OPTS=" -server -Xmx1200M -Xms1200M -Xss256k"

but i still having the same problem

How can I solve it?


Thans in advance for your kind attention,


Francesco.



-
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]



RE: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Allistair Crossley
lol, i just meant I was surprised you were able to get out of memory with 1200MB. 

you should probably do as the previous poster recommended and write down to the 
response stream from a servlet.

-Original Message-
From: Francesco Pellegrini [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 11:41
To: Tomcat Users List
Subject: R: Tomcat 5 : java.lang.OutOfMemoryError


About : wipe out 1200M memory

I've read it in a TOMCAT Mail archive.

How wipe memory should be configurate?


Thanks

Francesco.


-Messaggio originale-
Da: Allistair Crossley [mailto:[EMAIL PROTECTED]
Inviato: martedì 20 aprile 2004 12.16
A: Tomcat Users List
Oggetto: RE: Tomcat 5 : java.lang.OutOfMemoryError


The standard response to this type of question is are you closing your
database connections, are you releasing references to objects being created.
I can't imagine what you are doing that manages to wipe out 1200M memory ;)
Oh and "use a profiler" comes up too for this type of question :)

-Original Message-
From: Francesco Pellegrini [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 11:05
To: Tomcat-User-ML
Subject: Tomcat 5 : java.lang.OutOfMemoryError


Hi all,

I have Tomcat 5.0.18 with one java web application and database Access 2000.

When one Servlet/JSP try to make "heavy" query to database, tomcat shows
this error message :


HTTP Status 500 -




type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:867)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:800)

org.apache.jsp.pannelli.telematica.visconsumi_jsp._jspService(visconsumi_jsp
.java:789)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


root cause

java.lang.OutOfMemoryError


--

I've tried to modify the catilina.bat file, increased start memory  by set :

set CATALINA_OPTS=" -server -Xmx1200M -Xms1200M -Xss256k"

but i still having the same problem

How can I solve it?


Thans in advance for your kind attention,


Francesco.



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




---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



-
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]


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



R: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Francesco Pellegrini
About : wipe out 1200M memory

I've read it in a TOMCAT Mail archive.

How wipe memory should be configurate?


Thanks

Francesco.


-Messaggio originale-
Da: Allistair Crossley [mailto:[EMAIL PROTECTED]
Inviato: martedì 20 aprile 2004 12.16
A: Tomcat Users List
Oggetto: RE: Tomcat 5 : java.lang.OutOfMemoryError


The standard response to this type of question is are you closing your
database connections, are you releasing references to objects being created.
I can't imagine what you are doing that manages to wipe out 1200M memory ;)
Oh and "use a profiler" comes up too for this type of question :)

-Original Message-
From: Francesco Pellegrini [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 11:05
To: Tomcat-User-ML
Subject: Tomcat 5 : java.lang.OutOfMemoryError


Hi all,

I have Tomcat 5.0.18 with one java web application and database Access 2000.

When one Servlet/JSP try to make "heavy" query to database, tomcat shows
this error message :


HTTP Status 500 -




type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:867)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:800)

org.apache.jsp.pannelli.telematica.visconsumi_jsp._jspService(visconsumi_jsp
.java:789)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


root cause

java.lang.OutOfMemoryError


--

I've tried to modify the catilina.bat file, increased start memory  by set :

set CATALINA_OPTS=" -server -Xmx1200M -Xms1200M -Xss256k"

but i still having the same problem

How can I solve it?


Thans in advance for your kind attention,


Francesco.



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




---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



-
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]



R: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Francesco Pellegrini
At the moment I use :

java class to execute query
JSP page  that shows the result of the query.

Your answer means i need to execute query and shows the result by SERVLET ?

Thans

Francesco.



-Messaggio originale-
Da: Peter Guyatt [mailto:[EMAIL PROTECTED]
Inviato: martedì 20 aprile 2004 12.19
A: Tomcat Users List
Oggetto: RE: Tomcat 5 : java.lang.OutOfMemoryError


Hi There,

I have seen this before.

It is when your page is going to be over a certain size. (I believe its
around 4MB)

Just use a Servlet to display the result of the query

Thanks

Pete

-Original Message-
From: Francesco Pellegrini [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 11:05
To: Tomcat-User-ML
Subject: Tomcat 5 : java.lang.OutOfMemoryError


Hi all,

I have Tomcat 5.0.18 with one java web application and database Access 2000.

When one Servlet/JSP try to make "heavy" query to database, tomcat shows
this error message :


HTTP Status 500 -




type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:867)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:800)

org.apache.jsp.pannelli.telematica.visconsumi_jsp._jspService(visconsumi_jsp
.java:789)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


root cause

java.lang.OutOfMemoryError


--

I've tried to modify the catilina.bat file, increased start memory  by set :

set CATALINA_OPTS=" -server -Xmx1200M -Xms1200M -Xss256k"

but i still having the same problem

How can I solve it?


Thans in advance for your kind attention,


Francesco.



-
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]



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



Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Francesco Pellegrini
Hi all,

I have Tomcat 5.0.18 with one java web application and database Access 2000.

When one Servlet/JSP try to make "heavy" query to database, tomcat shows
this error message :


HTTP Status 500 -




type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:867)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:800)

org.apache.jsp.pannelli.telematica.visconsumi_jsp._jspService(visconsumi_jsp
.java:789)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


root cause

java.lang.OutOfMemoryError


--

I've tried to modify the catilina.bat file, increased start memory  by set :

set CATALINA_OPTS=" -server -Xmx1200M -Xms1200M -Xss256k"

but i still having the same problem

How can I solve it?


Thans in advance for your kind attention,


Francesco.



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



RE: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Allistair Crossley
The standard response to this type of question is are you closing your database 
connections, are you releasing references to objects being created. I can't imagine 
what you are doing that manages to wipe out 1200M memory ;) Oh and "use a profiler" 
comes up too for this type of question :)

-Original Message-
From: Francesco Pellegrini [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 11:05
To: Tomcat-User-ML
Subject: Tomcat 5 : java.lang.OutOfMemoryError


Hi all,

I have Tomcat 5.0.18 with one java web application and database Access 2000.

When one Servlet/JSP try to make "heavy" query to database, tomcat shows
this error message :


HTTP Status 500 -




type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:867)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:800)

org.apache.jsp.pannelli.telematica.visconsumi_jsp._jspService(visconsumi_jsp
.java:789)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


root cause

java.lang.OutOfMemoryError


--

I've tried to modify the catilina.bat file, increased start memory  by set :

set CATALINA_OPTS=" -server -Xmx1200M -Xms1200M -Xss256k"

but i still having the same problem

How can I solve it?


Thans in advance for your kind attention,


Francesco.



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



 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



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



RE: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Peter Guyatt
Hi There,

I have seen this before.

It is when your page is going to be over a certain size. (I believe its
around 4MB)

Just use a Servlet to display the result of the query

Thanks

Pete

-Original Message-
From: Francesco Pellegrini [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 11:05
To: Tomcat-User-ML
Subject: Tomcat 5 : java.lang.OutOfMemoryError


Hi all,

I have Tomcat 5.0.18 with one java web application and database Access 2000.

When one Servlet/JSP try to make "heavy" query to database, tomcat shows
this error message :


HTTP Status 500 -




type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:867)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:800)

org.apache.jsp.pannelli.telematica.visconsumi_jsp._jspService(visconsumi_jsp
.java:789)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


root cause

java.lang.OutOfMemoryError


--

I've tried to modify the catilina.bat file, increased start memory  by set :

set CATALINA_OPTS=" -server -Xmx1200M -Xms1200M -Xss256k"

but i still having the same problem

How can I solve it?


Thans in advance for your kind attention,


Francesco.



-
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]



AW: java.lang.OutOfMemoryError

2004-03-23 Thread Marco Pöhler
Hi Neal,

I increased the JVM Memory with -Xmx300m - that seem to work. I checked the
heap status using the manager application and the memory usage after 2 days
is now up to 90 MB. But the growth has stopped. That seem to work.

Thanks !

Marco

---
http://www.lenses-price-comparison.com
http://www.optik-preisvergleich.de

> -Ursprüngliche Nachricht-
> Von: Neal [mailto:[EMAIL PROTECTED]
> Gesendet: Sonntag, 21. März 2004 21:33
> An: 'Tomcat Users List'
> Betreff: RE: java.lang.OutOfMemoryError
>
>
> I was having a similar problem with a similar configuration but was
> having to restart every day.  For some reason the exact same JDK/tomcat
> install on my windows dev box performed just fine under stress testing
> and reclaimed memory just fine whereas my Linux production box had
> serious issues.  I increased the memory from the default 64mb to 128mb
> on my linux server and now it is behaving just as the prod server does -
> its reclaiming memory in a similar healthy pattern. So, just try
> increasing the heap size to 128mb first and see if you're still having
> the same issue.  It seems to work some magic.
>
> Cheers.
> Neal
>
> -Original Message-
> From: Marco Pöhler [mailto:[EMAIL PROTECTED]
> Sent: Sunday, March 21, 2004 4:54 AM
> To: tomcat-user
> Subject: java.lang.OutOfMemoryError
>
> Hi,
>
> I'm running tomcat 5.0.19 & J2SDK1.4.2_03 on a suse linux 8.1. I wrote a
> really simple application, just one servlet and a few jsp pages, using
> dbcp/jndi. Nevertheless I got an OutOfMemoryError every 2 days and I
> have to
> restart the tomcat to fix the problem. Here is the log entry:
>
> 2004-03-21 10:41:04 StandardWrapperValve[mapperServlet]:
> Servlet.service()
> for servlet mapperServlet threw exception
> java.lang.OutOfMemoryError
>
> Okay, I've investigated my source code for some kind of memory leak, but
> without any success. How can I found what the problem is ? Are there
> tools
> which can help me ?
>
> thanks in advance
>
> Marco Poehler
>
> ---
> http://www.poehlerpoehler.de
>
>
>
> -
> 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]
>
>



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



RE: java.lang.OutOfMemoryError

2004-03-22 Thread Shapira, Yoav

Hi,
You know, I remember the good old days on this list when people backed up claims and 
assertions with a bit of proof ;)  Show us a profiler snapshot (or sequence thereof), 
provide a test program to reproduce the problem, anything really more than an empty 
claim...

As to the original poster, use a profiler to see where your memory is allocated when 
you get the OutOfMemoryError.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Joseph Shraibman [mailto:[EMAIL PROTECTED]
>Sent: Sunday, March 21, 2004 7:28 PM
>To: Tomcat Users List
>Subject: Re: java.lang.OutOfMemoryError
>
>Sounds like the same memory leak problem I've been having.  The problem
>is when new threads are created to handle concurrent connections.
>
>Marco Pöhler wrote:
>> Hi,
>>
>> I'm running tomcat 5.0.19 & J2SDK1.4.2_03 on a suse linux 8.1. I wrote a
>> really simple application, just one servlet and a few jsp pages, using
>> dbcp/jndi. Nevertheless I got an OutOfMemoryError every 2 days and I have
>to
>> restart the tomcat to fix the problem. Here is the log entry:
>>
>> 2004-03-21 10:41:04 StandardWrapperValve[mapperServlet]:
>Servlet.service()
>> for servlet mapperServlet threw exception
>> java.lang.OutOfMemoryError
>>
>> Okay, I've investigated my source code for some kind of memory leak, but
>> without any success. How can I found what the problem is ? Are there
>tools
>> which can help me ?
>>
>> thanks in advance
>>
>> Marco Poehler
>>
>> ---
>> http://www.poehlerpoehler.de
>>
>>
>>
>> -
>> 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]




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]



Re: java.lang.OutOfMemoryError

2004-03-21 Thread Joseph Shraibman
Sounds like the same memory leak problem I've been having.  The problem 
is when new threads are created to handle concurrent connections.

Marco Pöhler wrote:
Hi,

I'm running tomcat 5.0.19 & J2SDK1.4.2_03 on a suse linux 8.1. I wrote a
really simple application, just one servlet and a few jsp pages, using
dbcp/jndi. Nevertheless I got an OutOfMemoryError every 2 days and I have to
restart the tomcat to fix the problem. Here is the log entry:
2004-03-21 10:41:04 StandardWrapperValve[mapperServlet]: Servlet.service()
for servlet mapperServlet threw exception
java.lang.OutOfMemoryError
Okay, I've investigated my source code for some kind of memory leak, but
without any success. How can I found what the problem is ? Are there tools
which can help me ?
thanks in advance

Marco Poehler

---
http://www.poehlerpoehler.de


-
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]


RE: java.lang.OutOfMemoryError

2004-03-21 Thread Neal
I was having a similar problem with a similar configuration but was
having to restart every day.  For some reason the exact same JDK/tomcat
install on my windows dev box performed just fine under stress testing
and reclaimed memory just fine whereas my Linux production box had
serious issues.  I increased the memory from the default 64mb to 128mb
on my linux server and now it is behaving just as the prod server does -
its reclaiming memory in a similar healthy pattern. So, just try
increasing the heap size to 128mb first and see if you're still having
the same issue.  It seems to work some magic.

Cheers.  
Neal

-Original Message-
From: Marco Pöhler [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 21, 2004 4:54 AM
To: tomcat-user
Subject: java.lang.OutOfMemoryError

Hi,

I'm running tomcat 5.0.19 & J2SDK1.4.2_03 on a suse linux 8.1. I wrote a
really simple application, just one servlet and a few jsp pages, using
dbcp/jndi. Nevertheless I got an OutOfMemoryError every 2 days and I
have to
restart the tomcat to fix the problem. Here is the log entry:

2004-03-21 10:41:04 StandardWrapperValve[mapperServlet]:
Servlet.service()
for servlet mapperServlet threw exception
java.lang.OutOfMemoryError

Okay, I've investigated my source code for some kind of memory leak, but
without any success. How can I found what the problem is ? Are there
tools
which can help me ?

thanks in advance

Marco Poehler

---
http://www.poehlerpoehler.de



-
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]



Re: java.lang.OutOfMemoryError

2004-03-21 Thread Joerg Baumgaertel
Forgot to mention that I have a lot of stuff
about Memory Leaks generally online:
FAQ
http://jb2works.com/memoryleak/index.html
and

Why do we have a Data Cancer
The Top Five to avoid it
http://jb2works.com/memoryleak/topfive.html
Best regards,
Joerg


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


Re: java.lang.OutOfMemoryError

2004-03-21 Thread Joerg Baumgaertel
Hi Marco

Give 'The Reference Scanner' a try and make heap snapshots
and check the diff between snapshots.
I just published the tomcat-howto.
You find the Software here http://jb2works.com/
If you need more help, you reach me via mail.

Best regards,
Joerg
Marco Pöhler wrote:
Hi,

I'm running tomcat 5.0.19 & J2SDK1.4.2_03 on a suse linux 8.1. I wrote a
really simple application, just one servlet and a few jsp pages, using
dbcp/jndi. Nevertheless I got an OutOfMemoryError every 2 days and I have to
restart the tomcat to fix the problem. Here is the log entry:
2004-03-21 10:41:04 StandardWrapperValve[mapperServlet]: Servlet.service()
for servlet mapperServlet threw exception
java.lang.OutOfMemoryError
Okay, I've investigated my source code for some kind of memory leak, but
without any success. How can I found what the problem is ? Are there tools
which can help me ?
thanks in advance

Marco Poehler

---
http://www.poehlerpoehler.de


-
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]


Re: java.lang.OutOfMemoryError

2004-03-21 Thread Jacob Kjome
How much information do you put in servlet sessions?  How long do sessions 
last?  How many active user sessions do you have at any given time?  Do you 
start the VM up without providing -Xmx512m or something like that?   If so, 
you are starting a VM with a maximum of 64meg of memory available to 
everything running within it.  That includes the appserver itself plus any 
apps.  It is easy to use more than this, especially if your load is high 
and/or you store lots of info in the sessions.  Keep in mind that a little 
bit of data in the session can go a long way if you have lots of 
users.  Less than 1meg per/user plus, let's say, 64 users with active 
sessions (not necessarily making concurrent requests) would easily use up 
the default memory maximum of the VM.

Jake

At 01:53 PM 3/21/2004 +0100, you wrote:
Hi,

I'm running tomcat 5.0.19 & J2SDK1.4.2_03 on a suse linux 8.1. I wrote a
really simple application, just one servlet and a few jsp pages, using
dbcp/jndi. Nevertheless I got an OutOfMemoryError every 2 days and I have to
restart the tomcat to fix the problem. Here is the log entry:
2004-03-21 10:41:04 StandardWrapperValve[mapperServlet]: Servlet.service()
for servlet mapperServlet threw exception
java.lang.OutOfMemoryError
Okay, I've investigated my source code for some kind of memory leak, but
without any success. How can I found what the problem is ? Are there tools
which can help me ?
thanks in advance

Marco Poehler

---
http://www.poehlerpoehler.de


-
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]


java.lang.OutOfMemoryError

2004-03-21 Thread Marco Pöhler
Hi,

I'm running tomcat 5.0.19 & J2SDK1.4.2_03 on a suse linux 8.1. I wrote a
really simple application, just one servlet and a few jsp pages, using
dbcp/jndi. Nevertheless I got an OutOfMemoryError every 2 days and I have to
restart the tomcat to fix the problem. Here is the log entry:

2004-03-21 10:41:04 StandardWrapperValve[mapperServlet]: Servlet.service()
for servlet mapperServlet threw exception
java.lang.OutOfMemoryError

Okay, I've investigated my source code for some kind of memory leak, but
without any success. How can I found what the problem is ? Are there tools
which can help me ?

thanks in advance

Marco Poehler

---
http://www.poehlerpoehler.de



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



RE: java.lang.OutOfMemoryError

2003-12-29 Thread Shapira, Yoav

Howdy,

>hm..i see...but I am working on a server with 4GB of RAM,I think it
should

Your server has 4GB of physical RAM, but by default Java will allocate
up to 64MB to the heap.  You can modify this by using various -X
parameters to the java runtime (read up on the Java VM Options if you're
not familiar with tuning memory).

Many things can cause OutOfMemoryErrors.  You can search this list's
archives to start with.  The person who spoke about connections is
likely talking about database connectiosn -- you have to make sure you
close all your database objects (result sets, statements, connections)
or release them back to a pool if that's where you get them.

Yoav Shapira



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]



RE: java.lang.OutOfMemoryError

2003-12-27 Thread James Black
 You may need to go modify Catalina.bat (I guess that is what it would be on
Win2k), add a JAVA_OPT variable, such as JAVA_OPT=-mx512M.

  I don't remember if it is -mx or -mX though.

  This will set the highest heap size that the java application can use. You
may want to set it to 2 or 3GB though instead.

  You may also want to use a profiler and see if you have a memory leak in
your application.

" Work like you don't need the money, love like you've never been hurt, and
dance like no one is watching." 
--- Satchel Paige 




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



RE: java.lang.OutOfMemoryError

2003-12-27 Thread Lam Chee Choong
Window Server 2000 with service pack 2 and my application is connecting with
MS sql 2000 with no service pack install

-Original Message-
From: Antony Paul [mailto:[EMAIL PROTECTED]
Sent: 26 December 2003 11:07 PM
To: Tomcat Users List
Subject: Re: java.lang.OutOfMemoryError


Please specify the OS version. A similar thread is there .

Antony Paul
- Original Message -
From: "Lam Chee Choong" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 26, 2003 8:11 PM
Subject: RE: java.lang.OutOfMemoryError


> hm..i see...but I am working on a server with 4GB of RAM,I think it should
> have more than enough??anyway u did mention about closing connection, what
> connection u mean?
>
> -Original Message-
> From: akki [mailto:[EMAIL PROTECTED]
> Sent: 26 December 2003 10:51 AM
> To: Tomcat Users List
> Subject: RE: java.lang.OutOfMemoryError
>
>
> yeah i also encountered this problem
> actaully it is bcoz u  r not closing any connection and eventually it  is
> eating up ram
> u can check for it
> or increase ur RAM size
>
> -Original Message-
> From: Lam Chee Choong [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 25, 2003 8:22 PM
> To: [EMAIL PROTECTED]
> Subject: java.lang.OutOfMemoryError
>
>
>  i am using tomcal 4.1.18 with JDK 1.4.1_01. i encounter the
> java.lang.OutOfMemoryError error when i trying to reload my
application.this
> does not happen frequenly. it was like every 10 times i reload and 3 times
> the error came out. i can restart the tomcat and it work fine.
>  does everybody encounter this b4?
>
>
>
>
> -
> 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]
>
>
>
> -
> 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]




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



RE: To LAM JEE RE: java.lang.OutOfMemoryError

2003-12-27 Thread Lam Chee Choong

i am working on window 2000 server and MS SQL 2000..u mean i need to
shutdwon the sql server  when i wish to reload my application??
-Original Message-
From: akki [mailto:[EMAIL PROTECTED]
Sent: 27 December 2003 10:41 AM
To: Tomcat Users List
Subject: To LAM JEE RE: java.lang.OutOfMemoryError


connection i mean any database connection or smtp etc.

On 26 Dec 2003 20:09 IST you wrote:

> hm..i see...but I am working on a server with 4GB of RAM,I think it should
> have more than enough??anyway u did mention about closing connection, what
> connection u mean?
>
> -Original Message-
> From: akki [mailto:[EMAIL PROTECTED]
> Sent: 26 December 2003 10:51 AM
> To: Tomcat Users List
> Subject: RE: java.lang.OutOfMemoryError
>
>
> yeah i also encountered this problem
> actaully it is bcoz u  r not closing any connection and eventually it  is
> eating up ram
> u can check for it
> or increase ur RAM size
>
> -Original Message-
> From: Lam Chee Choong [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 25, 2003 8:22 PM
> To: [EMAIL PROTECTED]
> Subject: java.lang.OutOfMemoryError
>
>
>  i am using tomcal 4.1.18 with JDK 1.4.1_01. i encounter the
> java.lang.OutOfMemoryError error when i trying to reload my
application.this
> does not happen frequenly. it was like every 10 times i reload and 3 times
> the error came out. i can restart the tomcat and it work fine.
>  does everybody encounter this b4?
>
>
>
>
> -
> 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]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--
Contact me at:

Akhilesh Maurya
ITX BHEL HWR

-
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]



To LAM JEE RE: java.lang.OutOfMemoryError

2003-12-26 Thread akki
connection i mean any database connection or smtp etc.

On 26 Dec 2003 20:09 IST you wrote:

> hm..i see...but I am working on a server with 4GB of RAM,I think it should
> have more than enough??anyway u did mention about closing connection, what
> connection u mean?
> 
> -Original Message-
> From: akki [mailto:[EMAIL PROTECTED]
> Sent: 26 December 2003 10:51 AM
> To: Tomcat Users List
> Subject: RE: java.lang.OutOfMemoryError
> 
> 
> yeah i also encountered this problem
> actaully it is bcoz u  r not closing any connection and eventually it  is
> eating up ram
> u can check for it
> or increase ur RAM size
> 
> -Original Message-
> From: Lam Chee Choong [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 25, 2003 8:22 PM
> To: [EMAIL PROTECTED]
> Subject: java.lang.OutOfMemoryError
> 
> 
>  i am using tomcal 4.1.18 with JDK 1.4.1_01. i encounter the
> java.lang.OutOfMemoryError error when i trying to reload my application.this
> does not happen frequenly. it was like every 10 times i reload and 3 times
> the error came out. i can restart the tomcat and it work fine.
>  does everybody encounter this b4?
> 
> 
> 
> 
> -
> 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]
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--  
Contact me at:

Akhilesh Maurya
ITX BHEL HWR

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



Re: java.lang.OutOfMemoryError

2003-12-26 Thread Antony Paul
Please specify the OS version. A similar thread is there .

Antony Paul
- Original Message -
From: "Lam Chee Choong" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 26, 2003 8:11 PM
Subject: RE: java.lang.OutOfMemoryError


> hm..i see...but I am working on a server with 4GB of RAM,I think it should
> have more than enough??anyway u did mention about closing connection, what
> connection u mean?
>
> -Original Message-
> From: akki [mailto:[EMAIL PROTECTED]
> Sent: 26 December 2003 10:51 AM
> To: Tomcat Users List
> Subject: RE: java.lang.OutOfMemoryError
>
>
> yeah i also encountered this problem
> actaully it is bcoz u  r not closing any connection and eventually it  is
> eating up ram
> u can check for it
> or increase ur RAM size
>
> -Original Message-
> From: Lam Chee Choong [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 25, 2003 8:22 PM
> To: [EMAIL PROTECTED]
> Subject: java.lang.OutOfMemoryError
>
>
>  i am using tomcal 4.1.18 with JDK 1.4.1_01. i encounter the
> java.lang.OutOfMemoryError error when i trying to reload my
application.this
> does not happen frequenly. it was like every 10 times i reload and 3 times
> the error came out. i can restart the tomcat and it work fine.
>  does everybody encounter this b4?
>
>
>
>
> -
> 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]
>
>
>
> -
> 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]



RE: java.lang.OutOfMemoryError

2003-12-26 Thread Lam Chee Choong
hm..i see...but I am working on a server with 4GB of RAM,I think it should
have more than enough??anyway u did mention about closing connection, what
connection u mean?

-Original Message-
From: akki [mailto:[EMAIL PROTECTED]
Sent: 26 December 2003 10:51 AM
To: Tomcat Users List
Subject: RE: java.lang.OutOfMemoryError


yeah i also encountered this problem
actaully it is bcoz u  r not closing any connection and eventually it  is
eating up ram
u can check for it
or increase ur RAM size

-Original Message-
From: Lam Chee Choong [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 25, 2003 8:22 PM
To: [EMAIL PROTECTED]
Subject: java.lang.OutOfMemoryError


 i am using tomcal 4.1.18 with JDK 1.4.1_01. i encounter the
java.lang.OutOfMemoryError error when i trying to reload my application.this
does not happen frequenly. it was like every 10 times i reload and 3 times
the error came out. i can restart the tomcat and it work fine.
 does everybody encounter this b4?




-
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]



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



RE: java.lang.OutOfMemoryError

2003-12-25 Thread FRANCOIS Dufour
i add this problen out off memory on my old server i dindint have enoufg ram 
to execute
tomcat proprely



[EMAIL PROTECTED]
crazy-wilys webmaster
From: "akki" Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: 
RE: java.lang.OutOfMemoryError Date: Fri, 26 Dec 2003 08:21:02 +0530

yeah i also encountered this problem actaully it is bcoz u  r not closing 
any connection and eventually it  is eating up ram u can check for it or 
increase ur RAM size

-Original Message- From: Lam Chee Choong 
[mailto:[EMAIL PROTECTED] Sent: Thursday, December 25, 2003 8:22 PM To: 
[EMAIL PROTECTED] Subject: java.lang.OutOfMemoryError

 i am using tomcal 4.1.18 with JDK 1.4.1_01. i encounter the 
java.lang.OutOfMemoryError error when i trying to reload my 
application.this does not happen frequenly. it was like every 10 times i 
reload and 3 times the error came out. i can restart the tomcat and it work 
fine.  does everybody encounter this b4?



- 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]

_
MSN Messenger : discutez en direct avec vos amis !  
http://messenger.fr.msn.ca/

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


RE: java.lang.OutOfMemoryError

2003-12-25 Thread akki
yeah i also encountered this problem
actaully it is bcoz u  r not closing any connection and eventually it  is
eating up ram
u can check for it
or increase ur RAM size

-Original Message-
From: Lam Chee Choong [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 25, 2003 8:22 PM
To: [EMAIL PROTECTED]
Subject: java.lang.OutOfMemoryError


 i am using tomcal 4.1.18 with JDK 1.4.1_01. i encounter the
java.lang.OutOfMemoryError error when i trying to reload my application.this
does not happen frequenly. it was like every 10 times i reload and 3 times
the error came out. i can restart the tomcat and it work fine.
 does everybody encounter this b4?




-
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]



java.lang.OutOfMemoryError

2003-12-25 Thread Lam Chee Choong
 i am using tomcal 4.1.18 with JDK 1.4.1_01. i encounter the
java.lang.OutOfMemoryError error when i trying to reload my application.this
does not happen frequenly. it was like every 10 times i reload and 3 times
the error came out. i can restart the tomcat and it work fine.
 does everybody encounter this b4?




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



Re: java.lang.OutOfMemoryError

2003-12-01 Thread Trenton D. Adams
Cheang Khai Leng (Central) wrote:

Hi,
 
i am getting this error in my server log:
 
***
2003-12-02 10:22:23 - Ctx(  ): Get real path \standardpages\footer.jsp C:\server
-3.2.3\webapps\itsclient\standardpages\footer.jsp C:\server\apps\jakarta-tomcat-
ent
java.lang.OutOfMemoryError
<>
12652:58608
13424:59275
Exhausted Resultset
13534:59758
11661:57054
12983:58635
*
 
what does the last few lines mean? i have to restart my tomcat everytime i hit this error.
 
how to increase the JVM heap size?
I've forgotten where to do this on a windows machine, but set the 
following environment variable...

CATALINA_OPTS="-Xmx1024m -Xms512m"

mx is maximum memory usage and ms is minimum memory usage.

 
thanks

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


__ 
   This communication is intended for the use of the recipient to whom it
   is addressed, and may contain confidential, personal, and or privileged
   information. Please contact us immediately if you are not the intended
   recipient of this communication, and do not copy, distribute, or take
   action relying on it. Any communications received in error, or
   subsequent reply, should be deleted or destroyed.
---

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


java.lang.OutOfMemoryError

2003-12-01 Thread Cheang Khai Leng (Central)
Hi,
 
i am getting this error in my server log:
 
***
2003-12-02 10:22:23 - Ctx(  ): Get real path \standardpages\footer.jsp C:\server
-3.2.3\webapps\itsclient\standardpages\footer.jsp C:\server\apps\jakarta-tomcat-
ent
java.lang.OutOfMemoryError
<>
12652:58608
13424:59275
Exhausted Resultset
13534:59758
11661:57054
12983:58635
*
 
what does the last few lines mean? i have to restart my tomcat everytime i hit this 
error.
 
how to increase the JVM heap size?
 
thanks

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



RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-22 Thread Ralph Einfeldt
May be you should run
ulimit -a   # sh/bash as shell
limit   # tcsh as shell
for the root user and the user you wann't to start tomcat with.

Maybe that shows something interesting.

> -Original Message-
> From: Denise Mangano [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 22, 2003 5:50 PM
> To: Tomcat Users List
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
> Tomcat - java.lang.OutOfMemoryError]
> 
> 

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



RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-22 Thread Denise Mangano
When Tomcat is shut down and I run a ps -ef no java threads are
displayed.  Is there any way for me to go in manually and check if there
are any threads are being held onto by Tomcat/Java, and release them?  

Thanks.
Denise



-Original Message-
From: Denise Mangano 
Sent: Monday, September 22, 2003 8:57 AM
To: Tomcat Users List
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


After compiling and running some offline sample java programs, it seems
unlikely that the problem is with the JVM.  If it were I shouldn't be
able to run any java programs under non-root users, but I can.

The problem still only appears to be when starting and stopping Tomcat
as a non-root user.  I need to find a resolution to this asap.  I am
wondering if there is any way that if I am stuck with starting Tomcat as
root, is there anyway it can be started as root, but then spawn off
child threads as a non-root user (i.e. the way apache does it..)

Thanks in advance.
Denise

-Original Message-
From: Denise Mangano 
Sent: Friday, September 19, 2003 4:51 PM
To: Tomcat Users List
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


My Tomcat is not running on port 80.  I have Apache running on port 80
communicating with Tomcat via mod_jk (Apache starts up fine).  Also I am
not using IPTables - I have relied on our network firewall for
protection.

I think Filip is on to something with the JVM... I am posting to Linux
boards right now...

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 4:48 PM
To: 'Tomcat Users List'
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


I forget if you've said or not, but are non-root users allowed to
priveleged ports? Which is what Tomcat would do if you've changed it to
port 80.  Forgive my non-linux background, but perhaps you were using an
IPTables solution to work around this limitation I vaguely and poorly
remember, and because your machine crashed, those settings are gone.

Sysadmins, feel free to flame my clutching at straws!

> -Original Message-
> From: Denise Mangano [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 3:42 PM
> To: Tomcat Users List
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start 
> Tomcat - java.lang.OutOfMemoryError]
> 
> 
> Why would this happen suddenly though?  Tomcat was running fine
> before. Unfortunately switching OS is not an option.  So this sounds 
> like a linux problem?
> 
> Denise Mangano
> Complus Data Innovations, Inc.
> 914-747-1200
> 
> 
> -Original Message-
> From: Filip Hanik [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 4:39 PM
> To: Tomcat Users List
> Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start 
> Tomcat - java.lang.OutOfMemoryError]
> 
> 
> the problem is somewhere in the native JVM.
> It fails when trying to create a native thread on the OS level as a
> noon root user. All I can say is, switch OS :)
> 
> Filip
> - Original Message -
> From: "Denise Mangano" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, September 19, 2003 1:15 PM
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
> Tomcat - java.lang.OutOfMemoryError]
> 
> 
> I know I've flooded the list about this, and I appreciate everyone's
> help but I am at a complete loss.  I even restored from backup tape 
> and the same thing is happening.  I reinstalled tomcat, reinstalled 
> j2sdk, yet Tomcat will only run as root.
> 
> It is obviously not safe to run Tomcat as root, but I absolutely have
> to get my app back up.  Any more suggestions are greatly appreciated.
> 
> Thanks.
> Denise
> 
> 
> -Original Message-
> From: Denise Mangano
> Sent: Friday, September 19, 2003 3:20 PM
> To: Tomcat Users List
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
> Tomcat - java.lang.OutOfMemoryError]
> 
> 
> Filip .. Sorry - this was in my original post:
> 
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27
> Sep 19, 2003 9:01:25 AM
> org.apache.struts.util.PropertyMessageResources
> 
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true
> Sep 19, 2003 9:01:25 AM
> org.apache.struts.util.PropertyMessageResources
> 
> INFO: Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true
> Sep 19, 2003 9:01:26 AM 
> org.apach

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-22 Thread Denise Mangano
After compiling and running some offline sample java programs, it seems
unlikely that the problem is with the JVM.  If it were I shouldn't be
able to run any java programs under non-root users, but I can.

The problem still only appears to be when starting and stopping Tomcat
as a non-root user.  I need to find a resolution to this asap.  I am
wondering if there is any way that if I am stuck with starting Tomcat as
root, is there anyway it can be started as root, but then spawn off
child threads as a non-root user (i.e. the way apache does it..)

Thanks in advance.
Denise

-Original Message-
From: Denise Mangano 
Sent: Friday, September 19, 2003 4:51 PM
To: Tomcat Users List
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


My Tomcat is not running on port 80.  I have Apache running on port 80
communicating with Tomcat via mod_jk (Apache starts up fine).  Also I am
not using IPTables - I have relied on our network firewall for
protection.

I think Filip is on to something with the JVM... I am posting to Linux
boards right now...

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 4:48 PM
To: 'Tomcat Users List'
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


I forget if you've said or not, but are non-root users allowed to
priveleged ports? Which is what Tomcat would do if you've changed it to
port 80.  Forgive my non-linux background, but perhaps you were using an
IPTables solution to work around this limitation I vaguely and poorly
remember, and because your machine crashed, those settings are gone.

Sysadmins, feel free to flame my clutching at straws!

> -Original Message-
> From: Denise Mangano [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 3:42 PM
> To: Tomcat Users List
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent!
> Cannot start Tomcat - java.lang.OutOfMemoryError]
> 
> 
> Why would this happen suddenly though?  Tomcat was running fine 
> before. Unfortunately switching OS is not an option.  So this sounds 
> like a linux problem?
> 
> Denise Mangano
> Complus Data Innovations, Inc.
> 914-747-1200
> 
> 
> -Original Message-
> From: Filip Hanik [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 4:39 PM
> To: Tomcat Users List
> Subject: Re: Cannot run Tomcat as new user [Was: Urgent!
> Cannot start Tomcat - java.lang.OutOfMemoryError]
> 
> 
> the problem is somewhere in the native JVM.
> It fails when trying to create a native thread on the OS level as a 
> noon root user. All I can say is, switch OS :)
> 
> Filip
> - Original Message -
> From: "Denise Mangano" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, September 19, 2003 1:15 PM
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start 
> Tomcat - java.lang.OutOfMemoryError]
> 
> 
> I know I've flooded the list about this, and I appreciate everyone's 
> help but I am at a complete loss.  I even restored from backup tape 
> and the same thing is happening.  I reinstalled tomcat, reinstalled 
> j2sdk, yet Tomcat will only run as root.
> 
> It is obviously not safe to run Tomcat as root, but I absolutely have 
> to get my app back up.  Any more suggestions are greatly appreciated.
> 
> Thanks.
> Denise
> 
> 
> -Original Message-
> From: Denise Mangano
> Sent: Friday, September 19, 2003 3:20 PM
> To: Tomcat Users List
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start 
> Tomcat - java.lang.OutOfMemoryError]
> 
> 
> Filip .. Sorry - this was in my original post:
> 
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27
> Sep 19, 2003 9:01:25 AM 
> org.apache.struts.util.PropertyMessageResources
> 
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true
> Sep 19, 2003 9:01:25 AM
> org.apache.struts.util.PropertyMessageResources
> 
> INFO: Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true
> Sep 19, 2003 9:01:26 AM 
> org.apache.struts.util.PropertyMessageResources
> 
> INFO: Initializing, 
> config='org.apache.webapp.admin.ApplicationResources', 
> returnNull=true Exception during startup processing 
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.jav
> a:39)
> at 
> sun.reflect.Delegating

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
My Tomcat is not running on port 80.  I have Apache running on port 80
communicating with Tomcat via mod_jk (Apache starts up fine).  Also I am
not using IPTables - I have relied on our network firewall for
protection.

I think Filip is on to something with the JVM... I am posting to Linux
boards right now...

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 4:48 PM
To: 'Tomcat Users List'
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


I forget if you've said or not, but are non-root users allowed to
priveleged ports? Which is what Tomcat would do if you've changed it to
port 80.  Forgive my non-linux background, but perhaps you were using an
IPTables solution to work around this limitation I vaguely and poorly
remember, and because your machine crashed, those settings are gone.

Sysadmins, feel free to flame my clutching at straws!

> -Original Message-
> From: Denise Mangano [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 3:42 PM
> To: Tomcat Users List
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent! 
> Cannot start Tomcat - java.lang.OutOfMemoryError]
> 
> 
> Why would this happen suddenly though?  Tomcat was running
> fine before. Unfortunately switching OS is not an option.  So 
> this sounds like a linux problem?
> 
> Denise Mangano
> Complus Data Innovations, Inc.
> 914-747-1200
> 
> 
> -Original Message-
> From: Filip Hanik [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 4:39 PM
> To: Tomcat Users List
> Subject: Re: Cannot run Tomcat as new user [Was: Urgent! 
> Cannot start Tomcat - java.lang.OutOfMemoryError]
> 
> 
> the problem is somewhere in the native JVM.
> It fails when trying to create a native thread on the OS
> level as a noon root user. All I can say is, switch OS :)
> 
> Filip
> - Original Message -
> From: "Denise Mangano" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, September 19, 2003 1:15 PM
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent!
> Cannot start Tomcat - java.lang.OutOfMemoryError]
> 
> 
> I know I've flooded the list about this, and I appreciate
> everyone's help but I am at a complete loss.  I even restored 
> from backup tape and the same thing is happening.  I 
> reinstalled tomcat, reinstalled j2sdk, yet Tomcat will only 
> run as root.
> 
> It is obviously not safe to run Tomcat as root, but I
> absolutely have to get my app back up.  Any more suggestions 
> are greatly appreciated.
> 
> Thanks.
> Denise
> 
> 
> -Original Message-
> From: Denise Mangano
> Sent: Friday, September 19, 2003 3:20 PM
> To: Tomcat Users List
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent!
> Cannot start Tomcat - java.lang.OutOfMemoryError]
> 
> 
> Filip .. Sorry - this was in my original post:
> 
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27
> Sep 19, 2003 9:01:25 AM
> org.apache.struts.util.PropertyMessageResources
> 
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true
> Sep 19, 2003 9:01:25 AM 
> org.apache.struts.util.PropertyMessageResources
> 
> INFO: Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true
> Sep 19, 2003 9:01:26 AM 
> org.apache.struts.util.PropertyMessageResources
> 
> INFO: Initializing, 
> config='org.apache.webapp.admin.ApplicationResources', 
> returnNull=true Exception during startup processing 
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.jav
> a:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessor
> Impl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> 
> Caused by: java.lang.OutOfMemoryError: unable to create new
> native thread
> at java.lang.Thread.start(Native Method)
> at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable. t>(ThreadP
> ool.java:582)
> at
> org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPo
> ol.java:46
> 0)
> at
> org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:179)
> at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolT
> cpEndpoint
> .java:30

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Mike Curwen
I forget if you've said or not, but are non-root users allowed to
priveleged ports? Which is what Tomcat would do if you've changed it to
port 80.  Forgive my non-linux background, but perhaps you were using an
IPTables solution to work around this limitation I vaguely and poorly
remember, and because your machine crashed, those settings are gone.

Sysadmins, feel free to flame my clutching at straws!

> -Original Message-
> From: Denise Mangano [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 19, 2003 3:42 PM
> To: Tomcat Users List
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent! 
> Cannot start Tomcat - java.lang.OutOfMemoryError]
> 
> 
> Why would this happen suddenly though?  Tomcat was running 
> fine before. Unfortunately switching OS is not an option.  So 
> this sounds like a linux problem?
> 
> Denise Mangano
> Complus Data Innovations, Inc.
> 914-747-1200
> 
> 
> -Original Message-
> From: Filip Hanik [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 19, 2003 4:39 PM
> To: Tomcat Users List
> Subject: Re: Cannot run Tomcat as new user [Was: Urgent! 
> Cannot start Tomcat - java.lang.OutOfMemoryError]
> 
> 
> the problem is somewhere in the native JVM.
> It fails when trying to create a native thread on the OS 
> level as a noon root user. All I can say is, switch OS :)
> 
> Filip
> - Original Message -
> From: "Denise Mangano" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, September 19, 2003 1:15 PM
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent! 
> Cannot start Tomcat - java.lang.OutOfMemoryError]
> 
> 
> I know I've flooded the list about this, and I appreciate 
> everyone's help but I am at a complete loss.  I even restored 
> from backup tape and the same thing is happening.  I 
> reinstalled tomcat, reinstalled j2sdk, yet Tomcat will only 
> run as root.
> 
> It is obviously not safe to run Tomcat as root, but I 
> absolutely have to get my app back up.  Any more suggestions 
> are greatly appreciated.
> 
> Thanks.
> Denise
> 
> 
> -Original Message-
> From: Denise Mangano
> Sent: Friday, September 19, 2003 3:20 PM
> To: Tomcat Users List
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent! 
> Cannot start Tomcat - java.lang.OutOfMemoryError]
> 
> 
> Filip .. Sorry - this was in my original post:
> 
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27
> Sep 19, 2003 9:01:25 AM 
> org.apache.struts.util.PropertyMessageResources
> 
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true
> Sep 19, 2003 9:01:25 AM 
> org.apache.struts.util.PropertyMessageResources
> 
> INFO: Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true
> Sep 19, 2003 9:01:26 AM 
> org.apache.struts.util.PropertyMessageResources
> 
> INFO: Initializing, 
> config='org.apache.webapp.admin.ApplicationResources', 
> returnNull=true Exception during startup processing 
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.jav
> a:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessor
> Impl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> 
> Caused by: java.lang.OutOfMemoryError: unable to create new 
> native thread
> at java.lang.Thread.start(Native Method)
> at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable. t>(ThreadP
> ool.java:582)
> at 
> org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPo
> ol.java:46
> 0)
> at
> org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:179)
> at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolT
> cpEndpoint
> .java:300)
> at
> org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:161)
> at 
> org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnecto
> r.java:118
> 0)
> at
> org.apache.catalina.core.StandardService.start(StandardService
> .java:506)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer.j
> ava:2190)
> at 
> org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> at
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> at
> org.apache.catalina.startup.

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
Why would this happen suddenly though?  Tomcat was running fine before.
Unfortunately switching OS is not an option.  So this sounds like a
linux problem?

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 4:39 PM
To: Tomcat Users List
Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


the problem is somewhere in the native JVM.
It fails when trying to create a native thread on the OS level as a noon
root user. All I can say is, switch OS :)

Filip
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 1:15 PM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


I know I've flooded the list about this, and I appreciate everyone's
help but I am at a complete loss.  I even restored from backup tape and
the same thing is happening.  I reinstalled tomcat, reinstalled j2sdk,
yet Tomcat will only run as root.

It is obviously not safe to run Tomcat as root, but I absolutely have to
get my app back up.  Any more suggestions are greatly appreciated.

Thanks.
Denise


-Original Message-
From: Denise Mangano
Sent: Friday, September 19, 2003 3:20 PM
To: Tomcat Users List
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


Filip .. Sorry - this was in my original post:

Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Sep 19, 2003 9:01:26 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Exception during startup processing
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Caused by: java.lang.OutOfMemoryError: unable to create new native
thread
at java.lang.Thread.start(Native Method)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.(ThreadP
ool.java:582)
at
org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:46
0)
at
org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:179)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint
.java:300)
at
org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:161)
at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:118
0)
at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
    ... 5 more

Exception in thread "main" java.lang.OutOfMemoryError: unable to create
new native thread
at java.lang.Thread.start(Native Method)
at java.lang.Shutdown.runHooks(Shutdown.java:126)
at java.lang.Shutdown.sequence(Shutdown.java:165)
at java.lang.Shutdown.exit(Shutdown.java:210)
at java.lang.Runtime.exit(Runtime.java:90)
at java.lang.System.exit(System.java:715)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:208)

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 3:16 PM
To: Tomcat Users List
Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


stack traces and log entries are always helpful
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 12:10 PM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


By executing your command, it gave rwx access to everyone, and I still
cannot run Tomcat as another user.  The only user that

Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Filip Hanik
the problem is somewhere in the native JVM.
It fails when trying to create a native thread on the OS level as a noon
root user.
All I can say is, switch OS :)

Filip
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 1:15 PM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


I know I've flooded the list about this, and I appreciate everyone's
help but I am at a complete loss.  I even restored from backup tape and
the same thing is happening.  I reinstalled tomcat, reinstalled j2sdk,
yet Tomcat will only run as root.

It is obviously not safe to run Tomcat as root, but I absolutely have to
get my app back up.  Any more suggestions are greatly appreciated.

Thanks.
Denise


-Original Message-
From: Denise Mangano
Sent: Friday, September 19, 2003 3:20 PM
To: Tomcat Users List
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


Filip .. Sorry - this was in my original post:

Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Sep 19, 2003 9:01:26 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Exception during startup processing
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Caused by: java.lang.OutOfMemoryError: unable to create new native
thread
at java.lang.Thread.start(Native Method)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.(ThreadP
ool.java:582)
at
org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:46
0)
at
org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:179)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint
.java:300)
at
org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:161)
at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:118
0)
at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
    ... 5 more

Exception in thread "main" java.lang.OutOfMemoryError: unable to create
new native thread
at java.lang.Thread.start(Native Method)
at java.lang.Shutdown.runHooks(Shutdown.java:126)
at java.lang.Shutdown.sequence(Shutdown.java:165)
at java.lang.Shutdown.exit(Shutdown.java:210)
at java.lang.Runtime.exit(Runtime.java:90)
at java.lang.System.exit(System.java:715)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:208)

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 3:16 PM
To: Tomcat Users List
Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


stack traces and log entries are always helpful
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 12:10 PM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


By executing your command, it gave rwx access to everyone, and I still
cannot run Tomcat as another user.  The only user that will start Tomcat
successfully and remain running is root.  All other users get the java
errors (OutofMemoryError & InvocationTargetException)

I'm at a loss...

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 3:04 PM
To: Tomcat Users List
Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


s

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
I know I've flooded the list about this, and I appreciate everyone's
help but I am at a complete loss.  I even restored from backup tape and
the same thing is happening.  I reinstalled tomcat, reinstalled j2sdk,
yet Tomcat will only run as root.

It is obviously not safe to run Tomcat as root, but I absolutely have to
get my app back up.  Any more suggestions are greatly appreciated. 

Thanks.
Denise 


-Original Message-
From: Denise Mangano 
Sent: Friday, September 19, 2003 3:20 PM
To: Tomcat Users List
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


Filip .. Sorry - this was in my original post:

Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Sep 19, 2003 9:01:26 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Exception during startup processing
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Caused by: java.lang.OutOfMemoryError: unable to create new native
thread
at java.lang.Thread.start(Native Method)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.(ThreadP
ool.java:582)
at
org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:46
0)
at
org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:179)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint
.java:300)
at
org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:161)
at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:118
0)
at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
    ... 5 more

Exception in thread "main" java.lang.OutOfMemoryError: unable to create
new native thread
at java.lang.Thread.start(Native Method)
at java.lang.Shutdown.runHooks(Shutdown.java:126)
at java.lang.Shutdown.sequence(Shutdown.java:165)
at java.lang.Shutdown.exit(Shutdown.java:210)
at java.lang.Runtime.exit(Runtime.java:90)
at java.lang.System.exit(System.java:715)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:208)

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 3:16 PM
To: Tomcat Users List
Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


stack traces and log entries are always helpful
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 12:10 PM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


By executing your command, it gave rwx access to everyone, and I still
cannot run Tomcat as another user.  The only user that will start Tomcat
successfully and remain running is root.  All other users get the java
errors (OutofMemoryError & InvocationTargetException)

I'm at a loss...

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 3:04 PM
To: Tomcat Users List
Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


so if you do

chmod -R 777 /usr/local/jakarta-tomcat-4.1.27

you can't run it as another user?

Filip
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 12:02 PM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


Actually the tomcat-users.xml.new does not exist... Perhaps it

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
Filip .. Sorry - this was in my original post:

Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Sep 19, 2003 9:01:26 AM org.apache.struts.util.PropertyMessageResources

INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Exception during startup processing
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Caused by: java.lang.OutOfMemoryError: unable to create new native
thread
at java.lang.Thread.start(Native Method)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.(ThreadP
ool.java:582)
at
org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:46
0)
at
org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:179)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint
.java:300)
at
org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:161)
at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:118
0)
at
org.apache.catalina.core.StandardService.start(StandardService.java:506)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
... 5 more

Exception in thread "main" java.lang.OutOfMemoryError: unable to create
new native thread
at java.lang.Thread.start(Native Method)
at java.lang.Shutdown.runHooks(Shutdown.java:126)
at java.lang.Shutdown.sequence(Shutdown.java:165)
at java.lang.Shutdown.exit(Shutdown.java:210)
at java.lang.Runtime.exit(Runtime.java:90)
at java.lang.System.exit(System.java:715)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:208)

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 3:16 PM
To: Tomcat Users List
Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


stack traces and log entries are always helpful
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 12:10 PM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


By executing your command, it gave rwx access to everyone, and I still
cannot run Tomcat as another user.  The only user that will start Tomcat
successfully and remain running is root.  All other users get the java
errors (OutofMemoryError & InvocationTargetException)

I'm at a loss...

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 3:04 PM
To: Tomcat Users List
Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


so if you do

chmod -R 777 /usr/local/jakarta-tomcat-4.1.27

you can't run it as another user?

Filip
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 12:02 PM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


Actually the tomcat-users.xml.new does not exist... Perhaps it's a
temporary file that gets created as Tomcat starts?? There is a
tomcat-users.xml which I added the user into.  I added write permissions
to the conf directory for the owner, and when I went to start Tomcat I
was right back where I started with the Out of Memory errors...

I can start Tomcat as root, and it runs fine.  I changed owner to a
couple of different users & tried running, but same errors occur.  So it
appears that I can only start and run Tomcat as root.  This is obviously
not a good thing to do.  I feel as I am back to square one... Does
anyone please have any suggestions?

Thank you.

Denise Mangano
Co

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot startTomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
By the way - there have been no changes to my server.xml - Tomcat is
listening to port 8080 (even though it gets passed control from apache
in a live setting)

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Denise Mangano 
Sent: Friday, September 19, 2003 3:16 PM
To: Tomcat Users List
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot
startTomcat - java.lang.OutOfMemoryError]


I did as you suggested and this is my output:
[EMAIL PROTECTED] boot]# ll vmlinuz*
lrwxrwxrwx1 root root   16 Aug 19 14:02 vmlinuz ->
vmlinuz-2.4.18-3
-rw-r--r--1 root root  1030147 Apr 18  2002 vmlinuz-2.4.18-3
[EMAIL PROTECTED] boot]# uname -r
2.4.18-3


I find it very strange that root can run it fine, but no one else can. I
would automatically think permission issue, but even when I had rwx for
everyone I still could only run it as root.  When I try to run as anyone
else I got those two java errors, and the processes would start, but
would disappear in a few seconds.

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Timothy Halloran [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 3:12 PM
To: Tomcat Users List
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot
startTomcat - java.lang.OutOfMemoryError]


On Fri, 2003-09-19 at 15:02, Denise Mangano wrote:
> Actually the tomcat-users.xml.new does not exist... Perhaps it's a
> temporary file that gets created as Tomcat starts?? There is a 
> tomcat-users.xml which I added the user into.  I added write 
> permissions to the conf directory for the owner, and when I went to 
> start Tomcat I was right back where I started with the Out of Memory 
> errors...

Clearly you had a permissions problem, I looked at the code pointed to
by your exception trace -- but you got there quicker :-)

> I can start Tomcat as root, and it runs fine.  I changed owner to a
> couple of different users & tried running, but same errors occur.  So 
> it appears that I can only start and run Tomcat as root.  This is 
> obviously not a good thing to do.  I feel as I am back to square 
> one... Does anyone please have any suggestions?

OK, double check that you are running the same Linux kernel -- go to
your "/boot" directory and look at all your kernels vmlinuz-(version
strings).  You should get something like:

{gs06:/boot} ll vmlinuz*
lrwxrwxrwx1 root root   19 Aug 20 18:12 vmlinuz ->
vmlinuz-2.4.20-20.9
-rw-r--r--1 root root 1.1M Aug 18 11:57
vmlinuz-2.4.20-20.9
-rw-r--r--1 root root 1.2M Aug 18 11:44
vmlinuz-2.4.20-20.9smp
{gs06:/boot}

I have two kernels (one SMP one single processor)

To determine the current version use "uname -r"

I get:

{gs06:/boot} uname -r
2.4.20-20.9smp


If you have a bunch and the file date looks more recent than your last
reboot you might try booting with the earlier kernel (pick it in lilo
menu -- I think RH7.3 used Lilo.

If no changes...we'll need to think of something else.

> Thank you.
> 
> Denise Mangano
> Complus Data Innovations, Inc.
> 914-747-1200
> 
> 
> -Original Message-
> From: Filip Hanik [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 2:56 PM
> To: Tomcat Users List
> Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start 
> Tomcat - java.lang.OutOfMemoryError]
> 
> 
> not sure what is is, but shouldn't the file
> /usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new
> 
> be named /usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml
> 
> try to rename it and start again
> Filip
> - Original Message -
> From: "Denise Mangano" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, September 19, 2003 11:55 AM
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
> Tomcat - java.lang.OutOfMemoryError]
> 
> 
> Sorry - didn't mean to send that yet...
> 
> This is the output I am getting in catalina.out
> 
> Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry
> loadRegistry
> INFO: Loading registry information
> Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry
getRegistry
> INFO: Creating new Registry instance
> Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> Sep 19, 2003 2:54:19 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on port 8080
> GlobalResourcesLifecycleListener: Exception processing Global JNDI 
> Resources
> javax.naming.NamingException: 
> /usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
> denied)
> at
> org.apache.naming.Nami

Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Filip Hanik
stack traces and log entries are always helpful
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 12:10 PM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


By executing your command, it gave rwx access to everyone, and I still
cannot run Tomcat as another user.  The only user that will start Tomcat
successfully and remain running is root.  All other users get the java
errors (OutofMemoryError & InvocationTargetException)

I'm at a loss...

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 3:04 PM
To: Tomcat Users List
Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


so if you do

chmod -R 777 /usr/local/jakarta-tomcat-4.1.27

you can't run it as another user?

Filip
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 12:02 PM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


Actually the tomcat-users.xml.new does not exist... Perhaps it's a
temporary file that gets created as Tomcat starts?? There is a
tomcat-users.xml which I added the user into.  I added write permissions
to the conf directory for the owner, and when I went to start Tomcat I
was right back where I started with the Out of Memory errors...

I can start Tomcat as root, and it runs fine.  I changed owner to a
couple of different users & tried running, but same errors occur.  So it
appears that I can only start and run Tomcat as root.  This is obviously
not a good thing to do.  I feel as I am back to square one... Does
anyone please have any suggestions?

Thank you.

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 2:56 PM
To: Tomcat Users List
Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


not sure what is is, but shouldn't the file
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new

be named
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml

try to rename it and start again
Filip
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 11:55 AM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


Sorry - didn't mean to send that yet...

This is the output I am getting in catalina.out

Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Sep 19, 2003 2:54:19 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
GlobalResourcesLifecycleListener: Exception processing Global JNDI
Resources
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:214)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:181)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEve
nt(GlobalResourcesLifecycleListener.java:149)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:166)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
javax.naming.NamingException:
/usr/local/jakarta

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot startTomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
I did as you suggested and this is my output:
[EMAIL PROTECTED] boot]# ll vmlinuz*
lrwxrwxrwx1 root root   16 Aug 19 14:02 vmlinuz ->
vmlinuz-2.4.18-3
-rw-r--r--1 root root  1030147 Apr 18  2002 vmlinuz-2.4.18-3
[EMAIL PROTECTED] boot]# uname -r
2.4.18-3


I find it very strange that root can run it fine, but no one else can.
I would automatically think permission issue, but even when I had rwx
for everyone I still could only run it as root.  When I try to run as
anyone else I got those two java errors, and the processes would start,
but would disappear in a few seconds.

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Timothy Halloran [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 3:12 PM
To: Tomcat Users List
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot
startTomcat - java.lang.OutOfMemoryError]


On Fri, 2003-09-19 at 15:02, Denise Mangano wrote:
> Actually the tomcat-users.xml.new does not exist... Perhaps it's a 
> temporary file that gets created as Tomcat starts?? There is a 
> tomcat-users.xml which I added the user into.  I added write 
> permissions to the conf directory for the owner, and when I went to 
> start Tomcat I was right back where I started with the Out of Memory 
> errors...

Clearly you had a permissions problem, I looked at the code pointed to
by your exception trace -- but you got there quicker :-)

> I can start Tomcat as root, and it runs fine.  I changed owner to a 
> couple of different users & tried running, but same errors occur.  So 
> it appears that I can only start and run Tomcat as root.  This is 
> obviously not a good thing to do.  I feel as I am back to square 
> one... Does anyone please have any suggestions?

OK, double check that you are running the same Linux kernel -- go to
your "/boot" directory and look at all your kernels vmlinuz-(version
strings).  You should get something like:

{gs06:/boot} ll vmlinuz*
lrwxrwxrwx1 root root   19 Aug 20 18:12 vmlinuz ->
vmlinuz-2.4.20-20.9
-rw-r--r--1 root root 1.1M Aug 18 11:57
vmlinuz-2.4.20-20.9
-rw-r--r--1 root root 1.2M Aug 18 11:44
vmlinuz-2.4.20-20.9smp
{gs06:/boot}

I have two kernels (one SMP one single processor)

To determine the current version use "uname -r"

I get:

{gs06:/boot} uname -r
2.4.20-20.9smp


If you have a bunch and the file date looks more recent than your last
reboot you might try booting with the earlier kernel (pick it in lilo
menu -- I think RH7.3 used Lilo.

If no changes...we'll need to think of something else.

> Thank you.
> 
> Denise Mangano
> Complus Data Innovations, Inc.
> 914-747-1200
> 
> 
> -Original Message-
> From: Filip Hanik [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 2:56 PM
> To: Tomcat Users List
> Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
> Tomcat - java.lang.OutOfMemoryError]
> 
> 
> not sure what is is, but shouldn't the file 
> /usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new
> 
> be named /usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml
> 
> try to rename it and start again
> Filip
> - Original Message -
> From: "Denise Mangano" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, September 19, 2003 11:55 AM
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start 
> Tomcat - java.lang.OutOfMemoryError]
> 
> 
> Sorry - didn't mean to send that yet...
> 
> This is the output I am getting in catalina.out
> 
> Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry 
> loadRegistry
> INFO: Loading registry information
> Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry
getRegistry
> INFO: Creating new Registry instance
> Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> Sep 19, 2003 2:54:19 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on port 8080
> GlobalResourcesLifecycleListener: Exception processing Global JNDI
> Resources
> javax.naming.NamingException:
> /usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
> denied)
> at
> org.apache.naming.NamingContext.lookup(NamingContext.java:844)
> at
> org.apache.naming.NamingContext.lookup(NamingContext.java:194)
> at
>
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
> (GlobalResourcesLifecycleListener.java:214)
> at
>
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
> (GlobalResourcesLifecycleListener.java:181)
> at
>
org.apache.catalina.mbeans.Glob

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Timothy Halloran
On Fri, 2003-09-19 at 15:02, Denise Mangano wrote:
> Actually the tomcat-users.xml.new does not exist... Perhaps it's a
> temporary file that gets created as Tomcat starts?? There is a
> tomcat-users.xml which I added the user into.  I added write permissions
> to the conf directory for the owner, and when I went to start Tomcat I
> was right back where I started with the Out of Memory errors...

Clearly you had a permissions problem, I looked at the code pointed to
by your exception trace -- but you got there quicker :-)

> I can start Tomcat as root, and it runs fine.  I changed owner to a
> couple of different users & tried running, but same errors occur.  So it
> appears that I can only start and run Tomcat as root.  This is obviously
> not a good thing to do.  I feel as I am back to square one... Does
> anyone please have any suggestions?

OK, double check that you are running the same Linux kernel -- go to
your "/boot" directory and look at all your kernels vmlinuz-(version
strings).  You should get something like:

{gs06:/boot} ll vmlinuz*
lrwxrwxrwx1 root root   19 Aug 20 18:12 vmlinuz ->
vmlinuz-2.4.20-20.9
-rw-r--r--1 root root 1.1M Aug 18 11:57
vmlinuz-2.4.20-20.9
-rw-r--r--1 root root 1.2M Aug 18 11:44
vmlinuz-2.4.20-20.9smp
{gs06:/boot}

I have two kernels (one SMP one single processor)

To determine the current version use "uname -r"

I get:

{gs06:/boot} uname -r
2.4.20-20.9smp


If you have a bunch and the file date looks more recent than your last
reboot you might try booting with the earlier kernel (pick it in lilo
menu -- I think RH7.3 used Lilo.

If no changes...we'll need to think of something else.

> Thank you.
> 
> Denise Mangano
> Complus Data Innovations, Inc.
> 914-747-1200
> 
> 
> -Original Message-
> From: Filip Hanik [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 19, 2003 2:56 PM
> To: Tomcat Users List
> Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
> Tomcat - java.lang.OutOfMemoryError]
> 
> 
> not sure what is is, but shouldn't the file
> /usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new
> 
> be named
> /usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml
> 
> try to rename it and start again
> Filip
> - Original Message -
> From: "Denise Mangano" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Friday, September 19, 2003 11:55 AM
> Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
> Tomcat - java.lang.OutOfMemoryError]
> 
> 
> Sorry - didn't mean to send that yet...
> 
> This is the output I am getting in catalina.out
> 
> Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry loadRegistry
> INFO: Loading registry information
> Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getRegistry
> INFO: Creating new Registry instance
> Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> Sep 19, 2003 2:54:19 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on port 8080
> GlobalResourcesLifecycleListener: Exception processing Global JNDI
> Resources
> javax.naming.NamingException:
> /usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
> denied)
> at
> org.apache.naming.NamingContext.lookup(NamingContext.java:844)
> at
> org.apache.naming.NamingContext.lookup(NamingContext.java:194)
> at
> org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
> (GlobalResourcesLifecycleListener.java:214)
> at
> org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
> (GlobalResourcesLifecycleListener.java:181)
> at
> org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEve
> nt(GlobalResourcesLifecycleListener.java:149)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
> pport.java:166)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2183)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> at
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> at
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.apache.catali

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
By executing your command, it gave rwx access to everyone, and I still
cannot run Tomcat as another user.  The only user that will start Tomcat
successfully and remain running is root.  All other users get the java
errors (OutofMemoryError & InvocationTargetException)

I'm at a loss...

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 3:04 PM
To: Tomcat Users List
Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


so if you do

chmod -R 777 /usr/local/jakarta-tomcat-4.1.27

you can't run it as another user?

Filip
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 12:02 PM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


Actually the tomcat-users.xml.new does not exist... Perhaps it's a
temporary file that gets created as Tomcat starts?? There is a
tomcat-users.xml which I added the user into.  I added write permissions
to the conf directory for the owner, and when I went to start Tomcat I
was right back where I started with the Out of Memory errors...

I can start Tomcat as root, and it runs fine.  I changed owner to a
couple of different users & tried running, but same errors occur.  So it
appears that I can only start and run Tomcat as root.  This is obviously
not a good thing to do.  I feel as I am back to square one... Does
anyone please have any suggestions?

Thank you.

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 2:56 PM
To: Tomcat Users List
Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


not sure what is is, but shouldn't the file
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new

be named
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml

try to rename it and start again
Filip
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 11:55 AM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


Sorry - didn't mean to send that yet...

This is the output I am getting in catalina.out

Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Sep 19, 2003 2:54:19 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
GlobalResourcesLifecycleListener: Exception processing Global JNDI
Resources
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:214)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:181)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEve
nt(GlobalResourcesLifecycleListener.java:149)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:166)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at
org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java
:302)
at
org.apache.catalina.core.Cont

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Shapira, Yoav

Howdy,
Make sure the tomcat user has write permissions to the directory where
tomcat-users.xml is located as well as the file itself.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Denise Mangano [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 19, 2003 3:03 PM
>To: Tomcat Users List
>Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
>Tomcat - java.lang.OutOfMemoryError]
>
>Actually the tomcat-users.xml.new does not exist... Perhaps it's a
>temporary file that gets created as Tomcat starts?? There is a
>tomcat-users.xml which I added the user into.  I added write
permissions
>to the conf directory for the owner, and when I went to start Tomcat I
>was right back where I started with the Out of Memory errors...
>
>I can start Tomcat as root, and it runs fine.  I changed owner to a
>couple of different users & tried running, but same errors occur.  So
it
>appears that I can only start and run Tomcat as root.  This is
obviously
>not a good thing to do.  I feel as I am back to square one... Does
>anyone please have any suggestions?
>
>Thank you.
>
>Denise Mangano
>Complus Data Innovations, Inc.
>914-747-1200
>
>
>-Original Message-
>From: Filip Hanik [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 19, 2003 2:56 PM
>To: Tomcat Users List
>Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
>Tomcat - java.lang.OutOfMemoryError]
>
>
>not sure what is is, but shouldn't the file
>/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new
>
>be named
>/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml
>
>try to rename it and start again
>Filip
>- Original Message -
>From: "Denise Mangano" <[EMAIL PROTECTED]>
>To: "Tomcat Users List" <[EMAIL PROTECTED]>
>Sent: Friday, September 19, 2003 11:55 AM
>Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
>Tomcat - java.lang.OutOfMemoryError]
>
>
>Sorry - didn't mean to send that yet...
>
>This is the output I am getting in catalina.out
>
>Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry
loadRegistry
>INFO: Loading registry information
>Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getRegistry
>INFO: Creating new Registry instance
>Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getServer
>INFO: Creating MBeanServer
>Sep 19, 2003 2:54:19 PM org.apache.coyote.http11.Http11Protocol init
>INFO: Initializing Coyote HTTP/1.1 on port 8080
>GlobalResourcesLifecycleListener: Exception processing Global JNDI
>Resources
>javax.naming.NamingException:
>/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
>denied)
>at
>org.apache.naming.NamingContext.lookup(NamingContext.java:844)
>at
>org.apache.naming.NamingContext.lookup(NamingContext.java:194)
>at
>org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBean
s
>(GlobalResourcesLifecycleListener.java:214)
>at
>org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBean
s
>(GlobalResourcesLifecycleListener.java:181)
>at
>org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEv
e
>nt(GlobalResourcesLifecycleListener.java:149)
>at
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
u
>pport.java:166)
>at
>org.apache.catalina.core.StandardServer.start(StandardServer.java:2183)
>at
org.apache.catalina.startup.Catalina.start(Catalina.java:512)
>at
>org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>at
>org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
v
>a:39)
>at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
r
>Impl.java:25)
>at java.lang.reflect.Method.invoke(Method.java:324)
>at
>org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>Starting service Tomcat-Standalone
>Apache Tomcat/4.1.27
>javax.naming.NamingException:
>/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
>denied)
>at
>org.apache.naming.NamingContext.lookup(NamingContext.java:844)
>at
>org.apache.naming.NamingContext.lookup(NamingContext.java:194)
>at
>org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.jav
a
>:302)
>at
>org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
>at
>org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)

Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Filip Hanik
so if you do

chmod -R 777 /usr/local/jakarta-tomcat-4.1.27

you can't run it as another user?

Filip
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 12:02 PM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


Actually the tomcat-users.xml.new does not exist... Perhaps it's a
temporary file that gets created as Tomcat starts?? There is a
tomcat-users.xml which I added the user into.  I added write permissions
to the conf directory for the owner, and when I went to start Tomcat I
was right back where I started with the Out of Memory errors...

I can start Tomcat as root, and it runs fine.  I changed owner to a
couple of different users & tried running, but same errors occur.  So it
appears that I can only start and run Tomcat as root.  This is obviously
not a good thing to do.  I feel as I am back to square one... Does
anyone please have any suggestions?

Thank you.

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 2:56 PM
To: Tomcat Users List
Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


not sure what is is, but shouldn't the file
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new

be named
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml

try to rename it and start again
Filip
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 11:55 AM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


Sorry - didn't mean to send that yet...

This is the output I am getting in catalina.out

Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Sep 19, 2003 2:54:19 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
GlobalResourcesLifecycleListener: Exception processing Global JNDI
Resources
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:214)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:181)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEve
nt(GlobalResourcesLifecycleListener.java:149)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:166)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at
org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java
:302)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
s

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
Actually the tomcat-users.xml.new does not exist... Perhaps it's a
temporary file that gets created as Tomcat starts?? There is a
tomcat-users.xml which I added the user into.  I added write permissions
to the conf directory for the owner, and when I went to start Tomcat I
was right back where I started with the Out of Memory errors...

I can start Tomcat as root, and it runs fine.  I changed owner to a
couple of different users & tried running, but same errors occur.  So it
appears that I can only start and run Tomcat as root.  This is obviously
not a good thing to do.  I feel as I am back to square one... Does
anyone please have any suggestions?

Thank you.

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 2:56 PM
To: Tomcat Users List
Subject: Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


not sure what is is, but shouldn't the file
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new

be named
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml

try to rename it and start again
Filip
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 11:55 AM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


Sorry - didn't mean to send that yet...

This is the output I am getting in catalina.out

Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Sep 19, 2003 2:54:19 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
GlobalResourcesLifecycleListener: Exception processing Global JNDI
Resources
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:214)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:181)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEve
nt(GlobalResourcesLifecycleListener.java:149)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:166)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at
org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java
:302)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
UserDatabaseRealm[Standalone]: Exception looking up UserDatabase under
key UserDatabase
javax.naming.Nam

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread King,Daniel
A problem I have experienced over the years with WebLogic, is that I will run it as a 
non root user such as 'weblogic'.  To do so, I will change owner for the whole 
directory where WebLogic is stored.  Then when trouble shooting I forget and run the 
server as root, which causes it to create a variety of configuration and log files as 
owned by root.  Then when I subsequently try to run the server as weblogic, it fails, 
because user 'weblogic' does not have privileges on the files created by root.  I am 
relatively new to Tomcat, but I suspect that the same thing can happen.

-Original Message- 
From: Denise Mangano [mailto:[EMAIL PROTECTED] 
Sent: Fri 9/19/2003 11:33 AM 
To: Tomcat Users List 
Cc: 
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError



I think it might be safe to assume the problem was with the user I was
running tomcat as, if that makes any sense at all???  After I did what I
said below, I realized that I was testing this out as root, and I should
try it as other users.  I tried it with my login, and I can start Tomcat
just fine...  I tried it with the user that was running it previously,
and that is when Tomcat will not start and I get the same errors...

Is it possible for a user to become corrupt??

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Denise Mangano
Sent: Friday, September 19, 2003 12:18 PM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


I did as you all suggested, and installed a second instance of tomcat.
Without changing anything in the configuration, and using the default
example webapps everything worked fine.  So instead of trying to map my
webapp to run off this second instance, I backed up the existing tomcat
installation and moved the working one to the original location.  I am
not sure if doing so was a newbie mistake, but it is still working fine,
and I can run all the examples.

So is it safe to assume that the problem was with Tomcat?  If so, how
can I begin to find out exactly what happened...

I have a few concerns before I start adding back my config and
webapps
1.  I would like to test my java app to make sure that the program is
not causing (or will not cause) the out of memory error. 2.  What is the
best procedures for restoring my configuration?  I'm concerned that
possibly something in my config allowed this to happen...

Thanks again to everyone for their help.

Denise


-Original Message-
From: Denise Mangano
Sent: Friday, September 19, 2003 11:37 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


Ok, here is something interesting  

I wanted to follow Ralph's suggestion of trimming down Tomcat's config,
but I wasn't exactly sure what I could or couldn't touch in server.xml.
So what I did was backuped up my server.xml - then renamed the
server-noexamples.xml.config (shipped with the distro) to server.xml and
attempted to start Tomcat Wouldn't you know it, Tomcat started, AND
I can get to www.mysite.com:8080

I tried to stop it, and restart it again - and now I am getting the same
errors...  Does that shed any light? Or should I go with the second
install of Tomcat?

Thanks again so much for everyone's posts.

Denise


-Original Message-
From: Timothy Halloran [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 11:25 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
> The filesystem check returns that everything is clean.
>
> I ran the test versions of the java programs that are part of my
> webapp from the command line, and the program executes without a
> hitch.  It makes a URL connection to a remote server and sends data,
> and then receives a response...  So I would assume there is no problem

> with the java installation??
>
> How do I load a second instance of Tomcat without it interfering with
> the current installation?

Use the "TGZ" version not "RPM" and put it in a

Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Filip Hanik
not sure what is is, but shouldn't the file
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new

be named
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml

try to rename it and start again
Filip
- Original Message -
From: "Denise Mangano" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 11:55 AM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


Sorry - didn't mean to send that yet...

This is the output I am getting in catalina.out

Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Sep 19, 2003 2:54:19 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
GlobalResourcesLifecycleListener: Exception processing Global JNDI
Resources
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:214)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:181)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEve
nt(GlobalResourcesLifecycleListener.java:149)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:166)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at
org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java
:302)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
UserDatabaseRealm[Standalone]: Exception looking up UserDatabase under
key UserDatabase
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at
org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java
:302)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
s

RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano
Sorry - didn't mean to send that yet...

This is the output I am getting in catalina.out

Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Sep 19, 2003 2:54:19 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
GlobalResourcesLifecycleListener: Exception processing Global JNDI
Resources
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:214)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:181)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEve
nt(GlobalResourcesLifecycleListener.java:149)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:166)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at
org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java
:302)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
UserDatabaseRealm[Standalone]: Exception looking up UserDatabase under
key UserDatabase
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at
org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at
org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java
:302)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Catalina.start: LifecycleException:  No UserDatabase component found
under key UserDatabase
LifecycleException:  No UserDatabase component found under key
UserDatabase
at
org.apache.catalina.realm.UserDatabaseRealm.start(

Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]

2003-09-19 Thread Denise Mangano


Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Denise Mangano 
Sent: Friday, September 19, 2003 2:03 PM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


I restored my Tomcat Installation to the way it was previously with my
config and webapps.  I am going to delete the user 'tomcat'.  I am going
to create a new user to run Tomcat as.  My question now is, should I
make any special settings for this user (i.e.  Such as Ralph had
suggested: ulimit -s 2048  export LD_ASSUME_KERNEL=2.2.5)?

Thanks!!

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 1:40 PM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError



Howdy,
It's very a possible for a user to have much lower ulimit/thread
limit/kernel sym version settings than root does...

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Denise Mangano [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 19, 2003 1:33 PM
>To: Tomcat Users List
>Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>
>I think it might be safe to assume the problem was with the user I was
>running tomcat as, if that makes any sense at all???  After I did what
I
>said below, I realized that I was testing this out as root, and I
should
>try it as other users.  I tried it with my login, and I can start
Tomcat
>just fine...  I tried it with the user that was running it previously,
>and that is when Tomcat will not start and I get the same errors...
>
>Is it possible for a user to become corrupt??
>
>Denise Mangano
>Complus Data Innovations, Inc.
>914-747-1200
>
>
>-Original Message-
>From: Denise Mangano
>Sent: Friday, September 19, 2003 12:18 PM
>To: Tomcat Users List
>Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>
>
>I did as you all suggested, and installed a second instance of tomcat.
>Without changing anything in the configuration, and using the default 
>example webapps everything worked fine.  So instead of trying to map my

>webapp to run off this second instance, I backed up the existing tomcat

>installation and moved the working one to the original location.  I am
>not sure if doing so was a newbie mistake, but it is still working
fine,
>and I can run all the examples.
>
>So is it safe to assume that the problem was with Tomcat?  If so, how
>can I begin to find out exactly what happened...
>
>I have a few concerns before I start adding back my config and
>webapps 1.  I would like to test my java app to make sure that the 
>program is not causing (or will not cause) the out of memory error. 2.

>What is
the
>best procedures for restoring my configuration?  I'm concerned that
>possibly something in my config allowed this to happen...
>
>Thanks again to everyone for their help.
>
>Denise
>
>
>-Original Message-
>From: Denise Mangano
>Sent: Friday, September 19, 2003 11:37 AM
>To: Tomcat Users List
>Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>
>
>Ok, here is something interesting 
>
>I wanted to follow Ralph's suggestion of trimming down Tomcat's config,

>but I wasn't exactly sure what I could or couldn't touch in server.xml.

>So what I did was backuped up my server.xml - then renamed the
>server-noexamples.xml.config (shipped with the distro) to server.xml
and
>attempted to start Tomcat Wouldn't you know it, Tomcat started, AND

>I can get to www.mysite.com:8080
>
>I tried to stop it, and restart it again - and now I am getting the
same
>errors...  Does that shed any light? Or should I go with the second
>install of Tomcat?
>
>Thanks again so much for everyone's posts.
>
>Denise
>
>
>-Original Message-
>From: Timothy Halloran [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 19, 2003 11:25 AM
>To: Tomcat Users List
>Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>
>
>On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
>> The filesystem check returns that everything is clean.
>>
>> I ran the test versions of the java programs that are part of my
>> webapp from the command line, and the program executes without a 
>> hitch.  It makes a URL connection to a remote server and sends data, 
>> and then receives a response...  So I would assume there is no
problem
>
>> with the java installation??
>>
>> How do I load a second instance of Tomcat without it interfering with

>> the current installation?
>
>Use the "

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
I restored my Tomcat Installation to the way it was previously with my
config and webapps.  I am going to delete the user 'tomcat'.  I am going
to create a new user to run Tomcat as.  My question now is, should I
make any special settings for this user (i.e.  Such as Ralph had
suggested: ulimit -s 2048  export LD_ASSUME_KERNEL=2.2.5)?

Thanks!!

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 1:40 PM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError



Howdy,
It's very a possible for a user to have much lower ulimit/thread
limit/kernel sym version settings than root does...

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Denise Mangano [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 19, 2003 1:33 PM
>To: Tomcat Users List
>Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>
>I think it might be safe to assume the problem was with the user I was 
>running tomcat as, if that makes any sense at all???  After I did what
I
>said below, I realized that I was testing this out as root, and I
should
>try it as other users.  I tried it with my login, and I can start
Tomcat
>just fine...  I tried it with the user that was running it previously, 
>and that is when Tomcat will not start and I get the same errors...
>
>Is it possible for a user to become corrupt??
>
>Denise Mangano
>Complus Data Innovations, Inc.
>914-747-1200
>
>
>-Original Message-
>From: Denise Mangano
>Sent: Friday, September 19, 2003 12:18 PM
>To: Tomcat Users List
>Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>
>
>I did as you all suggested, and installed a second instance of tomcat. 
>Without changing anything in the configuration, and using the default 
>example webapps everything worked fine.  So instead of trying to map my

>webapp to run off this second instance, I backed up the existing tomcat

>installation and moved the working one to the original location.  I am 
>not sure if doing so was a newbie mistake, but it is still working
fine,
>and I can run all the examples.
>
>So is it safe to assume that the problem was with Tomcat?  If so, how 
>can I begin to find out exactly what happened...
>
>I have a few concerns before I start adding back my config and 
>webapps 1.  I would like to test my java app to make sure that the 
>program is not causing (or will not cause) the out of memory error. 2.

>What is
the
>best procedures for restoring my configuration?  I'm concerned that 
>possibly something in my config allowed this to happen...
>
>Thanks again to everyone for their help.
>
>Denise
>
>
>-Original Message-
>From: Denise Mangano
>Sent: Friday, September 19, 2003 11:37 AM
>To: Tomcat Users List
>Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>
>
>Ok, here is something interesting 
>
>I wanted to follow Ralph's suggestion of trimming down Tomcat's config,

>but I wasn't exactly sure what I could or couldn't touch in server.xml.

>So what I did was backuped up my server.xml - then renamed the 
>server-noexamples.xml.config (shipped with the distro) to server.xml
and
>attempted to start Tomcat Wouldn't you know it, Tomcat started, AND

>I can get to www.mysite.com:8080
>
>I tried to stop it, and restart it again - and now I am getting the
same
>errors...  Does that shed any light? Or should I go with the second 
>install of Tomcat?
>
>Thanks again so much for everyone's posts.
>
>Denise
>
>
>-Original Message-
>From: Timothy Halloran [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 19, 2003 11:25 AM
>To: Tomcat Users List
>Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>
>
>On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
>> The filesystem check returns that everything is clean.
>>
>> I ran the test versions of the java programs that are part of my 
>> webapp from the command line, and the program executes without a 
>> hitch.  It makes a URL connection to a remote server and sends data, 
>> and then receives a response...  So I would assume there is no
problem
>
>> with the java installation??
>>
>> How do I load a second instance of Tomcat without it interfering with

>> the current installation?
>
>Use the "TGZ" version not "RPM" and put it in another
directory...you'll
>have to change some variables (as I recall) and save your others.  Just

>run the second tomcat as your local user.  I haven't done this in 

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Shapira, Yoav

Howdy,
It's very a possible for a user to have much lower ulimit/thread
limit/kernel sym version settings than root does...

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Denise Mangano [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 19, 2003 1:33 PM
>To: Tomcat Users List
>Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>
>I think it might be safe to assume the problem was with the user I was
>running tomcat as, if that makes any sense at all???  After I did what
I
>said below, I realized that I was testing this out as root, and I
should
>try it as other users.  I tried it with my login, and I can start
Tomcat
>just fine...  I tried it with the user that was running it previously,
>and that is when Tomcat will not start and I get the same errors...
>
>Is it possible for a user to become corrupt??
>
>Denise Mangano
>Complus Data Innovations, Inc.
>914-747-1200
>
>
>-Original Message-
>From: Denise Mangano
>Sent: Friday, September 19, 2003 12:18 PM
>To: Tomcat Users List
>Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>
>
>I did as you all suggested, and installed a second instance of tomcat.
>Without changing anything in the configuration, and using the default
>example webapps everything worked fine.  So instead of trying to map my
>webapp to run off this second instance, I backed up the existing tomcat
>installation and moved the working one to the original location.  I am
>not sure if doing so was a newbie mistake, but it is still working
fine,
>and I can run all the examples.
>
>So is it safe to assume that the problem was with Tomcat?  If so, how
>can I begin to find out exactly what happened...
>
>I have a few concerns before I start adding back my config and
>webapps
>1.  I would like to test my java app to make sure that the program is
>not causing (or will not cause) the out of memory error. 2.  What is
the
>best procedures for restoring my configuration?  I'm concerned that
>possibly something in my config allowed this to happen...
>
>Thanks again to everyone for their help.
>
>Denise
>
>
>-Original Message-
>From: Denise Mangano
>Sent: Friday, September 19, 2003 11:37 AM
>To: Tomcat Users List
>Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>
>
>Ok, here is something interesting 
>
>I wanted to follow Ralph's suggestion of trimming down Tomcat's config,
>but I wasn't exactly sure what I could or couldn't touch in server.xml.
>So what I did was backuped up my server.xml - then renamed the
>server-noexamples.xml.config (shipped with the distro) to server.xml
and
>attempted to start Tomcat Wouldn't you know it, Tomcat started, AND
>I can get to www.mysite.com:8080
>
>I tried to stop it, and restart it again - and now I am getting the
same
>errors...  Does that shed any light? Or should I go with the second
>install of Tomcat?
>
>Thanks again so much for everyone's posts.
>
>Denise
>
>
>-Original Message-
>From: Timothy Halloran [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 19, 2003 11:25 AM
>To: Tomcat Users List
>Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>
>
>On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
>> The filesystem check returns that everything is clean.
>>
>> I ran the test versions of the java programs that are part of my
>> webapp from the command line, and the program executes without a
>> hitch.  It makes a URL connection to a remote server and sends data,
>> and then receives a response...  So I would assume there is no
problem
>
>> with the java installation??
>>
>> How do I load a second instance of Tomcat without it interfering with
>> the current installation?
>
>Use the "TGZ" version not "RPM" and put it in another
directory...you'll
>have to change some variables (as I recall) and save your others.  Just
>run the second tomcat as your local user.  I haven't done this in a
>while but it works fine as long as you don't run them together (if you
>do you'll need to change ports and such).
>
>> Thanks!
>>
>> Denise Mangano
>> Complus Data Innovations, Inc.
>> 914-747-1200
>>
>>
>> -Original Message-
>> From: Timothy Halloran [mailto:[EMAIL PROTECTED]
>> Sent: Friday, September 19, 2003 10:43 AM
>> To: Tomcat Users List
>> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>>
>>
>> RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd
do
>
>> a complete FSCHK

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
I think it might be safe to assume the problem was with the user I was
running tomcat as, if that makes any sense at all???  After I did what I
said below, I realized that I was testing this out as root, and I should
try it as other users.  I tried it with my login, and I can start Tomcat
just fine...  I tried it with the user that was running it previously,
and that is when Tomcat will not start and I get the same errors...

Is it possible for a user to become corrupt??

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Denise Mangano 
Sent: Friday, September 19, 2003 12:18 PM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


I did as you all suggested, and installed a second instance of tomcat.
Without changing anything in the configuration, and using the default
example webapps everything worked fine.  So instead of trying to map my
webapp to run off this second instance, I backed up the existing tomcat
installation and moved the working one to the original location.  I am
not sure if doing so was a newbie mistake, but it is still working fine,
and I can run all the examples.

So is it safe to assume that the problem was with Tomcat?  If so, how
can I begin to find out exactly what happened...

I have a few concerns before I start adding back my config and
webapps 
1.  I would like to test my java app to make sure that the program is
not causing (or will not cause) the out of memory error. 2.  What is the
best procedures for restoring my configuration?  I'm concerned that
possibly something in my config allowed this to happen...

Thanks again to everyone for their help.

Denise 


-Original Message-
From: Denise Mangano 
Sent: Friday, September 19, 2003 11:37 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


Ok, here is something interesting   

I wanted to follow Ralph's suggestion of trimming down Tomcat's config,
but I wasn't exactly sure what I could or couldn't touch in server.xml.
So what I did was backuped up my server.xml - then renamed the
server-noexamples.xml.config (shipped with the distro) to server.xml and
attempted to start Tomcat Wouldn't you know it, Tomcat started, AND
I can get to www.mysite.com:8080

I tried to stop it, and restart it again - and now I am getting the same
errors...  Does that shed any light? Or should I go with the second
install of Tomcat?

Thanks again so much for everyone's posts.

Denise 


-Original Message-
From: Timothy Halloran [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 11:25 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
> The filesystem check returns that everything is clean.
> 
> I ran the test versions of the java programs that are part of my 
> webapp from the command line, and the program executes without a 
> hitch.  It makes a URL connection to a remote server and sends data, 
> and then receives a response...  So I would assume there is no problem

> with the java installation??
> 
> How do I load a second instance of Tomcat without it interfering with 
> the current installation?

Use the "TGZ" version not "RPM" and put it in another directory...you'll
have to change some variables (as I recall) and save your others.  Just
run the second tomcat as your local user.  I haven't done this in a
while but it works fine as long as you don't run them together (if you
do you'll need to change ports and such).

> Thanks!
> 
> Denise Mangano
> Complus Data Innovations, Inc.
> 914-747-1200
> 
> 
> -Original Message-
> From: Timothy Halloran [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 10:43 AM
> To: Tomcat Users List
> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
> 
> 
> RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd do

> a complete FSCHK on all disks.
> 
> (1) Test some other Java applications...are they working?  If not 
> reinstall the RPM for the JRE you are using...try again.
> 
> (2) load up another copy of Tomcat in your user account?  Does this 
> work (don't try to run them together)?  If so...save your XML and 
> WEBAPP directories and reinstall Tomcat.
> 
> Good Luck.
-- 
Timothy Halloran <[EMAIL PROTECTED]>
Carnegie Mellon University

-
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]


-

RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
I did as you all suggested, and installed a second instance of tomcat.
Without changing anything in the configuration, and using the default
example webapps everything worked fine.  So instead of trying to map my
webapp to run off this second instance, I backed up the existing tomcat
installation and moved the working one to the original location.  I am
not sure if doing so was a newbie mistake, but it is still working fine,
and I can run all the examples.

So is it safe to assume that the problem was with Tomcat?  If so, how
can I begin to find out exactly what happened...

I have a few concerns before I start adding back my config and
webapps 
1.  I would like to test my java app to make sure that the program is
not causing (or will not cause) the out of memory error.
2.  What is the best procedures for restoring my configuration?  I'm
concerned that possibly something in my config allowed this to happen...

Thanks again to everyone for their help.

Denise 


-Original Message-
From: Denise Mangano 
Sent: Friday, September 19, 2003 11:37 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


Ok, here is something interesting   

I wanted to follow Ralph's suggestion of trimming down Tomcat's config,
but I wasn't exactly sure what I could or couldn't touch in server.xml.
So what I did was backuped up my server.xml - then renamed the
server-noexamples.xml.config (shipped with the distro) to server.xml and
attempted to start Tomcat Wouldn't you know it, Tomcat started, AND
I can get to www.mysite.com:8080

I tried to stop it, and restart it again - and now I am getting the same
errors...  Does that shed any light? Or should I go with the second
install of Tomcat?

Thanks again so much for everyone's posts.

Denise 


-Original Message-
From: Timothy Halloran [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 11:25 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
> The filesystem check returns that everything is clean.
> 
> I ran the test versions of the java programs that are part of my
> webapp from the command line, and the program executes without a 
> hitch.  It makes a URL connection to a remote server and sends data, 
> and then receives a response...  So I would assume there is no problem

> with the java installation??
> 
> How do I load a second instance of Tomcat without it interfering with
> the current installation?

Use the "TGZ" version not "RPM" and put it in another directory...you'll
have to change some variables (as I recall) and save your others.  Just
run the second tomcat as your local user.  I haven't done this in a
while but it works fine as long as you don't run them together (if you
do you'll need to change ports and such).

> Thanks!
> 
> Denise Mangano
> Complus Data Innovations, Inc.
> 914-747-1200
> 
> 
> -Original Message-
> From: Timothy Halloran [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 10:43 AM
> To: Tomcat Users List
> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
> 
> 
> RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd do

> a complete FSCHK on all disks.
> 
> (1) Test some other Java applications...are they working?  If not
> reinstall the RPM for the JRE you are using...try again.
> 
> (2) load up another copy of Tomcat in your user account?  Does this
> work (don't try to run them together)?  If so...save your XML and 
> WEBAPP directories and reinstall Tomcat.
> 
> Good Luck.
-- 
Timothy Halloran <[EMAIL PROTECTED]>
Carnegie Mellon University

-
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]


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



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
Ok, here is something interesting   

I wanted to follow Ralph's suggestion of trimming down Tomcat's config,
but I wasn't exactly sure what I could or couldn't touch in server.xml.
So what I did was backuped up my server.xml - then renamed the
server-noexamples.xml.config (shipped with the distro) to server.xml and
attempted to start Tomcat Wouldn't you know it, Tomcat started, AND
I can get to www.mysite.com:8080

I tried to stop it, and restart it again - and now I am getting the same
errors...  Does that shed any light? Or should I go with the second
install of Tomcat?

Thanks again so much for everyone's posts.

Denise 


-Original Message-
From: Timothy Halloran [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 11:25 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
> The filesystem check returns that everything is clean.
> 
> I ran the test versions of the java programs that are part of my 
> webapp from the command line, and the program executes without a 
> hitch.  It makes a URL connection to a remote server and sends data, 
> and then receives a response...  So I would assume there is no problem

> with the java installation??
> 
> How do I load a second instance of Tomcat without it interfering with 
> the current installation?

Use the "TGZ" version not "RPM" and put it in another directory...you'll
have to change some variables (as I recall) and save your others.  Just
run the second tomcat as your local user.  I haven't done this in a
while but it works fine as long as you don't run them together (if you
do you'll need to change ports and such).

> Thanks!
> 
> Denise Mangano
> Complus Data Innovations, Inc.
> 914-747-1200
> 
> 
> -Original Message-
> From: Timothy Halloran [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 10:43 AM
> To: Tomcat Users List
> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
> 
> 
> RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd do

> a complete FSCHK on all disks.
> 
> (1) Test some other Java applications...are they working?  If not 
> reinstall the RPM for the JRE you are using...try again.
> 
> (2) load up another copy of Tomcat in your user account?  Does this 
> work (don't try to run them together)?  If so...save your XML and 
> WEBAPP directories and reinstall Tomcat.
> 
> Good Luck.
-- 
Timothy Halloran <[EMAIL PROTECTED]>
Carnegie Mellon University

-
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]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt

Install the second instance in a new directory tree.
Diasble all unneeded ports.
Set the rest of the port to unique values.
Start this instance.

As first step I wouldn't add any of your applications.
Just get the plain tomcat to run. (In the first run with
the least possible set of features, those can be added 
later if all is up)

If that succeeds you can try to port your application to
the new instance.

> -Original Message-
> From: Denise Mangano [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 5:19 PM
> To: Tomcat Users List
> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
> 
> 
> The filesystem check returns that everything is clean.
> 
> I ran the test versions of the java programs that are part of 
> my webapp
> from the command line, and the program executes without a hitch.  It
> makes a URL connection to a remote server and sends data, and then
> receives a response...  So I would assume there is no problem with the
> java installation??
> 
> How do I load a second instance of Tomcat without it interfering with
> the current installation?
> 
> Thanks!
> 
> Denise Mangano
> Complus Data Innovations, Inc.
> 914-747-1200
> 
> 
> -Original Message-
> From: Timothy Halloran [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 19, 2003 10:43 AM
> To: Tomcat Users List
> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
> 
> 
> RH7.3 was EXT2 filesystem I think?  (you probably did this) 
> but I'd do a
> complete FSCHK on all disks.
> 
> (1) Test some other Java applications...are they working?  If not
> reinstall the RPM for the JRE you are using...try again.
> 
> (2) load up another copy of Tomcat in your user account?  
> Does this work
> (don't try to run them together)?  If so...save your XML and WEBAPP
> directories and reinstall Tomcat.
> 
> Good Luck.
> -- 
> Timothy Halloran <[EMAIL PROTECTED]>
> Carnegie Mellon University
> 
> -
> 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]
> 
> 
> 

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



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Timothy Halloran
On Fri, 2003-09-19 at 11:18, Denise Mangano wrote:
> The filesystem check returns that everything is clean.
> 
> I ran the test versions of the java programs that are part of my webapp
> from the command line, and the program executes without a hitch.  It
> makes a URL connection to a remote server and sends data, and then
> receives a response...  So I would assume there is no problem with the
> java installation??
> 
> How do I load a second instance of Tomcat without it interfering with
> the current installation?

Use the "TGZ" version not "RPM" and put it in another directory...you'll
have to change some variables (as I recall) and save your others.  Just
run the second tomcat as your local user.  I haven't done this in a
while but it works fine as long as you don't run them together (if you
do you'll need to change ports and such).

> Thanks!
> 
> Denise Mangano
> Complus Data Innovations, Inc.
> 914-747-1200
> 
> 
> -Original Message-
> From: Timothy Halloran [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 19, 2003 10:43 AM
> To: Tomcat Users List
> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
> 
> 
> RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd do a
> complete FSCHK on all disks.
> 
> (1) Test some other Java applications...are they working?  If not
> reinstall the RPM for the JRE you are using...try again.
> 
> (2) load up another copy of Tomcat in your user account?  Does this work
> (don't try to run them together)?  If so...save your XML and WEBAPP
> directories and reinstall Tomcat.
> 
> Good Luck.
-- 
Timothy Halloran <[EMAIL PROTECTED]>
Carnegie Mellon University

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



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
The filesystem check returns that everything is clean.

I ran the test versions of the java programs that are part of my webapp
from the command line, and the program executes without a hitch.  It
makes a URL connection to a remote server and sends data, and then
receives a response...  So I would assume there is no problem with the
java installation??

How do I load a second instance of Tomcat without it interfering with
the current installation?

Thanks!

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Timothy Halloran [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 10:43 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd do a
complete FSCHK on all disks.

(1) Test some other Java applications...are they working?  If not
reinstall the RPM for the JRE you are using...try again.

(2) load up another copy of Tomcat in your user account?  Does this work
(don't try to run them together)?  If so...save your XML and WEBAPP
directories and reinstall Tomcat.

Good Luck.
-- 
Timothy Halloran <[EMAIL PROTECTED]>
Carnegie Mellon University

-
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]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
Some other recommendations:

- Try to diable as much as possible in server.xml and web.xml.
- Try to run tomcat standalone.

Just to see if it starts. If it starts, try to find out
which feature caused the error.


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



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
Yes, that looks fine to me.

I think now you have to consider the other tip like
- run fsck
- Reinstall java
- Reinstall tomcat (but I can't believe that this really helps)

if that doesn't help it getting hard, as there is some knowledge
required. (I would try to play with strace to find out what the 
exact system call is that causes the failure, but as you say you 
are a newby that's quite hard (and there is no garanty that you 
will see anything usefull))

> -Original Message-
> From: Denise Mangano [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 4:39 PM
> To: Tomcat Users List
> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
> 
> 
> From what I can tell memory usage looks ok as well... According to the
> output there is still memory free...
> 
> total:used:free:  shared: buffers:  cached:
> Mem:  261988352 114282496 1477058560 18583552 68141056
> Swap: 5346017280 534601728

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



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Timothy Halloran
RH7.3 was EXT2 filesystem I think?  (you probably did this) but I'd do a
complete FSCHK on all disks.

(1) Test some other Java applications...are they working?  If not
reinstall the RPM for the JRE you are using...try again.

(2) load up another copy of Tomcat in your user account?  Does this work
(don't try to run them together)?  If so...save your XML and WEBAPP
directories and reinstall Tomcat.

Good Luck.
-- 
Timothy Halloran <[EMAIL PROTECTED]>
Carnegie Mellon University

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



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
>From what I can tell memory usage looks ok as well... According to the
output there is still memory free...

total:used:free:  shared: buffers:  cached:
Mem:  261988352 114282496 1477058560 18583552 68141056
Swap: 5346017280 534601728
MemTotal:   255848 kB
MemFree:144244 kB
MemShared:   0 kB
Buffers: 18148 kB
Cached:  66544 kB
SwapCached:  0 kB
Active:  86620 kB
Inact_dirty:  3004 kB
Inact_clean:96 kB
Inact_target:17944 kB
HighTotal:   0 kB
HighFree:0 kB
LowTotal:   255848 kB
LowFree:144244 kB
SwapTotal:  522072 kB
SwapFree:   522072 kB
Committed_AS:11736 kB

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 10:35 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


Yes, that is my assumption.

The processlist looks uncritical.

What about the memory usage ?

(I'm not familiar with red hat, 'top' or 'cat /proc/meminfo' should
work)

> -Original Message-
> From: Denise Mangano [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 4:22 PM
> To: Tomcat Users List
> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
> 
> 
> Thank you everyone for your responses.  So, you are saying that the 
> problem is not with Tomcat.  Are you suggesting that the problem is 
> with the server itself (Linux) or possibly with the JDK?
> 
> I tried adding the JAVA_OPT flags to the catalina.sh but that did not 
> due the trick.  I also tried adding the values you suggested to the 
> user's environment, but I am still getting the errors on startup. 
> Reinstalling wouldn't hurt to try I guess...
> 
> It doesn't look like any process is behaving abnormally but
> then again,
> I am a newbie... This is the output of ps -ef:
> UIDPID  PPID  C STIME TTY  TIME CMD
> root 1 0  0 08:57 ?00:00:03 init
> root 2 1  0 08:57 ?00:00:00 [keventd]


-
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]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
Yes, that is my assumption.

The processlist looks uncritical.

What about the memory usage ?

(I'm not familiar with red hat, 'top' or 'cat /proc/meminfo'
should work)

> -Original Message-
> From: Denise Mangano [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 4:22 PM
> To: Tomcat Users List
> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
> 
> 
> Thank you everyone for your responses.  So, you are saying that the
> problem is not with Tomcat.  Are you suggesting that the 
> problem is with
> the server itself (Linux) or possibly with the JDK?  
> 
> I tried adding the JAVA_OPT flags to the catalina.sh but that did not
> due the trick.  I also tried adding the values you suggested to the
> user's environment, but I am still getting the errors on startup.
> Reinstalling wouldn't hurt to try I guess...
> 
> It doesn't look like any process is behaving abnormally but 
> then again,
> I am a newbie... This is the output of ps -ef:
> UIDPID  PPID  C STIME TTY  TIME CMD
> root 1 0  0 08:57 ?00:00:03 init
> root 2 1  0 08:57 ?00:00:00 [keventd]


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



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Denise Mangano
Thank you everyone for your responses.  So, you are saying that the
problem is not with Tomcat.  Are you suggesting that the problem is with
the server itself (Linux) or possibly with the JDK?  

I tried adding the JAVA_OPT flags to the catalina.sh but that did not
due the trick.  I also tried adding the values you suggested to the
user's environment, but I am still getting the errors on startup.
Reinstalling wouldn't hurt to try I guess...

It doesn't look like any process is behaving abnormally but then again,
I am a newbie... This is the output of ps -ef:
UIDPID  PPID  C STIME TTY  TIME CMD
root 1 0  0 08:57 ?00:00:03 init
root 2 1  0 08:57 ?00:00:00 [keventd]
root 3 1  0 08:57 ?00:00:00 [ksoftirqd_CPU0]
root 4 1  0 08:57 ?00:00:00 [kswapd]
root 5 1  0 08:57 ?00:00:00 [bdflush]
root 6 1  0 08:57 ?00:00:00 [kupdated]
root 7 1  0 08:58 ?00:00:00 [mdrecoveryd]
root13 1  0 08:58 ?00:00:00 [scsi_eh_0]
root14 1  0 08:58 ?00:00:00 [scsi_eh_1]
root17 1  0 08:58 ?00:00:00 [kjournald]
root82 1  0 08:58 ?00:00:00 [khubd]
root   148 1  0 08:58 ?00:00:00 [kjournald]
root   149 1  0 08:58 ?00:00:00 [kjournald]
root   150 1  0 08:58 ?00:00:00 [kjournald]
root   151 1  0 08:58 ?00:00:00 [kjournald]
root   152 1  0 08:58 ?00:00:00 [kjournald]
root   153 1  0 08:58 ?00:00:00 [kjournald]
root   477 1  0 08:58 ?00:00:00 syslogd -m 0
root   482 1  0 08:58 ?00:00:00 klogd -x
root   595 1  0 08:58 ?00:00:00 /usr/sbin/sshd
root   628 1  0 08:58 ?00:00:00 gpm -t ps/2 -m
/dev/mouse
root   646 1  0 08:58 ?00:00:00 crond
root   653 1  0 08:58 tty1 00:00:00 /sbin/mingetty tty1
root   654 1  0 08:58 tty2 00:00:00 /sbin/mingetty tty2
root   655 1  0 08:58 tty3 00:00:00 /sbin/mingetty tty3
root   656 1  0 08:58 tty4 00:00:00 /sbin/mingetty tty4
root   657 1  0 08:58 tty5 00:00:00 /sbin/mingetty tty5
root   658 1  0 08:58 tty6 00:00:00 /sbin/mingetty tty6
root   661   595  0 08:59 ?00:00:00 /usr/sbin/sshd
weblogin   662   661  0 08:59 pts/000:00:00 -bash
root   697   662  0 08:59 pts/000:00:00 su -
root   698   697  0 08:59 pts/000:00:00 -bash
root   990 1  0 09:09 ?00:00:00
/usr/local/apache/bin/httpd
nobody 991   990  0 09:09 ?00:00:00
/usr/local/apache/bin/fcgi-
nobody 992   990  0 09:09 ?00:00:00
/usr/local/apache/bin/httpd
nobody 993   990  0 09:09 ?00:00:00
/usr/local/apache/bin/httpd
nobody 994   990  0 09:09 ?00:00:00
/usr/local/apache/bin/httpd
nobody 995   990  0 09:09 ?00:00:00
/usr/local/apache/bin/httpd
nobody 996   990  0 09:09 ?00:00:00
/usr/local/apache/bin/httpd
nobody 998   990  0 09:10 ?00:00:00
/usr/local/apache/bin/httpd
nobody 999   990  0 09:10 ?00:00:00
/usr/local/apache/bin/httpd
nobody1000   990  0 09:10 ?00:00:00
/usr/local/apache/bin/httpd
root  1314   698  0 10:14 pts/000:00:00 bash
root  1364  1314  0 10:16 pts/000:00:00 ps -ef

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2003 10:13 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


May setting these values will help:

ulimit -s 2048
export LD_ASSUME_KERNEL=2.2.5

Either put them in the environment of the user that starts tomcat or put
it in the startscript of tomcat.

BTW: Have you looked what processes are running and
how the memory usage is, before you try to start tomcat ? (Maybe there
is some other process missbehaving)

> -Original Message-
> From: Denise Mangano [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 4:02 PM
> To: Tomcat Users List
> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
> 
> 
> Ralph - thank you for your reply.  I have not made any export settings

> like that.  Honestly, for the most part I took the Tomcat distribution

> and went mostly with the defaults because everything was working fine.

> Probably a newbie mistake, I'm sure - but I made very few settings / 
> changes.
> 

-
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]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
May setting these values will help:

ulimit -s 2048
export LD_ASSUME_KERNEL=2.2.5

Either put them in the environment of the user that starts tomcat
or put it in the startscript of tomcat.

BTW: Have you looked what processes are running and
how the memory usage is, before you try to start tomcat ?
(Maybe there is some other process missbehaving)

> -Original Message-
> From: Denise Mangano [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 4:02 PM
> To: Tomcat Users List
> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
> 
> 
> Ralph - thank you for your reply.  I have not made any export settings
> like that.  Honestly, for the most part I took the Tomcat distribution
> and went mostly with the defaults because everything was working fine.
> Probably a newbie mistake, I'm sure - but I made very few settings /
> changes.
> 

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



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Mike Curwen
Particularly because it wasn't a 'friendly' reboot.
 
Something may have gotten corrupted, it's not unheard of.  Just for the
heck of it, you could re-install the JDK and the Tomcat binaries (while
keeping your server.xml and webapps directories safely backed up BEFORE
you do any of that).
 
> -Original Message-
> From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 19, 2003 9:05 AM
> To: Tomcat Users List
> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
> 
> 
> I think it's not the right time to think about optimizing.
> 
> If tomcat isn't even starting, I don't think that the 
> problem is a 'normal' memory leak especially if the server 
> has run before. I think that something has changed through 
> the reboot.
> 
> > -Original Message-
> > From: Denise Mangano [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 19, 2003 3:59 PM
> > To: Tomcat Users List
> > Subject: RE: Urgent! Cannot start Tomcat - 
> java.lang.OutOfMemoryError
> > 
> > I did not change ulimit at all... Actually I did not change
> > anything in
> > server.xml besides making the configurations for mod_jk.  Are 
> > there any
> > settings I should consider changing?  Perhaps, you can point me to a
> > good resource where I can learn about optimizing?
> > 
> 
> -
> 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]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Shapira, Yoav

Howdy,
I tend to agree, and ulimit or a similar facility to control max number
of threads allowed to the account running tomcat seems like the most
likely candidate.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
>Sent: Friday, September 19, 2003 10:05 AM
>To: Tomcat Users List
>Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>
>I think it's not the right time to think about optimizing.
>
>If tomcat isn't even starting, I don't think that the
>problem is a 'normal' memory leak especially if the server
>has run before. I think that something has changed through
>the reboot.
>
>> -Original Message-
>> From: Denise Mangano [mailto:[EMAIL PROTECTED]
>> Sent: Friday, September 19, 2003 3:59 PM
>> To: Tomcat Users List
>> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
>>
>> I did not change ulimit at all... Actually I did not change
>> anything in
>> server.xml besides making the configurations for mod_jk.  Are
>> there any
>> settings I should consider changing?  Perhaps, you can point me to a
>> good resource where I can learn about optimizing?
>>
>
>-
>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]



RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError

2003-09-19 Thread Ralph Einfeldt
I think it's not the right time to think about optimizing.

If tomcat isn't even starting, I don't think that the 
problem is a 'normal' memory leak especially if the server 
has run before. I think that something has changed through 
the reboot.

> -Original Message-
> From: Denise Mangano [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 3:59 PM
> To: Tomcat Users List
> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
> 
> I did not change ulimit at all... Actually I did not change 
> anything in
> server.xml besides making the configurations for mod_jk.  Are 
> there any
> settings I should consider changing?  Perhaps, you can point me to a
> good resource where I can learn about optimizing?
> 

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



  1   2   >