Hi all,
I am just stumbling into this strange ThreadDeath issue when sending a
XML Post request to my Jersey Backend.
My Setup is GFv2.1 on Debian Lenny, java 1.6.0_12, Jersey 1.1.2.
The XML contains a xsd-date which might be not correct. But surely this
should not be a reason for GF/Jersey to just stop the webapp?
Has anyone seen such problems?
I did deploy without restarting before this issue occurred, however the
webservice was consuming similar post requests for about 20 Minutes
before the error occurred.
Thanks Ben
[#|2009-12-17T19:34:34.155+0100|INFO|sun-appserver2.1|javax.enterprise.s
ystem.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6080-0;|20
09-12-17 19:34:34,154 INFO: my.MyResource(103) - Request:POST
http://localhost:8055/my/resources/foo-list/
|#]
[#|2009-12-17T19:34:34.198+0100|INFO|sun-appserver2.1|org.apache.catalin
a.loader.WebappClassLoader|_ThreadID=15;_ThreadName=httpSSLWorkerThread-
6080-0;|PWC1635: Illegal access: this web application instance has been
stopped already (the eventual following stack trace is caused by an
error thrown for debugging purposes as well as to attempt to terminate
the thread which caused the illegal access, and has no functional
impact)|#]
[#|2009-12-17T19:34:34.200+0100|SEVERE|sun-appserver2.1|javax.enterprise
.system.container.web|_ThreadID=15;_ThreadName=httpSSLWorkerThread-6080-
0;_RequestID=a824c445-f83d-439a-a0d1-a87d2c310e8e;|StandardWrapperValve[
ServletAdaptor]: PWC1406: Servlet.service() for servlet ServletAdaptor
threw exception
java.lang.ThreadDeath
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1411)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at
org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl$Parser.<init>(U
nknown Source)
at
org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl.<init>(Unknown
Source)
at
org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl.newXMLGregorianCalen
dar(Unknown Source)
at
com.sun.xml.bind.DatatypeConverterImpl._parseDateTime(DatatypeConverterI
mpl.java:352)
at
com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$5.parse(Runtim
eBuiltinLeafInfoImpl.java:269)
at
com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$5.parse(Runtim
eBuiltinLeafInfoImpl.java:271)
at
com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransduc
edAccessorImpl.parse(TransducedAccessor.java:241)
at
com.sun.xml.bind.v2.runtime.unmarshaller.LeafPropertyLoader.text(LeafPro
pertyLoader.java:61)
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.text(Unmar
shallingContext.java:462)
at
com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.processText(SAXCon
nector.java:168)
at
com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.endElement(SAXConn
ector.java:141)
at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unm
arshallerImpl.java:211)
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unma
rshallerImpl.java:184)
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmars
hallerImpl.java:120)
at
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmars
hallerImpl.java:103)
at
com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider.readFrom
(XMLRootElementProvider.java:112)
at
com.sun.jersey.core.provider.jaxb.AbstractRootElementProvider.readFrom(A
bstractRootElementProvider.java:105)
at
com.sun.jersey.spi.container.ContainerRequest.getEntity(ContainerRequest
.java:410)
at
com.sun.jersey.server.impl.model.method.dispatch.EntityParamDispatchProv
ider$EntityInjectable.getValue(EntityParamDispatchProvider.java:139)
at
com.sun.jersey.server.impl.inject.InjectableValuesProvider.getInjectable
Values(InjectableValuesProvider.java:43)
at
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodD
ispatchProvider$EntityParamInInvoker.getParams(AbstractResourceMethodDis
patchProvider.java:126)
at
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodD
ispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispa
tchProvider.java:173)
at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispa
tcher.dispatch(ResourceJavaMethodDispatcher.java:67)
at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRul
e.java:208)
at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceCl
assRule.java:75)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandP
athRule.java:115)
at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(Root
ResourceClassesRule.java:67)
at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest
(WebApplicationImpl.java:724)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(
WebApplicationImpl.java:689)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(
WebApplicationImpl.java:680)
at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.j
ava:324)
at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletCon
tainer.java:425)
at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletCon
tainer.java:604)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at
org.apache.catalina.core.ApplicationFilterChain.servletService(Applicati
onFilterChain.java:427)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:315)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
textValve.java:287)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:218)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:648)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:593)
at
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESession
LockingStandardPipeline.java:98)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:222)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:648)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:593)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
87)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:166)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:648)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java
:593)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
87)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdap
ter(DefaultProcessorTask.java:647)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(
DefaultProcessorTask.java:579)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(De
faultProcessorTask.java:831)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcesso
rTask(DefaultReadTask.java:341)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultR
eadTask.java:263)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultR
eadTask.java:214)
at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWork
erThread.java:106)