Bug#314291: marked as done (tomcat doesnt startup)

Debian Bug Tracking System owner@bugs.debian.org
Mon Jul 4 21:24:05 UTC 2005


Your message dated Mon, 4 Jul 2005 23:00:23 +0200
with message-id <7d0096800507041400622550f4@mail.gmail.com>
and subject line Bug#314291: tomcat doesnt startup
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Jun 2005 15:03:28 +0000
>From seppepeeters@gmail.com Wed Jun 15 08:03:28 2005
Return-path: <seppepeeters@gmail.com>
Received: from nproxy.gmail.com [64.233.182.200] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DiZQN-0002WP-00; Wed, 15 Jun 2005 08:03:28 -0700
Received: by nproxy.gmail.com with SMTP id l37so106347nfc
        for <submit@bugs.debian.org>; Wed, 15 Jun 2005 08:02:56 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type;
        b=Q0vusdh4hkvQmhRNsHWdDepY2YDk1iEYvPYRAQLCbV+pipieQhwA5Z1RFYX+tOaztT9VOGFtzecn5Vx0dxH6f4PTt+im6tYYiubdFuII3dl+VAVxyGFe1rqNcpdbenLhWjfIo7pieLPagYtDuQRRKPTuoC4xd/zkNu+ykR8S2FY=
Received: by 10.48.237.12 with SMTP id k12mr90387nfh;
        Wed, 15 Jun 2005 08:02:56 -0700 (PDT)
Received: by 10.48.248.9 with HTTP; Wed, 15 Jun 2005 08:02:56 -0700 (PDT)
Message-ID: <7d009680050615080291b251b@mail.gmail.com>
Date: Wed, 15 Jun 2005 17:02:56 +0200
From: seppe peeters <seppepeeters@gmail.com>
Reply-To: seppe peeters <seppepeeters@gmail.com>
To: submit@bugs.debian.org
Subject: tomcat doesnt startup
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_1338_25251233.1118847776394"
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.5 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	HTML_10_20,HTML_MESSAGE autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

------=_Part_1338_25251233.1118847776394
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

package: tomcat4
version: 4.1.31-3
branch: unstable


$ sudo /etc/init.d/tomcat4 start
Starting Tomcat 4.1 servlet engine using Java from /usr/lib/j2sdk1.5-sun:=
=20
tomcat4.
$ sudo /etc/init.d/tomcat4 stop
Stopping Tomcat 4.1 servlet engine: (not running).


$ sudo /usr/share/tomcat4/bin/startup.sh
Using CATALINA_BASE: /usr/share/tomcat4
Using CATALINA_HOME: /usr/share/tomcat4
Using CATALINA_TMPDIR: /usr/share/tomcat4/temp
Using JAVA_HOME: /usr/lib/j2sdk1.5-sun
$ sudo /usr/share/tomcat4/bin/shutdown.sh
Using CATALINA_BASE: /usr/share/tomcat4
Using CATALINA_HOME: /usr/share/tomcat4
Using CATALINA_TMPDIR: /usr/share/tomcat4/temp
Using JAVA_HOME: /usr/lib/j2sdk1.5-sun
Catalina.stop: java.net.ConnectException: Connection refused
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(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.<init>(Socket.java:365)
at java.net.Socket.<init>(Socket.java:178)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:532)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:352)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav=
a
:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)


I've also tested it on my server. Wich uses kaffe instead of j2sdk with the=
=20
same results.

Basically i can't get tomcat to run and answer to port 8180. This is a port=
=20
in the default server.xml file.=20
It is possible i have to change the default configuration.

I've seen on the internet about the same error attributed to a syntax error=
.=20
I couldn't find any wrong "=20
in /etc/tomcat4/server.xml and /etc/tomcat4/web.xml.

I hope this qualifies as bug. And is fixed soon.


Thanks in advance for the positive response,
Seppe Peeters

