idp crash for memory leak?

Teresa Fasano t.fasano at cineca.it
Fri Aug 30 05:19:45 EDT 2013


Hi,
yesterday one of our idp has crashed and in the catalina.out I found:

GRAVE: The web application [/idp] created a ThreadLocal with key of type
[org.apache.xml.security.algorithms.SignatureAlgorithm$1] (value
[org.apache.xml.security.algo
rithms.SignatureAlgorithm$1 at 7f3c8e5c]) and a value of type
[java.util.HashMap] (value
[{http://www.w3.org/2000/09/xmldsig#rsa-sha1=org.apache.xml.security.algorithms.i
mplementations.SignatureBaseRSA$SignatureRSASHA1 at 2ee8743c}]) but failed
to remove it when the web application was stopped. This is very likely
to create a memory leak.
29-ago-2013 14.09.47 org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
GRAVE: The web application [/idp] created a ThreadLocal with key of type
[org.apache.xml.security.algorithms.SignatureAlgorithm$3] (value
[org.apache.xml.security.algo
rithms.SignatureAlgorithm$3 at 51e7623c]) and a value of type
[java.util.HashMap] (value
[{http://www.w3.org/2000/09/xmldsig#rsa-sha1=Sun RSA private CRT key,
1024 bits
modulus:
132541564035519353052235983859566118514803890255606694357940738719350575943003288282688379812148201111600374949861014525785193911357959354324974481
095188756454202472980991536932647654917386430541771615637568310721393358022695730542438739608330272257878921826479038225267840615668311013489587547659924822590273
public exponent: 65537
private exponent:
107368839505099752102525418971029574621220662124756388047409460588832599551612746615315410901123762104076535485117128662800188363123030686804597329
773159739647110499990333600640791043406451243409747943537054693984723729404762415371831027948866203944334747808322989169964946057442740574435531509302217055393833
prime p:
118417998762032913909761905369905285971772942763543720995056821661770952030072023571005565308604560773377818484922279240723859405554941925594356135
17263227
prime q:
111926873803929479669171743412885343234879534934442820375544409139401585532232437270418697216592449132942337551647221039652709768052023750499093857
23120499
prime exponent p:
869582771323312939991333362502412651277529432753758200193494453407142352777705144632530301362879456151422996537127059636400271259248536721417517335
4468621
prime exponent q:
939193825030058421265355705251202172897100914697012988222273477852680377980996753408324368834714520830660232994756492764945216942259325588781401115
5096595
crt coefficient:
933560641023098530573539314583995441917031521243151274469388601823498193166780508565296672066287338091496254530001565362786495738064701818028616728
0351290}]) but failed to remove it when the web application was stopped.
This is very likely to create a memory leak.
29-ago-2013 14.09.47 org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
GRAVE: The web application [/idp] created a ThreadLocal with key of type
[org.apache.xml.security.utils.UnsyncByteArrayOutputStream$1] (value
[org.apache.xml.security.
utils.UnsyncByteArrayOutputStream$1 at 2de27b26]) and a value of type
[byte[]] (value [[B at 1f272733]) but failed to remove it when the web
application was stopped. This is
very likely to create a memory leak.
29-ago-2013 14.09.48 org.apache.catalina.startup.HostConfig deployDescriptor

...

java.lang.UnsatisfiedLinkError: Native Library
/tmp/tomcat6-idp-unibs-prod-tmp/sqlite-3.7.15-amd64-libsqlitejdbc.so
already loaded in another classloader
java.lang.UnsatisfiedLinkError: Native Library
/tmp/tomcat6-idp-unibs-prod-tmp/sqlite-3.7.15-amd64-libsqlitejdbc.so
already loaded in another classloader
Exception in thread
"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2"
Exception in thread
"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread
-#1" java.lang.UnsatisfiedLinkError:
org.sqlite.NativeDB._open(Ljava/lang/String;I)V

java.lang.UnsatisfiedLinkError:
org.sqlite.NativeDB._open(Ljava/lang/String;I)V

java.lang.UnsatisfiedLinkError: Native Library
/tmp/tomcat6-idp-unibs-prod-tmp/sqlite-3.7.15-amd64-libsqlitejdbc.so
already loaded in another classloader

Exception in thread
"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0"
java.lang.UnsatisfiedLinkError:
org.sqlite.NativeDB._open(Ljava/lang/String;I)V

...

GRAVE: The web application [/idp] appears to have started a thread named
[Timer-8] but has failed to stop it. This is very likely to create a
memory leak.
Exception in thread "Timer-3" java.lang.NullPointerException

...

SEVERE: Error while registering Oracle JDBC Diagnosability MBean.
java.lang.NullPointerException

What you think is the reason?
The problem was only resolved after we restart the tomcat.
thanks
Teresa

-- 
----------------------------------
L'educazione è il pane dell'anima
----------------------------------

Teresa Fasano

CINECA
System and Technologies Department
Middleware and Infrastructure Group
Via Magnanelli, 6/3
Casalecchio di Reno (Bologna) ITALY

web:     http://www.cineca.it
e-mail:  t.fasano at cineca.it
phone:   +39 051 61 71 364



More information about the users mailing list