Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Gwowen Fu
Failed to delete Documents and Media folder with Jackrabbit installed
August 14, 2012 12:53 PM
Answer

Gwowen Fu

Rank: Expert

Posts: 253

Join Date: December 27, 2010

Recent Posts

Hi,

I am using Liferay CE 6.1 with Jackrabbit 2.4.2.
I create a folder under the root and I got exceptions when try to delete it, what should I do to troubleshoot this problem?

The exception I got:
13:38:25,363 ERROR [render_portlet_jsp:154] com.liferay.portal.kernel.exception.
PortalException: javax.jcr.RepositoryException: Failed to resolve path relative
to node /10154/documentlibrary/81132
at com.liferay.portlet.documentlibrary.store.JCRStore.deleteDirectory(JC
RStore.java:225)
at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.deleteDirect
ory(StoreProxyImpl.java:88)
at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.de
leteDirectory(SafeFileNameStoreWrapper.java:118)
at com.liferay.portlet.documentlibrary.store.DLStoreImpl.deleteDirectory
(DLStoreImpl.java:199)
at com.liferay.portlet.documentlibrary.store.DLStoreUtil.deleteDirectory
(DLStoreUtil.java:256)
at com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalService
Impl.deleteFolder(DLFolderLocalServiceImpl.java:623)
at com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalService
Impl.deleteFolder(DLFolderLocalServiceImpl.java:159)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(Ser
viceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(T
ransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(Ser
viceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableM
ethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(Ser
viceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableM
ethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(Ser
viceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableM
ethodAdvice.java:59)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(Ser
viceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanA
opProxy.java:211)
at com.liferay.portlet.documentlibrary.service.impl.DLFolderServiceImpl.
deleteFolder(DLFolderServiceImpl.java:81)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(Ser
viceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(T
ransactionInterceptor.java:71)
Caused by: javax.jcr.RepositoryException: Failed to resolve path relative to no
de /10154/documentlibrary/81132
at org.apache.jackrabbit.core.NodeImpl.resolveRelativePath(NodeImpl.java
:239)
at org.apache.jackrabbit.core.NodeImpl.access$100(NodeImpl.java:127)
at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2110)
at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2107)
at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.
java:216)
at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2107)
at com.liferay.portlet.documentlibrary.store.JCRStore.deleteDirectory(JC
RStore.java:209)
at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.deleteDirect
ory(StoreProxyImpl.java:88)
at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.de
leteDirectory(SafeFileNameStoreWrapper.java:118)
at com.liferay.portlet.documentlibrary.store.DLStoreImpl.deleteDirectory
(DLStoreImpl.java:199)
at com.liferay.portlet.documentlibrary.store.DLStoreUtil.deleteDirectory
(DLStoreUtil.java:256)
at com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalService
Impl.deleteFolder(DLFolderLocalServiceImpl.java:623)
at com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalService
Impl.deleteFolder(DLFolderLocalServiceImpl.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Thanks!
Gwowen
Gwowen Fu
RE: Failed to delete Documents and Media folder with Jackrabbit installed
July 27, 2012 1:09 PM
Answer

Gwowen Fu

Rank: Expert

Posts: 253

Join Date: December 27, 2010

Recent Posts

Can anyone confirm that Jackrabbit 2.4.2 is working and folder can be deleted?
What jar files do I need to replace?

What I did to upgrade Jackrabbit is to replace files with these:
jackrabbit-api-2.4.0.jar
jackrabbit-core-2.4.0.jar
jackrabbit-jcr-commons-2.4.0.jar
jackrabbit-jcr-rmi-2.4.0.jar
jackrabbit-jcr-server-2.4.0.jar
jackrabbit-jcr-servlet-2.4.0.jar
jackrabbit-spi-2.4.0.jar
jackrabbit-spi-commons-2.4.0.jar
jackrabbit-webdav-2.4.0.jar
jcr-2.0.jar
poi-3.8-beta4.jar
poi-ooxml-3.8-beta4.jar
poi-ooxml-schemas-3.8-beta4.jar
poi-scratchpad-3.8-beta4.jar
tika-core-1.0.jar
tika-parsers-1.0.jar


Thanks!
Gwowen
Gwowen Fu
RE: Failed to delete Documents and Media folder with Jackrabbit installed
August 14, 2012 12:34 PM
Answer

Gwowen Fu

Rank: Expert

Posts: 253

Join Date: December 27, 2010

Recent Posts

Has anyone using the same version of Liferay and Jackrabbit as I did and without the problem to delete document folder?
Thanks!
Gwowen
Hitoshi Ozawa
RE: Failed to delete Documents and Media folder with Jackrabbit installed
August 14, 2012 2:30 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

How did you setup Jackrabbit?
Gwowen Fu
RE: Failed to delete Documents and Media folder with Jackrabbit installed
August 17, 2012 8:40 AM
Answer

Gwowen Fu

Rank: Expert

Posts: 253

Join Date: December 27, 2010

Recent Posts

I was using JCRStore. After I changed to DBStore the problem was solved, but now I cannot add a document, when I add a document I got the following exception:
...
Caused by: com.liferay.portal.kernel.dao.orm.ORMException: java.lang.ClassCastEx
ception: com.liferay.portal.kernel.dao.jdbc.OutputBlob cannot be cast to oracle.
sql.BLOB


What do I need to do to use DBStore that is different from JCRStore?

Thanks!
Gwowen
Frederico Ferrao Silva
RE: Failed to delete Documents and Media folder with Jackrabbit installed
March 22, 2013 6:26 AM
Answer

Frederico Ferrao Silva

Rank: New Member

Posts: 2

Join Date: February 25, 2013

Recent Posts

Hey guys, Im facing the same problem here, I can't delete any folder on my document library, here is the stack

  110:19:42,745 ERROR [catalina-exec-1443][render_portlet_jsp:154] com.liferay.portal.kernel.exception.PortalException: javax.jcr.RepositoryException: Failed to resolve path  relative to node /10154/documentlibrary/500261
  2    at com.liferay.portlet.documentlibrary.store.JCRStore.deleteDirectory(JCRStore.java:225)
  3    at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.deleteDirectory(StoreProxyImpl.java:88)
  4    at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.deleteDirectory(SafeFileNameStoreWrapper.java:118)
  5    at com.liferay.portlet.documentlibrary.store.DLStoreImpl.deleteDirectory(DLStoreImpl.java:201)
  6    at com.liferay.portlet.documentlibrary.store.DLStoreUtil.deleteDirectory(DLStoreUtil.java:256)
  7    at com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl.deleteFolder(DLFolderLocalServiceImpl.java:622)
  8    at com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl.deleteFolder(DLFolderLocalServiceImpl.java:159)
  9    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
 10    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
 11    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 12    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 13    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 14    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 15    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 16    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 17    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 18    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 19    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 20    at com.liferay.portal.security.pacl.PACLAdvice.invoke(PACLAdvice.java:51)
 21    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 22Caused by: javax.jcr.RepositoryException: Failed to resolve path  relative to node /10154/documentlibrary/500261
 23    at org.apache.jackrabbit.core.NodeImpl.resolveRelativePath(NodeImpl.java:239)
 24    at org.apache.jackrabbit.core.NodeImpl.access$100(NodeImpl.java:127)
 25    at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2133)
 26    at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2130)
 27    at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
 28    at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
 29    at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2130)
 30    at com.liferay.portlet.documentlibrary.store.JCRStore.deleteDirectory(JCRStore.java:209)
 31    at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.deleteDirectory(StoreProxyImpl.java:88)
 32    at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.deleteDirectory(SafeFileNameStoreWrapper.java:118)
 33    at com.liferay.portlet.documentlibrary.store.DLStoreImpl.deleteDirectory(DLStoreImpl.java:201)
 34    at com.liferay.portlet.documentlibrary.store.DLStoreUtil.deleteDirectory(DLStoreUtil.java:256)
 35    at com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl.deleteFolder(DLFolderLocalServiceImpl.java:622)
 36    at com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl.deleteFolder(DLFolderLocalServiceImpl.java:159)
 37    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 38    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 39    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 40    at java.lang.reflect.Method.invoke(Method.java:601)
 41    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
 42    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
 43    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 44    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 45    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 46    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 47    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 48    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 49    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 50    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 51    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 52    at com.liferay.portal.security.pacl.PACLAdvice.invoke(PACLAdvice.java:51)
 53    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 54    at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
 55    at com.sun.proxy.$Proxy195.deleteFolder(Unknown Source)
 56    at com.liferay.portlet.documentlibrary.service.impl.DLFolderServiceImpl.deleteFolder(DLFolderServiceImpl.java:81)
 57    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 58    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 59    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 60    at java.lang.reflect.Method.invoke(Method.java:601)
 61    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
 62    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
 63    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 64    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 65    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 66    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 67    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 68    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 69    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 70    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 71    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 72    at com.liferay.portal.security.pacl.PACLAdvice.invoke(PACLAdvice.java:51)
 73    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 74    at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
 75    at com.sun.proxy.$Proxy196.deleteFolder(Unknown Source)
 76    at com.liferay.portal.repository.liferayrepository.LiferayRepository.deleteFolder(LiferayRepository.java:252)
 77    at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.deleteFolder(DLAppServiceImpl.java:684)
 78    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 79    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 80    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 81    at java.lang.reflect.Method.invoke(Method.java:601)
 82    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
 83    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
 84    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 85    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 86    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 87    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 88    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 89    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 90    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 91    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
 92    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 93    at com.liferay.portal.security.pacl.PACLAdvice.invoke(PACLAdvice.java:51)
 94    at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
 95    at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
 96    at com.sun.proxy.$Proxy182.deleteFolder(Unknown Source)
 97    at com.liferay.portlet.documentlibrary.service.DLAppServiceUtil.deleteFolder(DLAppServiceUtil.java:543)
 98    at com.liferay.portlet.documentlibrary.action.EditFolderAction.deleteFolders(EditFolderAction.java:126)
 99    at com.liferay.portlet.documentlibrary.action.EditFolderAction.processAction(EditFolderAction.java:65)