------=_Part_1338_25251233.1118847776394
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<br>
package: tomcat4<br>
version: 4.1.31-3<br>
branch: unstable<br>
<br>
<br>
$ sudo /etc/init.d/tomcat4 start<br>
Starting Tomcat 4.1 servlet engine using Java from /usr/lib/j2sdk1.5-sun: t=
omcat4.<br>
$ sudo /etc/init.d/tomcat4 stop<br>
Stopping Tomcat 4.1 servlet engine: (not running).<br>
<br>
<br>
$ sudo /usr/share/tomcat4/bin/startup.sh<br>
Using CATALINA_BASE:&nbsp;&nbsp; /usr/share/tomcat4<br>
Using CATALINA_HOME:&nbsp;&nbsp; /usr/share/tomcat4<br>
Using CATALINA_TMPDIR: /usr/share/tomcat4/temp<br>
Using JAVA_HOME:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/lib/j2sdk1.5-sun<=
br>
$ sudo /usr/share/tomcat4/bin/shutdown.sh<br>
Using CATALINA_BASE:&nbsp;&nbsp; /usr/share/tomcat4<br>
Using CATALINA_HOME:&nbsp;&nbsp; /usr/share/tomcat4<br>
Using CATALINA_TMPDIR: /usr/share/tomcat4/temp<br>
Using JAVA_HOME:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/lib/j2sdk1.5-sun<=
br>
Catalina.stop: java.net.ConnectException: Connection refused<br>
java.net.ConnectException: Connection refused<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.net.PlainSocketImpl.sock=
etConnect(Native Method)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.net.PlainSocketImpl.doCo=
nnect(PlainSocketImpl.java:333)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.net.PlainSocketImpl.conn=
ectToAddress(PlainSocketImpl.java:195)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.net.PlainSocketImpl.conn=
ect(PlainSocketImpl.java:182)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.net.SocksSocketImpl.conn=
ect(SocksSocketImpl.java:364)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.net.Socket.connect(Socke=
t.java:507)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.net.Socket.connect(Socke=
t.java:457)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.net.Socket.&lt;init&gt;(=
Socket.java:365)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.net.Socket.&lt;init&gt;(=
Socket.java:178)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.catalina.startup.C=
atalina.stop(Catalina.java:532)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.catalina.startup.C=
atalina.execute(Catalina.java:352)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.catalina.startup.C=
atalina.process(Catalina.java:129)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAcces=
sorImpl.invoke0(Native Method)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAcces=
sorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp=
l.java:25)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.reflect.Method.invo=
ke(Method.java:585)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.catalina.startup.B=
ootstrap.main(Bootstrap.java:156)<br>
<br>
<br>
I've also tested it on my server.&nbsp; Wich uses kaffe instead of j2sdk wi=
th the same results.<br>
<br>
Basically i can't get tomcat to run and answer to port 8180.&nbsp; This is =
a port in the default server.xml file.&nbsp; <br>
It is possible i have to change the default configuration.<br>
<br>
I've seen on the internet about the same error attributed to a syntax error=
.&nbsp; I couldn't find any wrong &quot; <br>
in /etc/tomcat4/server.xml and /etc/tomcat4/web.xml.<br>
<br>
I hope this qualifies as bug.&nbsp; And is fixed soon.<br>
<br>
<br>
Thanks in advance for the positive response,<br>
Seppe Peeters<br>
<br>
<br>

------=_Part_1338_25251233.1118847776394--

---------------------------------------
Received: (at 314291-done) by bugs.debian.org; 4 Jul 2005 21:00:56 +0000
>From seppepeeters@gmail.com Mon Jul 04 14:00:56 2005
Return-path: <seppepeeters@gmail.com>
Received: from nproxy.gmail.com [64.233.182.195] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DpY3k-0002SX-00; Mon, 04 Jul 2005 14:00:56 -0700
Received: by nproxy.gmail.com with SMTP id n15so181808nfc
        for <314291-done@bugs.debian.org>; Mon, 04 Jul 2005 14:00:23 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references;
        b=Ku34NK/U3/qpgNAbAX+qxITnxj0w5m4rSqTFAyLG/m5NHSmUZyw1QxC9P68H480JZ+aiEpLDTbKYIgHO6p4A3H6+m/6uLdoz4WeUqApJRf/beLArs1U3JDM/sgCXikFK4f3It/rrwM1j/AXRpzglXSZCqA+CE+t6FZufv2Pi2R4=
Received: by 10.48.142.11 with SMTP id p11mr127363nfd;
        Mon, 04 Jul 2005 14:00:23 -0700 (PDT)
