<!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;">
    Session was not initialized error while running jBPM on Tomcat 7
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/javalearner">Java Learner</a> in <i>jBPM Development</i> - <a href="https://community.jboss.org/message/810793#810793">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 trying to install jBPM 5.4 on Tomcat 7 by following the guide mentioned in <a class="jive-link-blog-small" href="https://community.jboss.org/people/bpmn2user/blog/2011/01/21/test">https://community.jboss.org/people/bpmn2user/blog/2011/01/21/test</a> link.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am able to see the login page. I have given the login credentials as krisv/krisv</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am getting below exception when click on the login button.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>please help me on this. I am new to jBPM</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li><span>URL: '</span><a class="jive-link-external-small" href="http://localhost:8080/gwt-console-server/rs/tasks/krisv" rel="nofollow" target="_blank">http://localhost:8080/gwt-console-server/rs/tasks/krisv</a><span>' </span></li><li>Action: 'org.jboss.bpm.console.client.task.LoadTasksAction' </li><li>Exception: 'class com.google.gwt.http.client.RequestException'</li></ul><p>HTTP 500:&#160; </p><h1>HTTP Status 500 - java.lang.RuntimeException: Session was not initialized, check previous errors in log</h1><p><hr noshade="noshade" size="1"/></p><p><strong>type</strong> Exception report</p><p><strong>message</strong> <span style="text-decoration: underline;">java.lang.RuntimeException: Session was not initialized, check previous errors in log</span></p><p><strong>description</strong> <span style="text-decoration: underline;">The server encountered an internal error that prevented it from fulfilling this request.</span></p><p><strong>exception</strong> </p><pre class="jive-pre">org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Session was not initialized, check previous errors in log&#160; org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345)&#160; org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321)&#160; org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214)&#160; org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190)&#160; org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534)&#160; org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)&#160; org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)&#160; org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)&#160; org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)&#160; org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)&#160; javax.servlet.http.HttpServlet.service(HttpServlet.java:728)&#160; org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)&#160; </pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>root cause</strong> </p><pre class="jive-pre">java.lang.RuntimeException: Session was not initialized, check previous errors in log&#160; org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:89)&#160; org.jbpm.integration.console.SessionInitializer.&lt;init&gt;(SessionInitializer.java:25)&#160; org.jbpm.integration.console.TaskManagement.&lt;init&gt;(TaskManagement.java:52)&#160; org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26)&#160; org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19)</pre></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/810793#810793">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM Development at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>