6 Replies Latest reply on Feb 4, 2006 10:23 AM by roy.russo

    JAASLoginModule

    glodo

      Hi everyone! i have a problem with the portal 2.2.1RC1. I use oracle like database. In the server.log show this error:
      DEBUG [org.jboss.mx.server.AbstractMBeanInvoker] Setter not found: setObjectName(class javax.management.ObjectName)
      java.lang.NoSuchMethodException: org.jboss.portal.security.impl.jacc.JBossSecurityProviderImpl.setObjectName(javax.management.ObjectName)
      at java.lang.Class.getMethod(Class.java:1581)
      at org.jboss.mx.server.AbstractMBeanInvoker.inject(AbstractMBeanInvoker.java:929)
      ...
      ObjectName: portal:service=CMS
      State: FAILED
      Reason: org.hibernate.TransactionException: Transaction not successfully start
      ed
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=PortalDS
      portal:service=JAASLoginModule
      Depends On Me:
      portal:mapper=CMSObject

      Apparently is missing some method.. but i check and didn't find what can be the problem..
      The portal in gral works fine.. but don't show the content of CMS Manager and default..just show the navigator of both..and the rest show all blank and i can not do anything.. and it is one part so much important of the portal..
      In the jira jbportal-547 says: "This is a feature of xmbean that is not used actually".. but still..it doesnt work..

      If there someone who knows what can be the problem and the right configuration...please let me know..
      so thanks

        • 1. Re: JAASLoginModule
          cs_ckpaa

          Dear all,

          I tried Portal 2.2.1RC1/2 with
          1) JBoss AS 4.0.3 SP1
          2) Java SDK 1.5
          3) Oracle 8i/10g
          4) JDBC: ojdbc14.jar / classes12.zip for oracle

          I have the same problem with glodo

          Can anyone give me some hints to overcome it?

          Thanks

          • 2. Re: JAASLoginModule

            same problem with JBP 2.2.1 and Oracle 9i
            regards,

            Lionel

            • 3. Re: JAASLoginModule
              glodo

              Hi everyone!! i dont know whats is the exactly problem..
              If you have installed the jboss AS from the jboss-4.0.3SP1-installer, i have that problem...
              I try with the Jboss that have the complete install.. just in that case works with any problems..
              I would be interesting know what is the problem with the jboss-4.0.3SP1-installer.. aparently is something that it not configurate appropiatly...
              I hope this help you in some.. if you know what is the problem. please let me know..
              I am now works very fine with the other configuration..
              glodo

              • 4. Re: JAASLoginModule
                cs_ckpaa

                Dear all,

                My situation has been improved.

                Initial Configuration:
                1) Java SDK 1.5
                2) JBoss AS 4.0.1 SP1
                3) JBoss Portal 2.2.1 RC1
                4) Oracle 8i/10g
                5) Oracle JDBC driver for JDK 1.2/1.3
                ie. classes12.zip
                ==> Not work, CMS Portlet shows nothing

                Existing Configuration
                1) Java SDK 1.5
                2) JBoss AS 4.0.1 SP1
                3) JBoss Portal 2.2.1 RC2
                4) Oracle 8i/10g
                5) Oracle JDBC driver for JDK 1.4/1.5
                ie. ojdbc14.jar
                ==> Basically work, CMS Portlet appears

                Conclusion:
                My previous failure may be due to
                1) Wrong oracle JDBC driver version I used; or,
                2) JBoss AS 4.0.1 SP1 has bugs on Oracle DB
                "[ JBPORTAL-560 ] CMS Hibernate PM does not work on oracle" at http://sourceforge.net/project/shownotes.php?group_id=22866&release_id=386247

                Reminder:
                May be necessary to delete the schema before any new configuration being tested

                • 5. Re: JAASLoginModule
                  cs_ckpaa

                  My conclusion (2) should be
                  "JBoss Portal 2.2.1 RC1 bug may contribute to the previous problem"

                  • 6. Re: JAASLoginModule

                    1. Don't use the AS installer.
                    2. Use RC2 for Oracle DB, as it addressed ORA issues in the CMS.