<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Getting errors after login through jbpm-console
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/snowstormuser">snowstorm tech</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/797410#797410">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi,</p><p>I am using jbpm5.4 on glassfish server3.1.2. I deploy “jbpm-human-task”, “gwt-console-server”,” jbpm-console” successfully on glassfish server 3.1.2.  I am able to login through “jbpm-console” using admin/admin username/password respectively .But I am getting following errors</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><blockquote class="jive-quote"><p style="margin-bottom: 0.0001pt; background-color: white;"><span style="font-size: 10.0pt; font-family: 'Courier New'; color: #336633;">2013-02-13 14:59:01,908 [DEBUG] new subscription: appContext.model.listener -> org.jboss.bpm.console.client.task.AssignedTasksView$8@117</span></p><p style="margin-bottom: 0.0001pt; background-color: white;"><span style="font-size: 10.0pt; font-family: 'Courier New'; color: #336633;">2013-02-13 14:59:01,911 [DEBUG] New Subscription: appContext.model.listener</span></p><p style="margin-bottom: 0.0001pt; background-color: white;"><span style="font-size: 10.0pt; font-family: 'Courier New'; color: #336633;"><span>2013-02-13 14:59:02,547 [DEBUG] GET: </span><a class="jive-link-external-small" href="http://localhost:8282/gwt-console-server/rs/tasks/admin" rel="nofollow" target="_blank">http://localhost:8282/gwt-console-server/rs/tasks/admin</a></span></p><p style="margin-bottom: 0.0001pt; background-color: white;"><span style="font-size: 10.0pt; font-family: 'Courier New'; color: #990000;"><span>2013-02-13 14:59:02,667 [ERROR] <ul><li>URL: '</span><a class="jive-link-external-small" href="http://localhost:8282/gwt-console-server/rs/tasks/admin" rel="nofollow" target="_blank">http://localhost:8282/gwt-console-server/rs/tasks/admin</a><span>'</span><br/> <li>Action: 'org.jboss.bpm.console.client.task.LoadTasksAction'<br/> <li>Exception: 'class com.google.gwt.http.client.RequestException'</ul><br/> <br/><span> HTTP 500: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "</span><a class="jive-link-external-small" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" rel="nofollow" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a><span>"><html xmlns="</span><a class="jive-link-external-small" href="http://www.w3.org/1999/xhtml" rel="nofollow" target="_blank">http://www.w3.org/1999/xhtml</a><span>"><head><title>GlassFish Server Open Source Edition 3.1.2 - Error report</title><style type="text/css"><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><hr/><p><b>type</b> Exception report</p><p><b>message</b></p><p><b>description</b>The server encountered an internal error () that prevented it from fulfilling this request.</p><p><b>exception</b> <pre>org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Session was not initialized, check previous errors in log</pre></p><p><b>note</b> <u>The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.2 logs.</u></p><hr/><h3>GlassFish Server Open Source Edition 3.1.2</h3></body></html></span><br/> com.google.gwt.http.client.RequestException:<br/> </span><strong style="color: white; background: #525D76; font-size: 10.0pt; font-family: 'Tahoma','sans-serif';">HTTP 500:  </strong></p><p style="background-color: #525d76;"><strong style="color: white; font-size: 16.5pt; font-family: Tahoma, sans-serif;">HTTP Status 500 - </strong></p><p align="center" style="margin-bottom: 0.0001pt; text-align: center; background-color: white;"><strong style="color: white; background: #525D76; font-size: 10.0pt; font-family: 'Tahoma','sans-serif';">  </strong></p><hr align="center" noshade="noshade" size="2" style="color: #525d76;" width="100%"/><p><strong>  </strong></p><p style="background-color: white;"><strong><span style="font-size: 9.0pt; font-family: 'Tahoma','sans-serif'; color: white; background: #525D76;">type</span><span style="font-size: 9.0pt; font-family: 'Tahoma','sans-serif'; color: black; background: #525D76;"> Exception report</span></strong></p><p style="background-color: white;"><strong style="color: white; background: #525D76; font-size: 9.0pt; font-family: 'Tahoma','sans-serif';">message</strong></p><p style="background-color: white;"><strong><span style="font-size: 9.0pt; font-family: 'Tahoma','sans-serif'; color: white; background: #525D76;">description</span><span style="font-size: 9.0pt; font-family: 'Tahoma','sans-serif'; color: black; background: #525D76;">The server encountered an internal error () that prevented it from fulfilling this request.</span></strong></p><p style="background-color: white;"><strong><span style="font-size: 9.0pt; font-family: 'Tahoma','sans-serif'; color: white; background: #525D76;">exception</span><span style="font-size: 9.0pt; font-family: 'Tahoma','sans-serif'; color: black; background: #525D76;"> </span></strong></p><ul style="list-style-type: disc;"><li><strong style="color: white; background: #525D76; font-size: 12.0pt; font-family: 'Courier New';">org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Session was not initialized, check previous errors in log</strong></li></ul><p style="background-color: white;"><strong><span style="font-size: 9.0pt; font-family: 'Tahoma','sans-serif'; color: white; background: #525D76;">note</span><span style="font-size: 9.0pt; font-family: 'Tahoma','sans-serif'; color: black; background: #525D76;"> <span style="text-decoration: underline;">The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.2 logs.</span></span></strong></p><p align="center" style="margin-bottom: 0.0001pt; text-align: center; background-color: white;"><strong style="color: white; background: #525D76; font-size: 10.0pt; font-family: 'Tahoma','sans-serif';">  </strong></p><hr align="center" noshade="noshade" size="2" style="color: #525d76;" width="100%"/><p><strong>  </strong></p><p style="background-color: #525d76;"><strong style="color: white; font-size: 10.5pt; font-family: Tahoma, sans-serif;">GlassFish Server Open Source Edition 3.1.2</strong></p><p style="margin-bottom: 0.0001pt; background-color: white;"><span style="font-size: 10.0pt; font-family: 'Courier New'; color: black;">    at Unknown.$fillInStackTrace_1(JsArrayString.java:42)<br/> at Unknown.$RequestException(StackTraceCreator.java:366)<br/> at Unknown.onResponseReceived_5(AbstractRESTAction.java:93)<br/> at Unknown.$fireOnResponseReceived(Request.java:287)<br/> at Unknown.onReadyStateChange_0(RequestBuilder.java:393)<br/> at Unknown.anonymous(XMLHttpRequest.java:258)<br/> at Unknown.entry0(Impl.java:146)<br/> at Unknown.anonymous(Impl.java:56)</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p></blockquote><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><blockquote class="jive-quote"><p>[#|2013-02-13T14:59:02.634+0530|WARNING|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=26;_ThreadName=Thread-2;|StandardWrapperValve[Resteasy]: PWC1406: Servlet.service() for servlet Resteasy threw exception</p><ul style="list-style-type: disc;"><li>org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Session was not initialized, check previous errors in log</li></ul><p>                at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345)</p><p>                at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321)</p><p>                at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214)</p><p>                at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190)</p><p>                at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534)</p><p>                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)</p><p>                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)</p><p>                at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)</p><p>                at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)</p><p>                at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)</p><p>                at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)</p><p>                at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542)</p><p>                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)</p><p>                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)</p><p>                at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)</p><p>                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)</p><p>                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)</p><p>                at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)</p><p>                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)</p><p>                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)</p><p>                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)</p><p>                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)</p><p>                at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)</p><p>                at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)</p><p>                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)</p><p>                at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)</p><p>                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)</p><p>                at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)</p><p>                at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)</p><p>                at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)</p><p>                at com.sun.grizzly.comet.CometEngine.executeServlet(CometEngine.java:444)</p><p>                at com.sun.grizzly.comet.CometEngine.handle(CometEngine.java:308)</p><p>                at com.sun.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:87)</p><p>                at com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:171)</p><p>                at com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:143)</p><p>                at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:102)</p><p>                at com.sun.grizzly.http.TaskBase.run(TaskBase.java:193)</p><p>                at com.sun.grizzly.http.TaskBase.execute(TaskBase.java:175)</p><p>                at com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.java:145)</p><p>                at com.sun.grizzly.arp.AsyncProtocolFilter.execute(AsyncProtocolFilter.java:210)</p><p>                at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)</p><p>                at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)</p><p>                at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)</p><p>                at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)</p><p>                at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)</p><p>                at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)</p><p>                at com.sun.grizzly.ContextTask.run(ContextTask.java:71)</p><p>                at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)</p><p>                at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)</p><p>                at java.lang.Thread.run(Thread.java:662)</p><p>Caused by: java.lang.RuntimeException: Session was not initialized, check previous errors in log</p><p>                at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:89)</p><p>                at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25)</p><p>                at org.jbpm.integration.console.TaskManagement.<init>(TaskManagement.java:52)</p><p>                at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26)</p><p>                at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19)</p><p>                at org.jboss.bpm.console.server.TaskListFacade.getTaskManagement(TaskListFacade.java:72)</p><p>                at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101)</p><p>                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</p><p>                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</p><p>                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</p><p>                at java.lang.reflect.Method.invoke(Method.java:597)</p><p>                at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)</p><p>                at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)</p><p>                at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)</p><p>                at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)</p><p>                at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)</p><p>                ... 45 more</p><p>|#]</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p></blockquote><p>Thanks in advance</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/797410#797410">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>