100    at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:169)
101    at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:212)
102    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70)
103    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
104    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:548)
105    at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:579)
106    at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:294)
107    at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:944)
108    at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:688)
109    at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:249)
110    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
111    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
112    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
113    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
114    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
115    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
116    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)
117    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)
118    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
119    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
120    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
121    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
122    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
123    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
124    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
125    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
126    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
127    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
128    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
129    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
130    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
131    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
132    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
133    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
134    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
135    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
136    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
137    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
138    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
139    at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:138)
140    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
141    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
142    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
143    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
144    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
145    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
146    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
147    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:335)
148    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
149    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
150    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
151    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
152    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
153    at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
154    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
155    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
156    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
157    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
158    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
159    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
160    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
161    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
162    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
163    at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
164    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
165    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
166    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
167    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
168    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
169    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
170    at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:56)
171    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
172    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
173    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
174    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
175    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:246)
176    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
177    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
178    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
179    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
180    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:216)
181    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
182    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
183    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
184    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
185    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
186    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
187    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
188    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
189    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
190    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
191    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
192    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
193    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
194    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
195    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
196    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
197    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
198    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
199    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
200    at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
201    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
202    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
203    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
204    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
205    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
206    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
207    at com.googlecode.psiprobe.Tomcat70AgentValve.invoke(Tomcat70AgentValve.java:38)
208    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
209    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
210    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
211    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
212    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
213    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
214    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
215    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
216    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
217    at java.lang.Thread.run(Thread.java:722)
218Caused by: org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: empty path
219    at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:212)
220    at org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:122)
221    at org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getQPath(ParsingPathResolver.java:90)
222    at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:98)
223    at org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:77)
224    at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQPath(DefaultNamePathResolver.java:82)
225    at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:648)
226    at org.apache.jackrabbit.core.session.SessionContext.getQPath(SessionContext.java:338)
227    at org.apache.jackrabbit.core.NodeImpl.resolveRelativePath(NodeImpl.java:237)
228    ... 194 more


