3 Replies Latest reply on Apr 27, 2009 6:49 AM by Heiko Braun

    GWT still raises login exceptions

    ermes martino Newbie

      Hi all,
      sorry to add another issue about the gwt login but even if I have followed all the installation procedure I still get access denied.
      Here's what I did:

      -run installer for jbpm-3.3.1.GA

      -select the core modules and pointed to my application server (5.0)

      -started JBoss (and created the -ds.xml file)

      -launched http://localhost:8080/gwt-console-server/rs/process/definitions

      I have tried with "manager/manager", "admin/admin" but I still get access denied

      This is what I have got installed under my deploy/jbpm folder

      13/01/2009 11.11 2.752.380 gwt-console-server.war
      13/01/2009 11.11 4.189.285 gwt-console.war
      13/01/2009 10.50 1.157 jbpm-destinations-service.xml
      02/03/2009 16.59 <DIR> jbpm-enterprise.jar
      02/03/2009 16.59 <DIR> jbpm-integration.beans
      02/03/2009 17.19 1.204 jbpm-mysql-ds.xml
      02/03/2009 16.59 <DIR> jbpm-service.sar
      02/03/2009 16.59 <DIR> jbpm-userguide.war
      02/03/2009 16.59 <DIR> jsf-console.war
      13/01/2009 11.11 11.826.188 report-server.war


      Any help how to solve this issue ?
      P.s. I have just tried also on JBoss 4.2.2 but the same error is issued :-(

      thanks
      marco

        • 1. Re: GWT still raises login exceptions
          Pedro Alfaro Newbie

          I have the same problem and the log show this
          eryModule - first pass
          2009-03-27 10:24:25,760 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
          2009-03-27 10:24:35,760 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - second pass <Fri, 27 Mar 2009 10:24:35>
          2009-03-27 10:24:35,760 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] AtomicActionRecoveryModule: Second pass
          2009-03-27 10:24:35,760 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass

          • 2. Re: GWT still raises login exceptions
            Pedro Alfaro Newbie

            When I install the jbpm4 I got this exception,

            $ java -jar jbpm-installer-4.0.0-SNAPSHOT.jar
            com.izforge.izpack.installer.ResourceNotFoundException: Cannot find named Resource: '/res/userInputLang.xml_eng' AND '/res/userInputLang.xml_eng_eng'
            at com.izforge.izpack.installer.ResourceManager.getLanguageResourceString(Unknown Source)
            at com.izforge.izpack.installer.ResourceManager.getInputStream(Unknown Source)
            at com.izforge.izpack.panels.UserInputPanel.init(Unknown Source)
            at com.izforge.izpack.panels.UserInputPanel.panelActivate(Unknown Source)
            at com.izforge.izpack.installer.InstallerFrame.switchPanel(Unknown Source)
            at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown Source)
            at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown Source)
            at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionPerformed(Unknown Source)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
            at java.awt.Component.processMouseEvent(Component.java:6101)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
            at java.awt.Component.processEvent(Component.java:5866)
            at java.awt.Container.processEvent(Container.java:2105)
            at java.awt.Component.dispatchEventImpl(Component.java:4462)
            at java.awt.Container.dispatchEventImpl(Container.java:2163)
            at java.awt.Component.dispatchEvent(Component.java:4288)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
            at java.awt.Container.dispatchEventImpl(Container.java:2149)
            at java.awt.Window.dispatchEventImpl(Window.java:2478)
            at java.awt.Component.dispatchEvent(Component.java:4288)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)


            is this related with the login problem?

            • 3. Re: GWT still raises login exceptions
              Heiko Braun Master

              No, the jbpm4 installer error you see is not related to the login problem.
              Since the console in jbpm3 is merely a prototype, you should switch to jbpm4.

              What version of jbpm4 did you use? The JAAS domain for the console is configured in deploy/jbpm/jbpm-service.sar/META-INF/jboss-service.xml

              Beginning with 4.0.0.Beta1 it uses the DB login module that points to the JbpmDS:


              <!-- Authenticate against the Identiy database -->
               <jaas:login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required">
               <jaas:module-option name="dsJndiName">java:/JbpmDS</jaas:module-option>
               <jaas:module-option name="principalsQuery"> SELECT PASSWORD_ FROM JBPM_ID_USER WHERE ID_=? </jaas:module-opt
              ion>
               <jaas: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.DBID_ AND m.USER_ = u.DBID_ AND u.ID_=? </jaas:module-optio
              n>
               </jaas:login-module>