RE: security with tomcat-users.xml

2008-04-12 Thread ChrisFromStPete


I found the problem.  I was using the version of tomcat that comes bundled
with Netbeans 6.0.  Netbeans does not set CATALINE_BASE  to the same
location as CATALINA_HOME.  Instead of using the Program Files directory,
CATALINA_BASE is set to an obscure location in Documents and Settings.


CATALINA_HOME C:\Program Files\Apache Software Foundation\Apache Tomcat
6.0.14
CATALINE_BASE  C:\Documents and
Settings\TheRightStuff\.netbeans\6.0\apache-tomcat-6.0.14_base
-- 
View this message in context: 
http://www.nabble.com/security-with-tomcat-users.xml-tp16528580p16650260.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: security with tomcat-users.xml

2008-04-12 Thread Christopher Schultz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris,

ChrisFromStPete wrote:
| I found the problem.  I was using the version of tomcat that comes bundled
| with Netbeans 6.0.  Netbeans does not set CATALINE_BASE  to the same
| location as CATALINA_HOME.  Instead of using the Program Files directory,
| CATALINA_BASE is set to an obscure location in Documents and Settings.

Note that this isn't really a bad idea. It allows you (or Netbeans, in
this case) to separate your deployment directory from the Tomcat
install. You can more easily switch between versions of Tomcat, run
multiple separate apps (in separate JVMs) and other things like that.

You can certainly still use the Netbeans-bundled Tomcat version... just
make sure that tomcat-users.xml is under Documents and Settings
instead of Program Files.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgA5OQACgkQ9CaO5/Lv0PCDFQCfd8OGkJe6ycQQ4d5P3s5sOxbl
picAoJ7n9EHKl5OwpA/CZR2/HpJjIn//
=4Fhp
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: security with tomcat-users.xml

2008-04-08 Thread ChrisFromStPete


I'm using Apache Tomcat 6.0.14.  And I've restarted Tomcat.

-- 
View this message in context: 
http://www.nabble.com/security-with-tomcat-users.xml-tp16528580p16576342.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: security with tomcat-users.xml

2008-04-06 Thread Caldarale, Charles R
 From: sex [mailto:[EMAIL PROTECTED] 
 Subject: security with tomcat-users.xml

Why is it so hard for people to tell us what Tomcat version they're
working with?

 but I always get a 401 Unauthorized error.

Did you restart Tomcat after making the change?

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]