6 Replies Latest reply on Jan 26, 2011 5:03 PM by Marko Strukelj

    Issues starting up portal

    Nic Essling Newbie

      All,

       

      I'm having severe issues getting GateIn to start up correctly. I downloaded GateIn 3.0 GA, unzipped it, modified to be used with MySQL (as described somewhere else in the forum) and I start it from within JBoss Dev Studio 3. I get several error messages.

       

      In particular I get:

       

      1)

      22:25:51,046 ERROR [ContainerUtil] Cannot load property file null

      java.io.IOException: Child not found gatein.ear/lib/exo.portal.webui.portal-3.0.0-GA.jar/conf/configuration.properties/ for FileHandler@4681268[path= context=file:/C:/GateIn/GateIn-3.0.0-GA/server/default/deploy/ real=file:/C:/GateIn/GateIn-3.0.0-GA/server/default/deploy/], available children: [FileHandler@26495047[path=admin-console.war .....
          at org.jboss.virtual.plugins.registry.DefaultVFSRegistry.findHandler(DefaultVFSRegistry.java:128)

      ...

       

      This is really weird as there is really not file /conf/configuration.properties in that jar. Instead there is a file /conf/configuration.xml. So I wonder why it wants to read the .properties file and not the .xml file.

       

       

      2)

      22:26:05,127 ERROR [RepositoryService] Error start repository service
      javax.jcr.RepositoryException: _sample-portal not bound: Cannot instantiate component class org.exoplatform.services.jcr.impl.storage.jdbc.optimisation.CQJDBCWorkspaceDataContainer: Cannot instantiate component class org.exoplatform.services.jcr.impl.storage.jdbc.optimisation.CQJDBCWorkspaceDataContainer
          at org.exoplatform.services.jcr.impl.RepositoryContainer.registerWorkspace(RepositoryContainer.java:374)

      ...

       

      This happens although I removed the sample portal from the deploy directory. Also, a directory C:\system_sample-portal is created.

       

      3)

      22:26:05,132 ERROR [STDERR] javax.jcr.RepositoryException: Repository 'repository' not found.
      22:26:05,133 ERROR [STDERR]     at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getRepository(RepositoryServiceImpl.java:203)

      ...

       

      4)

      22:26:08,980 ERROR [RootContainer] Cannot create the portal container 'portal' . ServletContext: org.apache.catalina.core.ApplicationContextFacade@9b9fe6
      org.picocontainer.PicoIntrospectionException: Failed when calling start on org.gatein.portal.wsrp.ExoKernelIntegration@7be9e9

      ...

      Caused by: java.lang.RuntimeException: Couldn't load WSRP producer configuration from conf/wsrp-producer-config.xml

      ...

      Caused by: org.chromattic.api.BuilderException: The class org.gatein.portal.wsrp.state.JCRPersister$WSRPSessionLifeCycle construction threw an exception

      ...

       

       

      I attached the files I modified. Does anyone have an idea what is wrong?

       

      Thanks,

      Christian