instance needs to be final, or it may be changed by some tricks that
break encapsulation.
On Sat, 2005-08-06 at 15:59 -0400, Mauricio Nuñez wrote:
> Improved version without sync locking:
>
> class SingletonObj
> {
>
> private static SingletonObj instance;
>
> static
> {
>
Improved version without sync locking:
class SingletonObj
{
private static SingletonObj instance;
static
{
instance=new SingletonObj();
}
private SingletonObj()
{
}
public static SingletonObj getInstance() // wit
{
private static final SingletonObj singleton;
// optional - use if you want the initialization to occur as class load
time
// Otherwise, the initialization will occur at first call to
getSingleton();
// static initialization at load time
static {
getSingelton ()/
}
private SingletonObj ()
private static final SingletonObj singleton;
public SingletonObj ()
{
super ();
singleton = this;
}
public synchronized SingletonObj getSingleton ()
{
if ( singleton == null )
{
new SingletonObj();
}
return singleton;
}
On Fri, 2005-08-05 at 20:11 -0700, Ming Han wrote:
> You can
You can use Singleton pattern, but care must be taken.
For example
if ( singleton == null )
{
singleton = new SingletonObj();
}
There might be a case where few thread running concurrently on the null
checking, then multiple singleton object will be created more than one.
__
> You set up your object in the contextInitialized(...) method of your
> implementation and tear it down in contextDestroyed(...). For it to be
> used you need to add it to your web.xml.
>
> The container is free to init and destroy servlets as it sees fit after
> complying with loa
free to init and destroy servlets as it sees fit after
complying with load-on-startup directives. That's why use of
load-on-startup for initialization of application scope objects is prone
to error and unforeseen circumstances.
my $0.02 and HTH,
Jon
Nicolas Schwartz wrote:
Hi all,
I ne
init method of the servlet
instead of the service/doPost/doGet methods.
Regards,
Marius
-Original Message-
From: Nicolas Schwartz [mailto:[EMAIL PROTECTED]
Sent: Friday, August 05, 2005 10:23 AM
To: tomcat-user@jakarta.apache.org
Subject: load on startup
Hi all,
I need an object to be
Hi all,
I need an object to be instanciated on the startup of my tomcat.
So I did a servlet the creates an instance of it and put my servlet in the
web.xml of a webapp with the loadOnStartup parameter.
The constructor of my object is called twice so there must be 2 instances of it
... which is
Hi all.
Maybe this isn't a good list for this, but here goes.
I know how to define for a Java Web Application, no
problem there. My question is how do I do it for a Struts application?
The trick is, I'd like to load some application parameters from the DB
into the application scope. And the
On Wed, May 11, 2005 at 08:53:43PM -0500, Caldarale, Charles R wrote:
: > any one know if there's a way to make webappY get installed before
: > webappX?
:
: If you want to synchronize application deployment, I think you're going
: to have to do that within the app itself, possibly with context
:
1, 2005 3:47 PM
To: Parsons Technical Services; Tomcat Users List
Subject: Re: question about load-on-startup in web.xml
i tried putting in a sleep in my servlet's init method, but
$CATALINA_HOME/logs/catalina.out seems to indicate that tomcat waits
for it to initalize..
in my catalina.out, i have:
thanks for the insights and suggestions chuck!
On 5/11/05, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > From: Annie Wang [mailto:[EMAIL PROTECTED]
> > Subject: Re: question about load-on-startup in web.xml
> >
> > any one know if there's a way t
> From: Annie Wang [mailto:[EMAIL PROTECTED]
> Subject: Re: question about load-on-startup in web.xml
>
> any one know if there's a way to make webappY get installed before
> webappX?
As far as I can tell, the intent of the JSP and servlet specs is for web
applications to be
any one know if there's a way to make webappY get installed before
webappX? what determines the install order? i thought it was
load-on-startup in the web.xml file, but maybe that affects the
ordering of servlet initalization within a web application (if the web
application has multiple serv
pefully someone will set me straight if I am off base here.
>
> Doug
>
> - Original Message -
> From: "Annie Wang" <[EMAIL PROTECTED]>
> To:
> Sent: Tuesday, May 10, 2005 6:59 PM
> Subject: question about load-on-startup in web.xml
>
> hi,
>
> regarding
omeone will set me straight if I am off base here.
Doug
- Original Message -
From: "Annie Wang" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, May 10, 2005 6:59 PM
Subject: question about load-on-startup in web.xml
hi,
regarding the tag in web.xml:
say i have 2 web apps (webapp
rvlet?
basically, i want both web app's servlets to auto initialize on tomcat
startup, but i want webapp2's servlet to initialze only after
webapp1's servlet has finished initialization. when i use the above
load-on-startup settings, webapp2's servlet seems to initialize be
hi;
i have send a couple of emails regarding this but now i am more focused on the
problem.
my application was deployed twice instead of once on tomcat startup.
i saw that the trouble seem to come from the load-on-startup tag in the web.xml
(when its absent the problem is gone)
is this a known
Darren Govoni wrote:
How can I have my servlet loaded on startup, but
after the web server is up and running? Not possible?
Well, you can always start a thread that does this initialization, and
return. Then, when the full Tomcat initialization is complete, your
thread will run to completion (ass
; this, so pardons if its old problem. I have a servlet that I designate
> > to load-on-startup, but that servlet calls a class that needs to access
> > the tomcat server to get resources. It just hangs because the server is
> > not ready to serve yet. How can I have my servlet
f its old problem. I have a servlet that I designate
to load-on-startup, but that servlet calls a class that needs to access
the tomcat server to get resources. It just hangs because the server is
not ready to serve yet. How can I have my servlet loaded on startup, but
after the web server is u
Hi,
I wasn't able to do a full text search of archive message bodies on
this, so pardons if its old problem. I have a servlet that I designate
to load-on-startup, but that servlet calls a class that needs to access
the tomcat server to get resources. It just hangs because the server is
not
Great ideas Yoav. Thank you for your comments/input.
--JW
Shapira, Yoav wrote:
Hi,
Hmm, then is there a recommended way for managing child threads that
are
kicked off by a servlet? My servlet reads an XML file to determine what
classes to create and run - but if the Servlet itself goes a
Hi,
>Hmm, then is there a recommended way for managing child threads that
are
>kicked off by a servlet? My servlet reads an XML file to determine what
>classes to create and run - but if the Servlet itself goes away and
then
>is re-init()ed it will attempt to start those classes again. Does every
different JVM, and ppid on your system is
not a reliable method, as has been discussed on this list numerous
times.
Better design/good ideas??
A ServletContextListener is better, as someone else said, because a
load-on-startup servlet may be restarted by the container as needed with
or
ppid on your system is
not a reliable method, as has been discussed on this list numerous
times.
>Better design/good ideas??
A ServletContextListener is better, as someone else said, because a
load-on-startup servlet may be restarted by the container as needed with
or without an application reload. B
I'm working on getting the next release out on TC5. I don't think that
would fix my threading issue, however.
JW
Ben Souther wrote:
If upgrading Tomcat is possible, a context listener would be a better
design.
On Mon, 2004-10-18 at 15:51, Jonathan Wilson wrote:
I have a 1 Servlet on TC3.3.1(u
If upgrading Tomcat is possible, a context listener would be a better
design.
On Mon, 2004-10-18 at 15:51, Jonathan Wilson wrote:
> I have a 1 Servlet on TC3.3.1(under
> RH7.3) which checks an XML file which contains a list of Runnable
> classes to kick off at servlet startup. These child thr
I have a 1 Servlet on TC3.3.1(under
RH7.3) which checks an XML file which contains a list of Runnable
classes to kick off at servlet startup. These child threads all belong
to the same threadgroup(however, not the same threadgroup of the spawner
servlet). These are daemon threads, and have the
ad non-daemon threads that it would cause issues
when I shut down the container, because I had this issue with apps I
inherited.
The reason I thought I got it right all this time was because of my
previous experience, in that if I didn't shut down the thread, I
expected my tomcat console to stay. Like
Hi,
Please keep the discussion on the list, not person. It might benefit
others now in the future, from the archives.
>From what I can tell, my servlet#destroy() method is being called,
>because I shut down the JMS connections and the ActiveMQ broker from
>there.
>
>I'm just running Tomcat throu
ct: Shutdown process hanging when I load-on-startup
>
>Hi,
>
>I have a servlet whose init() method sets up an ActiveMQ jms broker
>and a couple of JMS connections.
>
>When I specify load-on-startup for this servlet, Tomcat hangs when I
>shut it down. I reach the "I
Hi,
I have a servlet whose init() method sets up an ActiveMQ jms broker
and a couple of JMS connections.
When I specify load-on-startup for this servlet, Tomcat hangs when I
shut it down. I reach the "INFO: Stopping Coyote HTTP/1.1 on
http-8080" line, afterwards it hangs.
When I
Raphael,
The webapp has a login filter that needs a connection from the connection
pool. The webapp loads the login filter first. I don't really want to
remove the filter because its integral to the application's design. Is
there another solution, to getting the connection pool instantiated be
Hi,
>Actually I asked the question. Problem is I don't want the filter to
be
>loaded first. I'm trying to implement a webapp-wide connection pool to
>mysql as documented in "Java Servlet's Developper's guide". I have a
class
>'ConnectionServlet' that is creates and initializes the connection
p
the connection pool instantiated before
the filter?
Raphaël
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 10:49 AM
To: Tomcat Users List
Subject: RE: Filters and load-on-startup
Hi,
>Actually, it is. SRV9.12 mandates the followi
Hi,
>Actually, it is. SRV9.12 mandates the following load order: listeners,
>filters, servlets (Servlet Specification 2.4). So any filters should be
>loaded before any servlets, regardless of load-on-startup value.
Yup, clear as day, thanks. I figured you'd have looked at t
> Hi,
>
> >Do filters get loaded before servlets regardless of load-on-startup
> >value?
>
> I don't think so: as filters can be mapped to servlet-name, servlets
> must be loaded first. (Although I suppose you could read web.xml, so
> you have the servlet in
Hi,
>Do filters get loaded before servlets regardless of load-on-startup
value?
I don't think so: as filters can be mapped to servlet-name, servlets
must be loaded first. (Although I suppose you could read web.xml, so
you have the servlet info, then instantiance filters, then ins
Do filters get loaded before servlets regardless of load-on-startup value?
Raphael
> 302 -- found (redirect), this is expected and good. 304 --
> not modified, means it's in your browser's cache. Try
> clearing your browser's cache.
Top tip. Cleared the cache and the gifs etc. turned up!
Thanks for that. I should take more notice of the codes.
> >I'm not
Correct - the only place the Filter is mentioned is in the
web.xml for the "/" Context and the .class file is in that
Context.
If it further confirms your understanding, I should mention
that in the beginning I *did* have a copy of the Filter under
"/hal" (for initial testing of the Filter) and
Chris, thanks for responding. I think I understand. Sanity check: the
filter is not even mentioned anywhere in the webapps/hal heirarchy,
right? That hierarchy is totally unaware of the filter.
If that's the case then all is making sense now.
thanks again,
-joe
Chris Ward wrote:
Hi Joe,
Hi Joe,
I'm not sure exactly what your query is but the setup I have is a "/"
and a "/hal" Context. The Filter I am using to direct any requests to
"/" to "/hal" lives in the WEB-INF/classes dir of the "/" context.
In my case I used the Tomcat default dir of "../webapps/ROOT" for the
"/" docBas
Shapira, Yoav wrote:
Howdy,
A javax.servlet.Filter is one nice clean way.
Apologies if this is dumb q: Googling the jakarta site and reading the
tomcat o'reilly have left me confused on this.
Isn't the filter part of web app? From jakarta:
Filters are configured in the deployment descriptor
Howdy,
The response code tell a ton.
>Seems to request both versions...
>
> - - [23/Jan/2004:17:31:22 00] "GET /images/buttons/Delete.gif
HTTP/1.1"
>302 -
> - - [23/Jan/2004:17:31:22 00] "GET /images/buttons/Clone.gif HTTP/1.1"
>302 -
> - - [23/Jan/2004:17:31:22 00] "GET /hal/images/buttons/Delet
>
> Hmm, that's strange. Enable the AccessLogValve (in
> server.xml) so that you can see what's actually being
> requested from the server.
>
Seems to request both versions...
- - [23/Jan/2004:17:31:22 00] "GET /images/buttons/Delete.gif HTTP/1.1"
302 -
- - [23/Jan/2004:17:31:22 00] "GET
>
> Hmm, that's strange. Enable the AccessLogValve (in
> server.xml) so that you can see what's actually being
> requested from the server.
Seems to request both versions...
> >try
> >{
> >System.out.println( "REQ : getRequestURI : " +
> request.getRequestURI()
> >);
>
Howdy,
>Below is the filter I've been using. It seems to mostly work,
>but any image files from a path such as "/images/Delete.gif"
>seem to not get updated to "/hal/images/Delete.gif" in the
>HTML.
>
>However, the output I get to System.out *does* show the filter
>processing these requests. An
>
> I would use sendRedirect in this case for two reasons:
> - To really make it look/act as if the request was for the /hal URL,
> - To avoid getting a RequestDispatcher for a resource outside
> your docBase
>
> sendRedirect would preserve all the request parameters,
> including POST data.
H
ot context to be NOT the same docbase as /hal)
>
> > -Original Message-
> > From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> > Sent: Friday, January 23, 2004 9:10 AM
> > To: Tomcat Users List
> > Subject: RE: Repeated "load-on-startup" niggle
> >
>
> Howdy,
> But he wants to redirect all requests, not just those for /.
>
Exactly. I did in fact have an index.html which did a redirect
to "/hal" so it looks like I'd tried that solution in the dim and
distant past.
Obviously once I had pointed "/" at "/hal" using it's docBase attribute
(in
d modify
the root context to be NOT the same docbase as /hal)
> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 23, 2004 9:10 AM
> To: Tomcat Users List
> Subject: RE: Repeated "load-on-startup" niggle
>
>
>
Howdy,
But he wants to redirect all requests, not just those for /.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Mike Curwen [mailto:[EMAIL PROTECTED]
>Sent: Friday, January 23, 2004 10:10 AM
>To: 'Tomcat Users List'
>Subject: RE: Repeated
Howdy,
>Thanks. That's exactly what I'd started to use. What's
>the best way to add the "/hal" and redirect while preserving all
>the request parameters etc.
>
>i.e.
>
> Original URL = /somedir/somefile.html
>
> Filtered URL = /hal/somedir/somefile.html
>
>Should I be using a reques
> From: Chris Ward [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 23, 2004 9:02 AM
> To: Tomcat Users List
> Subject: RE: Repeated "load-on-startup" niggle
>
>
> Thanks. That's exactly what I'd started to use. What's
> the best way to a
AND REGULATED
BY THE FINANCIAL SERVICES AUTHORITY.
> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 23, 2004 2:43 PM
> To: Tomcat Users List
> Subject: RE: Repeated "load-on-startup" niggle
>
>
&g
Howdy,
A javax.servlet.Filter is one nice clean way.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Chris Ward [mailto:[EMAIL PROTECTED]
>Sent: Friday, January 23, 2004 5:34 AM
>To: Tomcat Users List
>Subject: Repeated "load-on-startup" nig
Hi all,
In my Tomcat setup I have a Context called "hal" which
contains all my applications, HTML everything.
Therefore I run things with a URL such including "/hal"
Way back when I started with Tomcat I set the "Tomcat Root Context"
to point to the same docBase directory so any re
Steffen,
As soon as I start using 2 coyote connectors together with
tomcat initializes the database pools twice.
Interestingly it keeps initializing things twice even if I add a third
coyote.
In about two minutes, Yoav Shapira is going to tell you this:
"Don't use a servlet to initialize your st
Howdy,
>As soon as I start using 2 coyote connectors together with startup>
>tomcat initializes the database pools twice.
>Interestingly it keeps initializing things twice even if I add a third
>coyote.
You have one load-on-startup tag for each servlet element in web.xml,
Hi, once again,
after having just solved the welcome-servlet problem (posted separately) I
just run into another problem.
I have 5 distinct servlets while all inherit from a common base class whose
simple purpose is to initialize the applications database pool, read
different configuration files a
> class threw an exception. Going down a little further we find the
> "Caused by" error that claims "Log4JLogger does not implement Log".
> This is almost certainly due to having more than one copy of the Log4J
> classes visible in the class loader hierarchy.
>
> Craig
Thank you soo much. I w
Henrik Vendelbo wrote:
I am running Axis under Tomcat. Both are the latest versions. I chose to use
the log4j that is already in the Tomcat directory.
When the Axis servlet loads, I get the following. Where does the issue lie ?
The important evidence is the "Root Cause" exception below
(Except
I am running Axis under Tomcat. Both are the latest versions. I chose to use
the log4j that is already in the Tomcat directory.
When the Axis servlet loads, I get the following. Where does the issue lie ?
2003-09-28 18:44:02 StandardWrapper[/dspc:DspcAxisServlet]: Marking servlet
DspcAxisServlet
Title: RE: load-on-startup order
So load-on-startup only orders within an application, not between applications?
Application A is a message handler. Application B is a listener which must register with A when it starts, so A can forward incoming messages to B. Therefore, B can't lazy
. Just curious.
- Original Message -
From: "Mayne, Peter" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, March 23, 2003 7:42 PM
Subject: load-on-startup order
> Tomcat 4.1.18
>
> I have two applications, A and B, where a serv
is
called first. B's init() attempts to make a connection to A's servlet, but A
hasn't started yet, so everything hangs.
Am I doing this correctly?
Thanks.
PJDM
With your setup/solution you realy can´t tell if application A will load
before B.
Load-on-startup orders the servlet
Tomcat 4.1.18
I have two applications, A and B, where a servlet in B depends on a servlet
in A being up, so I have
in A's web.xml:
...
1
in B's web.xml:
...
5
which should make A start first. However, when Tomcat starts, B's init() is
called first. B's init() attem
Hi,
I am Using Tomact 4.1.18, I am unable to locate the Resouces of
DefaultContext from a load-on-startup servlet.
Is it a limitation or any other configuration required? Where can i get the
documenation for this,
Anybody please help me out..
Thanks and Regards,
Pratt.
Hi,
I am Using Tomact 4.1.18, I am unable to locate the Resouces of
DefaultContext from a load-on-startup servlet.
Is it a limitation or any other configuration required? Where can i get the
documenation for this,
Anybody please help me out..
Thanks and Regards,
Pratt
Hi,
I am Using Tomact 4.1.18, I am unable to locate the Resouces of DefaultContext from a
load-on-startup servlet.
Is it a limitation or any other configuration required?
Anybody please help out..
Thanks and Regards,
Pratt.
et load-on-startup
Does load-on-startup still work for anyone under 4.1.18?
Just wanted to check for now, I'm not sure if it's a problem with jk
or with tomcat itself yet.
--
Rasputin :: Jack of All Trades - Master of Nuns
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For a
Hi,
Works for me. In the proper order too ;)
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Rasputin [mailto:[EMAIL PROTECTED]]
>Sent: Monday, January 06, 2003 5:31 AM
>To: [EMAIL PROTECTED]
>Subject: servlet load-on-startup
>
>
>Does load-o
Does load-on-startup still work for anyone under 4.1.18?
Just wanted to check for now, I'm not sure if it's a problem with jk
or with tomcat itself yet.
--
Rasputin :: Jack of All Trades - Master of Nuns
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional
>To: Tomcat Users List
>Subject: multiple execution of a 'load-on-startup'
>
>Hello ,
>
>A strange thing about 'load-on-startup' servlet.
>
>I use tomcat 4.1.12 with multi-host, and log4j 1.2.7
>
>in my web.xml i wrote these lines :
>
>
> S
Hello ,
A strange thing about 'load-on-startup' servlet.
I use tomcat 4.1.12 with multi-host, and log4j 1.2.7
in my web.xml i wrote these lines :
Setup
init.SetupServlet
and i put an information log at the end of the servlet init() method
at tomcat startup, we c
Hi All,
I have a servlet that reads in a property file and stores properties in a
static class.
I want the servlet called when the webapp starts..
web.xml -
Settings
SettingsServlet
configFile
my.conf
Jeff,
Try 10 and 20 or 1 and 2.
I know negative numbers don't necessarily start up before 1, maybe 0 doesn't
either.
Andy
> -Original Message-
> From: Jeff Wishnie [mailto:[EMAIL PROTECTED]]
> Sent: 05 September 2002 18:22
> To: Tomcat Users List
> Subject: lo
I have two load-on-startup servlets in my apps web.xml . One is set as 0,
the other as 1.
According the the servlet spec, containers should guarantee that servlet's
with lower load-on-startup values should load first, but according to my
logs, Servlet 1 gets its init called before serv
Hi
I'm running Tomcat 4.0.3 in standalone mode and I can't get a JSP page
to load on startup.
I've put together a test webapp which has one servlet and one jsp page
both set to load on startup via the webapp web.xml file and only the
servlet is started when the webapp is loa
Greetings.
Tomcat 4.0.2 load-on-startup in web.xml
I have two servlets, the first one I gave a value of 0 to the
load-on-startup element and the second servlet I gave a value of 5.
The Servlet 2.3 API Deployment Descriptor(web.xml) DTD talks about
load-on-startup
"PELOQUIN,JEFFREY (Non-HP-Boise,ex1)" wrote:
>
> However, I have noticed that if I restart the context using the manager, the
> servlet are initialized according to their physical order in web.xml, thus
> ignoring the load-on-startup tag.
>
You might want to just go
When tomcat is restarted, the servlets are initialized according to
the value in their load-on-startup tags in web.xml.
However, I have noticed that if I restart the context using the manager, the
servlet are initialized according to their physical order in web.xml, thus
ignoring the load-on
---
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: 01 March 2002 15:23
To: 'Tomcat Users List'
Subject: RE: jspInit and load-on-startup
What does your web.xml file look like for this tag? (Please include
the entire declaration.)
Randy
> -Original Message---
Larry
I've downloaded 3.3.1 and it works as expected.
many, many thanks
Mark
-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: 01 March 2002 16:18
To: 'Tomcat Users List'
Subject: RE: jspInit and load-on-startup
Mark,
This is a bug in Tomcat 3.
spInit and load-on-startup
>
>
> Hello
>
> I would like to have a JSP page loaded by Tomcat 3.3 when it
> starts up.
>
> I have added to the web.xml file and my JSP
> page looks
> like this:
>
> <%@ page import="java.io.*" contentType="te
AM
> To: [EMAIL PROTECTED]
> Subject: FW: jspInit and load-on-startup
>
>
> Hello
>
> I would like to have a JSP page loaded by Tomcat 3.3 when it
> starts up.
>
> I have added to the web.xml file and my JSP
> page looks
> like this:
>
> <%@ page impo
;Hi there");
%>
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Mark Lines-Davies
Sent: 01 March 2002 15:12
To: [EMAIL PROTECTED]
Subject: jspInit and load-on-startup
Hello
I would like to have a JS
Hello
I would like to have a JSP page loaded by Tomcat 3.3 when it starts up.
I have added to the web.xml file and my JSP page looks
like this:
<%@ page import="java.io.*" contentType="text/xml" %>
<%!
public void
Init(){
System.out.println("Hello World");
}
%>
<%
System.out.pr
Thanks Greg, worked like a charm!
Now for the next question regarding load-on-startup in my web.xml.
Other than having an "public void init" method in my servlet, and a
servlet definition on the web.xml with load-on-startup, is there
anything else that needs to be done?
The appl
f9orro
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 3:55 PM
Subject: JSP load-on-startup
> I used the following xml in my deployment descriptor expecting Tomcat4 to
> generate a servlet from my jsp within
I used the following xml in my deployment descriptor expecting Tomcat4 to
generate a servlet from my jsp within the work directory.
Home
/home.jsp
1
Home
/home.jsp
It appears to have done nothing. The servlet isn't generated until I
request hom
Whoops! This is for Tomcat 3.2.3.
Sorry.
- Original Message -
From: "simon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 22, 2001 4:09 PM
Subject: Re: automatic shutdown from servlet.init() that is load-on-startup
> The way to shutdown t
ett Porter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 22, 2001 3:20 PM
Subject: automatic shutdown from servlet.init() that is load-on-startup
> Hi,
>
> I saw a message a while back on this, but don't remember a solution and
> failed to f
ile back on this, but don't
>>remember a solution and
>>failed to find it in the archives.
>>
>>I am looking to shutdown Tomcat 4 if a set of
>>initialisation functions
>>fail. These functions are in the init() method of a
>>servlet that is set
>>t
> failed to find it in the archives.
>
> I am looking to shutdown Tomcat 4 if a set of
> initialisation functions
> fail. These functions are in the init() method of a
> servlet that is set
> to load on startup (the first).
>
> Throwing a ServletException doesn'
Hi,
I saw a message a while back on this, but don't remember a solution and
failed to find it in the archives.
I am looking to shutdown Tomcat 4 if a set of initialisation functions
fail. These functions are in the init() method of a servlet that is set
to load on startup (the
_Reply Separator
Subject:Re: Tomcat 4.0b7 Load on Startup
Author: [EMAIL PROTECTED]
Date: 8/14/2001 7:05 PM
On Tue, 14 Aug 2001, Jonathan Pierce wrote:
> Craig wrote:
>
> >>Servlets that load at startup are loaded from the webapp class loader
> >
1 - 100 of 122 matches
Mail list logo