I see something in catalina.bat about a JAVA_OPTS environment variable. Do I need to set this in Windows? When I run java -X on the command line, I see something about a -Xms option for setting the heap size. Do I just type -Xms <some number> in the Windows environment variable or what?
----- Original message ----- From: "Stephen Charles Huey" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Date: Mon, 19 Apr 2004 13:06:46 -0500 Subject: Re: emergency - need to get into admin app Thanks, but we are restarting after every modification. And this is Tomcat 4, by the way. Our website is dead right now. If anybody has a clue why the password I'm putting in there isn't being accepted, please let me know! ----- Original message ----- From: "Rob Cash" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Mon, 19 Apr 2004 13:55:09 -0400 Subject: Re: emergency - need to get into admin app I believe that tomcat-users.xml is only read when Tomcat is started. So if you modified the file after you started Tomcat, it won't help. You'd need to restart Tomcat after modifying the file. This is just my best guess, not a definitive fact. Good luck. Cheers, Rob "Stephen Charles Huey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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]
