一年前,我在 Windows 7 32bit 下成功安装了 CQ5 作为 Windows 服务。之后我切换到 Windows 7 64bit。目前我有一个使用 CQ5 的项目,所以我再次安装它(在 Window 64bit 下)。CQ5 开始crx-quickstart/bin/start.bat
使用命令行很好。此外,使用以下命令作为服务安装时我也没有看到任何问题instsrv.bat cq5
:
Installing service cq5
runs in E:\servers\cq5-server\author\crx-quickstart
uses E:\servers\cq5-server\author\crx-quickstart\opt\helpers\\..\..\app\cq-quickstart-5.5.0-standalone.jar
starts org.apache.sling.launchpad.app.Main
redirects output to: E:\servers\cq5-server\author\crx-quickstart\logs\startup.log
但是当我运行时net start cq5
,我收到如下错误:
The cq5 service is starting.
The cq5 service could not be started.
A service specific error occurred: 0.
More help is available by typing NET HELPMSG 3547.
并检查日志文件 commons-daemon.2013-09-01.log,我看到:
[2013-09-01 23:26:36] [info] Commons Daemon procrun (1.0.8.0 64-bit) started
[2013-09-01 23:26:36] [info] Running 'cq5' Service...
[2013-09-01 23:26:36] [info] Starting service...
[2013-09-01 23:26:36] [error] Failed creating java
[2013-09-01 23:26:36] [error] The system cannot find the file specified.
[2013-09-01 23:26:36] [error] ServiceStart returned 1
[2013-09-01 23:26:36] [error] The system cannot find the file specified.
[2013-09-01 23:26:36] [info] Run service finished.
[2013-09-01 23:26:36] [info] Commons Daemon procrun finished
谁能让我知道我错了什么?
我正在按照将Adobe Experience Manager 作为 Windows 服务安装和启动中的说明进行操作