You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Michael Harris <mi...@gmail.com> on 2008/08/11 21:13:26 UTC
exception : failed to instantiate shared item state manager....
So I was creating transient repo instances backed by oracle like a champ.
we then decided to change passwords so i updated my repo.xml to change the
password configuration elements.
I started getting login failures. I started stripping out the DB elements
of the config going back to pure file system implemenations. After engaging
the debuggertron I noticed that the old password was in the pmConfig. I
thought "wierd" because I couldnt find that password in any configs. I went
back to pure db elements for file system and persistence manager and am now
getting
now i am getting
Could not open Jcr Session; nested exception is
javax.jcr.RepositoryException: failed to instantiate shared item state
manager: failed to write bundle:
the full trace is below -- has anyone seen this before?
org.springframework.dao.DataAccessResourceFailureException: Could not open
Jcr Session; nested exception is javax.jcr.RepositoryException: failed to
instantiate shared item state manager: failed to write bundle:
deadbeef-cafe-babe-cafe-babecafebabe: failed to write bundle:
deadbeef-cafe-babe-cafe-babecafebabe
Caused by: javax.jcr.RepositoryException: failed to instantiate shared item
state manager: failed to write bundle: deadbeef-cafe-babe-cafe-babecafebabe:
failed to write bundle: deadbeef-cafe-babe-cafe-babecafebabe
at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(RepositoryImpl.java:1771)
at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1724)
at
org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:576)
at
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:415)
at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
at
org.apache.jackrabbit.core.TransientRepository$1.getRepository(TransientRepository.java:186)
at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
at
org.springmodules.jcr.JcrSessionFactory.getSession(JcrSessionFactory.java:268)
at
org.springmodules.jcr.SessionFactoryUtils.doGetSession(SessionFactoryUtils.java:79)
at
org.springmodules.jcr.SessionFactoryUtils.getSession(SessionFactoryUtils.java:119)
at
org.finra.ceat.repository.util.AbstractRepositoryTestCase.onSetUp(AbstractRepositoryTestCase.java:49)
at
org.finra.ceat.repository.dao.JackrabbitDaoImplTest.onSetUp(JackrabbitDaoImplTest.java:28)
at
org.springframework.test.AbstractSingleSpringContextTests.setUp(AbstractSingleSpringContextTests.java:89)
at junit.framework.TestCase.runBare(TestCase.java:125)
at
org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: org.apache.jackrabbit.core.state.ItemStateException: failed to
write bundle: deadbeef-cafe-babe-cafe-babecafebabe
at
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:546)
at
org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeState(SharedItemStateManager.java:1084)
at
org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedItemStateManager.java:194)
at
org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(RepositoryImpl.java:1201)
at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(RepositoryImpl.java:1753)
... 26 more
org.apache.jackrabbit.core.state.ItemStateException: failed to write bundle:
deadbeef-cafe-babe-cafe-babecafebabe
at
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.store(BundleDbPersistenceManager.java:546)
at
org.apache.jackrabbit.core.state.SharedItemStateManager.createRootNodeState(SharedItemStateManager.java:1084)
at
org.apache.jackrabbit.core.state.SharedItemStateManager.<init>(SharedItemStateManager.java:194)
at
org.apache.jackrabbit.core.RepositoryImpl.createItemStateManager(RepositoryImpl.java:1201)
at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(RepositoryImpl.java:1753)
at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1724)
at
org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:576)
at
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:415)
at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
at
org.apache.jackrabbit.core.TransientRepository$1.getRepository(TransientRepository.java:186)
at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:265)
at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:333)
at
org.springmodules.jcr.JcrSessionFactory.getSession(JcrSessionFactory.java:268)
at
org.springmodules.jcr.SessionFactoryUtils.doGetSession(SessionFactoryUtils.java:79)
at
org.springmodules.jcr.SessionFactoryUtils.getSession(SessionFactoryUtils.java:119)
at
org.finra.ceat.repository.util.AbstractRepositoryTestCase.onSetUp(AbstractRepositoryTestCase.java:49)
at
org.finra.ceat.repository.dao.JackrabbitDaoImplTest.onSetUp(JackrabbitDaoImplTest.java:28)
at
org.springframework.test.AbstractSingleSpringContextTests.setUp(AbstractSingleSpringContextTests.java:89)
at junit.framework.TestCase.runBare(TestCase.java:125)
at
org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
--
---------------------
Michael Harris
Re: exception : failed to instantiate shared item state manager....
Posted by Thomas Müller <th...@day.com>.
Hi,
> don't have separate workspace.xml files. I just define the workspace in
> repository.xml. is JR creating workspace.xml anywhere?
Yes, Jackrabbit creates the workspace.xml files. See also:
http://jackrabbit.apache.org/jackrabbit-configuration.html
Workspace configuration
"The Workspace element is used as a template for separate workspace
configuration files created for each new workspace. Because of this
the Workspace element is not interpreted directly from the repository
configuration file. Instead the workspace configuration template is
first copied into the workspace configuration file which is then
interpreted to set up the configured workspace components. Thus
modifying the workspace configuration template in the repository
configuration file will not affect existing workspace configurations."
Regards,
Thomas
>
> On Mon, Aug 11, 2008 at 4:07 PM, Alexander Klimetschek <ak...@day.com>wrote:
>
>> On Mon, Aug 11, 2008 at 9:13 PM, Michael Harris
>> <mi...@gmail.com> wrote:
>> > So I was creating transient repo instances backed by oracle like a champ.
>> > we then decided to change passwords so i updated my repo.xml to change
>> the
>> > password configuration elements.
>>
>> You have to change the workspace.xml files for each existing, too. The
>> repository.xml Workspace part is only used as template for new
>> workspaces.
>>
>> Regards,
>> Alex
>>
>> --
>> Alexander Klimetschek
>> alexander.klimetschek@day.com
>>
>
>
>
> --
> ---------------------
> Michael Harris
>
Problem while importing/saving an MS Office WORD 2003 XML document
Posted by Bouchet Jean-Luc <je...@sib.fr>.
With MS Office WORD 2003 and jackarabbit webdav server, the first document's
creation (XML format) works very well (the document is stored). But when I
try to save a modified version of the document with MS Word, nothing happens
and the document remains whith original version... Word sends the PUT webdav
request to jackrabbit (I could observe it) but it seems that jackrabbit
ignores it.
no message appears in catalina.out
Hope someone could help me to find a track
Thanks
JL
Re: exception : failed to instantiate shared item state manager....
Posted by Michael Harris <mi...@gmail.com>.
Alex
don't have separate workspace.xml files. I just define the workspace in
repository.xml. is JR creating workspace.xml anywhere?
On Mon, Aug 11, 2008 at 4:07 PM, Alexander Klimetschek <ak...@day.com>wrote:
> On Mon, Aug 11, 2008 at 9:13 PM, Michael Harris
> <mi...@gmail.com> wrote:
> > So I was creating transient repo instances backed by oracle like a champ.
> > we then decided to change passwords so i updated my repo.xml to change
> the
> > password configuration elements.
>
> You have to change the workspace.xml files for each existing, too. The
> repository.xml Workspace part is only used as template for new
> workspaces.
>
> Regards,
> Alex
>
> --
> Alexander Klimetschek
> alexander.klimetschek@day.com
>
--
---------------------
Michael Harris
Re: exception : failed to instantiate shared item state manager....
Posted by Alexander Klimetschek <ak...@day.com>.
On Mon, Aug 11, 2008 at 9:13 PM, Michael Harris
<mi...@gmail.com> wrote:
> So I was creating transient repo instances backed by oracle like a champ.
> we then decided to change passwords so i updated my repo.xml to change the
> password configuration elements.
You have to change the workspace.xml files for each existing, too. The
repository.xml Workspace part is only used as template for new
workspaces.
Regards,
Alex
--
Alexander Klimetschek
alexander.klimetschek@day.com