My enviroment:
- liferay-portal-6.1.1-ce-ga2
portal-ext.properties:
- jcr.initialize.on.startup=true
- dl.store.impl=com.liferay.portlet.documentlibrary.store.JCRStore

DB
- Oracle 11G

repository.xml:
 1<?xml version="1.0"?>
 2
 3<Repository>
 4   
 5    <FileSystem class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
 6        <param name="driver" value="javax.naming.InitialContext"/>
 7        <!--0 -->
 8        <param name="url" value="java:comp/env/jdbc/LiferayPool" />
 9        <param name="schema" value="oracle"/>
10        <param name="schemaObjectPrefix" value="J_R_FS_"/>
11    </FileSystem>
12
13    <Security appName="Jackrabbit">
14        <AccessManager class="org.apache.jackrabbit.core.security.SimpleAccessManager" />
15        <LoginModule class="org.apache.jackrabbit.core.security.SimpleLoginModule">
16            <param name="anonymousId" value="anonymous" />
17        </LoginModule>
18    </Security>
19
20    <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="liferay" />
21
22    <Workspace name="${wsp.name}">
23       
24        <FileSystem class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
25            <param name="driver" value="javax.naming.InitialContext"/>
26            <!--1 -->
27            <param name="url" value="java:comp/env/jdbc/LiferayPool" />
28            <param name="schema" value="oracle"/>
29            <param name="schemaObjectPrefix" value="J_FS_${wsp.name}_"/>
30        </FileSystem>
31        <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager">
32             <param name="driver" value="javax.naming.InitialContext"/>
33              <!--2 -->
34            <param name="url" value="java:comp/env/jdbc/LiferayPool"/>
35            <param name="schema" value="oracle" />
36            <param name="schemaObjectPrefix" value="J_PM_${wsp.name}_" />
37            <param name="externalBLOBs" value="false" />
38        </PersistenceManager>
39
40    </Workspace>
41    <Versioning rootPath="${rep.home}/version">
42       
43        <FileSystem class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
44            <param name="driver" value="javax.naming.InitialContext"/>
45            <!--3 -->
46            <param name="url" value="java:comp/env/jdbc/LiferayPool" />
47            <param name="schema" value="oracle"/>
48            <param name="schemaObjectPrefix" value="J_V_FS_"/>
49        </FileSystem>
50        <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager">
51             <param name="driver" value="javax.naming.InitialContext"/>
52              <!--4 -->
53            <param name="url" value="java:comp/env/jdbc/LiferayPool"/>
54            <param name="schema" value="oracle" />
55            <param name="schemaObjectPrefix" value="J_V_PM_" />
56            <param name="externalBLOBs" value="false" />
57        </PersistenceManager>
58    </Versioning>
59</Repository>


