[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.1 and App Server (AS) 4.2 - Web Console

burrsutter do-not-reply at jboss.com
Sat Jul 7 11:38:57 EDT 2007


I decided to "cheat" and went back to CVS.  The build script for the console makes a 4.2 compatible WAR where the primary differences seem to the following:

jsf-impl-14.jar (gone)
jsf-api-14.jar (gone)
el-ri.jar (gone)
el-api.jar (gone)
javassist.jar (gone)
gravel-14.jar is now gravel.jar

So, that tells me this information is not completely accurate:
http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployJbpm3.2WebAppUnderJBoss4.2.x
I suspect this was accurate for 3.2.0 but I can't verify that at this moment.

Another tip for anyone trying this at home:
Modify your AS login-config.xml to include the following -

  |     <application-policy name = "jbpm">
  |        <authentication>
  |          <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule"
  |                        flag="required">
  |            <module-option name="dsJndiName">java:/JbpmDS</module-option>
  |            <module-option name="principalsQuery">
  |              SELECT PASSWORD_ FROM JBPM_ID_USER WHERE NAME_=?
  |            </module-option>
  |            <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_=?
  |            </module-option>
  |          </login-module>
  |        </authentication>
  |     </application-policy>
  | 
  | 

But the results of my adventure basically show me that I need to go to CVS, build the console and use the 4.2 version of jbpm-console.war. 
I've found 3 copies of jbpm-console.war in the jbpm-jpdl-suite-3.2.1 download.  All have the gravel-14.jar which seems to be a problem.
I'm guessing this is related to Java version number and I'm running on JDK 1.5.





View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061607#4061607

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061607



More information about the jboss-user mailing list