1 Reply Latest reply on Jul 1, 2007 9:55 AM by Adrian Dimulescu

    jBPM on JBossAS already installed

    Luciano Borges Newbie

      Hi all,

      How can i install a jBPM on JBossAS405 already installed?
      Which file and where I must download?

      I already have the Eclipse installed and configured with the plugin jBossIDE and i start the jboss by eclipse, i made an example of a process and i'd like to deploy and run this example like http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted, but i can't deploy in the server because, i believe, the server don't have the jbpm installed.


        • 1. Re: jBPM on JBossAS already installed
          Adrian Dimulescu Newbie

          Download the jbpm-jpdl-suite-3.2.1.zip file from sourceforge.

          Inside you'll find deploy/jbpm-enterprise.ear. That's the main ear you'll deploy.

          It needs :
          * a datasource called JbpmDS which you'll have to configure.
          * an authentication policy called jbpm, to add to conf/login-config.xml

          The latter looks like this if you choose to keep your users in database :

          <application-policy name = "jbpm">
           <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule"
           <module-option name="dsJndiName">java:/JbpmDS</module-option>
           <module-option name="principalsQuery">
           <module-option name="rolesQuery">
           SELECT g.NAME_ ,'Roles'
           FROM JBPM_ID_USER u,
           JBPM_ID_MEMBERSHIP m,
           JBPM_ID_GROUP g
           WHERE g.TYPE_='security-role'
           AND m.GROUP_ = g.ID_
           AND m.USER_ = u.ID_
           AND u.NAME_=?

          You may want to use some properties files for authentication and the configuration may be simpler.