<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
New jBPM and jboss installation: can't log in
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/damaru">Michael Davis</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/754367#754367">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>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.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>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:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><em style="color: #000000; font-family: Times; font-size: medium;">ant install.guvnor.into.jboss</em></p><p><em style="color: #000000; font-family: Times; font-size: medium;">ant install.designer.into.jboss</em></p><p><em style="color: #000000; font-family: Times; font-size: medium;">ant install.jBPM-gwt-console.into.jboss</em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>and after a couple of restarts the wars got deployed. I didn't change datasources or anything.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span>So when I go to </span><a class="jive-link-external-small" href="http://localhost:8080/jbpm-console" target="_blank">http://localhost:8080/jbpm-console</a><span> 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.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I had a look at the jboss-web.xml file in the jboss-console war file, and the security section is commented out:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><jboss-web></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <!--security-domain>java:/jaas/jbpm-console</security-domain--></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <context-root>jbpm-console</context-root></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>   <!--resource-ref></p><p>     <res-ref-name>jdbc/JbpmDataSource</res-ref-name></p><p>     <jndi-name>java:/JbpmDS</jndi-name></p><p>   </resource-ref></p><p>   --></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p></jboss-web></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>my standalone.xml file contains this:</p><p>               <security-domain name="jbpm-console" cache-type="default"></p><p>                    <authentication></p><p>                        <login-module code="UsersRoles" flag="required"></p><p>                            <module-option name="usersProperties" value="${jboss.server.config.dir}/users.properties"/></p><p>                            <module-option name="rolesProperties" value="${jboss.server.config.dir}/roles.properties"/></p><p>                        </login-module></p><p>                    </authentication></p><p>                </security-domain></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Now, my config dir contains the files</p><p>application-roles.properties</p><p>and </p><p>application-users.properties</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>so I created symbolic links to them named roles.properties and users.properties.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>But I still can't log in - I get this error:</p><p>15:01:36,495 ERROR [org.jboss.security.authentication.JBossCachedAuthenticationManager] (http--127.0.0.1-8080-1) Login failure: javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required</p><p>          at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:270) [picketbox-4.0.7.Final.jar:4.0.7.Final]</p><p>          at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:155) [picketbox-4.0.7.Final.jar:4.0.7.Final]</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>So how can I set up a user to use with jBPM?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>thanks</p><p>Michael Davis</p><p>Ottawa</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/754367#754367">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>