You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kjetil Kjernsmo <kj...@kjernsmo.net> on 2002/06/26 15:49:17 UTC

Installation problems on Debian Woody

Hi all!

I'm trying to get Cocoon2 up running on my Debian Woody box, and I'm 
seeing problems with Tomcat. I hope somebody can give me a hand
The first thing I noticed was that my /var/log partition was full. It 
turned out that the reason was that about every second, Tomcat wrote 
something like this:
 
PoolTcpEndpoint: Endpoint 
ServerSocket[addr=localhost/127.0.0.1,port=0,localport=8007] ignored 
exception: java.net.SocketException: Socket closed
java.net.SocketException: Socket closed
        at java.net.PlainSocketImpl.close(PlainSocketImpl.java:408)
        at java.net.Socket.close(Socket.java:383)
        at java.net.ServerSocket.implAccept(ServerSocket.java:206)
        at java.net.ServerSocket.accept(ServerSocket.java:181)
        at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:314)
        at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:459)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:519)
        at java.lang.Thread.run(Thread.java)

I did some googling, and it seems Gregory Guthrie reported and solved 
the same problem some time ago, see 
http://www.apachelabs.org/tomcat-user/200202.mbox/%3c5.1.0.14.2.20020203200730.00a8f210@mail.mum.edu%3e

However, the small hint there is not enough for me to understand 
neither the problem nor the solution... :-) I would be grateful if 
anybody would elaborate.

My system is a straight Debian Woody system, with a 2.4.17 kernel, 
recent Apache 1.3.26-1 from unstable, and all I do to install stuff is 
"apt-get install", so Tomcat is versioned 3.3a-4. 

Best,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
kjetil@kjernsmo.net  webmaster@skepsis.no  editor@learn-orienteering.org
Homepage: http://www.kjetil.kjernsmo.net/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Installation problems on Debian Woody

