7 Replies Latest reply on May 31, 2013 5:18 AM by theute

    Installation JBoss Portal 6.0

    tgrlocak

      I am trying to install Jboss Portal since yesterday. Actually I installed and saw the eap worked at 9990 port.

       

      When I want to access localhost:8080 it brings the welcome content default. Then I click on 'Go to the demonstration Portal' link and than it redirects http://localhost:8080/portal/classic/ but page content is nothing. It opens a blank page.

      I couldn't see any reason or couldn't find documentation about it? Is there anyone else having the same issue?

       

      JBoss Portal : jboss-jpp-6.0.0

      Operating System: Windows 7 x64

       

      There is a log file attached.

        • 1. Re: Installation JBoss Portal 6.0
          theute

          You likely have other errors before that in the log. Those are not very helpful

           

          Unzipping and running sh "standalone.sh" should just work. Just to be on the safe side, avoid directory names with a space in it.

          • 2. Re: Installation JBoss Portal 6.0
            tgrlocak

            As Thomas said I just unzipped and run standalone.bat and it worked for management console. I can add datasources, deploy my project wars(also they have errors ). But in default after unzip and run the standalone mode it can't open portal interface at port 8080. I read all the documents that I reached from redhat.com, I did step by step what they said.

             

            I think maybe there is something wrong about my computer or operating system. Maybe there is something missing about jars or configurations that portal needs. I'm still working on it.

            • 3. Re: Installation JBoss Portal 6.0
              theute

              So before you set the datasource and deploy your project wars, it works fine ?

               

              If so I would suggest to go step by step and send the full error logs when it starts to fail and list all the changes you have performed. (Such as datasource descriptor...)

              • 4. Re: Installation JBoss Portal 6.0
                tgrlocak

                Thomas Heute wrote:

                 

                So before you set the datasource and deploy your project wars, it works fine ?

                Thanks for quick reply.

                 

                At default installation it didn't work fine actually. No datasources created or projects deployed. In the pure installation I start 'localhost:9990' and management console is fine but at 'localhost:8080' doesn't bring any content to page also gives errors(the log file in first message).

                 

                I searched the web starting from first error which is shown above.

                 

                 

                15:58:09,993 ERROR [exo.jcr.component.core.RepositoryServiceImpl] (MSC service thread 1-4) Error start repository service: org.exoplatform.services.jcr.config.RepositoryConfigurationException: Can not register repository container repository in parent container.

                          at org.exoplatform.services.jcr.impl.RepositoryContainer$1.run(RepositoryContainer.java:172) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.RepositoryContainer$1.run(RepositoryContainer.java:158) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.commons.utils.SecurityHelper.doPrivilegedExceptionAction(SecurityHelper.java:310) [exo.kernel.commons-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.services.jcr.impl.RepositoryContainer.<init>(RepositoryContainer.java:157) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.createRepository(RepositoryServiceImpl.java:138) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.init(RepositoryServiceImpl.java:323) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.start(RepositoryServiceImpl.java:279) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]

                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_21]

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_21]

                          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]

                          at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.LifecycleVisitor.start(LifecycleVisitor.java:170) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:554) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.ExoContainer.start(ExoContainer.java:269) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.PortalContainer.start(PortalContainer.java:656) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.ExoContainer.start(ExoContainer.java:257) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.RootContainer.createPortalContainer(RootContainer.java:674) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.RootContainer.createPortalContainers(RootContainer.java:342) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.gatein.integration.jboss.as7.web.StartupService.start(StartupService.java:50)

                          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]

                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]

                          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]

                Caused by: java.lang.RuntimeException: Cannot instantiate component class org.exoplatform.services.jcr.impl.storage.jdbc.optimisation.CQJDBCWorkspaceDataContainer

                          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:135) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.services.jcr.impl.RepositoryContainer$2.run(RepositoryContainer.java:377) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.RepositoryContainer$2.run(RepositoryContainer.java:356) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.commons.utils.SecurityHelper.doPrivilegedExceptionAction(SecurityHelper.java:310) [exo.kernel.commons-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.services.jcr.impl.RepositoryContainer.registerWorkspace(RepositoryContainer.java:355) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.RepositoryContainer.registerWorkspacesComponents(RepositoryContainer.java:808) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.RepositoryContainer.registerComponents(RepositoryContainer.java:719) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.RepositoryContainer.access$300(RepositoryContainer.java:98) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.RepositoryContainer$1.run(RepositoryContainer.java:166) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          ... 24 more

                Caused by: java.lang.reflect.InvocationTargetException

                          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_21]

                          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_21]

                          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_21]

                          at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [rt.jar:1.7.0_21]

                          at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:421) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:97) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          ... 36 more

                Caused by: java.lang.IllegalArgumentException: No enum constant org.exoplatform.services.jcr.impl.storage.jdbc.JDBCDataContainerConfig.DatabaseStructureType.?SOLATED

                          at java.lang.Enum.valueOf(Enum.java:236) [rt.jar:1.7.0_21]

                          at org.exoplatform.services.jcr.impl.storage.jdbc.JDBCDataContainerConfig$DatabaseStructureType.valueOf(JDBCDataContainerConfig.java:33) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.util.jdbc.DBInitializerHelper.getDatabaseType(DBInitializerHelper.java:352) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer.checkIntegrity(JDBCWorkspaceDataContainer.java:369) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer.<init>(JDBCWorkspaceDataContainer.java:208) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.storage.jdbc.optimisation.CQJDBCWorkspaceDataContainer.<init>(CQJDBCWorkspaceDataContainer.java:84) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          ... 42 more

                 

                 

                15:58:10,124 ERROR [exo.kernel.container.RootContainer] (MSC service thread 1-4) Cannot create the portal container 'portal' . ServletContext: org.apache.catalina.core.ApplicationContextFacade@73018592: org.picocontainer.PicoIntrospectionException: Failed when calling start on org.exoplatform.portal.mop.navigation.NavigationServiceWrapper@2e09851a

                          at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:136) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.LifecycleVisitor.start(LifecycleVisitor.java:170) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:554) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.ExoContainer.start(ExoContainer.java:269) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.PortalContainer.start(PortalContainer.java:656) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.ExoContainer.start(ExoContainer.java:257) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.RootContainer.createPortalContainer(RootContainer.java:674) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.exoplatform.container.RootContainer.createPortalContainers(RootContainer.java:342) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          at org.gatein.integration.jboss.as7.web.StartupService.start(StartupService.java:50)

                          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

                          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

                          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]

                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]

                          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]

                Caused by: org.chromattic.api.UndeclaredRepositoryException: javax.jcr.RepositoryException: Repository 'repository' not found.

                          at org.exoplatform.portal.mop.navigation.NavigationServiceWrapper.start(NavigationServiceWrapper.java:168) [exo.portal.component.portal-3.5.2.Final-redhat-4.jar:3.5.2.Final-redhat-4]

                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_21]

                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_21]

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_21]

                          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_21]

                          at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100) [exo.kernel.container-2.4.1-GA-redhat-1.jar:2.4.1-GA-redhat-1]

                          ... 13 more

                Caused by: javax.jcr.RepositoryException: Repository 'repository' not found.

                          at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getRepository(RepositoryServiceImpl.java:231) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getDefaultRepository(RepositoryServiceImpl.java:220) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getCurrentRepository(RepositoryServiceImpl.java:213) [exo.jcr.component.core-1.15.1-CP01-redhat-1.jar:1.15.1-CP01-redhat-1]

                          at org.exoplatform.portal.mop.navigation.NavigationServiceWrapper.start(NavigationServiceWrapper.java:164) [exo.portal.component.portal-3.5.2.Final-redhat-4.jar:3.5.2.Final-redhat-4]

                          ... 18 more

                 

                 

                15:58:10,179 WARN  [exo.kernel.container.RootContainer] (MSC service thread 1-4) The portal container 'portal' doesn't exist or it has not yet been registered, please check your PortalContainerDefinitions and the loading order.

                15:58:10,184 INFO  [org.gatein] (MSC service thread 1-4) JBoss JPP 6.0.0 (GateIn Portal 3.5.2.Final-redhat-4) started.

                15:58:10,194 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 51) JBAS018559: Deployed "jpp-branding-extension.ear"

                15:58:10,196 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 51) JBAS018559: Deployed "gatein-wsrp-integration.ear"

                15:58:10,198 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 51) JBAS018559: Deployed "gatein.ear"

                15:58:10,317 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management

                15:58:10,319 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

                15:58:10,321 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss Portal Platform 6.0.0 (AS 7.1.3.Final-redhat-4) started in 17810ms - Started 921 of 1043 services (116 services are passive or on-demand)

                 

                 

                 

                 

                I am desperately waiting for any help.

                • 5. Re: Installation JBoss Portal 6.0
                  theute

                  We haven't heard of anyone else having that issue and the error:

                  Caused by: java.lang.IllegalArgumentException: No enum constant org.exoplatform.services.jcr.impl.storage.jdbc.JDBCDataContainerConfig.DatabaseStructureType.?SOLATED

                  is "weird".

                   

                  Full server.log + the file "standalone/configuration/gatein/configuration.properties" would be helpful, you should have the value: "gatein.jcr.db-structure-type=isolated" in there.

                  1 of 1 people found this helpful
                  • 6. Re: Installation JBoss Portal 6.0
                    tgrlocak

                    Thomas Heute wrote:

                     

                    you should have the value: "gatein.jcr.db-structure-type=isolated" in there.

                    I changed 'isolate' to 'ISOLATE' and it worked it was a language issue. But I am not sure if it will be a problem anywhere else.

                     

                    Message was edited by: Tugrul Ocak

                    • 7. Re: Installation JBoss Portal 6.0
                      theute

                      Very weird, looks like some encoding issue. It shouldn't be a problem elsewhere