jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hui Lin <h...@consumer.org>
Subject Re: Mongodb bundle persistence manager
Date Thu, 07 Jun 2012 20:45:54 GMT
anybody get a change to test the code? it would be something nice to have
in additional to the persistence managers out there already.

- Steven

On Wed, Jun 6, 2012 at 11:11 AM, Hui Lin <hlin@consumer.org> wrote:

> Correction to previous log i sent. here is the log from fresh instance.
>
> 06.06.2012 11:06:12 *INFO * root: Logging initialized.
> (LoggingServlet.java, line 88)
> 06.06.2012 11:06:12 *INFO * CRXRepositoryStartupServlet:
> CRXRepositoryStartupServlet initializing... (CRXDiagnostic.java, line 233)
> 06.06.2012 11:06:12 *INFO * RepositoryStartupServlet:
> RepositoryStartupServlet initializing... (RepositoryStartupServlet.java,
> line 239)
> 06.06.2012 11:06:12 *INFO * AbstractConfig: Configuration of
> BootstrapConfig (AbstractConfig.java, line 101)
> 06.06.2012 11:06:12 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 102)
> 06.06.2012 11:06:12 *INFO * AbstractConfig:   valid: true
> (AbstractConfig.java, line 106)
> 06.06.2012 11:06:12 *INFO * AbstractConfig:   rmiConfig:
> org.apache.jackrabbit.j2ee.RMIConfig@31dd7736 (AbstractConfig.java, line
> 106)
> 06.06.2012 11:06:12 *INFO * AbstractConfig:   repositoryConfig:
> crx-quickstart/repository/repository.xml (AbstractConfig.java, line 106)
> 06.06.2012 11:06:12 *INFO * AbstractConfig:   class: class
> org.apache.jackrabbit.j2ee.BootstrapConfig (AbstractConfig.java, line 106)
> 06.06.2012 11:06:12 *INFO * AbstractConfig:   repositoryHome:
> crx-quickstart/repository (AbstractConfig.java, line 106)
> 06.06.2012 11:06:12 *INFO * AbstractConfig:   repositoryName: crx
> (AbstractConfig.java, line 106)
> 06.06.2012 11:06:12 *INFO * AbstractConfig:   jndiConfig:
> org.apache.jackrabbit.j2ee.JNDIConfig@42bd93cd (AbstractConfig.java, line
> 106)
> 06.06.2012 11:06:12 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 108)
> 06.06.2012 11:06:12 *INFO * AbstractConfig: Configuration of JNDIConfig
> (AbstractConfig.java, line 101)
> 06.06.2012 11:06:12 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 102)
> 06.06.2012 11:06:12 *INFO * AbstractConfig:   valid: true
> (AbstractConfig.java, line 106)
> 06.06.2012 11:06:12 *INFO * AbstractConfig:   jndiName: crx
> (AbstractConfig.java, line 106)
> 06.06.2012 11:06:12 *INFO * AbstractConfig:   jndiEnabled: true
> (AbstractConfig.java, line 106)
> 06.06.2012 11:06:12 *INFO * AbstractConfig:   class: class
> org.apache.jackrabbit.j2ee.JNDIConfig (AbstractConfig.java, line 106)
> 06.06.2012 11:06:12 *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 11:06:12 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 108)
> 06.06.2012 11:06:12 *INFO * CRXRepositoryStartupServlet: about to create
> CRXRepository... (CRXDiagnostic.java, line 233)
> 06.06.2012 11:06:12 *INFO * RepositoryImpl: Starting repository...
> (RepositoryImpl.java, line 279)
> 06.06.2012 11:06:12 *INFO * LocalFileSystem: LocalFileSystem initialized
> at path
> /Users/dev/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository/repository
> (LocalFileSystem.java, line 164)
> 06.06.2012 11:06:12 *INFO * NodeTypeRegistry: no custom node type
> definitions found (NodeTypeRegistry.java, line 856)
> 06.06.2012 11:06:12 *INFO * ClusterController: Node
> 9df0e42a-9505-40c4-9361-1b121835ff1f started the master listener, on
> address: macl4553.dev.org/192.168.70.152:8088 force: false
> (ClusterController.java, line 804)
> 06.06.2012 11:06:12 *INFO * ClusterController: Node
> 9df0e42a-9505-40c4-9361-1b121835ff1f started as: master
> (ClusterController.java, line 815)
> 06.06.2012 11:06:12 *INFO * LocalFileSystem: LocalFileSystem initialized
> at path
> /Users/dev/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository/version
> (LocalFileSystem.java, line 164)
> 06.06.2012 11:06:12 *INFO * ClusterTarSet: activate
> /Users/dev/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository
> version (ClusterTarSet.java, line 1510)
> 06.06.2012 11:06:13 *INFO * RepositoryImpl: initializing workspace
> 'crx.default'... (RepositoryImpl.java, line 2008)
> 06.06.2012 11:06:13 *INFO * LocalFileSystem: LocalFileSystem initialized
> at path
> /Users/dev/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository/workspaces/crx.default
> (LocalFileSystem.java, line 164)
> 06.06.2012 11:06:13 *INFO * MongoBundlePersistenceManager: init mongo db
> persistance manager: org.dev.mongopm.MongoBundlePersistenceManager
> (MongoBundlePersistenceManager.java, line 148)
> 06.06.2012 11:06:14 *INFO * ClusterTarSet: activate
> /Users/dev/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository
> tarJournal (ClusterTarSet.java, line 1510)
> 06.06.2012 11:06:15 *INFO * MongoBundlePersistenceManager: complete init
> mongo db persistance manager: org.dev.mongopm.MongoBundlePersistenceManager
> (MongoBundlePersistenceManager.java, line 157)
> 06.06.2012 11:06:16 *INFO * ClusterNode: not started: namespace operation
> ignored. (ClusterNode.java, line 380)
> 06.06.2012 11:06:16 *INFO * ClusterNode: not started: namespace operation
> ignored. (ClusterNode.java, line 380)
> 06.06.2012 11:06:16 *INFO * ClusterNode: not started: namespace operation
> ignored. (ClusterNode.java, line 380)
> 06.06.2012 11:06:17 *INFO * MultiIndex: indexing...
> /jcr:system/jcr:nodeTypes/nt:address/jcr:propertyDefinition[3] (100)
> (MultiIndex.java, line 1204)
> 06.06.2012 11:06:17 *INFO * MultiIndex: indexing...
> /jcr:system/jcr:nodeTypes/crx:XmlElement/jcr:childNodeDefinition (200)
> (MultiIndex.java, line 1204)
> 06.06.2012 11:06:17 *INFO * SearchIndex: Index initialized:
> /Users/dev/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository/repository/index
> Version: 3 (SearchIndex.java, line 552)
> 06.06.2012 11:06:18 *INFO * CRXSpellChecker: Spell checker index refreshed
> in: 0 s. (CRXSpellChecker.java, line 382)
> 06.06.2012 11:06:18 *INFO * SearchIndex: Index initialized:
> /Users/dev/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository/workspaces/crx.default/index
> Version: 3 (SearchIndex.java, line 552)
> 06.06.2012 11:06:18 *INFO * RepositoryImpl: workspace 'crx.default'
> initialized (RepositoryImpl.java, line 2012)
> 06.06.2012 11:06:18 *INFO * RepositoryImpl: SecurityManager = class
> com.day.crx.core.CRXSecurityManager (RepositoryImpl.java, line 469)
> 06.06.2012 11:06:18 *INFO * DefaultSecurityManager: init: use Repository
> Login-Configuration for com.day.crx (DefaultSecurityManager.java, line 171)
> 06.06.2012 11:06:18 *INFO * UserManagerImpl: Admin user does not exist.
> (UserManagerImpl.java, line 411)
> 06.06.2012 11:06:18 *INFO * CRXSpellChecker: Spell checker index refreshed
> in: 0 s. (CRXSpellChecker.java, line 382)
> 06.06.2012 11:06:18 *INFO * ClusterNode: not started: update create
> ignored. (ClusterNode.java, line 537)
> 06.06.2012 11:06:18 *INFO * ClusterNode: not started: update prepare
> ignored. (ClusterNode.java, line 557)
> 06.06.2012 11:06:18 *INFO * ClusterNode: not started: update commit
> ignored. (ClusterNode.java, line 596)
> 06.06.2012 11:06:18 *INFO * ClusterNode: not started: update create
> ignored. (ClusterNode.java, line 537)
> 06.06.2012 11:06:18 *INFO * ClusterNode: not started: update prepare
> ignored. (ClusterNode.java, line 557)
> 06.06.2012 11:06:18 *INFO * ClusterNode: not started: update commit
> ignored. (ClusterNode.java, line 596)
> 06.06.2012 11:06:18 *INFO * UserManagerImpl: ... created admin user with
> id 'admin' and default pw. (UserManagerImpl.java, line 899)
> 06.06.2012 11:06:18 *INFO * ClusterNode: not started: update create
> ignored. (ClusterNode.java, line 537)
> 06.06.2012 11:06:18 *INFO * ClusterNode: not started: update prepare
> ignored. (ClusterNode.java, line 557)
> 06.06.2012 11:06:18 *INFO * ClusterNode: not started: update cancel
> ignored. (ClusterNode.java, line 625)
> 06.06.2012 11:06:18 *INFO * RepositoryImpl: Shutting down repository...
> (RepositoryImpl.java, line 1085)
> 06.06.2012 11:06:18 *INFO * ClusterTarSet: close
> /Users/dev/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository
> tarJournal (ClusterTarSet.java, line 408)
> 06.06.2012 11:06:18 *INFO * ClusterTarSet: deactivate
> /Users/dev/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository
> tarJournal (ClusterTarSet.java, line 1517)
> 06.06.2012 11:06:18 *ERROR* RepositoryImpl: In addition to startup fail,
> another unexpected problem occurred while shutting down the repository
> again. (RepositoryImpl.java, line 393)
> java.lang.IllegalStateException: Not initialized
> at
> org.apache.jackrabbit.core.DefaultSecurityManager.checkInitialized(DefaultSecurityManager.java:538)
>  at
> org.apache.jackrabbit.core.DefaultSecurityManager.close(DefaultSecurityManager.java:251)
> at
> org.apache.jackrabbit.core.UserPerWorkspaceSecurityManager.close(UserPerWorkspaceSecurityManager.java:130)
>  at
> org.apache.jackrabbit.core.RepositoryImpl.doShutdown(RepositoryImpl.java:1094)
> at
> com.day.crx.core.CRXRepositoryImpl.doShutdown(CRXRepositoryImpl.java:929)
>  at
> org.apache.jackrabbit.core.RepositoryImpl.shutdown(RepositoryImpl.java:1073)
> at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:389)
>  at com.day.crx.core.CRXRepositoryImpl.<init>(CRXRepositoryImpl.java:225)
> at com.day.crx.core.CRXRepositoryImpl.<init>(CRXRepositoryImpl.java:267)
>  at com.day.crx.core.CRXRepositoryImpl.create(CRXRepositoryImpl.java:185)
> at
> com.day.crx.j2ee.CRXRepositoryStartupServlet.createRepository(CRXRepositoryStartupServlet.java:172)
>  at
> org.apache.jackrabbit.j2ee.RepositoryStartupServlet.initRepository(RepositoryStartupServlet.java:413)
> at
> org.apache.jackrabbit.j2ee.RepositoryStartupServlet.startup(RepositoryStartupServlet.java:242)
>  at
> com.day.crx.j2ee.CRXRepositoryStartupServlet.startup(CRXRepositoryStartupServlet.java:147)
> at
> org.apache.jackrabbit.j2ee.RepositoryStartupServlet.init(RepositoryStartupServlet.java:215)
>  at javax.servlet.GenericServlet.init(GenericServlet.java:211)
> at
> com.day.crx.j2ee.CRXRepositoryStartupServlet.init(CRXRepositoryStartupServlet.java:126)
>  at
> com.day.j2ee.servletengine.ServletRuntimeEnvironment.doStart(ServletRuntimeEnvironment.java:113)
> at
> com.day.j2ee.servletengine.ServletRuntimeEnvironment.start(ServletRuntimeEnvironment.java:93)
>  at
> com.day.j2ee.servletengine.WebApplication.loadStartupServlets(WebApplication.java:702)
> at com.day.j2ee.servletengine.WebApplication.start(WebApplication.java:631)
>  at
> com.day.j2ee.servletengine.ServletContainer.start(ServletContainer.java:318)
> at com.day.j2ee.servletengine.ServletEngine.start(ServletEngine.java:285)
>  at com.day.j2ee.server.Server.start(Server.java:227)
> at com.day.j2ee.server.Server.main(Server.java:607)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
>  at com.day.launcher.Bootstrap.run(Bootstrap.java:118)
> at com.day.crx.quickstart.Quickstart.run(Quickstart.java:680)
>  at com.day.crx.quickstart.Main.<init>(Main.java:675)
> at com.day.crx.quickstart.Main.main(Main.java:730)
> 06.06.2012 11:06:19 *INFO * RepositoryAccessServlet:
> RepositoryAccessServlet initialized. (RepositoryAccessServlet.java, line 98)
> 06.06.2012 11:06:19 *INFO * JCRExplorerServlet: JCRExplorerServlet
> initializing. Version 71143 (JCRExplorerServlet.java, line 226)
> 06.06.2012 11:06:19 *INFO * JCRExplorerServlet:   explorer-home =
> /Users/dev/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository
> (JCRExplorerServlet.java, line 247)
> 06.06.2012 11:06:19 *INFO * JCRExplorerServlet:   temp-directory =
> /Users/dev/development/dev-ndp/CQ54OFF/publisher/crx-quickstart/repository/tmp
> (JCRExplorerServlet.java, line 274)
> 06.06.2012 11:06:19 *INFO * JCRExplorerServlet:   docroot = /docroot
> (JCRExplorerServlet.java, line 279)
> 06.06.2012 11:06:19 *INFO * CRXSessionCache: CRX Session timeout set to
> 3600 seconds. (CRXSessionCache.java, line 75)
> 06.06.2012 11:06:19 *INFO * AbstractConfig: Configuration of
> BootstrapConfig (AbstractConfig.java, line 101)
> 06.06.2012 11:06:19 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 102)
> 06.06.2012 11:06:19 *INFO * AbstractConfig:   valid: true
> (AbstractConfig.java, line 106)
> 06.06.2012 11:06:19 *INFO * AbstractConfig:   rmiConfig:
> org.apache.jackrabbit.j2ee.RMIConfig@21a437b6 (AbstractConfig.java, line
> 106)
> 06.06.2012 11:06:19 *INFO * AbstractConfig:   repositoryConfig: null
> (AbstractConfig.java, line 106)
> 06.06.2012 11:06:19 *INFO * AbstractConfig:   class: class
> org.apache.jackrabbit.j2ee.BootstrapConfig (AbstractConfig.java, line 106)
> 06.06.2012 11:06:19 *INFO * AbstractConfig:   repositoryHome: null
> (AbstractConfig.java, line 106)
> 06.06.2012 11:06:19 *INFO * AbstractConfig:   repositoryName: virtual-crx
> (AbstractConfig.java, line 106)
> 06.06.2012 11:06:19 *INFO * AbstractConfig:   jndiConfig:
> org.apache.jackrabbit.j2ee.JNDIConfig@24459efb (AbstractConfig.java, line
> 106)
> 06.06.2012 11:06:19 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 108)
> 06.06.2012 11:06:19 *INFO * AbstractConfig: Configuration of JNDIConfig
> (AbstractConfig.java, line 101)
> 06.06.2012 11:06:19 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 102)
> 06.06.2012 11:06:19 *INFO * AbstractConfig:   valid: true
> (AbstractConfig.java, line 106)
> 06.06.2012 11:06:19 *INFO * AbstractConfig:   jndiName: virtual-crx
> (AbstractConfig.java, line 106)
> 06.06.2012 11:06:19 *INFO * AbstractConfig:   jndiEnabled: true
> (AbstractConfig.java, line 106)
> 06.06.2012 11:06:19 *INFO * AbstractConfig:   class: class
> org.apache.jackrabbit.j2ee.JNDIConfig (AbstractConfig.java, line 106)
> 06.06.2012 11:06:19 *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 11:06:19 *INFO * AbstractConfig:
> ---------------------------------------------- (AbstractConfig.java, line
> 108)
> 06.06.2012 11:06:19 *ERROR* JCRExplorerServlet: Error while retrieving
> repository using JNDI (name=virtual-crx):
> javax.naming.NameNotFoundException (JCRExplorerServlet.java, line 1000)
> 06.06.2012 11:06:19 *ERROR* JCRExplorerServlet: The repository is not
> available. Check config of 'RepositoryAccessServlet'.
> (JCRExplorerServlet.java, line 385)
> 06.06.2012 11:06:19 *INFO * SimpleWebdavServlet: resource-path-prefix =
> '/repository' (SimpleWebdavServlet.java, line 163)
> 06.06.2012 11:06:19 *INFO * SimpleWebdavServlet: WWW-Authenticate header =
> 'Basic realm="CRX Webdav Server"' (SimpleWebdavServlet.java, line 169)
> 06.06.2012 11:06:19 *INFO * SimpleWebdavServlet: resource-path-prefix =
> '/cqresource' (SimpleWebdavServlet.java, line 163)
> 06.06.2012 11:06:19 *INFO * SimpleWebdavServlet: WWW-Authenticate header =
> 'Basic realm="Jackrabbit Webdav Server"' (SimpleWebdavServlet.java, line
> 169)
> 06.06.2012 11:06:19 *INFO * CRXHttpServlet: PackageShareServlet
> initialized. (CRXHttpServlet.java, line 52)
> 06.06.2012 11:06:19 *INFO * CRXHttpServlet: PackageManagerServlet
> initialized. (CRXHttpServlet.java, line 52)
> 06.06.2012 11:06:33 *INFO * TarUtils: File system status: created 200
> files in 26 ms (7692 ops/sec) (TarUtils.java, line 741)
> 06.06.2012 11:06:33 *INFO * TarUtils: File system status calculated in 55
> ms (TarUtils.java, line 754)
>
>
>>
>



*****
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.
*****

Mime
View raw message