组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Nicklas Karlsson
DL JCR hook against Oracle 11g
2012年5月24日 上午6:10
答复

Nicklas Karlsson

等级: New Member

帖子: 16

加入日期: 2012年3月1日

最近的帖子

Hi,

I'm trying to hook up the document library against an Oracle DB. I've set the dl.hook.impl to com.liferay.documentlibrary.util.JCRHook and my repository looks like

 1
 2<?xml version="1.0"?>
 3<Repository>
 4    <FileSystem class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
 5        <param name="driver" value="javax.naming.InitialContext"/>
 6        <param name="url" value="java:jboss/datasources/LiferayPool"/>
 7        <param name="schemaObjectPrefix" value="fs_" />
 8    </FileSystem>
 9    <DataStore class="org.apache.jackrabbit.core.data.db.DbDataStore">
10        <param name="driver" value="javax.naming.InitialContext"/>
11        <param name="url" value="java:jboss/datasources/LiferayPool"/>
12        <param name="databaseType" value="oracle"/>   
13        <param name="schemaObjectPrefix" value="ds_" />
14    </DataStore>
15    <Security appName="Jackrabbit">
16        <SecurityManager class="org.apache.jackrabbit.core.DefaultSecurityManager" workspaceName="security" />
17        <AccessManager class="org.apache.jackrabbit.core.security.DefaultAccessManager" />
18        <LoginModule class="org.apache.jackrabbit.core.security.authentication.DefaultLoginModule">
19           <param name="anonymousId" value="anonymous"/>
20           <param name="adminId" value="admin"/>
21        </LoginModule>
22    </Security>
23    <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default" maxIdleTime="2"/>
24    <Workspace name="${wsp.name}">
25        <FileSystem class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
26            <param name="driver" value="javax.naming.InitialContext"/>
27            <param name="url" value="java:jboss/datasources/LiferayPool"/>
28            <param name="schemaObjectPrefix" value="fs_${wsp.name}_" />
29        </FileSystem>
30        <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager">
31            <param name="driver" value="javax.naming.InitialContext"/>
32            <param name="url" value="java:jboss/datasources/LiferayPool"/>
33            <param name="databaseType" value="oracle"/>   
34            <param name="schemaObjectPrefix" value="pm_${wsp.name}_" />
35        </PersistenceManager>
36        <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
37            <param name="path" value="${wsp.home}/index"/>
38        </SearchIndex>
39    </Workspace>
40    <Versioning rootPath="${rep.home}/version">
41        <FileSystem class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
42            <param name="driver" value="javax.naming.InitialContext"/>
43            <param name="url" value="java:jboss/datasources/LiferayPool"/>
44            <param name="schemaObjectPrefix" value="fs_ver_" />
45        </FileSystem>
46        <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager">
47            <param name="driver" value="javax.naming.InitialContext"/>
48            <param name="url" value="java:jboss/datasources/LiferayPool"/>
49            <param name="databaseType" value="oracle"/>   
50            <param name="schemaObjectPrefix" value="pm_ver_" />
51        </PersistenceManager>
52    </Versioning>
53    <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
54        <param name="path" value="${rep.home}/repository/index"/>
55    </SearchIndex>
56</Repository>


(also tried some other Oracle classes mentioned in other posts)

but when the repo is accessed I end up with a

 1
 212:56:09,964 INFO  [stdout] (http-/127.0.0.1:80-1) Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("LIFERAY"."PM_VER_NAMES"."ID")
 3
 412:56:09,965 INFO  [stdout] (http-/127.0.0.1:80-1)
 5
 612:56:09,965 INFO  [stdout] (http-/127.0.0.1:80-1)     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
 7
 812:56:09,966 INFO  [stdout] (http-/127.0.0.1:80-1)     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
 9
