启动tomcat时出现UnsatisfiedLinkError

时间:2017-08-28 13:35:17

标签: java tomcat

我正在尝试在IBM Jazz Team Server中启用PKI / CAC身份验证。我在java.security文件中添加了以下行:

security.provider.1=com.ibm.security.capi.IBMCAC  <----- I added this line
security.provider.2=com.ibm.jsse2.IBMJSSEProvider2
security.provider.3=com.ibm.crypto.provider.IBMJCE
security.provider.4=com.ibm.security.jgss.IBMJGSSProvider
security.provider.5=com.ibm.security.cert.IBMCertPath
security.provider.6=com.ibm.security.sasl.IBMSASL
security.provider.7=com.ibm.xml.crypto.IBMXMLCryptoProvider
security.provider.8=com.ibm.xml.enc.IBMXMLEncProvider
security.provider.9=org.apache.harmony.security.provider.PolicyProvider
security.provider.10=com.ibm.security.jgss.mech.spnego.IBMSPNEGO

当我从server.xml文件中取出IBMCAC条目时,脚本工作正常。

当我尝试启动tomcat时出现以下错误:

PS C:\ Program Files \ IBM \ JazzTeamServer \ server&gt; \ server.startup.bat

Using CATALINA_BASE:   "C:\Program Files\IBM\JazzTeamServer\server\tomcat"
Using CATALINA_HOME:   "C:\Program Files\IBM\JazzTeamServer\server\tomcat"
Using CATALINA_TMPDIR: "C:\Program Files\IBM\JazzTeamServer\server\tomcat\temp"
Using JRE_HOME:        "C:\Program Files\IBM\JazzTeamServer\server\jre"
Using CLASSPATH:       "C:\Program Files\IBM\JazzTeamServer\server\tomcat\bin\bootstrap.jar;C:\Program Files\IBM\JazzTeamServer\server\tomcat\bin\tomcat-juli.jar"
java.lang.UnsatisfiedLinkError: ibmcac (Not found in java.library.path)
        at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1035)
        at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:999)
        at java.lang.System.loadLibrary(System.java:507)
        at com.ibm.security.capi.IBMCAC$1.run(IBMCAC.java:58)
...
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:280)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:454)
PS C:\Program Files\IBM\JazzTeamServer\server>

1 个答案:

答案 0 :(得分:0)

JVM找不到ibmcac.dll文件。

检查路径环境变量。