What the errors are saying is that the java classes can not locate the native libraries (.dll files in the case of Windows). I think on Windows the native libraries need to be in the PATH environment variable. On Unix/Linux, the native libraries (.so files) need to be in the LD_LIBRARY_PATH or LIB_PATH. The quick and dirty way to fix this is to place all the dll files into the windows\system32 directory. After altering the PATH environment variable, I believe you will need to reboot the system.
See http://www.chilkatsoft.com/java-loadLibrary-Windows.asp Keywords: jni java.lang.UnsatisfiedLinkError tomcat windows dll Axton Grams On Thu, Apr 5, 2012 at 9:47 AM, patrick zandi <remedy...@gmail.com> wrote: > ** Chris, > apache 6.0.35 -- for me worked just fine with the following versions > ars 7.1/ ITSM P5/p6 midtier 8 > ars 7.5 / ITSM 7.6 P2 midtier 00 > ars 7.5 / ITSM 7.6.03 midtier ? > ars 7.6.0.4 SP 2 / ITSM 7.6.04/sp 2 + hotfix > > -- patch the midtier with file swap not the installer. -- helpful hint > -- if upgrading tomcat, just install the tomcat and copy folders over - do > not copy work folder data > -- /conf/Catalina --/Common --/Webapps .. --/CERTS I pretty sure > that is it.. > > hope that helps. > > > On Thu, Apr 5, 2012 at 10:27 AM, Christopher Pruitt < > christopher.pru...@hp.com> wrote: > >> We are installing the BMC Remedy Mid-Tier 7.5 Patch 6 on a brand new >> server and encountering some java errors that Technical Support can't seem >> to resolve. I was hoping someone on the list has encountered this before >> and can't give me some pointers as to a resolution. >> >> Here are the details: >> >> OS/Version: Windows Server 2008 64 Bit R2 Enterprise Edition >> ARS Mid-Tier Version/Patch- 7.5 Patch 6 >> WebServer/Version- Apache Tomcat Server 5.5.28 >> JSP Engine/Version- Tomcat 5.5.28 >> Java Version - 1.6.0_30 (32-bit) >> >> >> Installed Java 6.0 32-bit version >> Installed Mid-Tier version 7.5 patch 6 and selected the Tomcat default >> install along with it. >> >> I added the following to the Java tab on the Tomcat Config tab >> >> -Djava.library.path=C:\Program Files (x86)\BMC >> Software\ARSystem\midtier\WEB-INF\lib >> >> Launched Mid-Tier Config page. Got the login screen. Entered the mid-tier >> password, pressed enter and this appeared. >> >> HTTP Status 500 - >> >> -------------------------------------------------------------------------------- >> type Exception report >> >> message >> description The server encountered an internal error () that prevented it >> from fulfilling this request. >> >> exception >> javax.servlet.ServletException: Servlet execution threw an exception >> >> root cause >> java.lang.UnsatisfiedLinkError: >> com.bmc.arsys.util.ARUtilEgcp.CCPUtilApp(Ljava/lang/String;Ljava/lang/String;)Z >> com.bmc.arsys.util.ARUtilEgcp.CCPUtilApp(Native Method) >> com.remedy.arsys.config.Configuration.login(Unknown Source) >> com.remedy.arsys.config.ConfigServlet.login(Unknown Source) >> com.remedy.arsys.config.ConfigServlet.doLogin(Unknown Source) >> com.remedy.arsys.config.ConfigServlet.performOperation(Unknown >> Source) >> com.remedy.arsys.config.ConfigServlet.doRequest(Unknown Source) >> com.remedy.arsys.config.ConfigServlet.postInternal(Unknown Source) >> com.remedy.arsys.config.ConfigServlet.doPost(Unknown Source) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:647) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:729) >> >> This is the data from the stdout_20120405.log >> >> - Trying to load configuration arsys_api.xml >> - Could not load optional configuration arsys_api.xml >> - Trying to load configuration default.xml >> - jrpcMode: true >> - jniLoadMode: 1 >> - apiRecordingMode: 0 >> - maxProxiesPerServer: 10 >> - minimumSupportedServerRpcVersion: 12 >> - connectionMaxRetries: 0 >> - timeLagBetweenRetriesMillSec: 1000 >> - stringizeFieldAssignments: false >> - stringizeSetIfQualification: false >> - useLegacyQualParser: false >> - useLegacyAssignParser: false >> - useLegacyQualFormatter: false >> - useLegacyAssignFormatter: false >> - Client sets connection limits per server to :80 >> - Client sets useConnectionPooling to : true >> - Could not load native library >> java.lang.UnsatisfiedLinkError: no arutiljni75 in java.library.path >> at java.lang.ClassLoader.loadLibrary(Unknown Source) >> at java.lang.Runtime.loadLibrary0(Unknown Source) >> at java.lang.System.loadLibrary(Unknown Source) >> at com.bmc.arsys.api.NativeLibraryLoader.load(Unknown Source) >> at com.bmc.arsys.util.ARUtilEgcp.<clinit>(Unknown Source) >> at >> com.remedy.arsys.config.Configuration.getARServerPassword(Unknown Source) >> at >> com.remedy.arsys.stubs.ServerLogin$AdminHost.getPassword(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.<init>(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.get(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.getAdmin(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.getAdmin(Unknown Source) >> at com.remedy.arsys.share.ServerInfo.get(Unknown Source) >> at com.remedy.arsys.share.Cache$ServerReaper$1.run(Unknown Source) >> Exception in thread "MidTier-ServerReaper-boap091" >> java.lang.UnsatisfiedLinkError: >> com.bmc.arsys.util.ARUtilEgcp.GCPUtil(Ljava/lang/String;)Ljava/lang/String; >> at com.bmc.arsys.util.ARUtilEgcp.GCPUtil(Native Method) >> at >> com.remedy.arsys.config.Configuration.getARServerPassword(Unknown Source) >> at >> com.remedy.arsys.stubs.ServerLogin$AdminHost.getPassword(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.<init>(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.get(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.getAdmin(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.getAdmin(Unknown Source) >> at com.remedy.arsys.share.ServerInfo.get(Unknown Source) >> at com.remedy.arsys.share.Cache$ServerReaper$1.run(Unknown Source) >> - Unable to find required classes (javax.activation.DataHandler and >> javax.mail.internet.MimeMultipart). Attachment support is disabled. >> Exception in thread "Timer-0" java.lang.UnsatisfiedLinkError: >> com.bmc.arsys.util.ARUtilEgcp.GCPUtil(Ljava/lang/String;)Ljava/lang/String; >> at com.bmc.arsys.util.ARUtilEgcp.GCPUtil(Native Method) >> at >> com.remedy.arsys.config.Configuration.getARServerPassword(Unknown Source) >> at >> com.remedy.arsys.stubs.ServerLogin$AdminHost.getPassword(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.<init>(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.get(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.getAdmin(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.getAdmin(Unknown Source) >> at >> com.remedy.arsys.prefetch.PreloadManager.loadAllActiveLinkMenus(Unknown >> Source) >> at com.remedy.arsys.prefetch.PrefetchTask.run(Unknown Source) >> at java.util.TimerThread.mainLoop(Unknown Source) >> at java.util.TimerThread.run(Unknown Source) >> ConfigServlet /arsys/servlet/ConfigServlet?action=logon >> - Servlet.service() for servlet ConfigServlet threw exception >> java.lang.UnsatisfiedLinkError: >> com.bmc.arsys.util.ARUtilEgcp.CCPUtilApp(Ljava/lang/String;Ljava/lang/String;)Z >> at com.bmc.arsys.util.ARUtilEgcp.CCPUtilApp(Native Method) >> at com.remedy.arsys.config.Configuration.login(Unknown Source) >> at com.remedy.arsys.config.ConfigServlet.login(Unknown Source) >> at com.remedy.arsys.config.ConfigServlet.doLogin(Unknown Source) >> at com.remedy.arsys.config.ConfigServlet.performOperation(Unknown >> Source) >> at com.remedy.arsys.config.ConfigServlet.doRequest(Unknown Source) >> at com.remedy.arsys.config.ConfigServlet.postInternal(Unknown >> Source) >> at com.remedy.arsys.config.ConfigServlet.doPost(Unknown Source) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) >> at >> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) >> at >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) >> at >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) >> at >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) >> at java.lang.Thread.run(Unknown Source) >> - Trying to load configuration arsys_api.xml >> - Could not load optional configuration arsys_api.xml >> - Trying to load configuration default.xml >> - jrpcMode: true >> - jniLoadMode: 1 >> - apiRecordingMode: 0 >> - maxProxiesPerServer: 10 >> - minimumSupportedServerRpcVersion: 12 >> - connectionMaxRetries: 0 >> - timeLagBetweenRetriesMillSec: 1000 >> - stringizeFieldAssignments: false >> - stringizeSetIfQualification: false >> - useLegacyQualParser: false >> - useLegacyAssignParser: false >> - useLegacyQualFormatter: false >> - useLegacyAssignFormatter: false >> - Client sets connection limits per server to :80 >> - Client sets useConnectionPooling to : true >> - Could not load native library >> java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\BMC >> Software\ARSystem\midtier\WEB-INF\lib\arutiljni75.dll: Can't find dependent >> libraries >> at java.lang.ClassLoader$NativeLibrary.load(Native Method) >> at java.lang.ClassLoader.loadLibrary0(Unknown Source) >> at java.lang.ClassLoader.loadLibrary(Unknown Source) >> at java.lang.Runtime.loadLibrary0(Unknown Source) >> at java.lang.System.loadLibrary(Unknown Source) >> at com.bmc.arsys.api.NativeLibraryLoader.load(Unknown Source) >> at com.bmc.arsys.util.ARUtilEgcp.<clinit>(Unknown Source) >> at >> com.remedy.arsys.config.Configuration.getARServerPassword(Unknown Source) >> at >> com.remedy.arsys.stubs.ServerLogin$AdminHost.getPassword(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.<init>(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.get(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.getAdmin(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.getAdmin(Unknown Source) >> at com.remedy.arsys.share.ServerInfo.get(Unknown Source) >> at com.remedy.arsys.share.Cache$ServerReaper$1.run(Unknown Source) >> Exception in thread "MidTier-ServerReaper-boap091" >> java.lang.UnsatisfiedLinkError: >> com.bmc.arsys.util.ARUtilEgcp.GCPUtil(Ljava/lang/String;)Ljava/lang/String; >> at com.bmc.arsys.util.ARUtilEgcp.GCPUtil(Native Method) >> at >> com.remedy.arsys.config.Configuration.getARServerPassword(Unknown Source) >> at >> com.remedy.arsys.stubs.ServerLogin$AdminHost.getPassword(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.<init>(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.get(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.getAdmin(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.getAdmin(Unknown Source) >> at com.remedy.arsys.share.ServerInfo.get(Unknown Source) >> at com.remedy.arsys.share.Cache$ServerReaper$1.run(Unknown Source) >> - Unable to find required classes (javax.activation.DataHandler and >> javax.mail.internet.MimeMultipart). Attachment support is disabled. >> Exception in thread "Timer-0" java.lang.UnsatisfiedLinkError: >> com.bmc.arsys.util.ARUtilEgcp.GCPUtil(Ljava/lang/String;)Ljava/lang/String; >> at com.bmc.arsys.util.ARUtilEgcp.GCPUtil(Native Method) >> at >> com.remedy.arsys.config.Configuration.getARServerPassword(Unknown Source) >> at >> com.remedy.arsys.stubs.ServerLogin$AdminHost.getPassword(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.<init>(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.get(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.getAdmin(Unknown Source) >> at com.remedy.arsys.stubs.ServerLogin.getAdmin(Unknown Source) >> at >> com.remedy.arsys.prefetch.PreloadManager.loadAllActiveLinkMenus(Unknown >> Source) >> at com.remedy.arsys.prefetch.PrefetchTask.run(Unknown Source) >> at java.util.TimerThread.mainLoop(Unknown Source) >> at java.util.TimerThread.run(Unknown Source) >> ConfigServlet /arsys/servlet/ConfigServlet?action=logon >> - Servlet.service() for servlet ConfigServlet threw exception >> java.lang.UnsatisfiedLinkError: >> com.bmc.arsys.util.ARUtilEgcp.CCPUtilApp(Ljava/lang/String;Ljava/lang/String;)Z >> at com.bmc.arsys.util.ARUtilEgcp.CCPUtilApp(Native Method) >> at com.remedy.arsys.config.Configuration.login(Unknown Source) >> at com.remedy.arsys.config.ConfigServlet.login(Unknown Source) >> at com.remedy.arsys.config.ConfigServlet.doLogin(Unknown Source) >> at com.remedy.arsys.config.ConfigServlet.performOperation(Unknown >> Source) >> at com.remedy.arsys.config.ConfigServlet.doRequest(Unknown Source) >> at com.remedy.arsys.config.ConfigServlet.postInternal(Unknown >> Source) >> at com.remedy.arsys.config.ConfigServlet.doPost(Unknown Source) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) >> at >> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) >> at >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) >> at >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) >> at >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) >> at java.lang.Thread.run(Unknown Source) >> >> >> _______________________________________________________________________________ >> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org >> attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are" >> > > > > -- > Patrick Zandi > _attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"