For some reason, tomcat5.5 will not start on port 8180 as documented.
I am running Debian/etch
root@li2-168:/usr/share/tomcat5.5/bin# env | grep JAVA
JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/
root@li2-168:/usr/share/tomcat5.5/bin# ./startup.sh
Using CATALINA_BASE: /usr/share/tomcat5.5
Using CATALINA_HOME: /usr/share/tomcat5.5
Using CATALINA_TMPDIR: /usr/share/tomcat5.5/temp
Using JRE_HOME: /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/
root@li2-168:/usr/share/tomcat5.5/bin# telnet localhost 8180
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
root@li2-168:/usr/share/tomcat5.5/bin#
root@li2-168:/usr/share/tomcat5.5/bin# ./shutdown.sh
Using CATALINA_BASE: /usr/share/tomcat5.5
Using CATALINA_HOME: /usr/share/tomcat5.5
Using CATALINA_TMPDIR: /usr/share/tomcat5.5/temp
Using JRE_HOME: /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/
Dec 4, 2008 10:24:14 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:333)
at
java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at java.net.Socket.<init>(Socket.java:367)
at java.net.Socket.<init>(Socket.java:180)
at
org.apache.catalina.startup.Catalina.stopServer(Ca talina.java:394)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl
.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcce
ssorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.catalina.startup.Bootstrap.stopServer(B ootstrap.java:343)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:434)
root@li2-168:/usr/share/tomcat5.5/bin#
root@li2-168:/usr/share/tomcat5.5/conf# ls -l
total 20
drwxr-xr-x 3 root root 1024 Dec 4 13:48 Catalina
-rw-r--r-- 1 root root 9194 Dec 4 21:23 catalina.policy
-rw-r--r-- 1 root root 3114 Jun 8 17:45 catalina.properties
-rw-r--r-- 1 root root 330 Jun 8 17:45 context.xml
-rw-r--r-- 1 root root 2824 Jun 8 17:45 logging.properties
-rw-r--r-- 1 root root 851 Jun 8 17:45 server-minimal.xml
lrwxrwxrwx 1 root root 25 Dec 4 13:48 server.xml ->
/etc/tomcat5.5/serve
On Thu, Dec 04, 2008 at 10:35:42PM -0500, Terrence Brannon wrote:
> [ resending using email subscribed to list ]
>
> For some reason, tomcat5.5 will not start on port 8180 as documented.
>
[snip]
> JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/
> root@li2-168:/usr/share/tomcat5.5/bin# ./startup.sh
> Using CATALINA_BASE: /usr/share/tomcat5.5
> Using CATALINA_HOME: /usr/share/tomcat5.5
> Using CATALINA_TMPDIR: /usr/share/tomcat5.5/temp
> Using JRE_HOME: /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/
> root@li2-168:/usr/share/tomcat5.5/bin# telnet localhost 8180
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused
> root@li2-168:/usr/share/tomcat5.5/bin#
what does a netstat -panel | grep 8180 releveal
[snip]
>
>
>
>
> to
--
"It's amazing I won. I was running against peace, prosperity, and incumbency."
- George W. Bush
06/14/2001
speaking to Swedish Prime Minister Goran Perrson, unaware that a live television camera was still rolling.
12-05-2008, 08:17 AM
Terrence Brannon
tomcat5.5 does not start
Alex Samad wrote:
On Thu, Dec 04, 2008 at 10:35:42PM -0500, Terrence Brannon wrote:
For some reason, tomcat5.5 will not start on port 8180 as documented.
On Fri, Dec 05, 2008 at 04:17:21AM -0500, Terrence Brannon wrote:
> Alex Samad wrote:
>> On Thu, Dec 04, 2008 at 10:35:42PM -0500, Terrence Brannon wrote:
>>
>> For some reason, tomcat5.5 will not start on port 8180 as documented.
>>
>>
>>
>> what does a netstat -panel | grep 8180 releveal
--
Madame Tracy had even removed most of the Major Arcana from her Tarot card
pack, because their appearance tended to upset people.
-- (Terry Pratchett & Neil Gaiman, Good Omens)
12-05-2008, 08:50 AM
Terrence Brannon
tomcat5.5 does not start
Alex Samad wrote:
On Fri, Dec 05, 2008 at 04:17:21AM -0500, Terrence Brannon wrote:
Alex Samad wrote:
On Thu, Dec 04, 2008 at 10:35:42PM -0500, Terrence Brannon wrote:
For some reason, tomcat5.5 will not start on port 8180 as documented.
what does a netstat -panel | grep 8180 releveal
okay try netstat -panel | grep jsvc
that returned nothing as well... the entire netstat output is here -
http://static.livingcosmos.org/tmp/netstat.txt
12-05-2008, 09:38 AM
Marcus Better
tomcat5.5 does not start
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Terrence Brannon wrote:
> For some reason, tomcat5.5 will not start on port 8180 as documented.
You should probably not be using that. There is a startup script in
/etc/init.d, it should get launched on boot.
I see, perhaps the docs should say that sort of thing?
I also suggest you use the tomcat5.5 package from testing, since it has
seen numerous bug fixes.
well, the server works fine now that I have rebooted my
machine...HOWEVER: I cannot login into the Tomcat admin panel... and
/usr/share/doc/tomcat5.5-admin does not have any information about the
default username/password for it
>> You should probably not be using that. There is a startup script in
>> /etc/init.d, it should get launched on boot.
> I see, perhaps the docs should say that sort of thing?
Perhaps the file should be removed, or moved to a less conspicuous
location. Feel free to file a bug about this.
> I cannot login into the Tomcat admin panel... and
> /usr/share/doc/tomcat5.5-admin does not have any information about the
> default username/password for it
There is no default username/password, and it's documented in
/usr/share/doc/tomcat5.5/README.Debian.
BTW the admin webapp has been removed for lenny (it was removed upstream).
Cheers,
Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-05-2008, 10:50 AM
Terrence Brannon
tomcat5.5 does not start
Marcus Better wrote:
I cannot login into the Tomcat admin panel... and
/usr/share/doc/tomcat5.5-admin does not have any information about the
default username/password for it
There is no default username/password, and it's documented in
/usr/share/doc/tomcat5.5/README.Debian.
there is no manager role in tomcat-users.xml ... should I also add
that... I modified the both username to have the manager role, but am
not sure if that role also needs to be added
BTW the admin webapp has been removed for lenny (it was removed upstream).
the admin webapp is highly useful for deploying .war files ... why was
it removed? I dont know what 'removed upstream' means, but I think the
admin webapp needs to be there.