tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose MarĂ­a Zaragoza <demablo...@gmail.com>
Subject Re: Tomcat 6.x leak with WSS4J library
Date Wed, 19 Jun 2013 21:02:57 GMT
Thanks !

>You should at least upgrade to 6.0.37. 6.0.24

I agree with you but I can't. Anyway, I tested my webapp in Tomcat 6.0.37
and it throws the same error; it only works in latest Tomcat 7.x

>Why is your web application attempting to get a message's signature
during shutdown?

I explained myself  badly . I wanted to say "after my webapp  is redeployed
and without any restart, the next requests to my webapp throws that
exception.

>I think you have to use a ServletContextListener to properly tear-down
>your resources, otherwise they may be torn-down after Tomcat does
>things such as nulling-out static field references, which is likely to
>be the problem you are encountering, here.

I agree but I have no idea how free resources managed by wss4j library .
I'm not an expert in JVM profiling but I can investigate about it

> That's because the "log" reference is null.
>- -Dorg.apache.catalina.loader.
> WebappClassLoader.ENABLE_CLEAR_REFERENCES=false

Great !
It could be a solution. I hope don't have collateral effects ...


Regards and thank you very much




2013/6/19 Christopher Schultz <chris@christopherschultz.net>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message