0 Replies Latest reply on Mar 25, 2010 4:02 AM by nablas kalibans

    Error when log in jbpm-console

    nablas kalibans Newbie

      I installed jbpm 4.3 on jboss 5.0.0.GA. When I log in with example user "alex", I get a popup with the following error:

       

       

       

      Trace from JBoss log is:

       

      2010-03-25 08:42:35,376 ERROR [STDERR] (http-10.1.125.249-8088-6) ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider bsh.engine.BshScriptEngineFactory not found
      2010-03-25 08:42:35,392 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/gwt-console-server].[Resteasy]] (http-10.1.125.249-8088-6) Servlet.service() para servlet Resteasy lanzó excepción
      org.jboss.resteasy.spi.UnhandledException: java.lang.ClassCastException: org.jbpm.pvm.internal.processengine.ProcessEngineImpl cannot be cast to org.jbpm.pvm.internal.processengine.ProcessEngineImpl
              at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
              at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
              at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
              at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
              at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
              at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
              at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
              at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:905)
              at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:592)
              at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.ClassCastException: org.jbpm.pvm.internal.processengine.ProcessEngineImpl cannot be cast to org.jbpm.pvm.internal.processengine.ProcessEngineImpl
              at org.jbpm.pvm.internal.cfg.ConfigurationImpl.buildProcessEngine(ConfigurationImpl.java:81)
              at org.jbpm.api.Configuration.getProcessEngine(Configuration.java:121)
              at org.jbpm.integration.console.ProcessEngineUtil.retrieveProcessEngine(ProcessEngineUtil.java:30)
              at org.jbpm.integration.console.JBPMIntegration.initializeProcessEngine(JBPMIntegration.java:55)
              at org.jbpm.integration.console.JBPMIntegration.<init>(JBPMIntegration.java:51)
              at org.jbpm.integration.console.TaskManagementImpl.<init>(TaskManagementImpl.java:41)
              at org.jbpm.integration.console.ManagementFactoryImpl.createTaskManagement(ManagementFactoryImpl.java:40)
              at org.jboss.bpm.console.server.TaskListFacade.getTaskManagement(TaskListFacade.java:70)
              at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:99)
              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:117)
              at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
              at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
              at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
              at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
              at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
              ... 28 more