1012:56:09,966 INFO  [stdout] (http-/127.0.0.1:80-1)     at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
11
1212:56:09,966 INFO  [stdout] (http-/127.0.0.1:80-1)     at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
13
1412:56:09,966 INFO  [stdout] (http-/127.0.0.1:80-1)     at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
15
1612:56:09,967 INFO  [stdout] (http-/127.0.0.1:80-1)     at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
17
1812:56:09,967 INFO  [stdout] (http-/127.0.0.1:80-1)     at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
19
2012:56:09,967 INFO  [stdout] (http-/127.0.0.1:80-1)     at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1010)
21
2212:56:09,969 INFO  [stdout] (http-/127.0.0.1:80-1)     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
23
2412:56:09,970 INFO  [stdout] (http-/127.0.0.1:80-1)     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
25
2612:56:09,970 INFO  [stdout] (http-/127.0.0.1:80-1)     at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3677)
27
2812:56:09,971 INFO  [stdout] (http-/127.0.0.1:80-1)     at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
29
3012:56:09,971 INFO  [stdout] (http-/127.0.0.1:80-1)     at org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.execute(WrappedPreparedStatement.java:404)
31
3212:56:09,972 INFO  [stdout] (http-/127.0.0.1:80-1)     at org.apache.jackrabbit.core.persistence.bundle.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:371)
33
3412:56:09,972 INFO  [stdout] (http-/127.0.0.1:80-1)     at org.apache.jackrabbit.core.persistence.bundle.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:298)
35
3612:56:09,972 INFO  [stdout] (http-/127.0.0.1:80-1)     at org.apache.jackrabbit.core.persistence.bundle.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:261)
37
3812:56:09,973 INFO  [stdout] (http-/127.0.0.1:80-1)     at org.apache.jackrabbit.core.persistence.bundle.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:239)
39
4012:56:09,974 INFO  [stdout] (http-/127.0.0.1:80-1)     at org.apache.jackrabbit.core.persistence.bundle.NGKDbNameIndex.insertString(NGKDbNameIndex.java:61)
41
4212:56:09,974 INFO  [stdout] (http-/127.0.0.1:80-1)     ... 88 more


Which could be an attempt to insert an empty string(?)

I'm on JBoss 7.1.2.

Thanks in advance,
Nik
Nicklas Karlsson
RE: DL JCR hook against Oracle 11g
2012年5月24日 下午10:21
答复

Nicklas Karlsson

等级: New Member

帖子: 16

加入日期: 2012年3月1日

最近的帖子

Tried dropping all tables and having them re-created. Now on first attempt of reading a resource, I see nothing in the logs but the workspace .lock file is left and on refresh I end up with

  1
  205:18:33,866 INFO  [stdout] (http-/127.0.0.1:80-2) 05:18:33,863 ERROR [JCRFactoryImpl:70] Could not login to the workspace liferay
  3
  405:18:33,925 INFO  [stdout] (http-/127.0.0.1:80-2) 05:18:33,871 ERROR [ImageImpl:67] Error reading image 12120
  5
  605:18:33,926 INFO  [stdout] (http-/127.0.0.1:80-2) com.liferay.portal.kernel.exception.SystemException: javax.jcr.RepositoryException: The repository home C:\Java\AS\data\jackrabbit\home appears to be in use since the file named .lock is already locked by the current process.
  7
  805:18:33,927 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portlet.documentlibrary.store.JCRStore.getFileAsStream(JCRStore.java:443)
  9
 1005:18:33,930 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portlet.documentlibrary.store.BaseStore.getFileAsStream(BaseStore.java:354)
 11
 1205:18:33,931 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portlet.documentlibrary.store.StoreProxyImpl.getFileAsStream(StoreProxyImpl.java:153)
 13
 1405:18:33,932 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portlet.documentlibrary.store.SafeFileNameStoreWrapper.getFileAsStream(SafeFileNameStoreWrapper.java:232)
 15
 1605:18:33,932 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portlet.documentlibrary.store.DLStoreImpl.getFileAsStream(DLStoreImpl.java:250)
 17
 1805:18:33,932 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portlet.documentlibrary.store.DLStoreUtil.getFileAsStream(DLStoreUtil.java:405)
 19
 2005:18:33,933 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.model.impl.ImageImpl.getTextObj(ImageImpl.java:57)
 21
 2205:18:33,934 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.webserver.WebServerServlet.getImageBytes(WebServerServlet.java:468)
 23
 2405:18:33,934 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.webserver.WebServerServlet.writeImage(WebServerServlet.java:1034)
 25
 2605:18:33,935 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.webserver.WebServerServlet.service(WebServerServlet.java:246)
 27
 2805:18:33,936 INFO  [stdout] (http-/127.0.0.1:80-2)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
 29
 3005:18:33,936 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
 31
 3205:18:33,936 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
 33
 3405:18:33,936 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
 35
 3605:18:33,937 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
 37
 3805:18:33,938 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:414)
 39
 4005:18:33,941 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
 41
 4205:18:33,942 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
 43
 4405:18:33,973 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
 45
 4605:18:33,974 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
 47
 4805:18:33,974 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:55)
 49
 5005:18:33,974 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
 51
 5205:18:33,975 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
 53
 5405:18:33,975 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
 55
 5605:18:33,976 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
 57
 5805:18:33,976 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.servlet.filters.header.HeaderFilter.processFilter(HeaderFilter.java:150)
 59
 6005:18:33,978 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
 61
 6205:18:33,978 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
 63
 6405:18:33,979 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
 65
 6605:18:33,979 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
 67
 6805:18:33,979 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
 69
 7005:18:33,980 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
 71
 7205:18:33,980 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
 73
 7405:18:33,980 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
 75
 7605:18:33,981 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
 77
 7805:18:33,982 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
 79
 8005:18:33,982 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
 81
 8205:18:33,992 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
 83
 8405:18:33,992 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
 85
 8605:18:33,994 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
 87
 8805:18:33,995 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:208)
 89
 9005:18:33,995 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
 91
 9205:18:33,996 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
 93
 9405:18:33,996 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
 95
 9605:18:33,997 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)
 97
 9805:18:33,998 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
 99
