10 Replies Latest reply on Feb 3, 2010 1:42 PM by Ronald van Kuijk

    jBPM console not working on JBoss 5.1.0 standard configuration

    Nenad Popovic Newbie

      Hi,

       

      Has anyone tried to deploy jBpm 4.3 on Jboss 5.1 standard configuration (or all)? There seems to be a problem with ProcessEngine access through JNDI. Following error appears when I try to login to jbpm-console:

       

      Servlet.service() for servlet Resteasy threw exception                                                                         
      org.jboss.resteasy.spi.UnhandledException: java.lang.IllegalStateException: Failed to load org.jboss.bpm.console.server.plugin.FormDispatcherPlugin: org.jbpm.integration.console.forms.FormDispatcherComposite                                                                                                                                                                    
              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)   

       

      ....

       

      Caused by: java.lang.NullPointerException
              at org.jbpm.pvm.internal.processengine.ProcessEngineImpl.get(ProcessEngineImpl.java:229)
              at org.jbpm.integration.console.forms.AbstractFormDispatcher.initializeProcessEngine(AbstractFormDispatcher.java:74)
              at org.jbpm.integration.console.forms.AbstractFormDispatcher.<init>(AbstractFormDispatcher.java:61)
              at org.jbpm.integration.console.forms.TaskFormDispatcher.<init>(TaskFormDispatcher.java:49)
              at org.jbpm.integration.console.forms.FormDispatcherComposite.<init>(FormDispatcherComposite.java:43)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
              at java.lang.Class.newInstance0(Class.java:355)
              at java.lang.Class.newInstance(Class.java:308)
              at org.jboss.bpm.console.server.util.ServiceLoader.loadFromServices(ServiceLoader.java:89)

       

       

      Seems that ProcessEngine is found, but it is not initialized. I stumbled upon this issued while trying to include jbpm in my ear application based on Joram's train-ticket demo app and deploy it on standard configuration. It works on default jboss application.