Just an update on these Java issues we have been encountering on our new 
Mid-Tier servers. We continued to receive Java errors on the second Mid-Tier 
server and it was configured exactly like the first Mid-Tier, which we finally 
got running.

It turns out that it was an Environment variable setting in the Registry that 
was giving us all the fits.  The Mid-Tier installer set the Windows Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 
2.0\Tomcat5\Parameters\ Environment variable to path=C:\PROGRA~1\BMC

However, when we modified the Environment variable path value to C:\Program 
Files\BMC Software\ARSystem\midtier\WEB-INF\lib both servers started working 
like a charm. No more Java errors. It was a strange one but I wanted to share 
this just in case someone encounters this in the future.
Christopher Pruitt
Business Consulting III
HP Enterprises Services
[email protected]
www.hp.com<http://www.hp.com/>
[cid:[email protected]]

Confidentiality Notice: This message and any files transmitted with it are 
intended for the sole use of the entity or individual to whom it is addressed, 
and may contain information that is confidential, privileged, and exempt from 
disclosure under applicable law. If you are not the intended addressee for this 
e-mail, you are hereby notified that any copying, distribution, or 
dissemination of this e-mail is strictly prohibited. If you have received this 
e-mail in error, please immediately destroy, erase, or discard this message. 
Please notify the sender immediately by return e-mail if you have received this 
e-mail by mistake.

From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of John Sundberg
Sent: Thursday, April 05, 2012 10:12 AM
To: [email protected]
Subject: Re: At a loss with Mid-Tier 7.5 Patch 6

** Or - move it all to c:\arslib


On Thu, Apr 5, 2012 at 9:46 AM, Grooms, Frederick W 
<[email protected]<mailto:[email protected]>> wrote:
I think the spaces are messing things up. Try:

-Djava.library.path="C:\Program Files (x86)\BMC 
Software\ARSystem\midtier\WEB-INF\lib"


Fred


-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of 
Christopher Pruitt
Sent: Thursday, April 05, 2012 9:27 AM
To: [email protected]<mailto:[email protected]>
Subject: At a loss with Mid-Tier 7.5 Patch 6

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<http://www.arslist.org>
attend wwrug12 www.wwrug12.com<http://www.wwrug12.com> ARSList: "Where the 
Answers Are"



--

John Sundberg
Kinetic Data, Inc.
"Your Business. Your Process."
WWRUG10 Best Customer Service/Support Award
WWRUG09 Innovator of the Year Award

651-556-0930 I 
[email protected]<mailto:[email protected]>
www.kineticdata.com<http://www.kineticdata.com/> I 
community.kineticdata.com<http://community.kineticdata.com/>



_attend WWRUG12 www.wwrug.com<http://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"

<<inline: image001.png>>

Reply via email to