You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by senthil gugan <se...@yahoo.co.in> on 2007/07/25 17:05:54 UTC

Problem in Apache Tomcat server due to Oracle 10g XE

 Hi all,  I have this problem, I am using Apache Tomcat server and the Oracle XE Database in my linux suse OS.
Before installing the Oracle XE, my apache tomcat server works well. But after the installation of the Oracle XE, I had the following error.


           This is how I start the tomcat:

manickam:~ # $CATALINA_HOME/bin/startup.sh Using CATALINA_BASE:
/root/Tomcat/apache-tomcat-4.1.34-LE-jdk14
Using CATALINA_HOME:
/root/Tomcat/apache-tomcat-4.1.34-LE-jdk14
Using CATALINA_TMPDIR:
/root/Tomcat/apache-tomcat-4.1.34-LE-jdk14/temp
Using CATALINA_OUT:
/root/Tomcat/apache-tomcat-4.1.34-LE-jdk14/logs/catalina.out
Using JAVA_HOME: /usr/java/j2sdk1.4.2_14


                            Error during shut down the tomcat server:

manickam:~ # $CATALINA_HOME/bin/shutdown.sh
Using CATALINA_BASE:
/root/Tomcat/apache-tomcat-4.1.34-LE-jdk14
Using CATALINA_HOME:
/root/Tomcat/apache-tomcat-4.1.34-LE-jdk14
Using CATALINA_TMPDIR:
/root/Tomcat/apache-tomcat-4.1.34-LE-jdk14/temp
Using CATALINA_OUT:
/root/Tomcat/apache-tomcat-4.1.34-LE-jdk14/logs/catalina.out
Using JAVA_HOME: /usr/java/j2sdk1.4.2_14
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:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:464)
at   java.net.Socket.connect(Socket.java:414)
at java.net.Socket.<init>(Socket.java:310)
at java.net.Socket.<init>(Socket.java:125)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:527)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:347)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:150)
manickam:~ #


   Also I was not able to browse the Apache tomcat page using the url "http://localhost:8080/". It brings the Oracle Page.
Any ideas how I can resolve the problem
   Thanks in advance,
Senthil.

       
---------------------------------
 Did you know? You can CHAT without downloading messenger.  Click here

Re: Problem in Apache Tomcat server due to Oracle 10g XE

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Senthil,

senthil gugan wrote:
>  Hi all,  I have this problem, I am using Apache Tomcat server and the Oracle XE Database in my linux suse OS.
> Before installing the Oracle XE, my apache tomcat server works well. But after the installation of the Oracle XE, I had the following error.
>
> Catalina.stop: java.net.ConnectException: Connection refused
> java.net.ConnectException: Connection refused

You posted the same question the other day. This probably has nothing to
do with Oracle. Make sure that you are always using the same server.xml
file, and that the "shutdown port" has been properly set on your
<Server> element.

Also, make sure that Tomcat is actually running.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGp2/q9CaO5/Lv0PARAgvQAJ48jFuUqOzOyP43atVXVGIlVAzcUACdEmHH
cRln2x0CQKr2Zb6F/Y17SOc=
=xkkl
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org