运行 iRods 休息 Tomcat 7

Running iRods Rest in Tomcat 7

我正在尝试 运行 iRods 在 Tomcat 7 中休息。唯一的问题是,当我在管理器页面中时,我有应用程序列表。所有这些 运行s 除了 iRods Rest,如果我尝试推动 "start" 我得到:

FAIL - Application at context path /irods-rest could not be started

这是我遵循的步骤:

如果您需要更多信息或问题过于具体,请告诉我。

我遇到了同样的错误,但后来我查看了 /var/log/tomcat/localhost.x-x-x.log (CentOS 7) 中包含的日志:

java.io.FileNotFoundException: /etc/irods-ext/irods-rest.properties (No such file or directory)

所以我创建了目录和属性文件:

mkdir /etc/irods-ext
vi /etc/irods-ext/irods-rest.properties

并添加了以下内容(在https://github.com/DICE-UNC/irods-rest/blob/master/docs/iRODSRESTAPIDocumentation.pdf中找到模板):

irods.host=localhost
irods.port=1247
irods.zone=tempZone
utilize.packing.streams=true
auth.type=STANDARD
default.storage.resource=
web.interface.url=
cors.allow=true

现在,在我从 Tomcat 管理器页面启动 irods-rest 应用程序后,一切似乎都正常工作了。