0 Replies Latest reply on Feb 13, 2013 4:40 AM by snowstorm tech

    Getting errors after login through jbpm-console

    snowstorm tech Newbie

      Hi,

      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

       

      2013-02-13 14:59:01,908 [DEBUG] new subscription: appContext.model.listener -> org.jboss.bpm.console.client.task.AssignedTasksView$8@117

      2013-02-13 14:59:01,911 [DEBUG] New Subscription: appContext.model.listener

      2013-02-13 14:59:02,547 [DEBUG] GET: http://localhost:8282/gwt-console-server/rs/tasks/admin

      2013-02-13 14:59:02,667 [ERROR] <ul><li>URL: 'http://localhost:8282/gwt-console-server/rs/tasks/admin'
      <li>Action: 'org.jboss.bpm.console.client.task.LoadTasksAction'
      <li>Exception: 'class com.google.gwt.http.client.RequestException'</ul>

      HTTP 500: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><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>
      com.google.gwt.http.client.RequestException:
      HTTP 500: 

      HTTP Status 500 -

       


       

      type Exception report

      message

      descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

      exception

      • org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Session was not initialized, check previous errors in log

      note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.2 logs.

       


       

      GlassFish Server Open Source Edition 3.1.2

          at Unknown.$fillInStackTrace_1(JsArrayString.java:42)
      at Unknown.$RequestException(StackTraceCreator.java:366)
      at Unknown.onResponseReceived_5(AbstractRESTAction.java:93)
      at Unknown.$fireOnResponseReceived(Request.java:287)
      at Unknown.onReadyStateChange_0(RequestBuilder.java:393)
      at Unknown.anonymous(XMLHttpRequest.java:258)
      at Unknown.entry0(Impl.java:146)
      at Unknown.anonymous(Impl.java:56)

       

       

       

       

      [#|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

      • org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Session was not initialized, check previous errors in log

                      at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345)

                      at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321)

                      at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214)

                      at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190)

                      at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534)

                      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)

                      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)

                      at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)

                      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)

                      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)

                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)

                      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

                      at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

                      at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)

                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)

                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

                      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)

                      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)

                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)

                      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)

                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)

                      at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)

                      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)

                      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)

                      at com.sun.grizzly.comet.CometEngine.executeServlet(CometEngine.java:444)

                      at com.sun.grizzly.comet.CometEngine.handle(CometEngine.java:308)

                      at com.sun.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:87)

                      at com.sun.grizzly.arp.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:171)

                      at com.sun.grizzly.arp.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:143)

                      at com.sun.grizzly.arp.AsyncProcessorTask.doTask(AsyncProcessorTask.java:102)

                      at com.sun.grizzly.http.TaskBase.run(TaskBase.java:193)

                      at com.sun.grizzly.http.TaskBase.execute(TaskBase.java:175)

                      at com.sun.grizzly.arp.DefaultAsyncHandler.handle(DefaultAsyncHandler.java:145)

                      at com.sun.grizzly.arp.AsyncProtocolFilter.execute(AsyncProtocolFilter.java:210)

                      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

                      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

                      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

                      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

                      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

                      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

                      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

                      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)

                      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)

                      at java.lang.Thread.run(Thread.java:662)

      Caused by: java.lang.RuntimeException: Session was not initialized, check previous errors in log

                      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:89)

                      at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25)

                      at org.jbpm.integration.console.TaskManagement.<init>(TaskManagement.java:52)

                      at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26)

                      at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19)

                      at org.jboss.bpm.console.server.TaskListFacade.getTaskManagement(TaskListFacade.java:72)

                      at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101)

                      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 org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)

                      at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)

                      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)

                      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)

                      at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)

                      ... 45 more

      |#]

       

      Thanks in advance