[jboss-user] [jBPM] - New jBPM and jboss installation: can't log in

Michael Davis do-not-reply at jboss.com
Sat Aug 18 15:18:29 EDT 2012

Michael Davis [https://community.jboss.org/people/damaru] created the discussion

"New jBPM and jboss installation: can't log in"

To view the discussion, visit: https://community.jboss.org/message/754367#754367


I've got a fresh jboss 7.1.1 installation, I deployed one app I wrote to it a couple of weeks ago, and it's running fine.

Last night I installed jBPM 5.3.0. Because I already have jboss and eclipse installed, I just executed the ant tasks to install the war files:

+ant install.guvnor.into.jboss+
+ant install.designer.into.jboss+
+ant install.jBPM-gwt-console.into.jboss+

and after a couple of restarts the wars got deployed. I didn't change datasources or anything.

So when I go to  http://localhost:8080/jbpm-console http://localhost:8080/jbpm-console I get a login prompt. According to the documentation that comes with the jbpm installer, there is supposed to be a user set up: krisv/krisv. That didn't work. I tried to set up a user using the jboss add-user script, guessing that the role is probably jbpm-console. That didn't work either.

I had a look at the jboss-web.xml file in the jboss-console war file, and the security section is commented out:






my standalone.xml file contains this:
               <security-domain name="jbpm-console" cache-type="default">
                        <login-module code="UsersRoles" flag="required">
                            <module-option name="usersProperties" value="${jboss.server.config.dir}/users.properties"/>
                            <module-option name="rolesProperties" value="${jboss.server.config.dir}/roles.properties"/>

Now, my config dir contains the files

so I created symbolic links to them named roles.properties and users.properties.

But I still can't log in - I get this error:
15:01:36,495 ERROR [org.jboss.security.authentication.JBossCachedAuthenticationManager] (http-- Login failure: javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
          at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:270) [picketbox-4.0.7.Final.jar:4.0.7.Final]
          at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:155) [picketbox-4.0.7.Final.jar:4.0.7.Final]

So how can I set up a user to use with jBPM?

Michael Davis

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120818/d968062c/attachment.html 

More information about the jboss-user mailing list