Hello,
I'm setting up a Oracle Persistence Manager. Magnolia looks like it starts ok,
and I can login in the Author Instance with a "system user" (e.g: superuser).
But when I login with another user, and enter in some workspace (like
"website"), I receive this ERROR message:
"-Couldn't instantiate info.magnolia.cms.gui.control.Tree: null
-The info.magnolia.cms.gui.control.Tree Tree class is probably using the
deprecated (String name, String repository, HttpServletRequest request)
constructor. Please use the (String name, String repository) constructor instead
-Couldn't instantiate info.magnolia.cms.gui.control.Tree: null"
My "jackrabbit-bundle-oracle-search.xml" is the following:
<Repository>
<DataSources>
<DataSource name="magnolia">
<param name="driver" value="oracle.jdbc.driver.OracleDriver" />
<param name="url" value="jdbc:oracle:thin:@127.0.0.1:1521:XE" />
<param name="user" value="user" />
<param name="password" value="password" />
<param name="databaseType" value="oracle"/>
</DataSource>
</DataSources>
<FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
<param name="path" value="${rep.home}/repository" />
</FileSystem>
<Security appName="magnolia">
<SecurityManager class="org.apache.jackrabbit.core.DefaultSecurityManager"/>
<AccessManager
class="org.apache.jackrabbit.core.security.DefaultAccessManager">
</AccessManager>
<!-- login module defined here is used by the repo to authenticate every
request. not by the webapp to authenticate user against the webapp context
(this one has to be passed before thing here gets invoked -->
<LoginModule
class="info.magnolia.jaas.sp.jcr.JackrabbitAuthenticationModule">
</LoginModule>
</Security>
<DataStore class="org.apache.jackrabbit.core.data.FileDataStore">
<param name="path" value="${rep.home}/repository/datastore"/>
<param name="minRecordLength" value="1024"/>
</DataStore>
<Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default" />
<Workspace name="default">
<FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
<param name="path" value="${wsp.home}/default" />
</FileSystem>
<PersistenceManager
class="org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager">
<param name="schema" value="oracle" />
<param name="dataSourceName" value="magnolia"/>
<param name="schemaObjectPrefix" value="${wsp.name}_" />
<param name="externalBLOBs" value="false" />
</PersistenceManager>
<SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
<param name="path" value="${wsp.home}/index" />
<param name="useCompoundFile" value="true" />
<param name="minMergeDocs" value="100" />
<param name="volatileIdleTime" value="3" />
<param name="maxMergeDocs" value="100000" />
<param name="mergeFactor" value="10" />
<param name="maxFieldLength" value="10000" />
<param name="bufferSize" value="10" />
<param name="cacheSize" value="1000" />
<param name="forceConsistencyCheck" value="false" />
<param name="autoRepair" value="true" />
<!-- see https://issues.apache.org/jira/browse/JCR-3236 for details -->
<!--param name="analyzer"
value="org.apache.lucene.analysis.standard.StandardAnalyzer" /-->
<param name="queryClass"
value="org.apache.jackrabbit.core.query.QueryImpl" />
<param name="respectDocumentOrder" value="true" />
<param name="resultFetchSize" value="2147483647" />
<param name="extractorPoolSize" value="3" />
<param name="extractorTimeout" value="100" />
<param name="extractorBackLogSize" value="100" />
</SearchIndex>
<WorkspaceSecurity>
<AccessControlProvider
class="info.magnolia.cms.core.MagnoliaAccessProvider" />
</WorkspaceSecurity>
</Workspace>
<Versioning rootPath="${rep.home}/version">
<FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
<param name="path" value="${rep.home}/workspaces/version" />
</FileSystem>
<PersistenceManager
class="org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager">
<param name="schema" value="oracle" />
<param name="dataSourceName" value="magnolia"/>
<param name="schemaObjectPrefix" value="version_" />
<param name="externalBLOBs" value="false" />
</PersistenceManager>
</Versioning>
</Repository>
I think the problem is with security config lines:
<Security appName="magnolia">
<SecurityManager class="org.apache.jackrabbit.core.DefaultSecurityManager"/>
<AccessManager
class="org.apache.jackrabbit.core.security.DefaultAccessManager">
</AccessManager>
<!-- login module defined here is used by the repo to authenticate every
request. not by the webapp to authenticate user against the webapp context
(this one has to be passed before thing here gets invoked -->
<LoginModule
class="info.magnolia.jaas.sp.jcr.JackrabbitAuthenticationModule">
</LoginModule>
</Security>
But I can“t detect where is the problem.
Thank you in advance.
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=e0e86f7a-7275-46b2-b226-646f420fe71a
----------------------------------------------------------------
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------