configuring auto loading webapps (tomcat 4.0.3)

2002-06-20 Thread Dan Diodati



Is there a way to 
configure each autoloading webapp without having to add an entry to the 
server.xml?
I know that webapps 
are autoloaded from the webapps directory, the problem is that I need to 
configure a
custom loader for 
each webapp and I don't want to change the server.xml for each new webapp(we 
will have 
lots of them). The 
older tomcat had support to configure different context's in different files, 
which would get added to
the server.xml 
during runtime. With tomcat 4.0.3 they seem to have lost this feature.I 
tried to use the DefaultContext
configuration but it 
does not seem to accept a Loader setting. Anyone know of a way around 
this?
 
  



 Dan 
Diodati [EMAIL PROTECTED] Senior Software Engineer 
NightFire Software     
 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


Réf. : Auto loading servlets at startup

2002-02-15 Thread joseph . vallot



please read mailinglist archive, and servlet documentation ;)

for the moment, look at "load-on-startup" token in servlet's web.xml

--
Joseph




This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

-

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Auto loading servlets at startup

2002-02-15 Thread Dimmick, Bill

Hi Tim,

Open the web.xml which contains the servlet you wish to autoload.
Find the  tag that defines that servlet, and inside that stanza,
add a tag like the following:

100

This will force the servlet to be init'd when the engine starts.
The number in the tags is the ordering of when the servlet is started,
where the lesser number is started first.

Bill

-Original Message-
From: Kennedy, Tim [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 9:10 AM
To: '[EMAIL PROTECTED]'
Subject: Auto loading servlets at startup


Hello,

I have a servlet that I wish to startup as soon as Tomcat starts. How is
this done?

Cheers

Tim

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Auto loading servlets at startup

2002-02-15 Thread Kennedy, Tim

Hello,

I have a servlet that I wish to startup as soon as Tomcat starts. How is
this done?

Cheers

Tim

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: How to turn off jsp auto-loading/compiling

2001-04-30 Thread Wolle

Hello,
set your reloadable=false in the server.xml
on your 

Greetings,
Wolle

Christian Hargraves wrote:

> Hi,
>
> I have looked everywhere on this. Does anyone know how to configure tomcat
> so that it won't check the jsp file's date everytime before executing the
> code? We want to turn this off to speed things up a bit.
>
> Thanks,
> Christian






How to turn off jsp auto-loading/compiling

2001-04-30 Thread Christian Hargraves

Hi,

I have looked everywhere on this. Does anyone know how to configure tomcat 
so that it won't check the jsp file's date everytime before executing the 
code? We want to turn this off to speed things up a bit.  

Thanks,
Christian



Re: auto-loading

2000-11-13 Thread Jim Richards


Uncomment, no ... comment out the interceptor for
AutoSetup and this will stop it loading everything 
in $TOMCAT_HOME/webapps

Ypu'll then need to create a context for anything
you want loaded from there (admin/examples/test)

' wrote:
> 
> Hi,
> How do I stop tomcat from automatically loading applications in /webapps?
> do I uncomment the ...context.AutoSetup  ContextInterceptor in server.xml?
> 
> Will this effect anything else?
> 
> thanks!



RE: auto-loading

2000-11-13 Thread Kitching Simon



> -Original Message-
> From: ' [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, November 13, 2000 7:37 PM
> To:   [EMAIL PROTECTED]
> Subject:  auto-loading
> 
> Hi,
> How do I stop tomcat from automatically loading applications in /webapps?
> do I uncomment the ...context.AutoSetup  ContextInterceptor in server.xml?
[Kitching Simon]  
I presume you mean *comment out* the AutoSetup.
This is exactly what needs to be done.

> Will this effect anything else?
> 
> thanks!
[Kitching Simon]  
Cheers,

Simon



auto-loading

2000-11-13 Thread '

Hi,
How do I stop tomcat from automatically loading applications in /webapps?
do I uncomment the ...context.AutoSetup  ContextInterceptor in server.xml?

Will this effect anything else?

thanks!