You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by David Sean Taylor <da...@bluesunrise.com> on 2002/04/25 18:46:12 UTC

Shutdown of Tomcat 4.03 with Turbine Apps

I deployed the TDK newapp to Tomcat 4.03, and now I cannot shutdown
Tomcat. With Tomcat 4.01 and all versions before, I could shutdown
Tomcat using the shutdown script. As with version 4.03 (or perhaps
4.02), I can no longer shutdown Tomcat with the shutdown script when I
have deployed a Turbine webapp to Tomcat. I used the TDK to create
'newapp', and deployed it to Tomcat 4.03. I didn't make any requests to
the server, but simply shutdown the server after it started up. If I
remove newapp from the webapps directory, Tomcat 4.03 will shutdown
without hanging.

Ive noticed that Tomcat exits its main thread successfully (Ive put
debug statements in Tomcat source), but the process still hangs on
something, not sure what it is. Has anyone else experienced this?

If I go back to 4.01, Tomcat shutsdown successfully. 




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Shutdown of Tomcat 4.03 with Turbine Apps

Posted by John McNally <jm...@collab.net>.
<http://cvs.apache.org/viewcvs/jakarta-turbine-fulcrum/src/services/org/apache/fulcrum/xmlrpc/TurbineXmlRpcService.java>

<http://cvs.apache.org/viewcvs/xml-rpc/>


and this is the line that needs to be commented out to prevent the
service from starting:

#services.XmlRpcService.classname=org.apache.fulcrum.xmlrpc.TurbineXmlRpcService

john mcnally


On Thu, 2002-04-25 at 15:13, David Sean Taylor wrote:
> Removed the 2 jars from WEB-INF/lib:
> 
> Xmlrpc.jar 
> Xmlrpc-helma.jar
> 
> It now no longer hangs when shutting down.
> 
> Could someone enlighten me as to:
> 
> 1) how the XML-RPC thread is getting started
> 2) describe how XML-RPC is used within Turbine
> 3) Where is this project found? I'd like to look at the source and see
> if the thread is marked as daemon 
> 
> Funny thing, I was sure that I removed all the TR.p entries, yet the
> thread was still starting.
> That's what has me confused, maybe its just a user error.
> 
> > -----Original Message-----
> > From: David Sean Taylor [mailto:david@bluesunrise.com] 
> > Sent: Thursday, April 25, 2002 2:57 PM
> > To: 'Turbine Users List'
> > Subject: RE: Shutdown of Tomcat 4.03 with Turbine Apps
> > 
> > 
> > The Catalina process seems to be hanging on this thread:
> > 
> > "Thread-3" prio=5 tid=0x008E4410 nid=0x71c waiting on monitor 
> > [0..6fb14]
> > 
> > "XML-RPC Weblistener" prio=5 tid=0x0AEC7720 nid=0x3e0 
> > runnable [b39f000..b39fdb4 ]
> >         at java.net.PlainSocketImpl.socketAccept(Native Method)
> >         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343)
> >         - locked <030EFB08> (a java.net.PlainSocketImpl)
> >         at java.net.ServerSocket.implAccept(ServerSocket.java:438)
> >         at java.net.ServerSocket.accept(ServerSocket.java:409)
> >         at org.apache.xmlrpc.WebServer.run(Unknown Source)
> >         at java.lang.Thread.run(Thread.java:536)
> > 
> > 
> > I commented out all the XMLRPC stuff in the TR.p, but its 
> > still hanging on this thread...?
> > 
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:turbine-user-> unsubscribe@jakarta.apache.org>
> > For 
> > additional commands, 
> > e-mail: <ma...@jakarta.apache.org>
> > 
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Shutdown of Tomcat 4.03 with Turbine Apps

Posted by David Sean Taylor <da...@bluesunrise.com>.
Removed the 2 jars from WEB-INF/lib:

Xmlrpc.jar 
Xmlrpc-helma.jar

It now no longer hangs when shutting down.

Could someone enlighten me as to:

1) how the XML-RPC thread is getting started
2) describe how XML-RPC is used within Turbine
3) Where is this project found? I'd like to look at the source and see
if the thread is marked as daemon 

Funny thing, I was sure that I removed all the TR.p entries, yet the
thread was still starting.
That's what has me confused, maybe its just a user error.

