jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phukan, Anit" <Anit_Phu...@intuit.com>
Subject Invalid item state exception
Date Sat, 14 Nov 2009 02:06:29 GMT
Hi,

Has anyone encountered this type of exceptions in real time
environments.Please refer to stack trace below.

It occurs when we keep on hitting the jackrabbit repository multiple
number of times in our application flow testing.Not sure if it's a
concurrency related issue. I am using transient repository.

Please let me know if anyone has any suggestions or workarounds for
this.


2009-11-13 17:52:03,811 SEVERE
[com.sun.xml.ws.server.sei.EndpointMethodHandler] (http-0.0.0.0-8080-5)
javax.jcr.InvalidItemStateException: /: the item cannot be saved because
it has been modified externally.
java.lang.RuntimeException: javax.jcr.InvalidItemStateException: /: the
item cannot be saved because it has been modified externally.
        at
com.xxxxxxxx.xxxxxxxxxx.xxxxxxxxx.xxxxxxxxxxxxxx.xxxxxxxxxxx(xxxxxxxxxxx
xxxxxx.java:245)
        at sun.reflect.GeneratedMethodAccessor312.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.jav
a:246)
        at
com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
        at
com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHan
dler.java:257)
        at
com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.j
ava:93)
        at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
        at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
        at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
        at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
        at
com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
        at
com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter
.java:471)
        at
com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
        at
com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapt
er.java:135)
        at
com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletD
elegate.java:129)
        at
com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServlet
Delegate.java:160)
        at
com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:75
)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
        at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:96)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:235)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
        at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAs
sociationValve.java:190)
        at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.j
ava:92)
        at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(
SecurityContextEstablishmentValve.java:126)
        at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(S
ecurityContextEstablishmentValve.java:70)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
        at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConn
ectionValve.java:158)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:3
30)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:82
9)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:598)
        at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Caused by: javax.jcr.InvalidItemStateException: /: the item cannot be
saved because it has been modified externally.
        at
org.apache.jackrabbit.core.ItemImpl.getTransientStates(ItemImpl.java:342
)
        at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1069)
        at
org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:818)
        at com.xxxx.xxx.xxxx.xxxx.xx(xxxxxx.java:223) 

Thanks
Anit



Mime
View raw message