Hi Roy,
It works now fine. Althoght at some time when I close JBoss using Ctrl-C, the
.lock is left and the MBean complains the directory is locked. I'd say it
happens every time at Ctrl-C, but am not so sure.
15:54:17,393 WARN [ServiceController] Problem starting service
portal:service=CMS
javax.jcr.RepositoryException: The repository home at
C:\apps\jboss\server\portal\data\portal\jcr appears to be in use. If you are
sure it's not in use please delete the file at
C:\apps\jboss\server\portal\data\portal\jcr\.lock. Probably the repository was
not shutdown properly.
at
org.apache.jackrabbit.core.RepositoryImpl.acquireRepositoryLock(RepositoryImpl.java:242)
at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:155)
at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:397)
at
org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:116)
at
org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:104)
at
org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:57)
at
org.jboss.portal.cms.util.RepositoryUtil.registerRepository(RepositoryUtil.java:58)
at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:172)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:287)
at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:187)
at
org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:73)
...
Jacek
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897702#3897702
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897702
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user