1 Reply Latest reply on Jan 16, 2012 11:54 AM by tsurdilovic

    jbpm_console error

    bahubali_sn

      I have installed jbpm 5.2 and using jboss7....while trying to run the example project from the /sample/evaluation   folder, getting this exception 

       

      java.lang.IllegalArgumentException: Could not find .//sample/evaluation/src/main/resources

      org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:134)

      org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:252)

      org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:92)

      org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)

      org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)

      org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)

      org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:86)

      org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)

      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      java.lang.reflect.Method.invoke(Method.java:597)

      org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)

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

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

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

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

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

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

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

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

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

      javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

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

       

      Any suggestion will really help///

      Thanks

        • 1. Re: jbpm_console error
          tsurdilovic

          What OS are you running on? Are you using the jbpm installer and if so are you starting the demo with

          ant start.demo (or ant start.demo.noeclipse) ?

           

          If you look @ jbpm-installer/build.xml:

          ...

          <property name="install.home" value="./" />

          ...

          <target name="start.jboss7" depends="check.jboss.version" if="jboss.version.is.7">

          ....

          <arg value="-Djbpm.console.directory=${install.home}/sample/evaluation/src/main/resources" />

          ....

          </target>

           

          do you have this /sample/evaluation/src/main/resources directory from the location where you are starting the demo?