Mail Archive Home | enhydra List | August 2004 Index
Re: [enhydra] StandardApplication fails but multiserverAdmin shows it running
- Subject: Re: [enhydra] StandardApplication fails but multiserverAdmin shows it running
- From: "Sinisa Milosevic" <sinisa@xxxxxxxxxxxxx>
- Date: Mon, 2 Aug 2004 16:31:15 +0200
Hi,
Thank you for your feedback. You are right
multiserver shows that application is running but
you can't use application (application
doesn't work).
Tomcat catches exception, which is throws in
startup method. (Context class - loadServlets method)
.....
at
org.apache.tomcat.core.ServletWrapper.loadServlet(Unknown
Source)
at org.apache.tomcat.core.Context.loadServlets(Unknown
Source)
at
org.apache.tomcat.core.Context.setupLoadableServlet(Unknown Source)
at
org.enhydra.servlet.servletManager.ServletManager.start(Unknown
Source)
............
see code..
try {
if(result!=null)
result.loadServlet();
}
catch (Exception ee) {
String msg =
sm.getString("context.loadServlet.e",
servletName);
logWrite(Logger.ERROR,msg);
}
This method is called from public method
setupLoadableServlet which doesn't throw any exception. We will try to find
solution to avoid this problem.
Regards,
Sinisa Milosevic
Together Serbia
----- Original Message -----
Sent: Friday, July 30, 2004 2:26 PM
Subject: [enhydra] StandardApplication fails but
multiserverAdmin shows it running
> Hi,
>
> I throw ApplicationException in the
StandardApplication.startup()
> because I want the application start to
fail (something in configuration
> is missing). It does fail but the
multiserverAdmin console shows it
> running (the Start button is grey, the
Stop button is active,
> application timer is counting..).
>
> Why isn't the StandardApplication failure propagated to the
>
ServletManager? And is somebody familiar with the code able to provide
>
qiuck patch to upcoming Enhydra 5.1-x maintaince release? :)
>
>
Petr
>
>
>
>
>
> --
> You receive this message
as a subscriber of the enhydra@xxxxxxxxxxxxx
mailing list.
> To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
> For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
- Re: [enhydra] StandardApplication fails but multiserverAdmin shows it running,
Sinisa Milosevic
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.