1 2 Previous Next 16 Replies Latest reply on Mar 7, 2011 3:25 AM by Jay N

    GateIn 3.1.0 : Repository 'repository' not found

    Sovanna Non Newbie

      Hi all,

       

       

       

      I'm trying to start GateIn Portal 3.1.0 on JBoss AS 5.1.0 with a MySQL 5.5 server. Here's my configuration :

       

      # JCR

       

      gatein.jcr.config.type=local

       

      gatein.jcr.datasource.name=java:jdbcjcr

       

      gatein.jcr.datasource.dialect=org.hibernate.dialect.MySQLDialect

       

      gatein.jcr.datasource.driver=com.mysql.jdbc.Driver

       

      gatein.jcr.datasource.url=jdbc:mysql://localhost:3306/mygateindb_portal

       

      gatein.jcr.datasource.username=root

       

      gatein.jcr.datasource.password=XXX

       

       

       

      # IDM

       

      gatein.idm.datasource.name=java:jdbcidm

       

      gatein.idm.datasource.driver=com.mysql.jdbc.Driver

       

      gatein.idm.datasource.url=jdbc:mysql://localhost:3306/mygateindb_portal

       

      gatein.idm.datasource.username=root

       

      gatein.idm.datasource.password=XXX

       

      When I try to acces to the URL http://localhost:8080/portal, I'm redirected to a blank page : http://localhost:8080/portal/public/classic/.

      In the server.log file, I can see the following exception :

       

      2011-02-04 16:19:32,345 ERROR [portal:PortalSessionListener] Error while destroying a portal session

      java.lang.NullPointerException

              at org.exoplatform.portal.application.PortalSessionListener.onSessionCreated(PortalSessionListener.java:75)

              at org.exoplatform.container.web.AbstractHttpSessionListener.sessionCreated(AbstractHttpSessionListener.java:71)

              at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:397)

              at org.apache.catalina.session.StandardSession.setId(StandardSession.java:369)

              at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:829)

              at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:291)

              at org.apache.catalina.connector.Request.doGetSession(Request.java:2367)

              at org.apache.catalina.connector.Request.getSession(Request.java:2094)

              at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)

              at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:844)

              at org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.java:146)

              at org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:124)

              at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:107)

              at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:63)

              at org.apache.jsp.index_jsp._jspService(index_jsp.java:46)

              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:72)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:116)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:76)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:112)

              at org.exoplatform.sample.ext.web.SampleFilter.doFilter(SampleFilter.java:46)

              at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:108)

              at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)

              at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:66)

       

       

      Besides, I don't know if it's related but I get these exceptions too :

       

      2011-02-04 16:19:12,819 DEBUG [exo.jcr.component.core.RepositoryServiceImpl] RepositoryServiceimpl() getRepository repository^M

      2011-02-04 16:19:12,819 ERROR [STDERR] java.lang.RuntimeException: Failed start Organization Service org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl, probably because of configuration error. Error occurs when initialize org.exoplatform.services.organization.OrganizationDatabaseInitializer^M

      2011-02-04 16:19:12,819 ERROR [STDERR]  at org.exoplatform.services.organization.BaseOrganizationService.start(BaseOrganizationService.java:84)^M

      2011-02-04 16:19:12,819 ERROR [STDERR]  at org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl.start(PicketLinkIDMOrganizationServiceImpl.java:104)^M

      2011-02-04 16:19:12,819 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor368.invoke(Unknown Source)^M

      2011-02-04 16:19:12,819 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)^M

      ...

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.jboss.Main.boot(Main.java:221)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.jboss.Main$1.run(Main.java:556)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at java.lang.Thread.run(Thread.java:662)^M

      2011-02-04 16:19:12,835 ERROR [STDERR] Caused by: org.chromattic.api.UndeclaredRepositoryException: javax.jcr.RepositoryException: Repository 'repository' not found.^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.chromattic.core.api.ChromatticImpl.openSession(ChromatticImpl.java:59)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.commons.chromattic.AbstractContext.getSession(AbstractContext.java:63)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.portal.pom.config.POMSession.getSession(POMSession.java:173)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.portal.pom.config.POMSession.isModified(POMSession.java:162)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.portal.pom.config.cache.DataCache.read(DataCache.java:116)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.portal.pom.config.cache.DataCache.execute(DataCache.java:61)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.portal.pom.config.POMSessionManager.execute(POMSessionManager.java:201)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.portal.pom.config.POMDataStorage.getPortalConfig(POMDataStorage.java:82)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.portal.config.DataStorageImpl.getPortalConfig(DataStorageImpl.java:329)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.portal.config.NewPortalConfigListener.createPortalConfig(NewPortalConfigListener.java:346)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.portal.config.UserPortalConfigService.createUserPortalConfig(UserPortalConfigService.java:302)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.portal.config.UserPortalConfigService.createGroupSite(UserPortalConfigService.java:269)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.portal.config.GroupPortalConfigListener.preSave(GroupPortalConfigListener.java:145)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.services.organization.idm.GroupDAOImpl.preSave(GroupDAOImpl.java:497)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.services.organization.idm.GroupDAOImpl.addChild(GroupDAOImpl.java:114)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.services.organization.OrganizationDatabaseInitializer.createGroups(OrganizationDatabaseInitializer.java:109)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.services.organization.OrganizationDatabaseInitializer.init(OrganizationDatabaseInitializer.java:73)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.services.organization.BaseOrganizationService.start(BaseOrganizationService.java:76)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  ... 82 more^M

      2011-02-04 16:19:12,835 ERROR [STDERR] Caused by: javax.jcr.RepositoryException: Repository 'repository' not found.^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getRepository(RepositoryServiceImpl.java:219)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getDefaultRepository(RepositoryServiceImpl.java:200)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getCurrentRepository(RepositoryServiceImpl.java:194)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.commons.chromattic.AbstractContext.openSession(AbstractContext.java:103)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.commons.chromattic.Synchronization.doLogin(Synchronization.java:98)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.commons.chromattic.SynchronizedContext.doLogin(SynchronizedContext.java:46)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.commons.chromattic.ChromatticLifeCycle.doLogin(ChromatticLifeCycle.java:328)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.exoplatform.commons.chromattic.PortalSessionLifeCycle.login(PortalSessionLifeCycle.java:51)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  at org.chromattic.core.api.ChromatticImpl.openSession(ChromatticImpl.java:55)^M

      2011-02-04 16:19:12,835 ERROR [STDERR]  ... 99 more^M

       

      Regards,

      Sovanna.

        • 1. GateIn 3.1.0 : Repository 'repository' not found
          Rich Raposa Novice

          Have you recently added a new portal container or portal container extension? I have gotten this error after deploying a new portal container, which I noticed must have required you to append "_portal" to the JNDI names of your JCR and IDM datasources.

           

          To fix this, try deleting your /profile/data directory. If that doesn't fix it, delete /data and also start with a clean database as well. That worked for me.

          • 2. GateIn 3.1.0 : Repository 'repository' not found
            Khoi Nguyen Novice

            Simply, you should remove the gatein-sample-portal.ear or create a new database with surfix is _sample-portal

            • 3. GateIn 3.1.0 : Repository 'repository' not found
              Sovanna Non Newbie

              Hi all,

               

               

              I tried first to remove the sample-portal.ear file, but it didn't solve my issue. So I moved to Rich advice which was successfull. I removed the /data reposotory and dropped/created the new database. I now have access to the gatein default portal !!

               

              Regards,

              Sovanna

              • 4. GateIn 3.1.0 : Repository 'repository' not found
                Jay N Newbie

                Hi,

                 

                I am very new to this Gatein JBoss Portal. I am also getting same error. I am making changes in configuration.properties file and jcr-configuration.xml file. Where i will get that profile/data folder?

                • 5. GateIn 3.1.0 : Repository 'repository' not found
                  Rich Raposa Novice

                  The term "profile" refers to the JBoss profile you are selecting when you run JBoss. If you're running the default profile, then look for /server/default/data - that's the directory you want to delete.

                  • 6. GateIn 3.1.0 : Repository 'repository' not found
                    Jay N Newbie

                    Hi Rich,

                     

                    I have made changes on GateIn-3.1.0-GA\server\default\conf\gatein\configuration.properties file

                    # JCR

                    gatein.jcr.config.type=local

                    gatein.jcr.datasource.name=java:jdbcjcr

                    gatein.jcr.datasource.dialect=auto

                    gatein.jcr.datasource.driver=com.mysql.jdbc.Driver

                    gatein.jcr.datasource.url=jdbc:mysql://localhost:3306/mygateindb_portal

                    gatein.jcr.datasource.username=xxx

                    gatein.jcr.datasource.password=xxx

                     

                    than GateIn-3.1.0-GA\server\default\deploy\gatein.ear\02portal.war\WEB-INF\conf\jcr\jcr-configuration.xml

                    <properties-param>

                              <name>ref-addresses</name>

                              <description>ref-addresses</description>

                              <property name="driverClassName" value="com.mysql.jdbc.Driver"/>

                              <property name="url" value="jdbc:mysql://localhost:3306/mygateindb_portal"/>

                              <property name="username" value="xxx"/>

                              <property name="password" value="xxx"/>

                            </properties-param>

                     

                    than I have deleted data folder and run the server, the tables have been created under database gatein_portal but when i run http://localhost:8080/portal it shows blank page and through following errors

                     

                     

                    12:33:08,484 INFO  [ConversationRegistry] Parameter concurrency-level was not fo

                    und in configuration, default 16 will be used.

                    12:33:08,828 INFO  [STDOUT] Creating a new session of the 'sample-ext'

                    12:33:08,828 INFO  [portal:PortalSessionListener] portal' portal

                    12:33:08,828 ERROR [portal:PortalSessionListener] Error while destroying a porta

                    l session

                    java.lang.NullPointerException

                            at org.exoplatform.portal.application.PortalSessionListener.onSessionCre

                    ated(PortalSessionListener.java:75)

                            at org.exoplatform.container.web.AbstractHttpSessionListener.sessionCrea

                    ted(AbstractHttpSessionListener.java:71)

                            at org.apache.catalina.session.StandardSession.tellNew(StandardSession.j

                    ava:397)

                            at org.apache.catalina.session.StandardSession.setId(StandardSession.jav

                    a:369)

                            at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.jav

                    a:829)

                            at org.apache.catalina.session.StandardManager.createSession(StandardMan

                    ager.java:291)

                            at org.apache.catalina.connector.Request.doGetSession(Request.java:2367)

                     

                            at org.apache.catalina.connector.Request.getSession(Request.java:2094)

                            at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.

                    java:833)

                            at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.

                    java:844)

                            at org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl

                    .java:146)

                            at org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.

                    java:124)

                            at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFa

                    ctoryImpl.java:107)

                            at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImp

                    l.java:63)

                            at org.apache.jsp.index_jsp._jspService(index_jsp.java:46)

                            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

                            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

                            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper

                    .java:369)

                            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3

                    22)

                            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

                            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

                    icationFilterChain.java:290)

                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

                    ilterChain.java:206)

                            at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileF

                    ilter.java:72)

                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

                    icationFilterChain.java:235)

                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

                    ilterChain.java:206)

                            at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitiali

                    zedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:116)

                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

                    icationFilterChain.java:235)

                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

                    ilterChain.java:206)

                            at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilt

                    er(SetCurrentIdentityFilter.java:76)

                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

                    icationFilterChain.java:235)

                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

                    ilterChain.java:206)

                            at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doF

                    ilter(ExtensibleFilter.java:112)

                            at org.exoplatform.sample.ext.web.SampleFilter.doFilter(SampleFilter.jav

                    a:46)

                            at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doF

                    ilter(ExtensibleFilter.java:108)

                            at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter

                    .java:84)

                            at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:

                    66)

                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

                    icationFilterChain.java:235)

                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

                    ilterChain.java:206)

                            at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFil

                    ter.java:73)

                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

                    icationFilterChain.java:235)

                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

                    ilterChain.java:206)

                            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi

                    lter.java:96)

                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

                    icationFilterChain.java:235)

                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

                    ilterChain.java:206)

                            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV

                    alve.java:235)

                            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV

                    alve.java:191)

                            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit

                    yAssociationValve.java:190)

                            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica

                    torBase.java:433)

                            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv

                    e.java:92)

                            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.proce

                    ss(SecurityContextEstablishmentValve.java:126)

                            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invok

                    e(SecurityContextEstablishmentValve.java:70)

                            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

                    ava:127)

                            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

                    ava:102)

                            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC

                    onnectionValve.java:158)

                            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

                    ve.java:109)

                            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav

                    a:330)

                            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

                    :829)

                            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce

                    ss(Http11Protocol.java:598)

                            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44

                    7)

                            at java.lang.Thread.run(Thread.java:619)

                     

                     

                     

                    I have tried with fresh GateIn-3.1.0-FINAL-jbossas.zip by making changes on that two files, that is also not working.

                    Please help me, i am not getting what to do.

                    Your suggestion will be of great help for me.

                    • 7. GateIn 3.1.0 : Repository 'repository' not found
                      Jay N Newbie

                      I have some doubts

                      I am downloading GateIn-3.1.0-FINAL-jbossas.zip, i am extracting it into my c directorry, making some changes for database in configuration files, than from bin folder i am executing run.bat file, it wil startup the server and will create database tables. If suppose i will shutdown the server and execute that run.bat file again than will it not create that database tables again?

                      Am i wrong somewhere to execute this things, is there is any other procedure to do it, so that next time it wont create all database tables again?

                      • 8. GateIn 3.1.0 : Repository 'repository' not found
                        Rich Raposa Novice

                        Jay - you are correct: the database tables will only get created on the initial startup of GateIn (as in, the very first time you execute run.bat). The tables do NOT get created every time you start GateIn. If they did, you would lose all the changes you made to your portal sites using the User Interface of GateIn.

                         

                        If you change something in the configuration files, you may want to delete the DB tables to ensure you changes are read properly, and that is a common need during development. But once you get the site looking the way you want, then those DB tables become quite important since the JCR content is stored there.

                        • 9. GateIn 3.1.0 : Repository 'repository' not found
                          Rich Raposa Novice

                          Jay,

                           

                          It looks like you unzipped a clean install of GateIn AND you put one of the sample-ext.war examples in your /deploy folder. Which WAR file did you deploy: gatein-sample-extension.ear or gatein-sample-portal.ear?

                           

                          Rich

                          • 10. GateIn 3.1.0 : Repository 'repository' not found
                            Jay N Newbie

                            I am not configuring GateIn-3.1.0-FINAL-jbossas.tar.gz with any IDE, so everytime i directly execute run.bat file, so every time its create database tables in my local mysql database, so first time it execute properly and tables are created on my local mysql database, but again when i execute run.bat files it tries to create tables again and gives error and does not open the portal site. Please tell me how to do that?

                             

                            Already there were gatein-sample-extension.ear or gatein-sample-portal.ear in deploy folder. I have deleted gatein-sample-portal.ear this file from deploy and gatein-sample-extension.ear file is present.

                            • 11. GateIn 3.1.0 : Repository 'repository' not found
                              Rich Raposa Novice

                              Jay,

                               

                              Try this:

                               

                              1. Delete all the tables that GateIn created in your MySQL database

                              2. Delete the /server/default/data directory

                              3. Take the files gatein-sample-portal.ear and gatein-sample-extension.ear out of your /deploy folder.

                              4. Open /default/deploy/gatein-ds.xml and remove the "_portal" from the two JNDI names (so that the names are only "gatein-jcr" and "gatein-idm")

                               

                              Restart gatein and see if it works. If not, show us the error.    

                              • 12. GateIn 3.1.0 : Repository 'repository' not found
                                Jay N Newbie

                                Hi Rich,

                                 

                                I could not found /default/deploy/gatein-ds.xml file.

                                • 13. GateIn 3.1.0 : Repository 'repository' not found
                                  Rich Raposa Novice

                                  Oops - I'm used to using EPP. Skip that last step and see what happens.

                                  • 14. GateIn 3.1.0 : Repository 'repository' not found
                                    Jay N Newbie

                                    Its gives me this error.

                                     

                                    java.lang.IllegalStateException: BaseClassLoader@96b40c{vfsfile:/C:/Documents%20and%20Settings/Administrator/Desktop/java/GateIn/test/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/} classLoader is not connected to a domain (probably undeployed?) for class javax.servlet.http.HttpServletRequest

                                    1 2 Previous Next