8 Replies Latest reply on Dec 30, 2005 1:33 PM by pedrosacosta

    install jboss portal

    pedrosacosta

      I tried to install jboss portal in jboss, and when i run it, the shell prints:

      --- MBeans waiting for other MBeans ---
      ObjectName: portal:service=CMS
       State: CONFIGURED
       I Depend On:
       jboss.cache:service=InvalidationManager
       jboss.jca:service=DataSourceBinding,name=PortalDS
       Depends On Me:
       portal:service=Tree
      
      ObjectName: portal:service=Tree
       State: CONFIGURED
       I Depend On:
       portal:service=CMS
       Depends On Me:
       portal:service=Module,type=Security
      
      ObjectName: portal:service=Hibernate
       State: CONFIGURED
       I Depend On:
       jboss.jca:service=DataSourceBinding,name=PortalDS
       Depends On Me:
       portal:service=Module,type=User
       portal:service=Module,type=Role
       portal:service=Module,type=Security
       portal:service=ServerManager
      
      ObjectName: portal:service=Module,type=User
       State: CONFIGURED
       I Depend On:
       portal:service=Hibernate
       Depends On Me:
       portal:service=Module,type=Mail
      
      ObjectName: portal:service=Module,type=Role
       State: CONFIGURED
       I Depend On:
       portal:service=Hibernate
      
      ObjectName: portal:service=Module,type=Security
       State: CONFIGURED
       I Depend On:
       portal:service=Hibernate
       portal:service=Tree
      
      ObjectName: portal:service=Module,type=Mail
       State: CONFIGURED
       I Depend On:
       portal:service=Module,type=User
      
      ObjectName: portal:service=ServerManager
       State: CONFIGURED
       I Depend On:
       portal:service=Hibernate
       portal:service=Configuration
       portal:service=ObjectFactory
       portal:service=ThemeServer
       portal:service=LayoutServer
       Depends On Me:
       portal:service=Deployer,type=PortalWebApp
      
      ObjectName: portal:service=Deployer,type=PortalWebApp
       State: CONFIGURED
       I Depend On:
       jboss.system:service=MainDeployer
       portal:service=ServerManager
       Depends On Me:
       portal:service=Deployer,type=JBoss
       portal:service=Deployer,type=Adapter
      
      ObjectName: portal:service=Deployer,type=JBoss
       State: CONFIGURED
       I Depend On:
       portal:service=Deployer,type=PortalWebApp
      
      ObjectName: portal:service=Deployer,type=Adapter
       State: CONFIGURED
       I Depend On:
       portal:service=Deployer,type=PortalWebApp
       jboss.web:service=WebServer
      
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.jca:service=DataSourceBinding,name=PortalDS
       State: NOTYETINSTALLED
       Depends On Me:
       portal:service=CMS
       portal:service=Hibernate
      


      When i go to localhost:8080/portal, i get the error:

      10:02:06,818 ERROR [[PortalServlet]] Servlet.service() for servlet PortalServlet threw exception
      java.lang.NullPointerException
       at org.jboss.portal.server.servlet.AbstractMainServlet.doGet(AbstractMainServlet.java:68)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:79)
       at ...
      


      What's missing to install correctly my jboss portal?

      Thanks

        • 1. Re: install jboss portal
          pedrosacosta

          The userguide says that i have to create an sql table called jbossportal. But, in what directory should the database be located? Ie, the sql database that i created with the command in mysql program:

          create database jbossportal
          


          is saved in the directory C:\Program Files\mysql\data\jbossportal. So, i don't understand how jboss AS would retrieve my database. Should i put the database files created in mysql in any specific directory of the jboss AS?

          And, should i've my sql running before trying to start jboss AS, that would run jboss portal?

          Thanks



          • 2. Re: install jboss portal
            anders.hedstrom

            I just followed the JBoss Portal User Guide. Everything worked fine, the only thing was that I needed to explicit configure the hibernate dialect as stated in section 2.5.4.

            And, should i've my sql running before trying to start jboss AS, that would run jboss portal?


            Yes, JBoss Portal creates all database tables when starting up if they don't already exist.

            • 3. Re: install jboss portal
              pedrosacosta

              I've read the userguide many times but i can't install jboss portal.

              Can anybody explain me what should i do, related to the databases, to install properly my jboss portal? I asking if anybody could give me a detailed example of how to configure the database (mysql, or hsqldb) to run jboss portal. Can you post any xml files that is related to the configuration of the databases?

              Thanks

              • 4. Re: install jboss portal
                pedrosacosta

                Thanks anders.hedstrom. I've installed jboss portal sucessfully.

                • 5. Re: install jboss portal
                  jukos

                  pedrosacosta,
                  Did you use the bundled package of jboss-portal-2.0.1RC1-jboss-4.0.2 for this or install them seperately to get them to work?

                  I'm using the above with MySQL 5.0, mysql-connector-java-3.1.11 on a Linux redhat 4 system but still running into this.
                  I have also been through the install instructions many times.
                  any pointers on what you did much appreciated, thanks so much.


                  9:19:37,403 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

                  --- MBeans waiting for other MBeans ---
                  ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
                  State: CONFIGURED
                  I Depend On:
                  jboss.jca:service=DataSourceBinding,name=DefaultDS

                  ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
                  State: CONFIGURED
                  I Depend On:
                  jboss.mq:service=Invoker
                  jboss.web:service=WebServer

                  ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
                  State: CONFIGURED
                  I Depend On:
                  jboss:service=TransactionManager
                  jboss.jca:service=DataSourceBinding,name=DefaultDS

                  ObjectName: jboss.mq:service=StateManager
                  State: CONFIGURED
                  I Depend On:
                  jboss.jca:service=DataSourceBinding,name=DefaultDS
                  Depends On Me:
                  jboss.mq:service=DestinationManager

                  ObjectName: jboss.mq:service=DestinationManager
                  State: CONFIGURED
                  I Depend On:
                  jboss.mq:service=MessageCache
                  jboss.mq:service=PersistenceManager
                  jboss.mq:service=StateManager
                  Depends On Me:
                  jboss.mq.destination:service=Topic,name=testTopic
                  jboss.mq.destination:service=Topic,name=securedTopic
                  jboss.mq.destination:service=Topic,name=testDurableTopic
                  jboss.mq.destination:service=Queue,name=testQueue
                  jboss.mq.destination:service=Queue,name=A
                  jboss.mq.destination:service=Queue,name=B
                  jboss.mq.destination:service=Queue,name=C
                  jboss.mq.destination:service=Queue,name=D
                  jboss.mq.destination:service=Queue,name=ex
                  jboss.mq:service=SecurityManager
                  jboss.mq.destination:service=Queue,name=DLQ

                  • 6. Re: install jboss portal
                    danial79

                     

                    "pedrosacosta" wrote:
                    Thanks anders.hedstrom. I've installed jboss portal sucessfully.


                    can you atleast.. provides what anders.hedstrom gave you so that we can see the solutions.. tq

                    • 7. Re: install jboss portal

                      If you are installing on MySQL5, the driver is a buggy mess, so please read this article to configure on that version: http://wiki.jboss.org/wiki/Wiki.jsp?page=AvoidMySQL5DataTruncationErrors

                      • 8. Re: install jboss portal
                        pedrosacosta

                        The problem was so stupid. I forgot to start mysql.

                        The anders.hedstrom didn't give me any answer. I found it alone.