Can't login to jBPM console
bruno Sep 12, 2007 7:53 AMI'm sorry if this is a foolish question, but I'm desperated.
I think I've successfully installed JBossESB 4.2GA, but I'm unable to login to the jBPM console.
The URL [http://localhost:8080/jbpm-console/] takes me to the usual console login screen, but none of the user/password combinations (manager/manager, user/user, etc.) do work.
Before trying to login, the JBoss AS console shows:
13:35:17,789 ERROR [STDERR] Sep 12, 2007 1:35:17 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/home/bruno/jboss-4.2.1.GA/server/default/tmp/deploy/tmp25366jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf.jar!/META-INF/tfl-compat.taglib.xml 13:35:17,848 ERROR [STDERR] Sep 12, 2007 1:35:17 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/home/bruno/jboss-4.2.1.GA/server/default/tmp/deploy/tmp25366jbpm-console-exp.war/WEB-INF/lib/gravel.jar!/META-INF/gravel-data.taglib.xml 13:35:17,868 ERROR [STDERR] Sep 12, 2007 1:35:17 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/home/bruno/jboss-4.2.1.GA/server/default/tmp/deploy/tmp25366jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml 13:35:17,891 ERROR [STDERR] Sep 12, 2007 1:35:17 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/home/bruno/jboss-4.2.1.GA/server/default/tmp/deploy/tmp25366jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml 13:35:17,910 ERROR [STDERR] Sep 12, 2007 1:35:17 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/home/bruno/jboss-4.2.1.GA/server/default/tmp/deploy/tmp25366jbpm-console-exp.war/WEB-INF/lib/gravel.jar!/META-INF/gravel-compat.taglib.xml
And some other lines of the like. I haven't put much attentions to those, tough...
At the moment I try to login, the JBoss AS console shows this:
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 at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315) at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186) at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200) at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:579) at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603) at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537) at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344) at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:491) at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:258) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:417) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595)
and the browser shows:
Error Login failed. Invalid user name or password.
The Quickstart samples bpm_orchestration1 and bpm_orchestration2 seem to work all right (except for the fact that the second one didn't print the message '[SchemaExport] schema export complete' to the console).
During execution of the bpm_orchestrationX samples, I used the HSQL Database Manager to see the jBPM's Hypersonic database, and I saw the creation of records for the process definitions, for the process instances, and so on. But the tables JBPM_ID_USER, JBPM_ID_GROUP and JBPM_ID_MEMBERSHIP are always empty.
Using the same DB tool I inserted records to table JBPM_ID_USER, as indicated in jBPM's User Guide. To no avail, at all.
The file called 'hibernate.cfg.xml' in directory 'jbpm.esb' contains the following lines, clearly uncommented:
<mapping resource="org/jbpm/identity/User.hbm.xml"/> <mapping resource="org/jbpm/identity/Group.hbm.xml"/> <mapping resource="org/jbpm/identity/Membership.hbm.xml"/>
My environment:
bruno@golden:~$ uname -a Linux golden 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux bruno@golden:~$ java -version java version "1.5.0_11" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
Any help will be *greatly* appreciated.