|Anonymous | Login | Signup for a new account||03-29-2020 07:43 PDT|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0004129||[Resin]||minor||always||07-19-10 09:57||01-17-11 15:37|
|Summary||0004129: bind-ports-after-start for apache|
(rep by Wesley Wu)
ake caucho apache module to act (maybe should be configurable) as below :
When check a Resin instance whether it is ready to accept connections,
make sure it's not only started normally, but also all CDI startup beans were
already initialized and deployed (after @PostConstuct call finished maybe).
The problem supposed to be solved:
I have some @Startup beans to load various configrations from both
property files and database tables in their @PostConstuct methods.
This stage usually takes 40~100 seconds to finish.
Should I call this stage a deployment stage, Or they're indeed tasks which
the Resin App Server deployment stage will do?
Almost every my web request (filters/servlets) has dependencies to
these configurations. There won't be any requests be served and
they'll be all blocked by either locks I defined or something else until
the deployment stage finish.
So I need the caucho apache module not to redirect requests to a resin
instance in deployment stage, because it's just not ready yet!
I have to suffer from a 40~100 seconds request halt/blocking after bring a resin
instance on in a cluster, whose forend is an apache httpd server, of course
without restarting the httpd service.
Hope I described the problem and the request.
Or there's any way out to solve this problem currently?
|07-19-10 09:57||ferg||New Issue|
|07-22-10 10:19||briandeng||Issue Monitored: briandeng|
|01-17-11 15:37||ferg||Note Added: 0004948|
|01-17-11 15:37||ferg||Assigned To||=> ferg|
|01-17-11 15:37||ferg||Status||new => closed|
|01-17-11 15:37||ferg||Resolution||open => fixed|
|01-17-11 15:37||ferg||Fixed in Version||=> 4.0.15|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.|
26 unique queries executed.