LJ -

The service is running as the "Local System Account", not as  specific user.  
And the plugin server (and all of the others) have the specific java path:

"C:\Program Files\Java\jre7\bin\java" -Xmx512m -classpath "C:\Program Files\BMC 
Software\ARSystem\pluginsvr;C:\Program Files\BMC 
Software\ARSystem\pluginsvr\arpluginsvr81_build001.jar;C:\Program Files\BMC 
Software\ARSystem\approval\bin\armaskingImpl81_build001.jar;C:\Program 
Files\BMC Software\ARSystem\arserver\api\lib\arcmnapp81_build001.jar" 
com.bmc.arsys.pluginsvr.ARPluginServerMain -x RemedyBill -i "C:\Program 
Files\BMC Software\ARSystem" -m

Here's an interesting thing to note.  I commented out everything in 
armonitor.cfg except this line:

Monitor-directory: "C:\Program Files\BMC Software\ARSystem"
"C:\Program Files\BMC Software\ARSystem\arserver.exe"  -i "C:\Program Files\BMC 
Software\ARSystem" -l "C:\Program Files\Common Files\AR 
System\Licenses\RemedyBill" -m

...and I still get the errors.  So then I deleted everything but that line, 
double checked that I saved, and started it again.   I still get the errors, 
AND it's starting stuff up that should NOT be started.  For example, the recon 
engine is not in the armonitor.cfg file anymore, but it started it anyway.

I'm starting to think something is very, very wrong with this VM maybe.

From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of LJ LongWing
Sent: Thursday, August 21, 2014 11:47 AM
To: [email protected]
Subject: Re: Java plugin server/armonitor pathing

**
William,
What is the line in armonitor.conf?... does it start of as java abc, or is it 
c:\prog*\java?  If it's just Java, try fully qualifying the line to the 
'proper' java.

Is your Remedy running as 'system', or as a user?  If it's running as a user, 
then that user account could have its own environment variables that you might 
not be seeing when you are remoted into the server that could be causing issues.

Looking at your path, I see that you actually have your jre7 in your path 
twice...first is 4th from the front, second is 4th from the end...that 
shouldn't hurt anything, but it doesn't need to be there either :)

On Thu, Aug 21, 2014 at 10:31 AM, William Rentfrow 
<[email protected]<mailto:[email protected]>> wrote:
**
Hi listers -

I've been working on a vanilla 8.1 install as I've had time for a sandbox I can 
test stuff in.   Windows Server 2008R2, SQL Server (remote box), Tomcat.  At 
this point only ARS and CMDB, and Atrium Integrator are installed.

During the course of the ARS install I installed JRE 8, which ended up not 
being compatible.  So I downgraded to JRE 7 and everything worked fine, except 
the java plugin process (and a few other things) will not start up correctly 
when invoked by armonitor.exe.

What I can't figure out is where a reference to the JRE 8 is coming from in the 
armonitor.log file.  I see this right after the plugin server is supposed to 
start:

Thu Aug 21 11:06:51 2014     Invalid argument : "C:\Program 
Files\Java\jre8\bin\java" -Xmx512m -classpath "C:\Program Files\BMC 
Software\ARSystem\pluginsvr;C:\Program Files\BMC 
Software\ARSystem\pluginsvr\arpluginsvr81_build001.jar;C:\Program Files\BMC 
Software\ARSystem\approval\bin\
Obviously it's referencing the wrong JRE in there, but I have NO idea where it 
is coming from.  The armonitor.conf does NOT have any references to JRE8.  I've 
checked it several times, and I've had other eyes on it too.

I have searched the entire registry, changed a couple of wrong JRE references, 
bounced the box, and that didn't fix it.
I have verified the PATH is correct:
Path=C:\Program Files\BMC Software\ARSystem\artools;C:\Program Files\BMC 
Software\ARSystem;C:\Program Files\BMC Software\ARSystem\pluginsvr;C:\Program 
Files\Java\jre7\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
 Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL 
Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL 
Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL 
Server\100\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL 
Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 
9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files\BMC 
Software\ARSystem\dataimporttool; C:\Program Files\BMC 
Software\ARSystem\midtier\WEB-INF\lib;C:\Program Files\Java\jre7\bin;C:\Program 
Files\BMC Software\AtriumCore\cmdb\sdk\bin;C:\Program Files\BMC Sof
tware\AtriumCore\cmdb\plugins;C:\Program Files\BMC 
Software\AtriumCore\cmdb\plugins\ne;

The JRE_HOME and JAVA_HOME environment variables are set correctly.  In fact, I 
checked the environment and there are no references to JRE8 at all.  There was 
a point where the PATH was wrong, but I fixed that and bounced the box.

And, if I copy+paste the java plugin line from armonitor.conf into a dos 
window, it works and starts up fine.

Any idea where the wrong path is coming from?

Thanks -

William Rentfrow
_ARSlist: "Where the Answers Are" and have been for 20 years_

_ARSlist: "Where the Answers Are" and have been for 20 years_
________________________________
No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 2014.0.4745 / Virus Database: 4007/8066 - Release Date: 08/19/14

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to