无法加载库':找不到指定的模块

时间:2016-09-15 11:43:08

标签: java windows yajsw

我正在尝试使用yajsw-stable-11.11包装器将java应用程序作为Windows服务运行。

我正在使用下面的组合[1],但是获得异常[2],而相同的wrapper.conf正在另一个相同的Windows实例中工作,我使用的是相同的版本。请帮忙。

[1]

yajsw稳定-11.11

jdk1.7.0_51

Windows Server 2012 / 6.2 / amd64

[2]

INFO|-1/0|"Test Server"|16-09-01 15:25:59| gobler terminated OUTPUT -1 java.lang.NullPointerException
INFO|-1/0|"Test Server"|16-09-01 15:25:59|gobler terminated OUTPUT -1Exception in thread "yajsw.controller-2" java.lang.UnsatisfiedLinkError: Unableto load library 'c': The specified module could not be found. 
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:169) 
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:242) 
at com.sun.jna.Library$Handler.<init>(Library.java:140) 
at com.sun.jna.Native.loadLibrary(Native.java:368) 
at com.sun.jna.Native.loadLibrary(Native.java:353) 
at org.rzo.yajsw.os.posix.PosixProcess$CLibrary.<clinit>(PosixProcess.java:60) 
at org.rzo.yajsw.os.posix.PosixProcess.destroy(PosixProcess.java:558) 
at org.rzo.yajsw.wrapper.AbstractWrappedProcess.stopOsProcess(AbstractWrappedProcess.java:2082) 
at org.rzo.yajsw.wrapper.AbstractWrappedProcess.stopInternal(AbstractWrappedProcess.java:1996) 
at org.rzo.yajsw.wrapper.AbstractWrappedProcess.restartInternal(AbstractWrappedProcess.java:2550) 
at org.rzo.yajsw.wrapper.WrappedJavaProcess$2.fire(WrappedJavaProcess.java:557) 
at org.rzo.yajsw.controller.AbstractController.handleListeners(AbstractController.java:108) 
at org.rzo.yajsw.controller.AbstractController.setState(AbstractController.java:146) 
at org.rzo.yajsw.controller.jvm.JVMController$4$1.run(JVMController.java:701) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
at java.lang.Thread.run(Unknown Source)
INFO|-1/0|"Test Server"|16-09-01 15:25:59| gobler terminated ERROR -1 java.lang.NullPointerException
INFO|-1/0|"Test Server"|16-09-01 15:25:59|gobler terminated ERROR -1

0 个答案:

没有答案