5 Replies Latest reply on Jan 25, 2007 7:48 AM by aguizar

    Integration jBPM with JBoss AS 3.2.8

    brunoduarte

      Couldn't find any info about this issue...

      I've been trying to integrate jBPM 3.1.3 and BPEL 1.1B3 in our production environment.

      We are using J2EE 1.4, JBoss AS 3.2.8, JBoss Rules 3.0.5 and MySQL! In the future we would like to analyze integration with JBoss Cache (clustering?) and LDAP.

      We have 3 options:
      - jBPM inside our JBoss AS 3.2.8
      - jBPM in an independent JBoss AS instance (4.x)
      - jBPM standalone;

      I've successfully deployed jBPM core inside JBoss AS 3.2.8 (had to change jboss-service.xml) but I can't do much more. Both core and console depend on hibernate 3! Is there a way to deploy jBPM in this AS version and to test websale example?

      What you think is the best option to integrate it with our production environment? Standalone or another instance of JBoss AS?

      Thanks in advance,
      Bruno Duarte

        • 1. Re: Integration jBPM with JBoss AS 3.2.8
          aguizar

          I actually reviewed JBoss 3.2.8 to see what is in there. I deleted the jboss-hibernate.sar dir and started the server. Nothing got broken up, so I assume you can remove it if your applications do not depend on Hibernate2. Once you do this, you can throw in find class version clashes if you throw in Hibernate3.

          The story does not end there, tough. The jBPM console uses a web.xml descriptor that adheres to Servlet 2.4. JBoss 3.x supports Servlet 2.3 only. You'd have to migrate the descriptor and be ready for the challenge.

          Further, it does not make sense to develop new applications against old standards. You should probably set up a separate JBoss 4.x instance and deploy your new applications there. The advantage of this option vs. jBPM standalone is that you can leverage the enterprise features such as the web container, managed data sources, JMS, etc.

          Hope this helps,

          • 2. Re: Integration jBPM with JBoss AS 3.2.8
            aguizar

            One more thing, BPEL depends on WSEE 1.1 and JMS 1.1. The two of them are only available in JBoss 4.x.

            Even if you manage to make jBPM run in JBoss 3.x, you will definitely not be able to run BPEL.

            • 3. Re: Integration jBPM with JBoss AS 3.2.8
              brunoduarte

              Your response was very helpful. Thank you Alejandro.

              • 4. Re: Integration jBPM with JBoss AS 3.2.8
                kukeltje

                and the webconsole uses JSF 1.2 with some backported java5 things to jdk1.4. Not sure if that all works on jboss 3.x

                • 5. Re: Integration jBPM with JBoss AS 3.2.8
                  aguizar

                   

                  Once you do this, you can throw in find class version clashes if you throw in Hibernate3.

                  This should read "you will not encounter class version classes when you throw in Hibernate3".