Tomcat would start

Glenn Holmer gholmer at ameritech.net
Wed Jul 19 20:26:03 UTC 2006


On Wednesday 19 July 2006 11:46, OOzy Pal wrote:
> I think tomcat5 is working ok for me because when I do this:
>
> $sudo /usr/share/tomcat5/bin/startup.sh
>
> I got this:
>
> Using CATALINA_BASE:   /usr/share/tomcat5
> Using CATALINA_HOME:   /usr/share/tomcat5
> Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
> Using JAVA_HOME:       /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/
>
> I am assuming that tomcat is running but how can I find using my
> browser?

Try http://localhost:8080 and see if you get the Tomcat page.  If Tomcat 
is working, add these lines 
to /usr/share/tomcat5/conf/tomcat-users.xml:

<role rolename="manager"/>
<role rolename="admin"/>
<user username="admin" password="XXXXXXXX" roles="admin,manager"/>

then go back to the Tomcat page and select "Tomcat Manager" and log in 
with the user you just created.  See if you can click on "jsp-examples" 
or either "servlets-examples".  

If you have a WAR file for your app, you should be able to go to "WAR 
file to deploy" and upload it to Tomcat.

-- 
Glenn Holmer (Q-Link: ShadowM)
http://www.lyonlabs.org/commodore/c64.html




More information about the ubuntu-users mailing list