5 Replies Latest reply on Feb 9, 2006 10:35 AM by Koen Aers

    Jbpm.war on tomcat

    Nyna andrea Newbie

      Hello, I am new in jbpm and I am trying to make an application Web of jbpm 3 on tomcat 5, donwloaded jbpm.war http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmWebConsole and it tries to compile it in tomcat and happens the following error
      Estado HTTP 500 -
      type Informe de Excepción
      mensaje
      descripción El servidor encontró un error interno () que hizo que no pudiera rellenar este requerimiento.
      excepción
      javax.servlet.ServletException: La ejecución del Filtro lanzó una excepción
      org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
      org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
      causa raíz
      java.lang.NoClassDefFoundError
      java.lang.Class.forName0(Native Method)
      java.lang.Class.forName(Class.java:141)
      org.jbpm.webapp.context.Context.getPersistenceContext(Context.java:33)
      org.jbpm.webapp.filter.PersistenceFilter.doFilter(PersistenceFilter.java:22)
      org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
      org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
      nota La traza completa de la causa de este error se encuentra en los archivos de diario de Apache Tomcat/5.0.28.

      The question is the following one I must form something previously? sorry by the language

        • 1. Re: Jbpm.war on tomcat
          wang xb Newbie

           

          "Nyna" wrote:
          Hello, I am new in jbpm and I am trying to make an application Web of jbpm 3 on tomcat 5, donwloaded jbpm.war http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmWebConsole and it tries to compile it in tomcat and happens the following error
          Estado HTTP 500 -
          type Informe de Excepción
          mensaje
          descripción El servidor encontró un error interno () que hizo que no pudiera rellenar este requerimiento.
          excepción
          javax.servlet.ServletException: La ejecución del Filtro lanzó una excepción
          org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
          org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
          causa raíz
          java.lang.NoClassDefFoundError
          java.lang.Class.forName0(Native Method)
          java.lang.Class.forName(Class.java:141)
          org.jbpm.webapp.context.Context.getPersistenceContext(Context.java:33)
          org.jbpm.webapp.filter.PersistenceFilter.doFilter(PersistenceFilter.java:22)
          org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
          org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
          nota La traza completa de la causa de este error se encuentra en los archivos de diario de Apache Tomcat/5.0.28.

          The question is the following one I must form something previously? sorry by the language


          missing some jar files

          • 2. Re: Jbpm.war on tomcat
            David Loiseau Newbie

            You have jar in jbpm.sar
            May be you can try to put them in the WEB-INF/lib directory of the jbpm.war


            Hasta luego,
            David

            • 3. Re: Jbpm.war on tomcat
              Alejandro Guizar Master

              The file jbpm.war was not built with standalone Tomcat in mind, but JBoss. Tomcat misses many libraries required by jBPM. Do you have a strong reason for preferring standalone Tomcat to JBoss?

              • 4. Re: Jbpm.war on tomcat
                Hervé Le Béchennec Newbie

                We have the same kind of problem.
                Our application is actually in use on Sun One Server, and we are the most interested by jBPM for some new workflow functionalities.

                How can we solve our problem ?

                "alex.guizar@jboss.com" wrote:
                The file jbpm.war was not built with standalone Tomcat in mind, but JBoss. Tomcat misses many libraries required by jBPM. Do you have a strong reason for preferring standalone Tomcat to
                JBoss?




                • 5. Re: Jbpm.war on tomcat
                  Koen Aers Master

                  If you want to run in Tomcat you will indeed have to package all the jars on which jBPM depends (they are in the *.sar archive in the starter's kit) in the *.war file of the webapp.
                  Additionally, you will have to provide the correct jdbc url and hibernate dialect for the particular database you want to use in the hibernate.cfg.xml

                  Regards,
                  Koen