Ah, after couple more hours, I found the problem. It was a config AND
a bug I believe. We have manually configured our webapps (which are
NOT in .war files) in a webapps directory. This same webapps directory
was also setup for the <web-app-deploy> for .war files. We didn't have
any .war files, but I think it was initializing everything in there
twice because of that. Moving the web-app-deploy directory solved all
our issues.

I believe this is related to http://bugs.caucho.com/view.php?id=1296
which is what caused me to check for the .war files deploy directory.
I can't make any comments on the above bug because mantis gave a 'mail
function not found' error. (Which I stupidly didn't copy down...can't
do it again since the user already exists.)

On 2/6/07, Squee <[EMAIL PROTECTED]> wrote:
> We just recently discovered after we upgraded to Resin 3.1. We have
> two webapps, one of which is the development version of the other.
> Occasionally, one or both the the webapps calls our contextInitialized
> methods on all our ServletContextListeners TWICE. I'm unable to figure
> out if this is due to a bug or a misconfiguration somewhere. I'm
> assuming the latter, even though these problems didn't start until we
> upgraded to 3.1 (but we reconfigured then). Does anyone have any idea
> what would cause this?

resin-interest mailing list

Reply via email to