9 Replies Latest reply on Apr 24, 2006 10:48 AM by jcaraneda

    jbPM and WebLogic

    challusmc

      Has anyone successfully deployed jBPM onto WebLogic? I have read the jBPM documentation and successfully went through the starters-kit. Now, I would like to deploy jBPM on WebLogic, but I have not been able to find any documentation for jBPM deployment to that app server. I attempted to deploy jBPM onto WebLogic as I would most Web apps and using the deployment documentation for Tomcat, but I'm still receiving various errors: malformed tld's, context listener not properly setup in web.xml, and NoClassDefFoundError (although jar files are in the classpath).

      Please help. Thanks!

        • 1. Re: jbPM and WebLogic
          jcaraneda

          You can deploy example with weblogic 9.

          • 2. Re: jbPM and WebLogic
            kukeltje

            out of the box? If so, that would be a great entry for the wiki. Or if there are some special steps (other than e.g. the tomcat library issues, we'd appreciate it very much if you could add a wiki entry for this.

            Ronald

            • 3. Re: jbPM and WebLogic
              jcaraneda

              I don't remember all modifications. I actually works with jbpm onto weblogic 8, but in this version the JSF descriptors used not works, because weblogic 8 not implements the j2ee version 1.4 required.

              I have .war archive deployed in weblogic 9.

              This war run with a datasource.

              What are the steps to upload the .war

              JC

              • 4. Re: jbPM and WebLogic
                jcaraneda

                What are the necesary steps to upload one archive to wiki??

                • 5. Re: jbPM and WebLogic
                  kukeltje

                  to upload an archive to wiki, you need to have an account. The rest is normal wiki functionality. If it is big, maybe put it on another server and link to it.

                  It is better to just describe the steps (I'll help you with that if needed) If a war is uploaded, it is just a snapshot of a certain version. This could lead to unwanted questions in the future.

                  Ronald

                  • 6. Re: jbPM and WebLogic
                    jcaraneda

                    The steps to run example in weblogic 9 are:

                    1. Configure hibernate.cfg.xml, like this (I do it test with jbpm db using sql server, if you have another db engine, so read documentation). You only need to configure datasource in weblogic console.

                    <!-- jdbc connection properties -->
                    org.hibernate.dialect.SQLServerDialect
                    jBPMDS

                    2. In web.xml descriptor file, yo need to write tags in the next order: filter, filter-mapping, listener, servlet, servlet-mapping,

                    3. The jar files in WEB-INF/lib used are:
                    asm-attrs.jar
                    asm.jar
                    cglib-2.1_2jboss.jar
                    commons-beanutils-1.6.1.jar
                    commons-collections.jar
                    commons-digester-1.5.jar
                    commons-el.jar
                    commons-fileupload-1.0.jar
                    commons-logging.jar
                    dom4j-1.6.1.jar
                    ehcache-1.1.jar
                    hibernate-annotations.jar
                    hibernate-entitymanager.jar
                    hibernate3.jar
                    jaxen-1.1-beta-4.jar
                    jbpm-3.1.jar
                    jbpm-identity-3.1.jar
                    jbpm-webapp-3.1.jar
                    jbpm.sar.cfg.jar
                    jstl-1.1.0.jar
                    myfaces-api.jar
                    myfaces-impl.jar
                    standard-1.1.2.jar
                    tomahawk.jar


                    And.... nothing, just do it....

                    JC

                    • 7. Re: jbPM and WebLogic
                      jcaraneda

                      sets the property "hibernate.dialect" with value: "org.hibernate.dialect.SQLServerDialect"
                      and
                      the property "hibernate.connection.datasource" with value:"jBPMDS"

                      • 8. Re: jbPM and WebLogic
                        kukeltje

                        great, thanks. I'll try to put this on the wiki. Just to be on the safe side. Could you post
                        - which jdk you are using
                        - which version of Bea WLS (including patchlevel)

                        Thanks so far.

                        Ronald

                        • 9. Re: jbPM and WebLogic
                          jcaraneda

                          I did download and install the last development WLS version from www.bea.com website, and I use de jdk by default (1.5.0_04).

                          JC