<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Greetings…<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Have downloaded one-1.3.8 to integrate w/ our environment. Am
attempting to connect two a couple of ESX (v4.0 and v3.5) systems and am
getting the following error (while running one_im_vmware manually):<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>$ ./one_im_vmware --username abc --password xxx --ignorecert<o:p></o:p></p>
<p class=MsoNormal>+ DRIVER_NAME=im_vmware<o:p></o:p></p>
<p class=MsoNormal>+ '[' -z /srv/cloud/one ']'<o:p></o:p></p>
<p class=MsoNormal>+ DRIVERRC=/srv/cloud/one/etc/im_vmware/im_vmwarerc<o:p></o:p></p>
<p class=MsoNormal>+ MADCOMMON=/srv/cloud/one/lib/mads/madcommon.sh<o:p></o:p></p>
<p class=MsoNormal>+ . /srv/cloud/one/lib/mads/madcommon.sh<o:p></o:p></p>
<p class=MsoNormal>++ '[' -z /srv/cloud/one ']'<o:p></o:p></p>
<p class=MsoNormal>++ DEFAULTRC=/srv/cloud/one/etc/defaultrc<o:p></o:p></p>
<p class=MsoNormal>++ export_rc_vars /srv/cloud/one/etc/defaultrc<o:p></o:p></p>
<p class=MsoNormal>++ '[' -f /srv/cloud/one/etc/defaultrc ']'<o:p></o:p></p>
<p class=MsoNormal>+++ cat /srv/cloud/one/etc/defaultrc<o:p></o:p></p>
<p class=MsoNormal>+++ egrep -e '^[a-zA-Z\-\_0-9]*='<o:p></o:p></p>
<p class=MsoNormal>+++ sed 's/=.*$//'<o:p></o:p></p>
<p class=MsoNormal>++ ONE_VARS='ONE_MAD_DEBUG PRIORITY'<o:p></o:p></p>
<p class=MsoNormal>++ . /srv/cloud/one/etc/defaultrc<o:p></o:p></p>
<p class=MsoNormal>+++ ONE_MAD_DEBUG=<o:p></o:p></p>
<p class=MsoNormal>+++ PRIORITY=19<o:p></o:p></p>
<p class=MsoNormal>++ for v in '$ONE_VARS'<o:p></o:p></p>
<p class=MsoNormal>++ export ONE_MAD_DEBUG<o:p></o:p></p>
<p class=MsoNormal>++ for v in '$ONE_VARS'<o:p></o:p></p>
<p class=MsoNormal>++ export PRIORITY<o:p></o:p></p>
<p class=MsoNormal>++ '[' -z 19 ']'<o:p></o:p></p>
<p class=MsoNormal>+ export_rc_vars /srv/cloud/one/etc/im_vmware/im_vmwarerc<o:p></o:p></p>
<p class=MsoNormal>+ '[' -f /srv/cloud/one/etc/im_vmware/im_vmwarerc ']'<o:p></o:p></p>
<p class=MsoNormal>++ cat /srv/cloud/one/etc/im_vmware/im_vmwarerc<o:p></o:p></p>
<p class=MsoNormal>++ egrep -e '^[a-zA-Z\-\_0-9]*='<o:p></o:p></p>
<p class=MsoNormal>++ sed 's/=.*$//'<o:p></o:p></p>
<p class=MsoNormal>+ ONE_VARS='VMWARE_TRUSTORE ONE_MAD_DEBUG'<o:p></o:p></p>
<p class=MsoNormal>+ . /srv/cloud/one/etc/im_vmware/im_vmwarerc<o:p></o:p></p>
<p class=MsoNormal>++
VMWARE_TRUSTORE=/srv/cloud/one/vmware-cert/vmware.keystore<o:p></o:p></p>
<p class=MsoNormal>++ ONE_MAD_DEBUG=1<o:p></o:p></p>
<p class=MsoNormal>+ for v in '$ONE_VARS'<o:p></o:p></p>
<p class=MsoNormal>+ export VMWARE_TRUSTORE<o:p></o:p></p>
<p class=MsoNormal>+ for v in '$ONE_VARS'<o:p></o:p></p>
<p class=MsoNormal>+ export ONE_MAD_DEBUG<o:p></o:p></p>
<p class=MsoNormal>+ LOG_FILE=im_vmware<o:p></o:p></p>
<p class=MsoNormal>+ MAD_FILE=OneImVmware<o:p></o:p></p>
<p class=MsoNormal>+ '[' -z /srv/cloud/one ']'<o:p></o:p></p>
<p class=MsoNormal>+ MAD_LOG_PATH=/srv/cloud/one/var/im_vmware.log<o:p></o:p></p>
<p class=MsoNormal>+ '[' -n 1 ']'<o:p></o:p></p>
<p class=MsoNormal>+ exec nice -n 19 java -cp
/srv/cloud/one/lib/mads::/usr/local/axis-1_4//lib/axis-ant.jar:/usr/local/axis-1_4//lib/axis.jar:/usr/local/axis-1_4//lib/commons-discovery-0.2.jar:/usr/local/axis-1_4//lib/commons-logging-1.0.4.jar:/usr/local/axis-1_4//lib/jaxrpc.jar:/usr/local/axis-1_4//lib/log4j-1.2.8.jar:/usr/local/axis-1_4//lib/saaj.jar:/usr/local/axis-1_4//lib/wsdl4j-1.5.1.jar:/usr/lib/jvm/java-1.5.0-sun//lib/tools.jar:/usr/local/visdk//samples/Axis/java/apputils.jar:/usr/local/visdk//samples/Axis/java/credstore.jar:/usr/local/visdk//samples/Axis/java/samples.jar:/usr/local/visdk//samples/Axis/java/vim25.jar:/usr/local/visdk//samples/Axis/java/vim.jar:/usr/local/visdk//samples/Axis/java/lib/activation.jar:/usr/local/visdk//samples/Axis/java/lib/jaxen-core.jar:/usr/local/visdk//samples/Axis/java/lib/jaxen-jdom.jar:/usr/local/visdk//samples/Axis/java/lib/jdom.jar:/usr/local/visdk//samples/Axis/java/lib/mailapi.jar:/usr/local/visdk//samples/Axis/java/lib/saxpath.jar:/usr/local/visdk//samples/Axis/java/lib/smtp.jar:/usr/local/visdk//samples/Axis/java/lib/wbem.jar:/usr/local/visdk//samples/Axis/java/lib/xalan.jar:/usr/local/visdk//samples/Axis/java/lib/xerces.jar:/usr/local/visdk//samples/Axis/java/lib/xml-apis.jar
-Ddebug=1 -Djavax.net.ssl.trustStorepassword=xyz
-Djavax.net.ssl.trustStore=/srv/cloud/one/vmware-cert/vmware.keystore -Xmx1024M
OneImVmware --username root --password xxx --ignorecert<o:p></o:p></p>
<p class=MsoNormal>INIT<o:p></o:p></p>
<p class=MsoNormal>INIT SUCCESS<o:p></o:p></p>
<p class=MsoNormal>MONITOR 0 erpesx90.localdomain<o:p></o:p></p>
<p class=MsoNormal>Started <o:p></o:p></p>
<p class=MsoNormal>Ended GetProperty<o:p></o:p></p>
<p class=MsoNormal>Failed monitoring host erpesx90.localdomain<o:p></o:p></p>
<p class=MsoNormal>java.lang.NumberFormatException: For input string:
"68713914368"<o:p></o:p></p>
<p class=MsoNormal> at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)<o:p></o:p></p>
<p class=MsoNormal> at
java.lang.Integer.parseInt(Integer.java:459)<o:p></o:p></p>
<p class=MsoNormal> at
java.lang.Integer.parseInt(Integer.java:497)<o:p></o:p></p>
<p class=MsoNormal> at
OneImVmware.loop(OneImVmware.java:159)<o:p></o:p></p>
<p class=MsoNormal> at
OneImVmware.main(OneImVmware.java:60)<o:p></o:p></p>
<p class=MsoNormal>MONITOR FAILURE 0 Failed monitoring host
erpesx90.localdomain.<o:p></o:p></p>
<p class=MsoNormal>finalize<o:p></o:p></p>
<p class=MsoNormal>FINALIZE SUCCESS<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>One quick note: <o:p></o:p></p>
<p class=MsoNormal> . I used the –ignorecert as I’m
getting SSL handshake problems; I’ve tried hostname and fqdn, but neither
solves that issue. The ignorecert is a temp. workaround. Have found discussions
about the need for FQDN/etc, and will chase that one down soon.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>The crash above is happening when acquiring the memory from
the ESX hosts, at this point (OneImVmware.java, line159):<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>
int totalMemory = <o:p></o:p></p>
<p class=MsoNormal>
Integer.parseInt(gP.getObjectProperty("hard<o:p></o:p></p>
<p class=MsoNormal>ware.memorySize").toString().trim());<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>The other box is a 32GB system and is showing the same
error.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Have both a 32bit and 64bit server where Nebula is installed
and both are giving the same error message. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>My java is rather rusty, but is this converting from string
to integer, or vice-versa? A quick look at the GetObjectProperty seems to
indicate that getObjectProperty is returning a string. May make sense, but it’s
strange that I’m getting this errors but haven’t seem something
like this in the archives.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thoughts? <o:p></o:p></p>
<p class=MsoNormal>Thanks in advance,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>_____</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
<p class=MsoNormal><b><span style='font-family:"Arial","sans-serif"'>Eloy F.
'Frank' Macha</span></b><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>ERP
Technology Services</span><o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>AtosOrigin,
Inc.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>6504
International Parkway, Ste 1050<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Plano,
TX 75093</span><o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Office:
+1 469-533-6525</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Cell:
+1 972 814 4979</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Fax:
+1 469-533-6502</span><o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>email:
</span><a href="mailto:frank.macha@atosorigin.com"><span style='font-size:7.5pt;
font-family:"Arial","sans-serif";color:blue'>frank.macha@atosorigin.com</span></a><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'><a
href="http://www.atosorigin.com"><span style='color:blue'>www.atosorigin.com</span></a></span><o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>