jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Khanapurkar, Mona A." <Mona.A.Khanapur...@idearc.com>
Subject RE: Cloning workspace
Date Mon, 20 Jul 2009 19:28:39 GMT
Can anyone help me out on this?

Thanks! 

-----Original Message-----
From: Khanapurkar, Mona A. [mailto:Mona.A.Khanapurkar@idearc.com] 
Sent: Monday, July 20, 2009 12:39 AM
To: users@jackrabbit.apache.org
Subject: Cloning workspace

 I get the exception stated below while cloning
(session.getWorkspace().clone("my_workspace", "/testPath", "/testPath",
true);). What can be a possible cause of this exception? Attached is my
config file. Thanks in advance! 

javax.jcr.RepositoryException: internal error: failed to copy state of
5d15667c-
45c5-4b8a-ae71-fb2a07e32133: d090bfcc-2f8c-4d26-961b-fcc39317e71e:
d090bfcc-2f8c
-4d26-961b-fcc39317e71e
        at
org.apache.jackrabbit.core.BatchedItemOperations.copyNodeState(Batche
dItemOperations.java:1950)
        at
org.apache.jackrabbit.core.BatchedItemOperations.copy(BatchedItemOper
ations.java:457)
        at
org.apache.jackrabbit.core.WorkspaceImpl.internalCopy(WorkspaceImpl.j
ava:393)
        at
org.apache.jackrabbit.core.WorkspaceImpl.clone(WorkspaceImpl.java:579
)
        at
com.idearc.contentmanagement.jackrabbit.service.ContentService.<init>
(ContentService.java:107)
        at
com.idearc.contentmanagement.jackrabbit.web.ContentPage.<init>(Conten
tPage.java:148)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFacto
ry.java:58)
        at
org.apache.wicket.request.target.component.BookmarkablePageRequestTar
get.newPage(BookmarkablePageRequestTarget.java:256)
        at
org.apache.wicket.request.target.component.BookmarkablePageRequestTar
get.getPage(BookmarkablePageRequestTarget.java:277)
        at
org.apache.wicket.request.target.component.BookmarkablePageRequestTar
get.processEvents(BookmarkablePageRequestTarget.java:205)
        at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents
(AbstractRequestCycleProcessor.java:90)
        at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.j
ava:1031)
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1107)
        at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1176)
        at org.apache.wicket.RequestCycle.request(RequestCycle.java:499)
        at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
257)
        at
org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.jav
a:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491
)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
67)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:185)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
81)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:6
89)
        at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391)

        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
lerCollection.java:146)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
java:114)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
39)
        at org.mortbay.jetty.Server.handle(Server.java:285)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:45
7)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo
nnection.java:751)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500)
        at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
        at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:329)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool
.java:475)
Caused by: org.apache.jackrabbit.core.state.NoSuchItemStateException:
d090bfcc-2
f8c-4d26-961b-fcc39317e71e
        at
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(
SharedItemStateManager.java:270)
        at
org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(L
ocalItemStateManager.java:93)
        at
org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(L
ocalItemStateManager.java:158)
        at
org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAIt
emStateManager.java:253)
        at
org.apache.jackrabbit.core.BatchedItemOperations.copyNodeState(Batche
dItemOperations.java:1836)
        ... 41 more
org.apache.jackrabbit.core.state.NoSuchItemStateException:
d090bfcc-2f8c-4d26-96
1b-fcc39317e71e
        at
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(
SharedItemStateManager.java:270)
        at
org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(L
ocalItemStateManager.java:93)
        at
org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(L
ocalItemStateManager.java:158)
        at
org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAIt
emStateManager.java:253)
        at
org.apache.jackrabbit.core.BatchedItemOperations.copyNodeState(Batche
dItemOperations.java:1836)
        at
org.apache.jackrabbit.core.BatchedItemOperations.copy(BatchedItemOper
ations.java:457)
        at
org.apache.jackrabbit.core.WorkspaceImpl.internalCopy(WorkspaceImpl.j
ava:393)
        at
org.apache.jackrabbit.core.WorkspaceImpl.clone(WorkspaceImpl.java:579
)
        at
com.idearc.contentmanagement.jackrabbit.service.ContentService.<init>
(ContentService.java:107)
        at
com.idearc.contentmanagement.jackrabbit.web.ContentPage.<init>(Conten
tPage.java:148)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFacto
ry.java:58)
        at
org.apache.wicket.request.target.component.BookmarkablePageRequestTar
get.newPage(BookmarkablePageRequestTarget.java:256)
        at
org.apache.wicket.request.target.component.BookmarkablePageRequestTar
get.getPage(BookmarkablePageRequestTarget.java:277)
        at
org.apache.wicket.request.target.component.BookmarkablePageRequestTar
get.processEvents(BookmarkablePageRequestTarget.java:205)
        at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents
(AbstractRequestCycleProcessor.java:90)
        at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.j
ava:1031)
        at org.apache.wicket.RequestCycle.step(RequestCycle.java:1107)
        at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1176)
        at org.apache.wicket.RequestCycle.request(RequestCycle.java:499)
        at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
257)
        at
org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.jav
a:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491
)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
67)
        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:185)
        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
81)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:6
89)
        at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391)

        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
lerCollection.java:146)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
java:114)
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
39)
        at org.mortbay.jetty.Server.handle(Server.java:285)
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:45
7)
        at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo
nnection.java:751)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500)
        at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
        at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:329)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool
.java:475)

Mime
View raw message