There's a document in Apple's Developer Forum (http://developer.apple.com/internet/java/tomcat1.html) that covers installing Tomcat on the Mac. It refers to 4.0.1 but should work fine for you. Actually, it sounds like you may be past that part already. The one hurdle I had in the whole process (not in the article) was caused by StuffIt! when it unzipped the download. The filename for the class "SetCharacterEncodingFilter.class" is too long for StuffIt! so it drops the "ss" off the end. Now the JVM doesn't find it and you get an error page instead. I believe the file is in two directories (I'm not near the Mac right now). Look in $CATALINA_HOME/webapps/examples/WEB-INF/classes/filters and
$CATALINA_HOME/server/webapps/admin/WEB-INF/classes/filters. Just fix the file extension and you should be good to go.
The manager and admin applications should only require the following element in your tomcat-users.xml file:
<user username="your_user_id" password="your_password" roles="admin,manager"/>
Hope this helps!
Mark Walker
From: Joseph Boccuzzi <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: tomcat setup
Date: Tue, 26 Nov 2002 11:06:06 -0600
to start I am new to Tomcat. I have installed 4.1.12 on my Mac and can get to the initial page. From here the links for the jsp examples and the servlet examples return a http status 404 not available. The link for the Tomcat Administrator and Tomcat Manager return a 403 access denied.
I can however use the Tomcat documention link. In here I found something about the tomcat-users.xml file. I edited this file to add the manager role the document was talking about and create a user name line with a pasword and assigned the manager role to it. I restarted tomcat but still no go.
So my question is How do I start the jsp and servlet services so I can test the examples and how to I create a user to get into the administrator? The documentation that comes with this is not much help in trying to configure or administer Tomcat.
Thanks
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>