10005:18:34,000 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
101
10205:18:34,004 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
103
10405:18:34,005 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
105
10605:18:34,006 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
107
10805:18:34,007 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
109
11005:18:34,007 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
111
11205:18:34,008 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
113
11405:18:34,008 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)
115
11605:18:34,008 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
117
11805:18:34,011 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:70)
119
12005:18:34,011 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
121
12205:18:34,012 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
123
12405:18:34,012 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
125
12605:18:34,012 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
127
12805:18:34,013 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
129
13005:18:34,013 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
131
13205:18:34,014 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
133
13405:18:34,014 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
135
13605:18:34,014 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
137
13805:18:34,015 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
139
14005:18:34,015 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
141
14205:18:34,015 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
143
14405:18:34,015 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679)
145
14605:18:34,016 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)
147
14805:18:34,017 INFO  [stdout] (http-/127.0.0.1:80-2)     at java.lang.Thread.run(Thread.java:722)
149
15005:18:34,017 INFO  [stdout] (http-/127.0.0.1:80-2) Caused by: javax.jcr.RepositoryException: The repository home C:\Java\AS\data\jackrabbit\home appears to be in use since the file named .lock is already locked by the current process.
151
15205:18:34,017 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.jackrabbit.core.util.RepositoryLock.tryLock(RepositoryLock.java:159)
153
15405:18:34,018 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.jackrabbit.core.util.RepositoryLock.acquire(RepositoryLock.java:138)
155
15605:18:34,018 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:302)
157
15805:18:34,018 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:673)
159
16005:18:34,019 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:231)
161
16205:18:34,019 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:279)
163
16405:18:34,019 INFO  [stdout] (http-/127.0.0.1:80-2)     at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:375)
165
16605:18:34,021 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.jcr.jackrabbit.JCRFactoryImpl.createSession(JCRFactoryImpl.java:67)
167
16805:18:34,022 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.jcr.JCRFactoryUtil.createSession(JCRFactoryUtil.java:61)
169
17005:18:34,022 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portal.jcr.JCRFactoryUtil.createSession(JCRFactoryUtil.java:44)
171
17205:18:34,023 INFO  [stdout] (http-/127.0.0.1:80-2)     at com.liferay.portlet.documentlibrary.store.JCRStore.getFileAsStream(JCRStore.java:423)
173
17405:18:34,023 INFO  [stdout] (http-/127.0.0.1:80-2)     ... 70 more


Any theories?
Nicklas Karlsson
RE: DL JCR hook against Oracle 11g
2012年6月1日 下午3:05
答复

Nicklas Karlsson

等级: New Member

帖子: 16

加入日期: 2012年3月1日

最近的帖子

Any help on this would be... helpful.
Miguel Ángel Júlvez
RE: DL JCR hook against Oracle 11g
2012年6月21日 上午3:49
答复

Miguel Ángel Júlvez

等级: Junior Member

帖子: 56

加入日期: 2011年3月29日

最近的帖子

Hi Nicklas,

just delete this line on your repository.xml:

<SecurityManager class="org.apache.jackrabbit.core.DefaultSecurityManager" workspaceName="security" />

Regards

Nicklas Karlsson:
Any help on this would be... helpful.
Nicklas Karlsson
RE: DL JCR hook against Oracle 11g
2012年6月21日 上午3:57
答复

Nicklas Karlsson

等级: New Member

帖子: 16

加入日期: 2012年3月1日

最近的帖子

Thanks for the tip, however, I still get the "locked by the current process"...
Miguel Ángel Júlvez
RE: DL JCR hook against Oracle 11g
2012年6月21日 上午4:06
答复

Miguel Ángel Júlvez

等级: Junior Member

帖子: 56

加入日期: 2011年3月29日

最近的帖子

Find attached a repository.xml working with derby. It's an original repository.xml from jackrabbit 2.1.2 with commented lines to make it work on liferay

Perhaps it will help you

Nicklas Karlsson:
Thanks for the tip, however, I still get the "locked by the current process"...
附件: repository.xml (5.7k)