aspose file tools*
The moose likes XML and Related Technologies and the fly likes Hung threads caused by HashMap in dom4j ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Hung threads caused by HashMap in dom4j ?? " Watch "Hung threads caused by HashMap in dom4j ?? " New topic
Author

Hung threads caused by HashMap in dom4j ??

Surender Suri
Ranch Hand

Joined: May 28, 2010
Posts: 42
Hi,

we are using dom4j for creating the XML request and making a http post call to external client, but since few weeks we are experiencing hung threads issue and when i got the thread dump, this is what i see and lot of them . Is this a known issue ? or am i missing something ?

Any help whould be appreciated.

"http-80-20" - Thread t@688
java.lang.Thread.State: RUNNABLE
at java.util.HashMap.get(HashMap.java:303)
at org.dom4j.tree.QNameCache.get(QNameCache.java:79)
at org.dom4j.DocumentFactory.createQName(DocumentFactory.java:157)
at org.dom4j.tree.AbstractElement.addElement(AbstractElement.java:704)
at com.hypertechsolutions.ipm.cars.carconnector.CarServiceHandler.ā(CarServiceHandler.java:1062)

Thanks,
Suri
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hung threads caused by HashMap in dom4j ??