Tomcat would start

OOzy Pal oozypal at gmail.com
Thu Jul 20 16:42:50 UTC 2006


On 7/20/06, Derek Broughton <news at pointerstop.ca> wrote:
> OOzy Pal wrote:
>
> > On 7/20/06, Derek Broughton <news at pointerstop.ca> wrote:
> >>
> >> I'm almost certain Tomcat isn't installed on port 8080 by default.
> ...
> >> netstat will help you:
> >>
> >> derek at othello:~$ netstat -l -t -e | grep tomcat
> >> tcp6  0  0 othello:8005 *:*  LISTEN  tomcat5 67081
> >> tcp6  0  0 *:8009       *:*  LISTEN  tomcat5 67079
> >> tcp6  0  0 *:8180       *:*  LISTEN  tomcat5 67055
> >>
> >> I can't actually remember what 8005 and 8009 are, but they're not HTTP.
> >> 8180 is the http listener.
> >
> > I don't get nothing with the netstat
>
> If netstat (-l for "listeners", -t for "tcp" and -e for "extended") doesn't
> show anything running under tomcat5, I'd have to say tomcat isn't running.
>
> Which takes me back to my original question to you - why are you running it
> from the startup.sh script, and not /etc/init.d/tomcat5?  There's a lot
> more going on in init.d than just running the script.
> --
> derek
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

I am running from startup.sh because I did not know anything else.

$sudo /etc/init.d/tomcat5 start

Starting Tomcat 5 servlet engine using Java from /usr/lib/j2se/1.4:

$sudo /etc/init.d/tomcat5 stop
Stopping Tomcat 5 servlet engine: (not running).


-- 
OOzy
Kubuntu-Dapper




More information about the ubuntu-users mailing list