You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Quinton McCombs <qm...@nequalsone.com> on 2003/01/08 20:44:56 UTC

Turbine initialization

Why is it that Turbine will only initialize when the first request is
made?  Is there a setting that I can change in Tomcat to force it to
initialize on startup?

The reason that I ask is two fold.  First, I would rather not have the
users of the application see the initial delay.  Secondly, I want
services like RPC and the scheduler to start running as soon as the
server starts.

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


Re: Turbine initialization

Posted by Rodney Schneider <ro...@actf.com.au>.
Hi Quinton,

Use the <load-on-startup/> tag like so:
------------------
<servlet>
  <servlet-name>turbine</servlet-name>
  <servlet-class>org.apache.turbine.Turbine</servlet-class>
  <init-param>
    <param-name>properties</param-name>
    <param-value>/WEB-INF/conf/TurbineResources.properties</param-value>
  </init-param>
  <load-on-startup/>
</servlet>
------------------

Regards,

-- Rodney


On Thu, 9 Jan 2003 07:52, you wrote:
> You can change to web.xml file to have Tomcat initalize the web app
> when it starts.
> ----- Original Message -----
> From: "Quinton McCombs" <qm...@nequalsone.com>
> To: "Turbine Developers List" <tu...@jakarta.apache.org>
> Sent: Wednesday, January 08, 2003 1:44 PM
> Subject: Turbine initialization
>
>
> Why is it that Turbine will only initialize when the first request is
> made?  Is there a setting that I can change in Tomcat to force it to
> initialize on startup?
>
> The reason that I ask is two fold.  First, I would rather not have
> the users of the application see the initial delay.  Secondly, I want
> services like RPC and the scheduler to start running as soon as the
> server starts.

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


Re: Turbine initialization

Posted by Dave Everson <dj...@mygolftrac.com>.
You can change to web.xml file to have Tomcat initalize the web app when it
starts.
----- Original Message -----
From: "Quinton McCombs" <qm...@nequalsone.com>
To: "Turbine Developers List" <tu...@jakarta.apache.org>
Sent: Wednesday, January 08, 2003 1:44 PM
Subject: Turbine initialization


Why is it that Turbine will only initialize when the first request is
made?  Is there a setting that I can change in Tomcat to force it to
initialize on startup?

The reason that I ask is two fold.  First, I would rather not have the
users of the application see the initial delay.  Secondly, I want
services like RPC and the scheduler to start running as soon as the
server starts.

--
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: Turbine initialization

Posted by Daniel Rall <dl...@collab.net>.
On Sat, 11 Jan 2003, Henning P. Schmiedehausen wrote:

> "Quinton McCombs" <qm...@nequalsone.com> writes:
> 
> >Why is it that Turbine will only initialize when the first request is
> >made?  Is there a setting that I can change in Tomcat to force it to
> >initialize on startup?
> 
> >The reason that I ask is two fold.  First, I would rather not have the
> >users of the application see the initial delay.  Secondly, I want
> >services like RPC and the scheduler to start running as soon as the
> >server starts.
> 
> Use   <load-on-startup/> in web.xml as suggested and earlyInit = true for
> your services.
> 
> We have a Turbine application that is used only via XML-RPC and provides
> its GUI only for debugging / monitoring and it is used in this way and
> works fine.

We do similar things with SourceCast, and it works great.



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


Re: Turbine initialization

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"Quinton McCombs" <qm...@nequalsone.com> writes:

>Why is it that Turbine will only initialize when the first request is
>made?  Is there a setting that I can change in Tomcat to force it to
>initialize on startup?

>The reason that I ask is two fold.  First, I would rather not have the
>users of the application see the initial delay.  Secondly, I want
>services like RPC and the scheduler to start running as soon as the
>server starts.

Use   <load-on-startup/> in web.xml as suggested and earlyInit = true for
your services.

We have a Turbine application that is used only via XML-RPC and provides
its GUI only for debugging / monitoring and it is used in this way and
works fine.

	Regards
		Henning


-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
D-91054 Buckenhof     Fax.: 09131 / 50654-20   

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