2 Replies Latest reply on Sep 17, 2007 8:22 PM by azamax

    [ServiceController] Problem starting service portal:service=

    azamax

      hi... i have these problem that i can't resolve :(

      i configured jboss as to change hypersonic and use postgress; i follow these documents to do that:
      1) http://www.gogis.nl/en/public_documentation/jboss/index.html
      2) Jboss a developers notebooks (o'reilly) - chapter 9

      later, i want to use jboss portal, so i deploy jboss-portal.sar and configure portal-postgresql-ds.xml file to same bd in postgress, but when i start i receive the following message in log:

      22:54:18,057 INFO [JCRCMS] JBossCache Version=1.4.1
      22:54:18,058 INFO [JCRCMS] Starting JCR CMS
      22:54:18,197 INFO [RepositoryImpl] Starting repository...
      22:54:18,198 WARN [RepositoryImpl] Existing lock file at /ens/devel01/ingsw06/servidores/jboss/server/default/data/portal/cms/conf/.lock detected. Repository was not shut down properly.
      22:54:18,215 WARN [ServiceController] Problem starting service portal:service=CMS
      javax.jcr.RepositoryException: Unable to lock file at /ens/devel01/ingsw06/servidores/jboss/server/default/data/portal/cms/conf/.lock: No locks available: No locks available
      at org.apache.jackrabbit.core.RepositoryImpl.acquireRepositoryLock(RepositoryImpl.java:332)
      at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:207)
      at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:497)


      and in end i have the following message:

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: portal:service=CMS
      State: FAILED
      Reason: javax.jcr.RepositoryException: Unable to lock file at /ens/devel01/ingsw06/servidores/jboss/server/default/data/portal/cms/conf/.lock: No locks available: No locks available
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=PortalDS
      portal:service=JAASLoginModule
      portal:service=Hibernate,type=CMS
      portal:service=Module,type=IdentityServiceController
      portal:service=InterceptorStackFactory,type=Cms
      Depends On Me:
      portal:service=Management,type=CMS,name=Default
      portal:commandFactory=CMSObject
      cms.pm.cache:service=TreeCache


      i try to go to portal but i'm refused...

      it's very important to me resolve this problem, i use in a student proyect and i not have much time :(

      thanks

        • 1. Re: [ServiceController] Problem starting service portal:serv
          soshah

          delete your server/default/data folder and restart portal

          Thanks

          • 2. Re: [ServiceController] Problem starting service portal:serv
            azamax

            thanks for your response...

            i do that :( ...but now i have these error

            21:07:34,962 INFO [RepositoryImpl] Starting repository...
            21:07:34,963 WARN [RepositoryImpl] Existing lock file at /ens/devel01/ingsw06/servidores/jboss/server/default/data/portal/cms/conf/.lock detected. Repository was not shut down properly.
            21:07:34,987 WARN [ServiceController] Problem starting service portal:service=CMS
            javax.jcr.RepositoryException: Unable to lock file at /ens/devel01/ingsw06/servidores/jboss/server/default/data/portal/cms/conf/.lock: No locks available: No locks available
            at org.apache.jackrabbit.core.RepositoryImpl.acquireRepositoryLock(RepositoryImpl.java:332)
            at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:207)


            so they report me the following

            --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
            ObjectName: portal:service=CMS
            State: FAILED
            Reason: javax.jcr.RepositoryException: Unable to lock file at /ens/devel01/ingsw06/servidores/jboss/server/default/data/portal/cms/conf/.lock: No locks available: No locks available
            I Depend On:
            jboss.jca:service=DataSourceBinding,name=PortalDS
            portal:service=JAASLoginModule
            portal:service=Hibernate,type=CMS
            portal:service=Module,type=IdentityServiceController
            portal:service=InterceptorStackFactory,type=Cms
            Depends On Me:
            portal:service=Management,type=CMS,name=Default
            portal:commandFactory=CMSObject
            cms.pm.cache:service=TreeCache


            i think i forget a important issue about the enviroment (sorry, my excuses) , its that the directory under i installing the server's are mounting via NFS, these are the reason about i change hypersonic to postgres (i have some problems with that).
            if i install over /tmp directory (that i think it's not mounted because they are local) i not have problems, but it's inconvinient work in these way and some companions suggest me that i don't work under these way... :(

            thanks again for your help