[jboss-user] [JBoss jBPM] - Re: logging jboss web console problem

rodosa do-not-reply at jboss.com
Thu Jan 10 05:36:29 EST 2008


  | 19:46:56,440 ERROR [STDERR] 09-ene-2008 19:46:56 com.sun.faces.lifecycle.ELResol
  | verInitPhaseListener populateFacesELResolverForJsp
  | INFO: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP c
  | ontainer.
  | 19:46:56,659 ERROR [STDERR] 09-ene-2008 19:46:56 com.sun.facelets.compiler.TagLi
  | braryConfig loadImplicit
  | INFO: Added Library from: jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/t
  | mp/deploy/tmp4741jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/gravel
  | -compat.taglib.xml
  | 
This could be not exactly an error? This could be an information???

I don't have enter in the web console because the application tells me that the user and password are incorrect!!

I'm using MySQL and I have data in JBPM_ID_USER, JBPM_ID_GROUP & JBPM_ID_MEMBERSHIP. I added this, to login-config.xml file:


  |   <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>
  | 
  | <application-policy name = "MySqlDbRealm">
  |    <authentication>
  |       <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
  |          <module-option name = "principal">xxx</module-option>
  |          <module-option name = "userName">xxx</module-option>
  |          <module-option name ="password">xxx</module-option>
  |          <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=JbpmDS</module-option>
  |       </login-module>
  |    </authentication>
  | </application-policy>
  | 

But it doesn't work. It seems as if jbpm doesn't connect with my MySQL DB.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118572#4118572

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118572



More information about the jboss-user mailing list