sorry, when i said unknown error, i meant there is no error in the log file. This is what i have in the crx/error.log

0:38:50 *INFO * AbstractConfig: Configuration of BootstrapConfig (AbstractConfig.java, line 101)
06.06.2012 10:38:50 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 102)
06.06.2012 10:38:50 *INFO * AbstractConfig:   valid: true (AbstractConfig.java, line 106)
06.06.2012 10:38:50 *INFO * AbstractConfig:   rmiConfig: org.apache.jackrabbit.j2ee.RMIConfig@f6d64c5 (AbstractConfig.java, line 106)
06.06.2012 10:38:50 *INFO * AbstractConfig:   repositoryConfig: crx-quickstart/repository/repository.xml (AbstractConfig.java, line 106)
06.06.2012 10:38:50 *INFO * AbstractConfig:   class: class org.apache.jackrabbit.j2ee.BootstrapConfig (AbstractConfig.java, line 106)
06.06.2012 10:38:50 *INFO * AbstractConfig:   repositoryHome: crx-quickstart/repository (AbstractConfig.java, line 106)
06.06.2012 10:38:50 *INFO * AbstractConfig:   repositoryName: crx (AbstractConfig.java, line 106)
06.06.2012 10:38:50 *INFO * AbstractConfig:   jndiConfig: org.apache.jackrabbit.j2ee.JNDIConfig@56f2c96c (AbstractConfig.java, line 106)
06.06.2012 10:38:50 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 108)
06.06.2012 10:38:50 *INFO * AbstractConfig: Configuration of JNDIConfig (AbstractConfig.java, line 101)
06.06.2012 10:38:50 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 102)
06.06.2012 10:38:50 *INFO * AbstractConfig:   valid: true (AbstractConfig.java, line 106)
06.06.2012 10:38:50 *INFO * AbstractConfig:   jndiName: crx (AbstractConfig.java, line 106)
06.06.2012 10:38:50 *INFO * AbstractConfig:   jndiEnabled: true (AbstractConfig.java, line 106)
06.06.2012 10:38:50 *INFO * AbstractConfig:   class: class org.apache.jackrabbit.j2ee.JNDIConfig (AbstractConfig.java, line 106)
06.06.2012 10:38:50 *INFO * AbstractConfig:   jndiEnv: {java.naming.provider.url=http://jcr.day.com, java.naming.factory.initial=com.day.util.jndi.provider.MemoryInitialContextFactory} (AbstractConfig.java, line 106)
06.06.2012 10:38:50 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 108)
06.06.2012 10:38:50 *INFO * CRXRepositoryStartupServlet: about to create CRXRepository... (CRXDiagnostic.java, line 233)
06.06.2012 10:38:50 *INFO * RepositoryImpl: Starting repository... (RepositoryImpl.java, line 279)
06.06.2012 10:38:50 *INFO * LocalFileSystem: LocalFileSystem initialized at path /Users/linhui/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository/repository (LocalFileSystem.java, line 164)
06.06.2012 10:38:51 *INFO * NodeTypeRegistry: no custom node type definitions found (NodeTypeRegistry.java, line 856)
06.06.2012 10:38:51 *INFO * ClusterController: Generated new cluster id: 5120f126-be5a-4758-bfb4-cae9380ced1a (ClusterController.java, line 306)
06.06.2012 10:38:51 *INFO * ClusterController: Node e7ceff1e-7f09-4648-8a33-3baf0e6e6d87 started the master listener, on address: macl4553.consumer.org/192.168.70.152:8088 force: false (ClusterController.java, line 804)
06.06.2012 10:38:51 *INFO * ClusterController: Node e7ceff1e-7f09-4648-8a33-3baf0e6e6d87 started as: master (ClusterController.java, line 815)
06.06.2012 10:38:51 *INFO * LocalFileSystem: LocalFileSystem initialized at path /Users/linhui/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository/version (LocalFileSystem.java, line 164)
06.06.2012 10:38:51 *INFO * ClusterTarSet: activate /Users/linhui/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository version (ClusterTarSet.java, line 1510)
06.06.2012 10:38:51 *INFO * ClusterTarSet: activate /Users/linhui/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository tarJournal (ClusterTarSet.java, line 1510)
06.06.2012 10:38:51 *INFO * RepositoryImpl: initializing workspace 'crx.default'... (RepositoryImpl.java, line 1997)
06.06.2012 10:38:51 *INFO * LocalFileSystem: LocalFileSystem initialized at path /Users/linhui/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository/workspaces/crx.default (LocalFileSystem.java, line 164)
06.06.2012 10:38:51 *INFO * ClusterTarSet: activate /Users/linhui/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository crx.default (ClusterTarSet.java, line 1510)
06.06.2012 10:38:51 *INFO * ClusterNode: not started: namespace operation ignored. (ClusterNode.java, line 380)
06.06.2012 10:38:51 *INFO * ClusterNode: not started: namespace operation ignored. (ClusterNode.java, line 380)
06.06.2012 10:38:51 *INFO * ClusterNode: not started: namespace operation ignored. (ClusterNode.java, line 380)
06.06.2012 10:38:53 *INFO * MultiIndex: indexing... /jcr:system/jcr:nodeTypes/nt:address/jcr:propertyDefinition[3] (100) (MultiIndex.java, line 1204)
06.06.2012 10:38:53 *INFO * MultiIndex: indexing... /jcr:system/jcr:nodeTypes/crx:XmlElement/jcr:childNodeDefinition (200) (MultiIndex.java, line 1204)
06.06.2012 10:38:53 *INFO * SearchIndex: Index initialized: /Users/linhui/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository/repository/index Version: 3 (SearchIndex.java, line 552)
06.06.2012 10:38:54 *INFO * CRXSpellChecker: Spell checker index refreshed in: 0 s. (CRXSpellChecker.java, line 382)
06.06.2012 10:38:54 *INFO * SearchIndex: Index initialized: /Users/linhui/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository/workspaces/crx.default/index Version: 3 (SearchIndex.java, line 552)
06.06.2012 10:38:54 *INFO * RepositoryImpl: workspace 'crx.default' initialized (RepositoryImpl.java, line 2001)
06.06.2012 10:38:54 *INFO * RepositoryImpl: SecurityManager = class com.day.crx.core.CRXSecurityManager (RepositoryImpl.java, line 469)
06.06.2012 10:38:54 *INFO * DefaultSecurityManager: init: use Repository Login-Configuration for com.day.crx (DefaultSecurityManager.java, line 171)
06.06.2012 10:38:54 *INFO * CRXSpellChecker: Spell checker index refreshed in: 0 s. (CRXSpellChecker.java, line 382)
06.06.2012 10:38:54 *INFO * UserManagerImpl: Admin user does not exist. (UserManagerImpl.java, line 411)
06.06.2012 10:38:54 *INFO * ClusterNode: not started: update create ignored. (ClusterNode.java, line 537)
06.06.2012 10:38:54 *INFO * ClusterNode: not started: update prepare ignored. (ClusterNode.java, line 557)
06.06.2012 10:38:55 *INFO * ClusterNode: not started: update commit ignored. (ClusterNode.java, line 596)
06.06.2012 10:38:55 *INFO * ClusterNode: not started: update create ignored. (ClusterNode.java, line 537)
06.06.2012 10:38:55 *INFO * ClusterNode: not started: update prepare ignored. (ClusterNode.java, line 557)
06.06.2012 10:38:55 *INFO * ClusterNode: not started: update commit ignored. (ClusterNode.java, line 596)
06.06.2012 10:38:55 *INFO * UserManagerImpl: ... created admin user with id 'admin' and default pw. (UserManagerImpl.java, line 899)
06.06.2012 10:38:55 *INFO * ClusterNode: not started: update create ignored. (ClusterNode.java, line 537)
06.06.2012 10:38:55 *INFO * ClusterNode: not started: update prepare ignored. (ClusterNode.java, line 557)
06.06.2012 10:38:55 *INFO * ClusterNode: not started: update commit ignored. (ClusterNode.java, line 596)
06.06.2012 10:38:55 *INFO * ClusterNode: not started: update create ignored. (ClusterNode.java, line 537)
06.06.2012 10:38:55 *INFO * ClusterNode: not started: update prepare ignored. (ClusterNode.java, line 557)
06.06.2012 10:38:55 *INFO * ClusterNode: not started: update commit ignored. (ClusterNode.java, line 596)
06.06.2012 10:38:55 *INFO * DefaultSecurityManager: ... created anonymous user with id 'anonymous' ... (DefaultSecurityManager.java, line 625)
06.06.2012 10:38:55 *INFO * RepositoryImpl: Repository started (4504ms) (RepositoryImpl.java, line 381)
06.06.2012 10:38:55 *INFO * LicenseModule: CQ5 5.3.0.20100127 licensed by Tucker Evaluation Customer (LicenseModule.java, line 198)
06.06.2012 10:38:55 *INFO * LicenseModule: DownloadID:e1eaa262-a62b-cf40-b863-d383860fe550 (LicenseModule.java, line 201)
06.06.2012 10:38:55 *INFO * CRXRepositoryImpl: Module com.day.crx.core.util.LicenseModule installed (CRXRepositoryImpl.java, line 553)
06.06.2012 10:38:55 *INFO * CRXRepositoryImpl: Module com.day.crx.replication.ReplicationManager installed (CRXRepositoryImpl.java, line 553)
06.06.2012 10:38:55 *INFO * VirtualRepositoryModule: Registering Virtual Repository: virtual-crx (VirtualRepositoryModule.java, line 251)
06.06.2012 10:38:55 *INFO * CRXRepositoryImpl: Module com.day.crx.mount.virtual.VirtualRepositoryModule installed (CRXRepositoryImpl.java, line 553)
06.06.2012 10:38:55 *INFO * AutoInstaller: CRX AutoInstall Module started. (AutoInstaller.java, line 55)
06.06.2012 10:38:55 *INFO * Installer: Scanning files in /Users/linhui/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository/install (Installer.java, line 70)
06.06.2012 10:38:55 *INFO * Installer: found cq-content-5.4.jar (Installer.java, line 75)
06.06.2012 10:38:55 *INFO * Installer: Starting installation of packages into workspace crx.default (Installer.java, line 86)
06.06.2012 10:38:55 *INFO * Installer: Package cq-content-5.4.jar already installed at 2012-02-06T15:33:54.736-05:00. skipped. (Installer.java, line 113)
06.06.2012 10:38:55 *INFO * Installer: Installation of packages complete. (Installer.java, line 95)
06.06.2012 10:38:55 *INFO * CRXRepositoryImpl: Module com.day.crx.vlt.AutoInstaller installed (CRXRepositoryImpl.java, line 553)
06.06.2012 10:38:55 *INFO * CRXRepositoryStartupServlet: CRXRepository successfully created (5156ms) (CRXDiagnostic.java, line 233)
06.06.2012 10:38:55 *INFO * RepositoryStartupServlet: Repository bound to JNDI with name: crx (RepositoryStartupServlet.java, line 458)
06.06.2012 10:38:55 *INFO * RepositoryStartupServlet: RepositoryStartupServlet initialized. (RepositoryStartupServlet.java, line 246)
06.06.2012 10:38:55 *INFO * RepositoryAccessServlet: RepositoryAccessServlet initialized. (RepositoryAccessServlet.java, line 98)
06.06.2012 10:38:55 *INFO * JCRExplorerServlet: JCRExplorerServlet initializing. Version 71143 (JCRExplorerServlet.java, line 226)
06.06.2012 10:38:55 *INFO * JCRExplorerServlet:   explorer-home = /Users/linhui/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository (JCRExplorerServlet.java, line 247)
06.06.2012 10:38:55 *INFO * JCRExplorerServlet:   temp-directory = /Users/linhui/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository/tmp (JCRExplorerServlet.java, line 274)
06.06.2012 10:38:55 *INFO * JCRExplorerServlet:   docroot = /docroot (JCRExplorerServlet.java, line 279)
06.06.2012 10:38:55 *INFO * CRXSessionCache: CRX Session timeout set to 3600 seconds. (CRXSessionCache.java, line 75)
06.06.2012 10:38:55 *INFO * AbstractConfig: Configuration of BootstrapConfig (AbstractConfig.java, line 101)
06.06.2012 10:38:55 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 102)
06.06.2012 10:38:55 *INFO * AbstractConfig:   valid: true (AbstractConfig.java, line 106)
06.06.2012 10:38:55 *INFO * AbstractConfig:   rmiConfig: org.apache.jackrabbit.j2ee.RMIConfig@44c58432 (AbstractConfig.java, line 106)
06.06.2012 10:38:55 *INFO * AbstractConfig:   repositoryConfig: null (AbstractConfig.java, line 106)
06.06.2012 10:38:55 *INFO * AbstractConfig:   class: class org.apache.jackrabbit.j2ee.BootstrapConfig (AbstractConfig.java, line 106)
06.06.2012 10:38:55 *INFO * AbstractConfig:   repositoryHome: null (AbstractConfig.java, line 106)
06.06.2012 10:38:55 *INFO * AbstractConfig:   repositoryName: virtual-crx (AbstractConfig.java, line 106)
06.06.2012 10:38:55 *INFO * AbstractConfig:   jndiConfig: org.apache.jackrabbit.j2ee.JNDIConfig@36a11e4 (AbstractConfig.java, line 106)
06.06.2012 10:38:55 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 108)
06.06.2012 10:38:55 *INFO * AbstractConfig: Configuration of JNDIConfig (AbstractConfig.java, line 101)
06.06.2012 10:38:55 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 102)
06.06.2012 10:38:55 *INFO * AbstractConfig:   valid: true (AbstractConfig.java, line 106)
06.06.2012 10:38:55 *INFO * AbstractConfig:   jndiName: virtual-crx (AbstractConfig.java, line 106)
06.06.2012 10:38:55 *INFO * AbstractConfig:   jndiEnabled: true (AbstractConfig.java, line 106)
06.06.2012 10:38:55 *INFO * AbstractConfig:   class: class org.apache.jackrabbit.j2ee.JNDIConfig (AbstractConfig.java, line 106)
06.06.2012 10:38:55 *INFO * AbstractConfig:   jndiEnv: {java.naming.provider.url=http://jcr.day.com, java.naming.factory.initial=com.day.util.jndi.provider.MemoryInitialContextFactory} (AbstractConfig.java, line 106)
06.06.2012 10:38:55 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 108)
06.06.2012 10:38:55 *INFO * JCRExplorerServlet: Acquired repository via JNDI. (JCRExplorerServlet.java, line 997)
06.06.2012 10:38:55 *INFO * LoginServlet: activate: Supporting tokens bound to Repository (Cluster) 5120f126-be5a-4758-bfb4-cae9380ced1a (LoginServlet.java, line 121)
06.06.2012 10:38:55 *INFO * SimpleWebdavServlet: resource-path-prefix = '/repository' (SimpleWebdavServlet.java, line 163)
06.06.2012 10:38:55 *INFO * SimpleWebdavServlet: WWW-Authenticate header = 'Basic realm="CRX Webdav Server"' (SimpleWebdavServlet.java, line 169)
06.06.2012 10:38:56 *INFO * SimpleWebdavServlet: resource-path-prefix = '/cqresource' (SimpleWebdavServlet.java, line 163)
06.06.2012 10:38:56 *INFO * SimpleWebdavServlet: WWW-Authenticate header = 'Basic realm="Jackrabbit Webdav Server"' (SimpleWebdavServlet.java, line 169)
06.06.2012 10:38:56 *INFO * CRXHttpServlet: PackageShareServlet initialized. (CRXHttpServlet.java, line 52)
06.06.2012 10:38:56 *INFO * CRXHttpServlet: PackageManagerServlet initialized. (CRXHttpServlet.java, line 52)
06.06.2012 10:39:12 *INFO * TarUtils: File system status: created 200 files in 325 ms (615 ops/sec) (TarUtils.java, line 741)
06.06.2012 10:39:12 *INFO * TarUtils: File system status calculated in 390 ms (TarUtils.java, line 754)
06.06.2012 10:39:15 *INFO * AbstractJournal: Record with revision '0' created by this journal, skipped. (AbstractJournal.java, line 227)
 

- Steven

On Wed, Jun 6, 2012 at 10:16 AM, Jukka Zitting <jukka.zitting@gmail.com> wrote:
Hi,

On Wed, Jun 6, 2012 at 4:14 PM, Hui Lin <hlin@consumer.org> wrote:
> hey folks, i am working on mongodb persistence manager in CQ. I implemented
> all the methods but the repository shutdown due to unknown error during the
> startup. Can anybody help me look at the code?

It would be useful if you also included the "unknown error" you mentioned.

BR,

Jukka Zitting


*****
This e-mail message is intended only for the designated recipient(s) named above. The information contained in this e-mail and any attachments may be confidential or legally privileged. If you are not the intended recipient, you may not review, retain, copy, redistribute or use this e-mail or any attachment for any purpose, or disclose all or any part of its contents. If you have received this e-mail in error, please immediately notify the sender by reply e-mail and permanently delete this e-mail and any attachments from your computer system.
*****