tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig O'Brien" <cr...@dynamic-apps.com>
Subject RE: Tomcat hangs when my ORACLE database instance is running
Date Fri, 01 Jun 2001 20:12:57 GMT
Oracle 8i includes its own apache server and Jserv.  Jserv has a port
conflict with Tomcat's ajp12 (8007 I believe??).  Stop the
Oracle/Apache/Jserv web server and you will not have the problem. It starts
by default when you start Oracle. You must reassign the port for one or the
other if you want both servers running.

Regards,
Craig

-----Original Message-----
From: Barry Hodges [mailto:Barry.Hodges@primus.com]
Sent: Friday, June 01, 2001 12:55 PM
To: Tomcat (E-mail)
Subject: Tomcat hangs when my ORACLE database instance is running


OS: SunSolaris 2.6
Database: ORACLE 8.1.6 patchset 2
WebServer: Tomcat 3.2.1

I have Tomcat running as a standalone jsp container. If I startup the
database instance before starting Tomcat, Tomcat hangs before the
HttpConnectionHandler and Ajp12ConnectionHandler are started. After this I
am
unable to browse to my jsp applications. Here is the output to the tomcat
console:
Using classpath:
/usr/j2se/src.jar:/usr/j2se/jre/lib/rt.jar:/usr/j2se/tools.jar:/usr/local/ja
karta-tomcat-3.2.1/classes:/usr/local/jakarta-tomcat-3.2.1/lib/ant.jar:/usr/
local/jakarta-tomcat-3.2.1/lib/jasper.jar:/usr/local/jakarta-tomcat-3.2.1/li
b/jaxp.jar:/usr/local/jakarta-tomcat-3.2.1/lib/parser.jar:/usr/local/jakarta
-tomcat-3.2.1/lib/servlet.jar:/usr/local/jakarta-tomcat-3.2.1/lib/test:/usr/
local/jakarta-tomcat-3.2.1/lib/webserver.jar:/usr/j2se/lib/tools.jar
Starting tomcat. Check logs/tomcat.log for error messages
2001-06-01 12:49:37 - ContextManager: Adding context Ctx( /examples )
2001-06-01 12:49:37 - ContextManager: Adding context Ctx( /admin )
2001-06-01 12:49:37 - ContextManager: Adding context Ctx(  )
2001-06-01 12:49:37 - ContextManager: Adding context Ctx( /test )

If I start tomcat before starting my database instance, I can navigate to
all of my pages. However I do get the following error message in my tomcat
console when I navigate to my first jsp page:
2001-06-01 12:46:10 - ContextManager: SocketException reading request,
ignored - java.net.SocketException: Connection reset by peer
        at java.net.PlainSocketImpl.socketAvailable(Native Method)
        at java.net.PlainSocketImpl.available(PlainSocketImpl.java:462)
        at java.net.SocketInputStream.available(SocketInputStream.java:137)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:214)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
        at java.lang.Thread.run(Thread.java:484)

Has anyone encountered this problem before? What can I do to resolve this
conflict?

Barry Hodges
Sr. Engineer, Software
PRIMUS*
<mailto:barry.hodges@primus.com>



Mime
View raw message