> -----Original Message-----
> From: David Sean Taylor [mailto:david@bluesunrise.com] 
> Sent: Thursday, April 25, 2002 2:57 PM
> To: 'Turbine Users List'
> Subject: RE: Shutdown of Tomcat 4.03 with Turbine Apps
> 
> 
> The Catalina process seems to be hanging on this thread:
> 
> "Thread-3" prio=5 tid=0x008E4410 nid=0x71c waiting on monitor 
> [0..6fb14]
> 
> "XML-RPC Weblistener" prio=5 tid=0x0AEC7720 nid=0x3e0 
> runnable [b39f000..b39fdb4 ]
>         at java.net.PlainSocketImpl.socketAccept(Native Method)
>         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343)
>         - locked <030EFB08> (a java.net.PlainSocketImpl)
>         at java.net.ServerSocket.implAccept(ServerSocket.java:438)
>         at java.net.ServerSocket.accept(ServerSocket.java:409)
>         at org.apache.xmlrpc.WebServer.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:536)
> 
> 
> I commented out all the XMLRPC stuff in the TR.p, but its 
> still hanging on this thread...?
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:turbine-user-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <ma...@jakarta.apache.org>
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Shutdown of Tomcat 4.03 with Turbine Apps

Posted by David Sean Taylor <da...@bluesunrise.com>.
The Catalina process seems to be hanging on this thread:

"Thread-3" prio=5 tid=0x008E4410 nid=0x71c waiting on monitor [0..6fb14]

"XML-RPC Weblistener" prio=5 tid=0x0AEC7720 nid=0x3e0 runnable
[b39f000..b39fdb4
]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:343)
        - locked <030EFB08> (a java.net.PlainSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:438)
        at java.net.ServerSocket.accept(ServerSocket.java:409)
        at org.apache.xmlrpc.WebServer.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:536)


I commented out all the XMLRPC stuff in the TR.p, but its still hanging
on this thread...?




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: 2.2b1 source

Posted by David Sean Taylor <da...@bluesunrise.com>.
> cvs co -r TURBINE_2_2_B1 jakarta-turbine-2

Thanks!



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: 2.2b1 source

Posted by Jason van Zyl <jv...@zenplex.com>.
On Thu, 2002-04-25 at 15:49, David Sean Taylor wrote:
> Downloaded the 2.2b1 source from
> http://jakarta.apache.org/builds/jakarta-turbine/turbine-2/release/2.2-b
> 1/
> Unpacked it, and typed out the readme:
> 
> "In order to get started with Turbine, you must build it first.  Please
> refer to the documentation in the build/ directory for details on
> building Turbine.  For general overview of Turbine and more details on
> how to use the system, please refer to the documentation in the docs/
> directory."
> 
> There is no 'build' directory. There is only a src and docs directory.
> The docs directory only has javadocs.
> 
> Is there a document on how to build the Turbine 2.2-b1 source?
> Or do you recommend going to the cvs to check it out?
> If so, is there a tag or date to check out?

cvs co -r TURBINE_2_2_B1 jakarta-turbine-2

Should get you the source.

> If I just type 'ant', it creates these three directories with the ${}
> included!:
> 
>         <mkdir dir="${build.dir}"/>
>         <mkdir dir="${build.dest}"/>
>         <mkdir dir="${build.src}"/>
> 
> What are these settings supposed to be?


 
> Thanks 
> 
> David
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
-- 
jvz.

Jason van Zyl
jvanzyl@apache.org

http://tambora.zenplex.org


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


2.2b1 source

Posted by David Sean Taylor <da...@bluesunrise.com>.
Downloaded the 2.2b1 source from
http://jakarta.apache.org/builds/jakarta-turbine/turbine-2/release/2.2-b
1/
Unpacked it, and typed out the readme:

"In order to get started with Turbine, you must build it first.  Please
refer to the documentation in the build/ directory for details on
building Turbine.  For general overview of Turbine and more details on
how to use the system, please refer to the documentation in the docs/
directory."

There is no 'build' directory. There is only a src and docs directory.
The docs directory only has javadocs.

Is there a document on how to build the Turbine 2.2-b1 source?
Or do you recommend going to the cvs to check it out?
If so, is there a tag or date to check out?

If I just type 'ant', it creates these three directories with the ${}
included!:

        <mkdir dir="${build.dir}"/>
        <mkdir dir="${build.dest}"/>
        <mkdir dir="${build.src}"/>

What are these settings supposed to be?

Thanks 

David



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>