4 Replies Latest reply on Feb 8, 2006 4:04 PM by juno

    jBPM on Weblogic 9

    paz

      I am attempting to deploy the jbpm.war on Weblogic. Does anyone have insights?

      Has anyone been able to run jBPM on Weblogic?

      Any assistance is appreciated. Especially what .xml or configuration files to work on.

      Most importantly what do I need to change to migrate to another J2EE app server.

      Thanks

        • 1. Re: jBPM on Weblogic 9
          koen.aers

          I don't have any experience running jBPM on Weblogic. But it should be fairly straightforward. Are you using jBPM in a webapp? EJB?
          The main steps should always be to embed the jBPM libs along with their correct dependencies (hibernate, ...) in the *.war or *.ear file you want to deploy on the target application server. Of course you should while doing this, make sure you point to the correct database in the hibernate.cfg.xml file. And if the jBPM tables do not exist in this database, you should first create them.

          Hope this helps,
          Koen

          • 2. Re: jBPM on Weblogic 9
            pksiv

             

            "Paz" wrote:
            I am attempting to deploy the jbpm.war on Weblogic. Does anyone have insights?

            Has anyone been able to run jBPM on Weblogic?

            Any assistance is appreciated. Especially what .xml or configuration files to work on.

            Most importantly what do I need to change to migrate to another J2EE app server.

            Thanks


            It's working fine on Weblogic for us. However, you should look at the Hibernate Migration notes because the Hibernate 3.x has some issues with Weblogic because of a classpath issue regarding ANTLR and the new query parser.

            http://www.hibernate.org/250.html - under BEA Weblogic issues.

            Otherwise.

            • 3. Re: jBPM on Weblogic 9
              paz

              I was attempting to run the web archive, .war, (from jbpm-server\server\jbpm\deploy) in weblogic 9. I took the jbpm.war provided in the deploy directory and attempted to deploy on Weblogic 9. I took all of the .jar files from jbpm-server\lib and placed in the corresponding lib directory in Weblogic. I thought I made the correct modifications to the .xml files for the build. Maybe (pksiv: Sorry do not know your name) can send me some direction there. What files do you need to modify?

              I really want to use jBPM, our organization is Weblogic, but I support jBPM. Anyways always appreciate the responses and active JBoss community.

              My organization is also interested in professional service support. Any guidance is appreciated. Also what do you feel is the value of the jBPM training course? They are interested in sending me there.

              Thanks Paz

              • 4. Re: jBPM on Weblogic 9
                juno

                I am a new to JBPM .Iam also trying to deploy jbpm.war to Weblogic 9 .But so far no luck.Iam getting following exception
                java.lang.ExceptionInInitializerError
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:140)
                at org.jbpm.webapp.context.Context.getPersistenceContext(Context.java:33)
                at org.jbpm.webapp.filter.PersistenceFilter.doFilter(PersistenceFilter.java:22)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                at org.jbpm.webapp.filter.ContextFilter.doFilter(ContextFilter.java:19)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
                at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
                at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
                at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
                at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
                Caused by: java.lang.RuntimeException: couldn't fetch JbpmSessionFactory from jndi 'java:/jbpm/JbpmSessionFactory'
                at org.jbpm.db.JbpmSessionFactory.getInstance(JbpmSessionFactory.java:64)
                at org.jbpm.webapp.context.PersistenceContext.(PersistenceContext.java:11)
                ... 16 more.

                Any help is appreciated !!