Posted by Kjetil Kjernsmo <kj...@kjernsmo.net>.
On Wednesday 26 June 2002 19:32, you wrote:
> Kjetil Kjernsmo wrote:
> >That's true, however, it requires JDK 1.3, it seems, and that's not
> > in Woody. I installed j2sdk1.3 from Blackdown, and now it seems
> > Tomcat4 is running smoothly! Great, thanks! Are there any
> > alternative to the Blackdown j2sdk?
>
> Sorry, the jdk is another one of those things we had installed
> without using apt-get:( ,

Well, whaddayaknow... It looks like the SDK has something to do with 
it... 

I'm not too into the packaging system yet, so I had real trouble 
getting Cocoon2 to realize Tomcat4 was there for it. Eventually, that 
lead me to reinstall the Tomcat 3.3 from Woody, and now it didn't 
report all those errors. So I purged everything, except the SDK, 
reinstalled Tomcat 3.3 and Cocoon 2, still no problems. I purged 
everything again, the SDK too, and installed the JDK1.1 from Woody, and 
Tomcat 3.3 and Cocoon 2, and the log took off. Purging everything 
again, reinstalling j2sdk1.3 and Tomcat 3.3 and Cocoon 2, and right 
now, I can't spot any problems. Hmmmm... :-) I guess I should tell 
apache-debian about this.

Best,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
kjetil@kjernsmo.net  webmaster@skepsis.no  editor@learn-orienteering.org
Homepage: http://www.kjetil.kjernsmo.net/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Installation problems on Debian Woody

Posted by Liam Morley <lm...@gdc.wpi.edu>.
Kjetil Kjernsmo wrote:

>That's true, however, it requires JDK 1.3, it seems, and that's not in 
>Woody. I installed j2sdk1.3 from Blackdown, and now it seems Tomcat4 is 
>running smoothly! Great, thanks! Are there any alternative to the 
>Blackdown j2sdk?
>
Sorry, the jdk is another one of those things we had installed without 
using apt-get:( we didn't want to be using a pre-jdk1.3 when the jdk1.4 
had come out.. we had upgraded through the tar available from Sun's website.

Liam Morley


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Installation problems on Debian Woody

Posted by Kjetil Kjernsmo <kj...@kjernsmo.net>.
On Wednesday 26 June 2002 17:20, you wrote:

> Well I just talked to our sys admin and he says that tomcat 4.0.3 is
> available in woody (under the package name "tomcat4"). 

That's true, however, it requires JDK 1.3, it seems, and that's not in 
Woody. I installed j2sdk1.3 from Blackdown, and now it seems Tomcat4 is 
running smoothly! Great, thanks! Are there any alternative to the 
Blackdown j2sdk? 

Now, it just remains to get the Debian Cocoon2-package to realize that 
tomcat4 is there, I guess. This should be quite trouble free? If 
anybody knows off-hand the most graceful way to do it, I'm all ears. :-)

> Are you
> using any tomcat/apache connectors? If I remember correctly, that was
> part of the problem.

Eh, no, I don't think so... :-)

Best,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
kjetil@kjernsmo.net  webmaster@skepsis.no  editor@learn-orienteering.org
Homepage: http://www.kjetil.kjernsmo.net/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Installation problems on Debian Woody

Posted by Liam Morley <lm...@gdc.wpi.edu>.

Kjetil Kjernsmo wrote:

>Mmmmm, I see. I would of course like to use the .debs ("stick to your 
>distro, son" is a common advice for people in my position) :-) 
>Any other options....? :-)
>  
>
Well I just talked to our sys admin and he says that tomcat 4.0.3 is 
available in woody (under the package name "tomcat4"). The only reason 
we're not upgrading is because I think I'll wait for tomcat 4.1, but 
we're already using 4.0.3 so there's no need to switch back just yet (I 
think we upgraded before the tomcat4 package came out for woody). You 
might want to consider getting that package. Are you using any 
tomcat/apache connectors? If I remember correctly, that was part of the 
problem.

Liam Morley


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Installation problems on Debian Woody

Posted by Kjetil Kjernsmo <kj...@kjernsmo.net>.
On Wednesday 26 June 2002 16:42, you wrote:
> I remember one of our sys admins having issues (the SocketException
> looks familiar) and just upgrading to 4.x through a tarball. It's not
> pretty (and we miss being able to upgrade through apt-get), but
> tomcat's working just fine now. 

Mmmmm, I see. I would of course like to use the .debs ("stick to your 
distro, son" is a common advice for people in my position) :-) 
Any other options....? :-)

>Any reason why you're using apache
> from unstable instead of testing?

Hehe, I asked the same question to debian-apache yesterday... :-) 
Long story, really (I guess OT), but since you asked:
Basically, there is some confusion as to the upgrade cycle right now, 
I'm certainly confused. They created unofficial 1.3.26 debs for Woody 
in a hurry, but that's not the way it is usually done, since security 
upgrades is usually just for stable. I have unstable in my sources.list 
(I wanted gnupg-1.0.7 some time ago, it had a new feature I really 
needed), but set default distro to testing. For some reason not quite 
clear to me, apt told me that I should upgrade to the one in 
unstable... So I did. From the response I got in debian-apache, I think 
they probably differ only in version number. 

Best,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
kjetil@kjernsmo.net  webmaster@skepsis.no  editor@learn-orienteering.org
Homepage: http://www.kjetil.kjernsmo.net/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Installation problems on Debian Woody

Posted by Liam Morley <lm...@gdc.wpi.edu>.
I remember one of our sys admins having issues (the SocketException 
looks familiar) and just upgrading to 4.x through a tarball. It's not 
pretty (and we miss being able to upgrade through apt-get), but tomcat's 
working just fine now. Any reason why you're using apache from unstable 
instead of testing?

Liam Morley

Kjetil Kjernsmo wrote:

>Hi all!
>
>I'm trying to get Cocoon2 up running on my Debian Woody box, and I'm 
>seeing problems with Tomcat. I hope somebody can give me a hand
>The first thing I noticed was that my /var/log partition was full. It 
>turned out that the reason was that about every second, Tomcat wrote 
>something like this:
> 
>PoolTcpEndpoint: Endpoint 
>ServerSocket[addr=localhost/127.0.0.1,port=0,localport=8007] ignored 
>exception: java.net.SocketException: Socket closed
>java.net.SocketException: Socket closed
>        at java.net.PlainSocketImpl.close(PlainSocketImpl.java:408)
>        at java.net.Socket.close(Socket.java:383)
>        at java.net.ServerSocket.implAccept(ServerSocket.java:206)
>        at java.net.ServerSocket.accept(ServerSocket.java:181)
>        at 
>org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:314)
>        at 
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:459)
>        at 
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:519)
>        at java.lang.Thread.run(Thread.java)
>
>I did some googling, and it seems Gregory Guthrie reported and solved 
>the same problem some time ago, see 
>http://www.apachelabs.org/tomcat-user/200202.mbox/%3c5.1.0.14.2.20020203200730.00a8f210@mail.mum.edu%3e
>
>However, the small hint there is not enough for me to understand 
>neither the problem nor the solution... :-) I would be grateful if 
>anybody would elaborate.
>
>My system is a straight Debian Woody system, with a 2.4.17 kernel, 
>recent Apache 1.3.26-1 from unstable, and all I do to install stuff is 
>"apt-get install", so Tomcat is versioned 3.3a-4. 
>
>Best,
>
>Kjetil
>  
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>