>> Hi All:
>> I've got a java/jsp application using Stripes and Hibernate and I'm
>> running into an an error:
>> HTTPClient.RetryException: Premature EOF encountered
>> It appears some content is not making it from the application
>> server down to the browser.
>> I'm running:
>> Web Server 7 u4
>> + LoadBalancer.xml
>> using
>> Glassfish Server 2.1 Patch 03 (9.1_02 Patch 09)
>> Anybody have any ideas on where I should be looking. The GC and
>> JDBC seem to be behaving themselves.
>
> Can you post your server.log? Also, can you grab a jstack PID when
> that happens? I suspect all the threads are busy waiting for a JDBC
> connection and Grizzly starts dropping requests because it's
> internal queue is full, awaiting for a thread to execute the request.
There's nothing in the server.log until I get higher load and then I
start to see:
[#|2009-09-10T15:21:54.707-0400|SEVERE|sun-appserver2.1|
com.sun.org.apache.commons.modeler.Registry|
_ThreadID
=
22
;_ThreadName
=
httpSSLWorkerThread
-38084-228;_RequestID=95e469d6-343e-43bc-8978-8d59137de903;|Error
registering
com
.sun.appserv:type=RequestProcessor,worker=http38084,name=HttpRequest2617
javax.management.InstanceAlreadyExistsException:
com
.sun.appserv:type=RequestProcessor,worker=http38084,name=HttpRequest2617
at
com
.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:
452)
at
com
.sun
.jmx
.interceptor
.DefaultMBeanServerInterceptor
.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
at
com
.sun
.jmx
.interceptor
.DefaultMBeanServerInterceptor
.registerObject(DefaultMBeanServerInterceptor.java:936)
at
com
.sun
.jmx
.interceptor
.DefaultMBeanServerInterceptor
.registerMBean(DefaultMBeanServerInterceptor.java:337)
at
com
.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:
497)
at
com
.sun
.enterprise
.interceptor.DynamicInterceptor.registerMBean(DynamicInterceptor.java:
263)
at
com
.sun
.org.apache.commons.modeler.Registry.registerComponent(Registry.java:
872)
at
com.sun.enterprise.web.connector.grizzly.GrizzlyHttpProtocol
$ModelerManagement.registerComponent(GrizzlyHttpProtocol.java:965)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.registerMonitoring
(DefaultProcessorTask.java:1646)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.configPreProcess
(DefaultProcessorTask.java:532)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.preProcess
(DefaultProcessorTask.java:515)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process
(DefaultProcessorTask.java:830)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask
(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask
(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask
(DefaultReadTask.java:214)
at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run
(SSLWorkerThread.java:106)
|#]
[#|2009-09-10T15:21:54.734-0400|WARNING|sun-appserver2.1|
javax.enterprise.system.container.web|
_ThreadID
=
22
;_ThreadName
=
httpSSLWorkerThread
-38084-228;_RequestID=95e469d6-343e-43bc-8978-8d59137de903;|WEB0788:
Error registering request
javax.management.InstanceAlreadyExistsException:
com
.sun.appserv:type=RequestProcessor,worker=http38084,name=HttpRequest2617
at
com
.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:
452)
at
com
.sun
.jmx
.interceptor
.DefaultMBeanServerInterceptor
.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
at
com
.sun
.jmx
.interceptor
.DefaultMBeanServerInterceptor
.registerObject(DefaultMBeanServerInterceptor.java:936)
at
com
.sun
.jmx
.interceptor
.DefaultMBeanServerInterceptor
.registerMBean(DefaultMBeanServerInterceptor.java:337)
at
com
.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:
497)
at
com
.sun
.enterprise
.interceptor.DynamicInterceptor.registerMBean(DynamicInterceptor.java:
263)
at
com
.sun
.org.apache.commons.modeler.Registry.registerComponent(Registry.java:
872)
at
com.sun.enterprise.web.connector.grizzly.GrizzlyHttpProtocol
$ModelerManagement.registerComponent(GrizzlyHttpProtocol.java:965)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.registerMonitoring
(DefaultProcessorTask.java:1646)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.configPreProcess
(DefaultProcessorTask.java:532)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.preProcess
(DefaultProcessorTask.java:515)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process
(DefaultProcessorTask.java:830)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask
(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask
(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask
(DefaultReadTask.java:214)
at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run
(SSLWorkerThread.java:106)