0 Replies Latest reply on Feb 14, 2008 7:11 PM by fernando.deleon

    Problems in deploying the jbpm-console as a war in tomcat HE

    fernando.deleon Newbie

      Ok this are the steps i took..
      exactly
      I downloaded the jbpm-jpdl-3.2.2 starter kit..
      I can start up the server and it comes with the jbpm-console and am able to deploy my own process definitions (using the eclipse plugin to create them and deploy them). All is good so far.

      However I would like to deploy and configure my jbpm-console.
      so...how do i do that?
      I went to the deploy directory
      and found that it has the jbpm-console.war
      i read the readme file and it stated that i need to use ant to build the war that is specific to a tomcat deployment.
      cool i did that and have a tomcat specific war (it included jars that werent in the original jbpm-console.war)
      i went to modify the hibernate.cfg.xml to use the hsqldb connection instead of the datasource jndi..(cuz dont have that property set up)
      well...i included in the war the hsql driver jar...
      went into deploying it...
      and i got this

      INFO: Marking servlet GDP Deployer Servlet as unavailable
      15/02/2008 09:24:27 org.apache.catalina.core.StandardContext loadOnStartup
      SEVERE: Servlet /NandoProjectEx2 threw load() exception
      java.lang.ClassNotFoundException: org.jbpm.util.log.JbpmLogFactory
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
       at org.apache.commons.logging.LogFactory$2.run(LogFactory.java:530)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:517)
       at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:254)
       at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
       at org.jbpm.JbpmConfiguration.<clinit>(JbpmConfiguration.java:603)
       at org.jbpm.web.ProcessUploadServlet.<clinit>(ProcessUploadServlet.java:45)
       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.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1104)
       at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
       at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
       at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
       at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:511)
       at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1220)
       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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
       at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
       at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1458)
       at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:820)
       at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:348)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:196)
       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:233)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
       at java.lang.Thread.run(Thread.java:619)
      15/02/2008 09:24:27 org.apache.catalina.core.ApplicationContext log
      SEVERE: StandardWrapper.Throwable
      java.lang.NoClassDefFoundError: Could not initialize class org.jbpm.JbpmConfiguration
       at org.jbpm.job.executor.JobExecutorServlet.init(JobExecutorServlet.java:83)
       at javax.servlet.GenericServlet.init(GenericServlet.java:212)
       at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
       at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
       at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
       at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
       at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:511)
       at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1220)
       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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
       at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
       at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1458)
       at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:820)
       at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:348)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:196)
       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:233)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
       at java.lang.Thread.run(Thread.java:619)
      
      

      I do have the org.jbpm.JbpmConfiguration file..
      but for JbomLogFactory i cant find it anywhere..
      ?!??!?!
      so...any one with a suggestion???
      I will want to be able to modify the war file..to my needs...