Hi
I am getting a weired exception on and off while starting the glassfish and another error while pushing a message to an MQ Queue which is suppose to be picked up by an MDB that was deployed as part of a ear that was deployed without any errors.
As soon as I start the glassfish application server domain following exception was seen at the server domain log
[#|2009-08-27T18:01:59.629+0000|INFO|sun-appserver2.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=16;_ ThreadName=httpWorkerThread-4848-1;;|Initializing Sun's JavaServer Faces implementation (1.2_04-b22-p05) for context ' '|#]
[#|2009-08-27T18:02:09.960+0000|INFO|sun-appserver2.1|com.sun.jbi.framework|_ThreadID=17;_ThreadName=httpWorkerThread- 4848-3;|JBIFW0012: JBI framework startup complete.|#]
[#|2009-08-27T18:02:38.133+0000|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=16;_ThreadName=h ttpWorkerThread-4848-1;_RequestID=a568ecca-6935-456b-9335-af8dfe340393;|java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.faces.extensions.avatar.lifecycle.AsyncResponse.createAjaxResponseWriter(AsyncResponse.java:349)
at com.sun.faces.extensions.avatar.lifecycle.AsyncResponse.getResponseWriter(AsyncResponse.java:105)
at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.encodeBegin(PartialTraversalViewR ootHelper.java:327)
at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.encodeBegin(PartialTraversalViewRoo tImpl.java:168)
at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:222)
at com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:655)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:1 07)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at com.sun.enterprise.tools.admingui.servlet.DelayedInitFacesServlet.service(DelayedInitFacesServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.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(PESessionLockingStandardPipeline.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:587)
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:587)
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.invokeAdapter(DefaultProcessorTask.java:647)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
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.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
Caused by: java.lang.IllegalStateException: PWC3991: getOutputStream() has already been called for this response
at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:717)
at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:226)
... 48 more
|#]
[#|2009-08-27T18:02:38.141+0000|WARNING|sun-appserver2.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadI D=16;_ThreadName=httpWorkerThread-4848-1;_RequestID=a568ecca-6935-456b-9335-af8dfe340393;|executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl_at_1dbb35) threw exception
java.lang.NullPointerException: Argument Error: ResponseWriter argument is null.
at com.sun.faces.context.FacesContextImpl.setResponseWriter(FacesContextImpl.java:338)
at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.encodeBegin(PartialTraversalViewR ootHelper.java:335)
at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.encodeBegin(PartialTraversalViewRoo tImpl.java:168)
at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:222)
at com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:655)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:1 07)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at com.sun.enterprise.tools.admingui.servlet.DelayedInitFacesServlet.service(DelayedInitFacesServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.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(PESessionLockingStandardPipeline.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:587)
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:587)
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.invokeAdapter(DefaultProcessorTask.java:647)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
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.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
|#]
[#|2009-08-27T18:02:38.143+0000|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName =httpWorkerThread-4848-1;_RequestID=a568ecca-6935-456b-9335-af8dfe340393;|StandardWrapperValve[FacesServlet]: PWC1406: Servlet.service() for servlet FacesServlet threw exception
java.lang.NullPointerException: Argument Error: ResponseWriter argument is null.
at com.sun.faces.context.FacesContextImpl.setResponseWriter(FacesContextImpl.java:338)
at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.encodeBegin(PartialTraversalViewR ootHelper.java:335)
at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.encodeBegin(PartialTraversalViewRoo tImpl.java:168)
at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:222)
at com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:655)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:1 07)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at com.sun.enterprise.tools.admingui.servlet.DelayedInitFacesServlet.service(DelayedInitFacesServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.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(PESessionLockingStandardPipeline.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:587)
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:587)
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.invokeAdapter(DefaultProcessorTask.java:647)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
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.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
|#]
After the above the deployment is successfull, but when I push a message to a MDM from MQ following exception was thrown at server instance log
[#|2009-08-27T18:07:14.173+0000|WARNING|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=65;_ThreadName=p: thread-pool-1; w: 44;_RequestID=c0b226d6-5b19-4aee-a02d-6c724e0802f5;|RAR7004 : MDB deployment is still happening. Cannot create end point now.|#]
[#|2009-08-27T18:07:14.174+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=65;_ThreadName=p: thread-pool-1; w: 44;|[27/08/09 18:07:14:173 GMT+00:00.0] p: thread-pool-1; w: 44 MQJCA4004:Message delivery to an MDB failed. See the linked exception for details.|#]
[#|2009-08-27T18:07:14.174+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=65;_ThreadName=p: thread-pool-1; w: 44;|
|#]
[#|2009-08-27T18:07:14.174+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=65;_ThreadName=p: thread-pool-1; w: 44;|javax.resource.spi.UnavailableException: EndpointFactory is currently not available|#]
[#|2009-08-27T18:07:14.174+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=65;_ThreadName=p: thread-pool-1; w: 44;|
|#]
[#|2009-08-27T18:07:14.174+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=65;_ThreadName=p: thread-pool-1; w: 44;| at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.createEndpoint(ConnectorMessageBeanClient.java:363)|#]
[#|2009-08-27T18:07:14.174+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=65;_ThreadName=p: thread-pool-1; w: 44;|
|#]
[#|2009-08-27T18:07:14.174+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=65;_ThreadName=p: thread-pool-1; w: 44;| at com.ibm.mq.connector.inbound.WorkImpl.run(WorkImpl.java:136)|#]
[#|2009-08-27T18:07:14.175+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=65;_ThreadName=p: thread-pool-1; w: 44;|
|#]
[#|2009-08-27T18:07:14.175+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=65;_ThreadName=p: thread-pool-1; w: 44;| at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:76)|#]
[#|2009-08-27T18:07:14.175+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=65;_ThreadName=p: thread-pool-1; w: 44;|
|#]
[#|2009-08-27T18:07:14.175+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=65;_ThreadName=p: thread-pool-1; w: 44;| at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)|#]
[#|2009-08-27T18:07:14.175+0000|INFO|sun-appserver2.1|javax.enterprise.resource.resourceadapter|_ThreadID=65;_ThreadName=p: thread-pool-1; w: 44;|
|#]
Any clues / help for this is highly appreciated
Thanks
Chandu
[Message sent by forum member 'gchandu' (gchandu_at_arinc.com)]
http://forums.java.net/jive/thread.jspa?messageID=362188