Received: by 10.48.248.9 with HTTP; Mon, 4 Jul 2005 14:00:23 -0700 (PDT)
Message-ID: <7d0096800507041400622550f4@mail.gmail.com>
Date: Mon, 4 Jul 2005 23:00:23 +0200
From: seppe peeters <seppepeeters@gmail.com>
Reply-To: seppe peeters <seppepeeters@gmail.com>
To: 314291-done@bugs.debian.org
Subject: Re: Bug#314291: tomcat doesnt startup
In-Reply-To: <87mzpje7fs.fsf@oz.fapse.ulg.ac.be>
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_6735_32127693.1120510823877"
References: <7d009680050615080291b251b@mail.gmail.com>
	 <87mzpje7fs.fsf@oz.fapse.ulg.ac.be>
Delivered-To: 314291-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.9 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	HTML_20_30,HTML_MESSAGE autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

------=_Part_6735_32127693.1120510823877
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On 6/21/05, Arnaud Vandyck <avdyk@debian.org> wrote:
>=20
> Wed, 15 Jun 2005 17:02:56 +0200,
> seppe peeters <seppepeeters@gmail.com> wrote:
>=20
> Hi, can you try with jdk1.4?
>=20
> Anyway, none of the non-free jdk are supported in Debian so we can't do
> a lot of things. Have you been able to run tomcat4.1.31 from a fresh
> jakarta website with jdk5.0? If yes, then, we have a problem in Debian
> and we have to fix the bug.
>=20
> If you can't run tomcat4 with jdk5, can you please close the bug
> yourself (just send a mail to 314291-done@bugs.debian.org with some
> explanations in the body of the email)
>=20
> Thanks for your interrest in Debian,
>=20
> --
> .''`.
> : :' :rnaud
> `. `'
> `-
> Java Trap: http://www.gnu.org/philosophy/java-trap.html
>=20

fine.

I'm closing the bug.

It boiled down to a $CATELINA_HOME misconfiguration (probably, haven't trie=
d=20
to replicate it) and=20
bug #316580: tomcat4 with kaffe and security manager does not
start<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D316580>
.

It isn't fixed in kaffe unstable yet.
Disabling the security manager in /etc/default/tomcat4 and rebooting gets=
=20
tomcat to run with kaffe.


Cheers and thanks for the help,
Seppe Peeters

------=_Part_6735_32127693.1120510823877
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<br><br><div><span class=3D"gmail_quote">On 6/21/05, <b class=3D"gmail_send=
ername">Arnaud Vandyck</b> &lt;<a href=3D"mailto:avdyk@debian.org">avdyk@de=
bian.org</a>&gt; wrote:</span><blockquote class=3D"gmail_quote" style=3D"bo=
rder-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding=
-left: 1ex;">
Wed, 15 Jun 2005 17:02:56 +0200,<br>seppe peeters &lt;<a href=3D"mailto:sep=
pepeeters@gmail.com">seppepeeters@gmail.com</a>&gt; wrote:<br><br>Hi, can y=
ou try with jdk1.4?<br><br>Anyway, none of the non-free jdk are supported i=
n Debian so we can't do
<br>a lot of things. Have you been able to run tomcat4.1.31 from a fresh<br=
>jakarta website with jdk5.0? If yes, then, we have a problem in Debian<br>=
and we have to fix the bug.<br><br>If you can't run tomcat4 with jdk5, can =
you please close the bug
<br>yourself (just send a mail to <a href=3D"mailto:314291-done@bugs.debian=
.org">314291-done@bugs.debian.org</a> with some<br>explanations in the body=
 of the email)<br><br>Thanks for your interrest in Debian,<br><br>--<br>&nb=
sp;&nbsp;.''`.
<br> : :' :rnaud<br> `. `'<br>&nbsp;&nbsp; `-<br>Java Trap: <a href=3D"http=
://www.gnu.org/philosophy/java-trap.html">http://www.gnu.org/philosophy/jav=
a-trap.html</a><br></blockquote></div><br>
fine.<br>
<br>
I'm closing the bug.<br>
<br>
It boiled down to a $CATELINA_HOME misconfiguration (probably, haven't trie=
d to replicate it) and <br>
bug <a href=3D"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D316580">#=
316580: tomcat4 with kaffe and security manager does not start</a>.<br>
<br>
It isn't fixed in kaffe unstable yet.<br>
Disabling the security manager in /etc/default/tomcat4 and rebooting gets t=
omcat to run with kaffe.<br>
<br>
<br>
Cheers and thanks for the help,<br>
Seppe Peeters<br>
<br>
<br>

------=_Part_6735_32127693.1120510823877--




More information about the pkg-java-maintainers mailing list