The new docs say,
"The jbpm directory
"When jBPM is installed on a server configuration in JBoss, only the jbpm directory is added to the deploy directory and all components will be deployed under that directory. No other files of JBoss are changed or added outside that directory. "
I figured that would be a good place to start.
I copied the jbpm folder from the 3.3.0.GA distro to a clean JBoss 4.2.3.GA that I built from source.
I opened my browser and checked, "http://localhost:8080/jbpm-console." I tried logging in with "manager/manager." I got the error, "Login failed. Invalid user name or password. "
I added the following to $JBOSS_INSTALL/server/default/conf/login-congif.xml :
<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>
When I restarted I could log in fine. I saw the processes that I had been working on.