在此服务器上找不到Alfresco存储库。此应用程序是否具有跨上下文权限?)

在此服务器上找不到Alfresco存储库。此应用程序是否具有跨上下文权限?),alfresco,alfresco-share,Alfresco,Alfresco Share,安装Alfresco WAR后,我在启动后的浏览器中收到错误消息:“在此服务器上找不到Alfresco存储库。(此应用程序是否可以访问Alfresco-global.properties?此应用程序是否具有跨上下文权限?) 下面是我的alfresco-global.properties文件 # # Set this property unless you have explicitly chosen to expose some repository APIs without authentic

安装Alfresco WAR后,我在启动后的浏览器中收到错误消息:“在此服务器上找不到Alfresco存储库。(此应用程序是否可以访问Alfresco-global.properties?此应用程序是否具有跨上下文权限?)

下面是我的alfresco-global.properties文件

#
# Set this property unless you have explicitly chosen to expose some repository APIs without authentication
#solr.secureComms=https

#
# Custom content and index data location
#
dir.root=/srv/alfresco/alf_data
dir.keystore=${dir.root}/keystore

#
# Sample database connection properties
db.name=alfresco
db.username=alfresco
db.password=alfresco
db.host=localhost
db.port=5432


#
# Choose DB connection properties for your database, e.g. for PostgreSQL
#
db.driver=org.postgresql.Driver
db.url=jdbc:postgresql://localhost:5432/alfresco

#
# URL Generation Parameters (The ${localname} token is replaced by the local server name)
#-------------
alfresco.context=alfresco
alfresco.host=${localname}
alfresco.port=8080
alfresco.protocol=http
share.context=share
share.host=${localname}
share.port=8080
share.protocol=http





index.subsystem.name=solr6
solr.secureComms=none
solr.port=8983


日志将为您提供错误堆栈中的所有提示:

部署部署描述符[/Users/mbyousaf/Desktop/Tomcat/conf/Catalina/localhost/alfresco.xml]时出错

表示部署描述符在配置的模块包路径中有错误:

基本路径和内部路径[/Users/mbyousaf/Desktop/Tomcat/。/modules/platform]/[]指定的目录不存在。


因此tomcat根本没有启动部署的war。

是否生成了
alfresco.log
文件?发布的日志显示alfresco无法启动,但不是我在tomcat上检查日志文件的原因没有生成alfresco.log文件。我很抱歉,因为这是我第一次安装软件。我是否进入我的tomcat目录并创建e文件夹/模块/平台?由于我所关注的文档中没有提到这一点,您要么删除部署描述符,要么按照部署描述符中的配置创建目录
#
# Set this property unless you have explicitly chosen to expose some repository APIs without authentication
#solr.secureComms=https

#
# Custom content and index data location
#
dir.root=/srv/alfresco/alf_data
dir.keystore=${dir.root}/keystore

#
# Sample database connection properties
db.name=alfresco
db.username=alfresco
db.password=alfresco
db.host=localhost
db.port=5432


#
# Choose DB connection properties for your database, e.g. for PostgreSQL
#
db.driver=org.postgresql.Driver
db.url=jdbc:postgresql://localhost:5432/alfresco

#
# URL Generation Parameters (The ${localname} token is replaced by the local server name)
#-------------
alfresco.context=alfresco
alfresco.host=${localname}
alfresco.port=8080
alfresco.protocol=http
share.context=share
share.host=${localname}
share.port=8080
share.protocol=http





index.subsystem.name=solr6
solr.secureComms=none
solr.port=8983