None of this should be necessary, what are you deploying into?
2) is the database and is created for you by an MBean
3) is the JAAS configuration and is automatically added into login-config.xml on deployment
Maybe it shouldn't be necessary, but it's what I had to do to get it to work.
I am deploying JBossESB 4.3.GA in JBoss AS 4.2.2.GA.
The stack trace that led to the modifications has been overwritten, but I think it looked like this one that has been posted before:
13:40:50,346 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found
I can't recall the status of the database, but the security policy was definitely not automatically copied to login-config.xml by the 4.3.GA deployment
You're right about the database. Adding those files to the Hypersonic directory does nothing. I see now that jBPM builds the authentication entries for the jbpm-console in H2.
So the only issue is that the JAAS configuration was "missing" from my deployment.
Thanks, I'll run this locally on a clean 4.2.2 and check the login-config.xml
Apologies but we do have a bug in the installation, thanks for pointing this out.
I'll get this fixed in trunk asap.
This has now been fixed in trunk, apologies for missing it.