-
1. Re: Delay HTTP access until web app full deployed
mpalicka Jul 24, 2003 7:30 AM (in response to bgw2)Hello, I have exactly the same problem and could not find any solution so far.
-
2. Re: Delay HTTP access until web app full deployed
mpalicka Jul 30, 2003 2:40 AM (in response to bgw2)This is an answer I got from the [jetty-support] mailing list:
----- Original Message -----
From: Greg Wilkins
To: jetty-support@yahoogroups.com ; michal.palicka@cleverlance.com
Sent: Wednesday, July 30, 2003 8:58 AM
Subject: Re: [jetty-support] JBoss/Jetty: Servlet Not Initialized
Unfortunately this is not possible with the standard
JBoss deployer.
With standard Jetty, you could simply not start your listeners
until the contexts were configured.
You should probably raise your concern on jboss-dev - so that
they can see that users want this feature.
cheers
--
Greg Wilkins<gregw@mortbay.com> Phone/fax: +44 7092063462
Mort Bay Consulting Australia and UK. http://www.mortbay.com
michal_palicka wrote:
> Hello,
> I have a problem with Jetty running as a servlet container in JBoss
> (3.0.4). When I start the application server, the Jetty (JBossWeb)
> service is deployed and started before my web applications (servlets)
> get initialized. As soon as Jetty starts, it accepts client requests.
> But servlets are not initialized yet and I
> get "javax.servlet.UnavailableException: Servlet Not Initialized"
> errors.
> Is it possible to configure Jetty/JBoss so that it will wait for all
> web apps to initialize first and then starts accepting incoming
> requests?
> Thanks in advance
> mp. -
3. Re: Delay HTTP access until web app full deployed
urddd Mar 5, 2004 3:54 AM (in response to bgw2)Has anyone found a solution for this problem?
-
4. Re: Delay HTTP access until web app full deployed
oz59 Mar 5, 2004 11:26 AM (in response to bgw2)Greetings.
Until your ideal solution surfaces, you might want to go w/ a Filter. Granted, it's not as elegant as a declarative type solution, but at least the "initialized" checks/flags would be cleanly separated in one place.
cheers.