8 Replies Latest reply on Jan 27, 2006 11:46 AM by dokondr

    Newbie: How access Management Portlet?

    dokondr

      I have just install "jboss-portal-2.2.1RC1-bundled"
      and using data source:
      mySQL, version: 5.0.18
      15:33:42,900 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.12 ( $Date: 2005-11-17 15:53:48 +0100 (Thu, 17 Nov 2005)

      It runs. I see are the following portlets at http://localhost/portal/portal/default/default:

      1) User portlet
      2) Pages
      3) CMS

      Yet how can I access "Management Portlet" from the browser?

      How to get to "available portlet instances" ?

      Thanks!

        • 1. Re: Newbie: How access Management Portlet?
          noicangi

          in the user portlet enter the user "admin" and pass "admin" you will access the portal in 'admin mode' and there apears 2 more pages.

          • 2. Re: Newbie: How access Management Portlet?
            dokondr

            I tried:

            login: admin
            password: admin

            I got:

            "Login failed!
            Sorry, your username and/or password could not be verified"

            Any ideas?

            • 3. Re: Newbie: How access Management Portlet?
              noicangi

              i'am a newbie too, but your doing something wrong,
              if your newbie try to use mySQL 4.1 not the 5
              other thing is to install the correct jdbc connector on the /lib and add the file portal- myqsl **.xml file on the deploy dir

              • 4. Re: Newbie: How access Management Portlet?
                dokondr

                Should I *myself* create "admin" account with password "admin" before trying to login ?

                • 5. Re: Newbie: How access Management Portlet?
                  noicangi


                  no you don't need to create an acount

                  check the jboss AS configuration ( documentation), the admin/admin
                  is by default.

                  the portal don't need extra configuration except for the file to access you local database.

                  i repeat it seems to be a DB error, don't use mysql 5 use the 4.1,
                  cheack the connector and the portal-mysql-ds.xml file.

                  • 6. Re: Newbie: How access Management Portlet?
                    dokondr

                     

                    "dokondr" wrote:
                    Should I *myself* create "admin" account with password "admin" before trying to login ?


                    Just tried that. No such luck - does not work either :(

                    BTW:
                    I use mysql-connector-java-3.1.12.

                    Log file looks ok, except for multiple messages like:

                    15:33:50,634 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
                    15:33:50,650 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
                    15:33:50,697 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
                    15:33:50,697 INFO [ConnectionManager] Skipping aggresive-release due to open resources on batcher
                    ...
                    ...



                    • 7. Re: Newbie: How access Management Portlet?
                      noicangi

                      ok ok i know your using the connector, check out its copied in the $jbosshome/default/lib and paste the portal-mysql-ds.xml in the deploy directory, this is important to make the portal connect the DB and create the tables....i think your using the default bundled DB..in the deploy directory delete portal-hsqldb-ds.xml.


                      rerun the portal.

                      • 8. Re: Newbie: How access Management Portlet?
                        dokondr

                         

                        "noicangi" wrote:
                        ok ok i know your using the connector, check out its copied in the $jbosshome/default/lib and paste the portal-mysql-ds.xml in the deploy directory, this is important to make the portal connect the DB and create the tables....i think your using the default bundled DB..in the deploy directory delete portal-hsqldb-ds.xml.


                        rerun the portal.


                        I did all that before writing my questions, found out all about that myself :) (Installation manual really needs to be more specific, I think)
                        Now I am really stuck ...
                        The only thing which I can imagine at the moment to tweak is to switch to MySQL 4.1, as you suggested. We'll see ...
                        Thanks!