Re: [Resin-interest] R: [Fwd: httpd.sh stop]

2007-04-23 Thread Busch, Steffen
There is also a configuration directive, how long resin will wait for
requests to finish:
 http://www.caucho.com/resin-3.0/config/webapp.xtp#shutdown-wait-max
http://www.caucho.com/resin-3.0/config/webapp.xtp#shutdown-wait-max 
 

-Ursprüngliche Nachricht-
Von: Andrea Sodomaco [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 21. April 2007 11:03
An: 'General Discussion for the Resin application server'
Betreff: [Resin-interest] R: [Fwd: httpd.sh stop]


The answer is no.
 
I simply did a test. 
The following jsp does not complete the request if resin is stoped.


beginbr

% Thread.sleep(60L*1000L); %

end



 

Andrea Sodomaco

 

Andrea Sodomaco Consulenze Informatiche

Via Giacometti, 4 - 34146 TRIESTE

Tel.: 040 281648 / 338 3565702 - Fax: 040 46069349

www.sodomaco.it http://www.sodomaco.it/ 

 



 Original Message  
Subject:[Resin-interest] httpd.sh stop  
Date:   Thu, 19 Apr 2007 00:40:16 -0500 
From:   Martin Crundall  mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] 
Reply-To:   General Discussion for the Resin application server
mailto:resin-interest@caucho.com resin-interest@caucho.com  
To: General Discussion for the Resin application server
mailto:resin-interest@caucho.com resin-interest@caucho.com  


when httpd.sh stop is executed (resin 3.0.19) does resin finish dealing

with all pending requests before shutting down?



thanks,



martin







___

resin-interest mailing list

resin-interest@caucho.com mailto:resin-interest@caucho.com 

http://maillist.caucho.com/mailman/listinfo/resin-interest
http://maillist.caucho.com/mailman/listinfo/resin-interest 





___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] R: R: [Fwd: httpd.sh stop]

2007-04-23 Thread Andrea Sodomaco
Using the shutdown-wait-max directive, things change.
 
Whit this line 
shutdown-wait-max120/shutdown-wait-max
in web.xml the request is completed also after resin is stoped.
 
Andrea Sodomaco

 

Andrea Sodomaco Consulenze Informatiche

Via Giacometti, 4 - 34146 TRIESTE

Tel.: 040 281648 / 338 3565702 - Fax: 040 46069349

www.sodomaco.it http://www.sodomaco.it/ 

 
 -Messaggio originale-
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Per conto di Busch, Steffen
Inviato: lunedì 23 aprile 2007 9.08
A: General Discussion for the Resin application server
Oggetto: Re: [Resin-interest] R: [Fwd: httpd.sh stop]



There is also a configuration directive, how long resin will wait for
requests to finish:
http://www.caucho.com/resin-3.0/config/webapp.xtp#shutdown-wait-max
 

-Ursprüngliche Nachricht-
Von: Andrea Sodomaco [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 21. April 2007 11:03
An: 'General Discussion for the Resin application server'
Betreff: [Resin-interest] R: [Fwd: httpd.sh stop]


The answer is no.
 
I simply did a test. 
The following jsp does not complete the request if resin is stoped.


beginbr

% Thread.sleep(60L*1000L); %

end



 

Andrea Sodomaco

 

Andrea Sodomaco Consulenze Informatiche

Via Giacometti, 4 - 34146 TRIESTE

Tel.: 040 281648 / 338 3565702 - Fax: 040 46069349

www.sodomaco.it http://www.sodomaco.it/ 

 



 Original Message  
Subject:[Resin-interest] httpd.sh stop  
Date:   Thu, 19 Apr 2007 00:40:16 -0500 
From:   Martin Crundall  mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] 
Reply-To:   General Discussion for the Resin application server
mailto:resin-interest@caucho.com resin-interest@caucho.com  
To: General Discussion for the Resin application server
mailto:resin-interest@caucho.com resin-interest@caucho.com  


when httpd.sh stop is executed (resin 3.0.19) does resin finish dealing

with all pending requests before shutting down?



thanks,



martin







___

resin-interest mailing list

resin-interest@caucho.com

http://maillist.caucho.com/mailman/listinfo/resin-interest





___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] java.lang.NoClassDefFoundError: com/caucho/make/PersistentDependency

2007-04-23 Thread Kai Virkki
Hi,

I've experienced the same errors. If I remember correctly, you can get
rid of this error by deleting the Resin work directory.

cheers,

Kai

2007/4/18, John Steel [EMAIL PROTECTED]:
 Getting this when jsps are recompiled using 3.1, with 3.0.23 they were ok.
 After the error the webapps behave ok. Anyone else seen this please?

 18-Apr-2007 18:48:58 RESIN 3.1  java.lang.NoClassDefFoundError:
 com/caucho/make/PersistentDependency
 18-Apr-2007 18:48:58 RESIN 3.1  at
 java.lang.Class.getDeclaredConstructors0(Native Method)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 java.lang.Class.getConstructor0(Class.java:2699)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 java.lang.Class.newInstance0(Class.java:326)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 java.lang.Class.newInstance(Class.java:308)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.jsp.JspManager.preload(JspManager.java:305)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.jsp.JspManager.compile(JspManager.java:213)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.jsp.JspManager.createPage(JspManager.java:166)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.jsp.JspManager.createPage(JspManager.java:146)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.jsp.PageManager.getPage(PageManager.java:241)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.jsp.PageManager.getPage(PageManager.java:157)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.jsp.QServlet.getSubPage(QServlet.java:294)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.jsp.QServlet.getPage(QServlet.java:210)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.server.dispatch.PageFilterChain.compilePage(PageFilterChain.java:233)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:143)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:167)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:226)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:424)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.server.port.TcpConnection.run(TcpConnection.java:477)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:591)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 com.caucho.util.ThreadPool$Item.run(ThreadPool.java:513)
 18-Apr-2007 18:48:58 RESIN 3.1  at
 java.lang.Thread.run(Thread.java:619)
 18-Apr-2007 18:48:47 RESIN 3.1  Compiling _jsp/_index__jsp.java

 The error is actually consistently just before the Compiling.. message
 as seen above, for all pages.

 --
 --
 http://www.phonewebcam.com
 [EMAIL PROTECTED]



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest