Well, I checked the server.xml and the Ajp12 connector is properly
defined(I hadn't touched it since I installed Tomcat).
Previous to trying to shutdown Tomcat, I had tried to access a .jsp that
used a JavaBean that tried to connect to a mysql database. However I got a
message that the database driver couldn't be found. After that I was
playing with the location/permissions of the database driver, and then
when I tried to shutdown Tomcat, I got this error.
Any other ideas? Or is there another way that I can cleanly shutdown
Tomcat so that I can use startup.sh to start it up again?
Thanks,
Luoi
On Wed, 11 Apr 2001, Benoit Jacquemont wrote:
> Hi,
>
> It looks like the Ajp12connector isn't working. You should check the
> server.xml to see if the connector is properly define. The Ajp12 connector
> is needed to shutdown tomcat.
>
> Benoit
>
> > Hi,
> > I'm trying to shutdown Tomcat using
> > $TOMCAT_HOME/bin/shutdown.sh
> >
> > but when I type that i get the following message:
> >
> > Using classpath:
> > /usr/java/jakarta-tomcat-3.2.1/lib/ant.jar:/usr/java/jakarta-t
> > omcat-3.2.1/lib/jasper.jar:/usr/java/jakarta-tomcat-3.2.1/lib/
> > jaxp.jar:/usr/java/jakarta-tomcat-3.2.1/lib/parser.jar:/usr/ja
> > va/jakarta-tomcat-3.2.1/lib/servlet.jar:/usr/java/jakarta-tomc
> > at-3.2.1/lib/test:/usr/java/jakarta-tomcat-3.2.1/lib/webserver
> > .jar:/usr/java/jdk1.3/lib/tools.jar:/usr/java/jakarta-tomcat-3
> > .2.1/lib/servlet.jar:.
> > Stop tomcat
> > java.net.ConnectException: Connection refused
> > at java.net.PlainSocketImpl.socketConnect(Native Method)
> > at
> > java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:323)
> > at
> > java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:136)
> > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:123)
> > at java.net.Socket.<init>(Socket.java:273)
> > at java.net.Socket.<init>(Socket.java:100)
> > at
> > org.apache.tomcat.task.StopTomcat.execute(StopTomcat.java:104)
> > at
> > org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java:267)
> > at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:174)
> > at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> >
> >
> > I've never had problems shutting it down before. Can someone
> > tell why it
> > would be refusing the Connection and how I can go about fixing it.
> > I apologize if I am asking a question that is easily fixed.
> > If you need
> > more info from me, let me know.
> >
> > I'm using Tomcat 3.2.1 on linux
> >
> > Thanks,
> > Luoi
> >
> > --
> > D. Shun-Luoi Fong
> > 821 Melrose Avenue
> > Iowa City, IA 52246
> > email: [EMAIL PROTECTED]
> >
> > -----------------------
> > Colossions 2:8 See to it that no one takes you captive
> > through philosophy
> > or empty deception, according to the traditions of men,
> > according to the
> > elementary principles of the world, rather than according to Christ.
> > -----------------------
>
>
--
D. Shun-Luoi Fong
821 Melrose Avenue
Iowa City, IA 52246
email: [EMAIL PROTECTED]
-----------------------
Colossions 2:8 See to it that no one takes you captive through philosophy
or empty deception, according to the traditions of men, according to the
elementary principles of the world, rather than according to Christ.
-----------------------