Re: Vmware integration

"Roskens, Ronald" <[email protected]> Tue, 20 Jun 2017 14:00:18 +0000
Newsgroups gmane.network.opennms.install
Message-ID <B6663E208B2DA14DBB3C6FABB9207F78AB9407AD@biusmb4>
--===============8873829659359309133==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_B6663E208B2DA14DBB3C6FABB9207F78AB9407ADbiusmb4_"

--_000_B6663E208B2DA14DBB3C6FABB9207F78AB9407ADbiusmb4_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

This is definitely a bug. Can you file one on issues.opennms.org?

From: Patrick Tanis [mailto:[email protected]]
Sent: Monday, June 19, 2017 6:29 PM
To: [email protected]
Subject: [opennms-install] Vmware integration

I am trying to implement vmware integration in opennms. When I try this com=
mand :
/opt/opennms/bin/vmwarecimquery <hostname> <username> <password>
(Hostname is the IP address of the VCA)

I got this error :

Trying to connect to 192.168.1.100... SLF4J: Failed to load class "org.slf4=
j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further d=
etails.
Exception in thread "main" java.lang.NoClassDefFoundError: org/opennms/core=
/utils/AnyServerX509TrustManager
        at org.opennms.protocols.vmware.VmwareViJavaAccess.relax(VmwareViJa=
vaAccess.java:260)
        at org.opennms.protocols.vmware.VmwareViJavaAccess.connect(VmwareVi=
JavaAccess.java:207)
        at org.opennms.protocols.vmware.VmwareCimQuery.cimQuery(VmwareCimQu=
ery.java:66)
        at org.opennms.protocols.vmware.VmwareCimQuery.main(VmwareCimQuery.=
java:211)
Caused by: java.lang.ClassNotFoundException: org.opennms.core.utils.AnyServ=
erX509TrustManager
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 4 more

Any help would be appreciable.

Patrick Tanis

----------------------------------------------------------------------
This e-mail message is being sent solely for use by the intended recipient(=
s) and may contain confidential information. Any unauthorized review, use, =
disclosure or distribution is prohibited. If you are not the intended recip=
ient, please contact the sender by phone or reply by e-mail, delete the ori=
ginal message and destroy all copies. Thank you.

--_000_B6663E208B2DA14DBB3C6FABB9207F78AB9407ADbiusmb4_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii">
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 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:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">This is definitely a b=
ug. Can you file one on issues.opennms.org?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Patrick =
Tanis [mailto:[email protected]]
<br>
<b>Sent:</b> Monday, June 19, 2017 6:29 PM<br>
<b>To:</b> [email protected]<br>
<b>Subject:</b> [opennms-install] Vmware integration<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I am trying to implement vmware integration in openn=
ms. When I try this command :
<o:p></o:p></p>
<div style=3D"border:solid #DDDDDD 1.0pt;padding:12.0pt 12.0pt 12.0pt 12.0p=
t">
<p class=3D"MsoNormal" style=3D"line-height:15.6pt;background:#F9F9F9"><spa=
n style=3D"font-size:10.5pt;font-family:&quot;Courier New&quot;;color:black=
">/opt/opennms/bin/vmwarecimquery &lt;hostname&gt; &lt;username&gt; &lt;pas=
sword&gt;<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal">(Hostname is the IP address of the VCA)<o:p></o:p></=
p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I got this error :<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Trying to connect to 192.168.1.100... SLF4J: Failed =
to load class &quot;org.slf4j.impl.StaticLoggerBinder&quot;.<o:p></o:p></p>
<p class=3D"MsoNormal">SLF4J: Defaulting to no-operation (NOP) logger imple=
mentation<o:p></o:p></p>
<p class=3D"MsoNormal">SLF4J: See <a href=3D"http://www.slf4j.org/codes.htm=
l#StaticLoggerBinder">
http://www.slf4j.org/codes.html#StaticLoggerBinder</a> for further details.=
<o:p></o:p></p>
<p class=3D"MsoNormal">Exception in thread &quot;main&quot; java.lang.NoCla=
ssDefFoundError: org/opennms/core/utils/AnyServerX509TrustManager<o:p></o:p=
></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.op=
ennms.protocols.vmware.VmwareViJavaAccess.relax(VmwareViJavaAccess.java:260=
)<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.op=
ennms.protocols.vmware.VmwareViJavaAccess.connect(VmwareViJavaAccess.java:2=
07)<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.op=
ennms.protocols.vmware.VmwareCimQuery.cimQuery(VmwareCimQuery.java:66)<o:p>=
</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;at org.op=
ennms.protocols.vmware.VmwareCimQuery.main(VmwareCimQuery.java:211)<o:p></o=
:p></p>
<p class=3D"MsoNormal">Caused by: java.lang.ClassNotFoundException: org.ope=
nnms.core.utils.AnyServerX509TrustManager<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.n=
et.URLClassLoader.findClass(URLClassLoader.java:381)<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.l=
ang.ClassLoader.loadClass(ClassLoader.java:424)<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.mi=
sc.Launcher$AppClassLoader.loadClass(Launcher.java:335)<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.l=
ang.ClassLoader.loadClass(ClassLoader.java:357)<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... 4 mor=
e<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Any help would be appreciable.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Patrick Tanis<o:p></o:p></p>
</div>
</div>

<HR>This e-mail message is being sent solely for use by the intended recipi=
ent(s) and may contain confidential information. Any unauthorized review, u=
se, disclosure or distribution is prohibited. If you are not the intended r=
ecipient, please contact the sender by phone or reply by e-mail, delete the=
 original message and destroy all copies. Thank you.<BR>
</body>
</html>

--_000_B6663E208B2DA14DBB3C6FABB9207F78AB9407ADbiusmb4_--


--===============8873829659359309133==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============8873829659359309133==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
--===============8873829659359309133==--