2 Replies Latest reply on Jan 30, 2008 4:42 AM by rajaa ayadi

    problem in installing jbpm on tomcat

    rajaa ayadi Newbie

      Hello,

      In order to install jbpm on tomcat, i followed the steps in this wiki
      http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmOnTomcat

      but when i log on to jbpm-consooe with ernie ernie i get this error

      javax.faces.FacesException: javax.faces.FacesException: Cant instantiate class: org.jbpm.webapp.tag.jbpm.ui.Search.
      at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:568)
      at com.sun.facelets.tag.jsf.ComponentHandler.createComponent(ComponentHandler.java:224)
      at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:135)
      at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
      at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295)
      at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165)
      at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
      at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
      at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
      at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
      at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
      at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
      at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
      at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
      at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
      at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
      at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
      at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
      at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
      at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
      at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
      at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
      at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
      at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
      at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:510)
      at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553)
      at org.jbpm.webapp.application.JbpmViewHandler.renderView(JbpmViewHandler.java:58)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      at java.lang.Thread.run(Unknown Source)
      Caused by: javax.faces.FacesException: Cant instantiate class: org.jbpm.webapp.tag.jbpm.ui.Search.
      at com.sun.faces.application.ApplicationImpl.newThing(ApplicationImpl.java:1020)
      at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:562)
      ... 48 more
      Caused by: java.lang.NoClassDefFoundError: org/hibernate/Session
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
      at java.lang.Class.getDeclaredMethods(Unknown Source)
      at java.beans.Introspector$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.beans.Introspector.getPublicDeclaredMethods(Unknown Source)
      at java.beans.Introspector.getTargetMethodInfo(Unknown Source)
      at java.beans.Introspector.getBeanInfo(Unknown Source)
      at java.beans.Introspector.getBeanInfo(Unknown Source)
      at javax.faces.component.UIComponentBase.getPropertyDescriptors(UIComponentBase.java:180)
      at javax.faces.component.UIComponentBase.populateDescriptorsMapIfNecessary(UIComponentBase.java:129)
      at javax.faces.component.UIComponentBase.(UIComponentBase.java:118)
      at javax.faces.component.UIOutput.(UIOutput.java:103)
      at javax.faces.component.UIInput.(UIInput.java:148)
      at org.jbpm.webapp.tag.jbpm.ui.Search.(Search.java:22)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at java.lang.Class.newInstance0(Unknown Source)
      at java.lang.Class.newInstance(Unknown Source)
      at com.sun.faces.application.ApplicationImpl.newThing(ApplicationImpl.java:1018)
      ... 49 more

      This is the first time i use jbpm and i don't know what is the problem

      thank you in advance