Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Problem connecting to Oracle from Tomcat

Re: Problem connecting to Oracle from Tomcat

From: Mark Bole <makbo_at_pacbell.net>
Date: Wed, 28 Jan 2004 02:47:23 GMT
Message-ID: <%oFRb.18677$kR6.17647@newssvr25.news.prodigy.com>


Kiran wrote:

> Hi,
> I am a newbie to both Oracle and Tomcat. I am trying to access oracle
> 9.1 from Tomcat 5.0.16 using a simple HttpServlet. But when I try to
> start the server, I get
> java.net.BindException: Address already in use: JVM_Bind:8080 error.
>
> When I shutdown the OracleOraHome92TNSListener service, the server
> starts up fine. But ofcourse, I would not be able to access my
> database if I do this.
> Can anyone please help me with this problem?
>
> Thanks
> -Kiran

On most any Unix or Windows platform, you should be able to run

netstat -an

from a command prompt and look for "LISTEN" status on various ports. This will help you determine what ports the "OracleOraHome92TNSListener service" is listening on.

--Mark Bole Received on Tue Jan 27 2004 - 20:47:23 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US