9 Replies Latest reply on Nov 30, 2005 11:27 AM by kukeltje

    How can i split jbpm3.0 from jboss to tomcat????

    kylin_bo

      help me !remind me !share with me ! It is openning time!!
      You know ,you are a teacher!

        • 1. Re: How can i split jbpm3.0 from jboss to tomcat????
          kukeltje

          pay me

          • 2. Re: How can i split jbpm3.0 from jboss to tomcat????
            kukeltje

            no just kidding, the separate jbpm source should work on tomcat. The .sar version will probably not, but if you include the jbpm core jar in your own webapp or put it somewhere on the classpath, things should work.

            Please try that

            • 3. Re: How can i split jbpm3.0 from jboss to tomcat????
              kylin_bo

               

              "kukeltje" wrote:
              no just kidding, the separate jbpm source should work on tomcat. The .sar version will probably not, but if you include the jbpm core jar in your own webapp or put it somewhere on the classpath, things should work.

              Please try that
              It is very kind of you!
              Can you give me some samples of jbpm3 for tomcat to running well?

              • 4. Re: How can i split jbpm3.0 from jboss to tomcat????
                kukeltje

                The default process you get whe you use the gpd and use the 'wizard' is suitable for running in tomcat.

                Which jar's are required is up to yourself to find out. But we are interested if you do.

                • 5. Re: How can i split jbpm3.0 from jboss to tomcat????
                  kylin_bo

                   

                  "kukeltje" wrote:
                  The default process you get whe you use the gpd and use the 'wizard' is suitable for running in tomcat.

                  Which jar's are required is up to yourself to find out. But we are interested if you do.

                  It occurs the errors:
                  type Exception report

                  message

                  description The server encountered an internal error () that prevented it from fulfilling this request.

                  exception

                  javax.servlet.ServletException: Filter execution threw an exception
                  org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
                  org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)


                  root cause

                  java.lang.NoClassDefFoundError: org/hibernate/HibernateException
                  org.jbpm.webapp.context.PersistenceContext.(PersistenceContext.java:11)
                  java.lang.Class.forName0(Native Method)
                  java.lang.Class.forName(Class.java:141)
                  org.jbpm.webapp.context.Context.class$(Context.java:33)
                  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)


                  what should i do with it?


                  • 6. Re: How can i split jbpm3.0 from jboss to tomcat????
                    kukeltje

                    make sure the hibernate related jars are on the classpath (or in the war/ear)

                    • 7. Re: How can i split jbpm3.0 from jboss to tomcat????
                      kylin_bo

                       

                      "kukeltje" wrote:
                      make sure the hibernate related jars are on the classpath (or in the war/ear)

                      thanks a lot! Yes,I copy the all libs to the "WEB-INF/lib" and the another error comes out!Please help me !
                      the error is :
                      message

                      description The server encountered an internal error () that prevented it from fulfilling this request.

                      exception

                      javax.servlet.ServletException: Filter execution threw an exception
                      org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
                      org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)


                      root cause

                      java.lang.ExceptionInInitializerError
                      java.lang.Class.forName0(Native Method)
                      java.lang.Class.forName(Class.java:141)
                      org.jbpm.webapp.context.Context.class$(Context.java:33)
                      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)



                      • 8. Re: How can i split jbpm3.0 from jboss to tomcat????
                        nadim_sd

                        I just saw this post.
                        I'm also trying to install JBPM as a web-app under tomcat and I'm getting the same exception.

                        did you ever get to solve the problem?
                        did anyone find a solution?

                        • 9. Re: How can i split jbpm3.0 from jboss to tomcat????
                          kukeltje

                          what is in the server log? This stacktrace seems to be from the screen. Most of the times the server logging has more info