[
https://issues.apache.org/jira/browse/JCR-4284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16435252#comment-16435252
]
DilipKumar S commented on JCR-4284:
-----------------------------------
Hello Julian,
For your information, we don't have a specific test case since this problem
does not occur regularly. We simply execute an report from our Frontend API.
Post report generation we try to retrieve the report that's when the error
occurs and the generated report is no more available for the user.
Please check if you would be able to continue your investigation with the info
below,
I've added a piece of code where you could find the session.save(),
{noformat}
@Override
public void storeFileContent(URI uri, Map<String, ?> metadata, InputStream
fileIn) throws RepositoryException {
Session session = null;
try
{ String path = uri2xpath(uri); session = openReadWriteSession();
createContentNode(uri, metadata, session); Node root = session.getRootNode();
Node newNode = root.getNode(path); // set the node type to file //and set the
content of the file Node reportNode = newNode.addNode(FILE_NODE,
NodeType.NT_FILE); Node fileNode = reportNode.addNode(Node.JCR_CONTENT,
NodeType.NT_RESOURCE); ValueFactory valueFactory = session.getValueFactory();
Binary b = valueFactory.createBinary(fileIn);
fileNode.setProperty(Property.JCR_DATA, b); session.save(); }
finally {
if (session != null)
{ session.logout(); }
}
} {noformat}
We can see the below log where it is showing saving is happening properly, but
error at retrival.
{quote}CONTENT stored id JCR_DATA_STORE
=dataStore:80800b5954d13613642197327e16360b49690e68
{quote}
{noformat}
2018-03-21 11:54:27,847 | DEBUG |
defaultWIMFileBasedRealm/advisor(defaultWIMFileBasedRealm/U12227) | | |
WorkManager.JobLauncherWorkManager : 7 | c.o.r.s.JCRContentRepositoryService |
CONTENT stored id JCR_DATA_STORE
=dataStore:80800b5954d13613642197327e16360b49690e68 ,
aaa:report/U1222720180321857111
2018-03-21 11:54:36,456 | DEBUG | U12227 | VbNSgCFlfA1NGzargaUZmAH |
/wui/activity/aaa/pageflow/reporting-pageflow-ReportView/ReportView |
WebContainer : 6 | c.o.r.s.JCRContentRepositoryService | startupRepository:
Repository is already initialized. It will not be initialiized and configured
again
2018-03-21 11:54:36,456 | INFO | U12227 | VbNSgCFlfA1NGzargaUZmAH |
/wui/activity/aaa/pageflow/reporting-pageflow-ReportView/ReportView |
WebContainer : 6 | c.o.r.s.JCRContentRepositoryService | makeObject: Read
session created on the repository
2018-03-21 11:54:36,456 | DEBUG | U12227 | VbNSgCFlfA1NGzargaUZmAH |
/wui/activity/aaa/pageflow/reporting-pageflow-ReportView/ReportView |
WebContainer : 6 | c.o.r.s.JCRContentRepositoryService | startupRepository:
Repository is already initialized. It will not be initialiized and configured
again
2018-03-21 11:54:36,527 | INFO | U12227 | VbNSgCFlfA1NGzargaUZmAH |
/wui/activity/aaa/pageflow/reporting-pageflow-ReportView/ReportView |
WebContainer : 6 | c.o.r.s.JCRContentRepositoryService | Logged in as anonymous
to a Jackrabbit repository.
2018-03-21 11:54:36,572 | DEBUG | U12227 | VbNSgCFlfA1NGzargaUZmAH |
/wui/activity/aaa/pageflow/reporting-pageflow-ReportView/ReportView |
WebContainer : 6 | c.o.r.s.ContentRepositoryService | retrieveReport: PDF size
= 649692
2018-03-21 11:54:38,693 | DEBUG | defaultWIMFileBasedRealm/advisor | | |
WebContainer : 6 | c.o.r.s.JCRContentRepositoryService | startupRepository:
Repository is already initialized. It will not be initialiized and configured
again
2018-03-21 11:54:38,698 | DEBUG | defaultWIMFileBasedRealm/advisor | | |
WebContainer : 6 | c.o.r.s.ContentRepositoryService | retrieveReport: PDF size
= 701624
2018-03-21 11:55:50,804 | DEBUG | defaultWIMFileBasedRealm/advisor | | |
WebContainer : 8 | c.o.r.s.JCRContentRepositoryService | startupRepository:
Repository is already initialized. It will not be initialiized and configured
again
2018-03-21 11:55:50,806 | ERROR | defaultWIMFileBasedRealm/advisor | | |
WebContainer : 8 | c.o.r.s.ContentRepositoryService | retrieveReport: Exception
from the uderlying repository
javax.jcr.PathNotFoundException: aaa/report/G4348420180321857066
at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2167)
~[jackrabbit-core.jar:2.8.6]
at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2161)
~[jackrabbit-core.jar:2.8.6]
at
org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
~[jackrabbit-core.jar:2.8.6]
at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
~[jackrabbit-core.jar:2.8.6]
at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2161)
~[jackrabbit-core.jar:2.8.6]
at
com.odcgroup.repository.service.ContentRepositoryService.retrieveReportAsStream(ContentRepositoryService.java:109)
~[repository-impl.jar:TAP/8.1.08]
at
com.odcgroup.repository.ReportRepositoryStream.read(ReportRepositoryStream.java:56)
[repository-core.jar:TAP/8.1.08]
at java.io.InputStream.read(InputStream.java:183) [na:1.7.0]
at java.io.InputStream.read(InputStream.java:114) [na:1.7.0]
at com.sun.jersey.core.util.ReaderWriter.writeTo(ReaderWriter.java:114)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.core.provider.AbstractMessageReaderWriterProvider.writeTo(AbstractMessageReaderWriterProvider.java:76)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.core.impl.provider.entity.InputStreamProvider.writeTo(InputStreamProvider.java:98)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.core.impl.provider.entity.InputStreamProvider.writeTo(InputStreamProvider.java:59)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1437)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
[jersey-bundle.jar:1.10]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[javax.j2ee.servlet.jar:na]
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
[com.ibm.ws.webcontainer.jar:na]
at
com.odcgroup.otf.utils.web.SecurityFilter.doFilter(SecurityFilter.java:55)
[otf-core.jar:TAP/8.1.08]
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[com.ibm.ws.webcontainer.jar:na]
at
com.odcgroup.otf.security.filter.AuthenticationFilter$1.run(AuthenticationFilter.java:357)
[otf-security.jar:TAP/8.1.08]
at
com.odcgroup.otf.utils.security.LoginHelperSkel.doAs(LoginHelperSkel.java:64)
[otf-core.jar:TAP/8.1.08]
at
com.odcgroup.otf.security.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:351)
[otf-security.jar:TAP/8.1.08]
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[com.ibm.ws.webcontainer.jar:na]
at
com.odcgroup.ocs.wui.remote.PathInfoFixFilter.doFilter(PathInfoFixFilter.java:35)
[wui-remoting-8.1.08-SNAPSHOT.jar:TAP/8.1.08]
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[com.ibm.ws.webcontainer.jar:na]
at
com.odcgroup.otf.utils.web.SetHeaderFilter.doFilter(SetHeaderFilter.java:93)
[otf-core.jar:TAP/8.1.08]
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[com.ibm.ws.webcontainer.jar:na]
at
com.odcgroup.otf.utils.web.SetHeaderFilter.doFilter(SetHeaderFilter.java:93)
[otf-core.jar:TAP/8.1.08]
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[com.ibm.ws.webcontainer.jar:na]
at
com.odcgroup.otf.utils.web.ConditionalAccessFilter.doFilter(ConditionalAccessFilter.java:54)
[otf-core.jar:TAP/8.1.08]
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3923)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:986)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
[com.ibm.ws.runtime.jar:na]
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
[com.ibm.ws.runtime.jar:na]
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
[com.ibm.ws.runtime.jar:na]
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
[com.ibm.ws.runtime.jar:na]
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
[com.ibm.ws.runtime.jar:na]
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[com.ibm.ws.runtime.jar:na]
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[com.ibm.ws.runtime.jar:na]
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
[com.ibm.ws.runtime.jar:na]
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
[com.ibm.ws.runtime.jar:na]
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
[com.ibm.ws.runtime.jar:na]
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
[com.ibm.ws.runtime.jar:na]
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)
[com.ibm.ws.runtime.jar:na]
2018-03-21 11:55:50,808 | ERROR | defaultWIMFileBasedRealm/advisor | | |
WebContainer : 8 | c.o.r.ReportRepositoryStream | Exception while retrieveing
the report
com.odcgroup.repository.exceptions.RepositoryPersistenceException: Unexpected
persistence exception occurred, see underlying exception
at
com.odcgroup.repository.service.ContentRepositoryService.retrieveReportAsStream(ContentRepositoryService.java:123)
~[repository-impl.jar:TAP/8.1.08]
at
com.odcgroup.repository.ReportRepositoryStream.read(ReportRepositoryStream.java:56)
~[repository-core.jar:TAP/8.1.08]
at java.io.InputStream.read(InputStream.java:183) [na:1.7.0]
at java.io.InputStream.read(InputStream.java:114) [na:1.7.0]
at com.sun.jersey.core.util.ReaderWriter.writeTo(ReaderWriter.java:114)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.core.provider.AbstractMessageReaderWriterProvider.writeTo(AbstractMessageReaderWriterProvider.java:76)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.core.impl.provider.entity.InputStreamProvider.writeTo(InputStreamProvider.java:98)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.core.impl.provider.entity.InputStreamProvider.writeTo(InputStreamProvider.java:59)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1437)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
[jersey-bundle.jar:1.10]
at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
[jersey-bundle.jar:1.10]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[javax.j2ee.servlet.jar:na]
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
[com.ibm.ws.webcontainer.jar:na]
at
com.odcgroup.otf.utils.web.SecurityFilter.doFilter(SecurityFilter.java:55)
[otf-core.jar:TAP/8.1.08]
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[com.ibm.ws.webcontainer.jar:na]
at
com.odcgroup.otf.security.filter.AuthenticationFilter$1.run(AuthenticationFilter.java:357)
[otf-security.jar:TAP/8.1.08]
at
com.odcgroup.otf.utils.security.LoginHelperSkel.doAs(LoginHelperSkel.java:64)
[otf-core.jar:TAP/8.1.08]
at
com.odcgroup.otf.security.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:351)
[otf-security.jar:TAP/8.1.08]
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[com.ibm.ws.webcontainer.jar:na]
at
com.odcgroup.ocs.wui.remote.PathInfoFixFilter.doFilter(PathInfoFixFilter.java:35)
[wui-remoting-8.1.08-SNAPSHOT.jar:TAP/8.1.08]
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[com.ibm.ws.webcontainer.jar:na]
at
com.odcgroup.otf.utils.web.SetHeaderFilter.doFilter(SetHeaderFilter.java:93)
[otf-core.jar:TAP/8.1.08]
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[com.ibm.ws.webcontainer.jar:na]
at
com.odcgroup.otf.utils.web.SetHeaderFilter.doFilter(SetHeaderFilter.java:93)
[otf-core.jar:TAP/8.1.08]
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[com.ibm.ws.webcontainer.jar:na]
at
com.odcgroup.otf.utils.web.ConditionalAccessFilter.doFilter(ConditionalAccessFilter.java:54)
[otf-core.jar:TAP/8.1.08]
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3923)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:986)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
[com.ibm.ws.webcontainer.jar:na]
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
[com.ibm.ws.runtime.jar:na]
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
[com.ibm.ws.runtime.jar:na]
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
[com.ibm.ws.runtime.jar:na]
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
[com.ibm.ws.runtime.jar:na]
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
[com.ibm.ws.runtime.jar:na]
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[com.ibm.ws.runtime.jar:na]
at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[com.ibm.ws.runtime.jar:na]
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
[com.ibm.ws.runtime.jar:na]
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
[com.ibm.ws.runtime.jar:na]
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
[com.ibm.ws.runtime.jar:na]
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
[com.ibm.ws.runtime.jar:na]
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)
[com.ibm.ws.runtime.jar:na]
Caused by: javax.jcr.PathNotFoundException: aaa/report/G4348420180321857066
at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2167)
~[jackrabbit-core.jar:2.8.6]
at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2161)
~[jackrabbit-core.jar:2.8.6]
at
org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
~[jackrabbit-core.jar:2.8.6]
at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
~[jackrabbit-core.jar:2.8.6]
at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2161)
~[jackrabbit-core.jar:2.8.6]
at
com.odcgroup.repository.service.ContentRepositoryService.retrieveReportAsStream(ContentRepositoryService.java:109)
~[repository-impl.jar:TAP/8.1.08]
... 60 common frames omitted{noformat}
> Issue with retrieving reports from JackRabbit Repository
> --------------------------------------------------------
>
> Key: JCR-4284
> URL: https://issues.apache.org/jira/browse/JCR-4284
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.8.6
> Reporter: DilipKumar S
> Priority: Major
> Attachments: SourceCode.txt
>
>
> Hello,
> This is related to JCR-4192 which was resolved by Julien with comments to
> upgrade JCR to latest version.
> We have upgraded the JCR to the version 2.8.6 and still could reproduce the
> scenario.
> =========
> 2018-03-21 13:30:56,041 | ERROR | defaultWIMFileBasedRealm/advisor | | |
> WebContainer : 2 | c.o.r.s.ContentRepositoryService | retrieveReport:
> Exception from the uderlying repository
> *javax.jcr.PathNotFoundException: aaa/report/G4348420180321857066*
> at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2167)
> ~[jackrabbit-core.jar:2.8.6]
> at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2161)
> ~[jackrabbit-core.jar:2.8.6]
> at
> org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
> ~[jackrabbit-core.jar:2.8.6]
> at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
> ~[jackrabbit-core.jar:2.8.6]
> at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2161)
> ~[jackrabbit-core.jar:2.8.6]
> at
> com.sun.jersey.core.impl.provider.entity.InputStreamProvider.writeTo(InputStreamProvider.java:98)
> [jersey-bundle.jar:1.10]
> at
> com.sun.jersey.core.impl.provider.entity.InputStreamProvider.writeTo(InputStreamProvider.java:59)
> [jersey-bundle.jar:1.10]
> =============
> The source code used for storing and retrieval of reports is attached here
> with the JIRA.
> We need to know the cause of the error, due to which the user has failed to
> retrieve the reports.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)