...
- Add a line to your c:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\tomcat-users.xml file so that you have a user who has admin role. For example, add this line just before the last line (containing </tomcat-users>) of the file:
- <user username="admin" password="makesomethingup" roles="admin,manager"/>
- <user username="admin" password="makesomethingup" roles="admin,manager"/>
- Restart Tomcat.
- Now when you visit _http://localhost:8080/admin_ you should see a page that asks for a user name and password. If you still see the "no longer loaded" error message in your browser, you must either force a full reload of the web page (in Firefox, hold down Shift key while clicking on the Reload button) or just restart your browser completely.
How do I add JARs or classes to the common classloader without adding them to $CATALINA_HOME/
...
lib?
Either
a) Run Tomcat with separate $CATALINA_BASE
and $CATALINA_HOME
(as documented in RUNNING.txt
) and place those classes into $CATALINA_BASE/lib
, or
b) Edit the file catalina.properties under $CATALINA_BASE/conf
; there is a property called common.loader to which you can add additional paths to find JARs or classes for the common classloader.
...