You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Andrew <an...@ocean.com.au> on 2000/04/13 04:03:42 UTC

Tomcat install under Redhat 6.1

Hi,

Hrm. This might be a simple question, as java is not my most proficient language
by a long margin, but here goes ...

I've tried installing tomcat, both from the rpms available (as mentioned on this
list), and from the tarball directly from jakarta.apache.org. I've followed the
Tomcat+Apache Howto, and the readme for tomcat, but still can't manage to get
tomcat running successfully in either case.

I'm running: 
jdk-117_v1a-2
apache-1.3.12-2

under Redhat 6.1. I've included the line (in my /etc/httpd/conf/httpd.conf):

Include /opt/tomcat/conf/tomcat.conf 

Once I restart Apache and start tomcat with the bin/startup.sh script, I can
still view ordinary http served pages, but attempts to view the suggested
example pages:

    localhost/examples/servets/
OR  localhost/examples/jsp/

fail with the following trace printed out on the terminal from which I ran
bin/startup.sh:

[root@host bin]# HANDLER THREAD PROBLEM: java.net.SocketException: Invalid
argument
java.net.SocketException: Invalid argument
    at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:150)
    at java.net.Socket.setSoLinger(Socket.java:102)
    at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:108)
    at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:334)
    at java.lang.Thread.run(Thread.java:241)


Thanks in advance for any advice towards resolving this problem :-)


Andrew Lampert
Network Administrator
Ocean Internet
+61 3 9602 5252