windows procrun - OrientDB 安装

windows procrun - OrientDB install

我一直在尝试从他们的文档页面安装 orientDB 服务:http://www.orientechnologies.com/docs/last/orientdb.wiki/Windows-Service.html

我已经使用里面的说明成功创建了服务。

这是给我的日志。

[2015-02-04 23:35:54] [info]  ( prunsrv.c:1596) [  208] Running 'OrientDBGraph' Service...
[2015-02-04 23:35:54] [debug] ( prunsrv.c:1374) [ 2348] Inside ServiceMain...
[2015-02-04 23:35:54] [debug] ( prunsrv.c:844 ) [ 2348] reportServiceStatusE: 2, 0, 3000, 0
[2015-02-04 23:35:54] [info]  ( prunsrv.c:1127) [ 2348] Starting service...
[2015-02-04 23:35:54] [debug] ( javajni.c:233 ) [ 2348] loading jvm 'C:\Program Files\Java\jre1.8.0_31\bin\server\jvm.dll'
[2015-02-04 23:35:54] [debug] ( javajni.c:278 ) [ 2348] Setting DLL search path to 'C:\Program Files\Java\jre1.8.0_31\bin\server'
[2015-02-04 23:35:54] [debug] ( javajni.c:278 ) [ 2348] Setting DLL search path to 'C:\Program Files\Java\jre1.8.0_31\bin'
[2015-02-04 23:35:54] [error] ( javajni.c:291 ) [ 2348] %1 no es una aplicación Win32 válida.
[2015-02-04 23:35:54] [error] ( prunsrv.c:1162) [ 2348] Failed creating java C:\Program Files\Java\jre1.8.0_31\bin\server\jvm.dll
[2015-02-04 23:35:54] [error] ( prunsrv.c:1162) [ 2348] %1 no es una aplicación Win32 válida.
[2015-02-04 23:35:54] [error] ( prunsrv.c:1536) [ 2348] ServiceStart returned 1
[2015-02-04 23:35:54] [error] ( prunsrv.c:1536) [ 2348] %1 no es una aplicación Win32 válida.
[2015-02-04 23:35:54] [debug] ( prunsrv.c:844 ) [ 2348] reportServiceStatusE: 1, 1066, 0, 1
[2015-02-04 23:35:54] [info]  ( prunsrv.c:1598) [  208] Run service finished.
[2015-02-04 23:35:54] [info]  ( prunsrv.c:1764) [  208] Commons Daemon procrun finished

这是我的路径

C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server0\Tools\Binn\

这与OrientDB无关。您可能安装了错误的 JVM(32 位系统需要 32 位版本,64 位系统需要 64 位版本!)