You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/10/29 11:46:05 UTC

DO NOT REPLY [Bug 4488] New: - Web-application (context) hangs and tomcat need to be restarted

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4488>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4488

Web-application (context) hangs and tomcat need to be restarted

           Summary: Web-application (context) hangs and tomcat need to be
                    restarted
           Product: Tomcat 4
           Version: 4.0 Release Candidate 2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: contact@ruslan.org


In some circustances, when I hit reload in browser when class have been 
changed and WebAppClassLoader tries to load it, tomcat hangs for infinite time 
saying:

2001-10-29 13:27:09 WebappLoader[/sandaxe]: BACKGROUND THREAD Stopping
2001-10-29 13:27:09 StandardContext[/sandaxe]: Reloading this Context has 
started
2001-10-29 13:27:09 StandardWrapper[/sandaxe:jsp]: Waiting for 2 instance(s) 
to be deallocated

My application called sandaxe (context), and I`ve set Loader to reload classes 
every second, here is my <context>:

<!-- Context for SandAxe API -->
<Context
		path="/sandaxe"
		docBase="c:/Java/sandaxe/deploy"
		debug="1"
		reloadable="true"
		cookies="true"
		crossContext="true">
		
	<!-- log of this context -->
	<Logger
		className="org.apache.catalina.logger.FileLogger"
		directory="C:/Java/sandaxe/deploy"
		timestamp="true"/>

	<!-- class loader to aid development -->
	<Loader
  		delegate="false"
  		reloadable="true"
  		checkInterval="1"
  		debug="10"/>

</Context>

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