I saw the Gwowen Fu solution to change store impl to DBStore, but I realy would like to know the root cause of the JCRStore error. This portal is already in production and have a lot of files and folder on it, what can I do to fix it?

Another assumption is changind the implementation to DBStore. If I do that, what happens to the existing files and folders in My Documents Library ?

Thanks in advance,
Hitoshi Ozawa
RE: Failed to delete Documents and Media folder with Jackrabbit installed
March 23, 2013 8:31 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Sorry you guys. We usually check everything before going into production. We were having some problems with Oracle too and decided not to support it.

I think there's a bug. Maybe create a new issue?
Frederico Ferrao Silva
RE: Failed to delete Documents and Media folder with Jackrabbit installed
March 25, 2013 5:44 AM
Answer

Frederico Ferrao Silva

Rank: New Member

Posts: 2

Join Date: February 25, 2013

Recent Posts

Hitoshi Ozawa:
Sorry you guys. We usually check everything before going into production. We were having some problems with Oracle too and decided not to support it.

I think there's a bug. Maybe create a new issue?


Thanks for the reply. Yes I knew, but, shit happens, This was a migration from liferay 5.1.1 to 6.1.1

What do you mean with: "decided not to support it"?
We: liferay?
We: your company?
We jackrabbit?

Do you know what happens with the existing files and folders if I simply change to DBStore?
Gwowen Fu
RE: Failed to delete Documents and Media folder with Jackrabbit installed
March 29, 2013 12:11 PM
Answer

Gwowen Fu

Rank: Expert

Posts: 253

Join Date: December 27, 2010

Recent Posts

Frederico Ferrao Silva:
Hitoshi Ozawa:
Sorry you guys. We usually check everything before going into production. We were having some problems with Oracle too and decided not to support it.

I think there's a bug. Maybe create a new issue?


Thanks for the reply. Yes I knew, but, shit happens, This was a migration from liferay 5.1.1 to 6.1.1

What do you mean with: "decided not to support it"?
We: liferay?
We: your company?
We jackrabbit?

Do you know what happens with the existing files and folders if I simply change to DBStore?

Nothing is changed. Right now we are using Liferay 6.1.0 EE and there is no issue with Jackrabbit.
Daniel Tyger
RE: Failed to delete Documents and Media folder with Jackrabbit installed
January 30, 2014 11:18 AM
Answer

Daniel Tyger

Rank: Junior Member

Posts: 54

Join Date: February 5, 2013

Recent Posts

Frederico Ferrao Silva:
..
Do you know what happens with the existing files and folders if I simply change to DBStore?


Hi Federico, Saludos:
I used 6.1.2 GA3 CE and was able to select the DBStore option from the CP > Server Admin >> Migration selector. The migration was fast and also gave me a nice list of problematic exceptions on files I knew had some issues (for other reasons, likely due to our own data / file versions and the 5.2 > 6.0.6 migration which seems a little flawed on handling various version history changes on some files). I also found our pre-LR6 DL allowed "/" to be in file titles, which is not ok with LR 6+.

In my case, it migrated all the JCR documents > lportal database (dlcontent table - the BLOBs are in the data_ field...). Then, commented out the portal-ext jcr properties, switched to DBStore for dl.impl and wiped out /temp and /work and all was well on startup.

I then deleted jcr completely and re-indexed the DL via Plugins Installation Doc Lib REINDEX option.

I hope it works for you (or someone else who reads this). -daniel