在我的Hippo项目中试图进入数据库的几天。用户“Jeroen”告诉我阅读Jackrabbit(Hippo cms and mysql on Glassfish)。
现在我正在尝试使用默认值连接JCR和“JCR Browser”:
Hippo repository via RMI:
Host : 127.0.0.1
Port : 1099
Repository Name : hipporepository
Jackrabbit repository via HTTP:
Host : localhost
Port : 8080
Jackrabbit repository via RMI:
Host : localhost
Port : 1099
Repository Name : jackrabbit.repository
Jackrabbit repository via WebDAV:
URL: http://localhost:8080/jackrabbit-webapp-2.1.0/server
并且有我的错误:
Could not connect to remot Jackrabbit using the following WebDAV URL : http://localhost:8080/jackrabbit-webapp-2.1.0/server
无法登录。请检查凭据
什么价值观好?我在哪里可以查看它们?
Mine generated workspace.xml:
<?xml version="1.0" encoding="UTF-8"?><Workspace name="default">
<FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem">
<param name="url" value="java:comp/env/jdbc/repositoryDS"/>
<param name="driver" value="javax.naming.InitialContext"/>
<param name="schemaObjectPrefix" value="${wsp.name}_"/>
<param name="schema" value="mysql"/>
</FileSystem>
<PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager">
<param name="driver" value="javax.naming.InitialContext"/>
<param name="url" value="java:comp/env/jdbc/repositoryDS"/>
<param name="schemaObjectPrefix" value="${wsp.name}_"/>
<param name="externalBLOBs" value="true"/>
<param name="consistencyCheck" value="false"/>
<param name="consistencyFix" value="false"/>
</PersistenceManager>
<SearchIndex class="org.hippoecm.repository.FacetedNavigationEngineImpl">
<param name="indexingConfiguration" value="indexing_configuration.xml"/>
<param name="indexingConfigurationClass" value="org.hippoecm.repository.query.lucene.ServicingIndexingConfigurationImpl"/>
<param name="path" value="${wsp.home}/index"/>
<param name="useCompoundFile" value="true"/>
<param name="minMergeDocs" value="1000"/>
<param name="volatileIdleTime" value="10"/>
<param name="maxMergeDocs" value="1000000000"/>
<param name="mergeFactor" value="5"/>
<param name="maxFieldLength" value="10000"/>
<param name="bufferSize" value="1000"/>
<param name="cacheSize" value="100000"/>
<param name="enableConsistencyCheck" value="true"/>
<param name="autoRepair" value="true"/>
<param name="analyzer" value="org.hippoecm.repository.query.lucene.StandardHippoAnalyzer"/>
<param name="queryClass" value="org.apache.jackrabbit.core.query.QueryImpl"/>
<param name="respectDocumentOrder" value="false"/>
<param name="resultFetchSize" value="100"/>
<param name="extractorPoolSize" value="0"/>
<param name="extractorTimeout" value="100"/>
<param name="extractorBackLogSize" value="100"/>
<param name="excerptProviderClass" value="org.apache.jackrabbit.core.query.lucene.DefaultHTMLExcerpt"/>
<!-- supportHighlighting value is ignored, see REPO-711 -->
<param name="supportHighlighting" value="false"/>
<param name="supportSimilarityOnStrings" value="true"/>
<param name="supportSimilarityOnBinaries" value="false"/>
<param name="slowAlwaysExactSizedQueryResult" value="false"/>
<param name="onWorkspaceInconsistency" value="log"/>
<!-- optional cache parameters for faceted engine. The default size
when not configured is 1000 for both parameters -->
<!-- param name="docIdSetCacheSize" value="1000"/>
<param name="facetValueCountMapCacheSize" value="1000"/-->
</SearchIndex>
<ISMLocking class="org.apache.jackrabbit.core.state.FineGrainedISMLocking"/>
</Workspace>
感谢阅读。
答案 0 :(得分:0)
Jackrabbit standalone web application仅在您运行Jackrabbit独立jar或战争时才有效,如果您运行Hippo CMS或基于Jackrabbit的任何其他CMS,则不行,所以我担心这不适用于Hippo CMS。 Hippo CMS拥有自己的JCR浏览器,称为Hippo CMS控制台,可通过http://localhost:8080/cms/console联系。