Hi Stephen.

You need to modify the CATALINA_OPTS environment variable:
To give yourself a Gig of memory, try: 

export CATALINA_OPTS="-Xmx1024m"

How you set this variable will depend on your environment/os etc.

Hope that helps.
Pete.

Quoting Stephen Charles Huey <[EMAIL PROTECTED]>:

> Ok, I took out the security tags and I can get in there.  Is the admin
> app where I set memory allocations in Tomcat???  I'm looking at adding an
> Environment Entry or something, but I don't know what to do with this! 
> Our total Java memory is only like 60 MB and we need at least a gig! 
> Thanks...
> 
> 
> ----- Original message -----
> From: "Parsons Technical Services" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Date: Mon, 19 Apr 2004 14:01:14 -0400
> Subject: Re: emergency - need to get into admin app
> 
> NOTE: This is an emergency fix only and will leave you wide open.
> 
> Edit the admin web.xml to allow no authentication.
> 
> DO NOT LEAVE IT THIS WAY.
> 
> What do you logs say?
> 
> What does the server.xml look like? Please post it.
> 
> Doug
> 
> ----- Original Message ----- 
> From: "Stephen Charles Huey" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Monday, April 19, 2004 1:48 PM
> Subject: emergency - need to get into admin app
> 
> 
> > We reloaded the drives on our web server yesterday, but Tomcat keeps
> > choking, and we think it's because not enough memory is allocated, and
> > we're trying to get into the admin web application, but it keeps saying
> > our password isn't correct.  Even though I set a password during the
> > install, there was nothing in the tomcat-users.xml file, so I've now made
> > it this, but we still can't get in:
> > 
> > <?xml version='1.0' encoding='utf-8'?> 
> > <tomcat-users>
> > <role rolename="admin"/>
> > <role rolename="manager"/>
> > <role rolename="tomcat"/>
> > <role rolename="role1"/>
> > <user username="admin" password="secret" roles="manager,admin"/>
> > <user username="tomcat" password="tomcat" roles="tomcat"/>
> > <user username="role1" password="tomcat" roles="role1"/>
> > <user username="both" password="tomcat" roles="tomcat,role1"/>
> > </tomcat-users>
> > 
> > I've been restarting Tomcat after saving it after each modification. 
> > 
> > My boss is literally breathing down my neck, so please write back ASAP if
> > you have a clue, b/c Google isn't helping me out all that much!!!
> > 
> > Thanks,
> > Stephen
> > 
> > ---------------------------------------------------------------------
> > 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]
> 
> 
> 


-- 
Peter Davison
[EMAIL PROTECTED]

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

Reply via email to