<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk Add-on for Java Management Extension: ERROR  - Failed to retrieve RMIServer stub in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174553#M16828</link>
    <description>&lt;P&gt;Hi Jens,&lt;/P&gt;

&lt;P&gt;sorry, no helping answer so far &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
In case I get an answer, or get itz to work somehow, I will let all know, as I thought, that others might stumble at this point as well.&lt;/P&gt;

&lt;P&gt;Cheers, Chris&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2015 12:41:17 GMT</pubDate>
    <dc:creator>choehser</dc:creator>
    <dc:date>2015-09-28T12:41:17Z</dc:date>
    <item>
      <title>Splunk Add-on for Java Management Extension: ERROR  - Failed to retrieve RMIServer stub</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174550#M16825</link>
      <description>&lt;P&gt;Even after disabling the Firewalls on the Splunk Server, and on the JMX server (WebSphere Application Server), I get these errors:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2015-08-14 15:48:33,810 - com.splunk.modinput.ModularInput -610084 [Thread-7] ERROR  - Failed to retrieve RMIServer stub: javax.naming.NamingException: Error during resolve [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible  vmcid: IBM  minor code: E07  completed: No]
2015-08-14 15:48:33,852 - org.exolab.castor.mapping.Mapping -610126 [Thread-7] INFO   - Loading mapping descriptors from jar:file:/opt/splunk/etc/apps/Splunk_TA_jmx/bin/lib/jmxmodinput.jar!/mapping.xml
2015-08-14 15:48:33,957 - com.splunk.modinput.ModularInput -610231 [Thread-7] INFO   - 1 servers found in stanza jmx://_Splunk_TA_jmx_:Splunk_TA_jmx:PerformanceMonitoring
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any help is welcome!&lt;/P&gt;

&lt;P&gt;Regards Chris&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2015 13:57:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174550#M16825</guid>
      <dc:creator>choehser</dc:creator>
      <dc:date>2015-08-14T13:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Java Management Extension: ERROR  - Failed to retrieve RMIServer stub</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174551#M16826</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I've the same problem. Did you have already found any solution for this?&lt;/P&gt;

&lt;P&gt;Regards Jens&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 09:10:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174551#M16826</guid>
      <dc:creator>jenshaizmann</dc:creator>
      <dc:date>2015-09-22T09:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Java Management Extension: ERROR  - Failed to retrieve RMIServer stub</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174552#M16827</link>
      <description>&lt;P&gt;I'm wondering if you've followed the WAS directions (&lt;A href="http://docs.splunk.com/Documentation/AddOns/latest/IBMWAS/About"&gt;http://docs.splunk.com/Documentation/AddOns/latest/IBMWAS/About&lt;/A&gt; ), which call for an IIOP connection rather than an RMI connection? &lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2015 20:47:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174552#M16827</guid>
      <dc:creator>jcoates_splunk</dc:creator>
      <dc:date>2015-09-26T20:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Java Management Extension: ERROR  - Failed to retrieve RMIServer stub</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174553#M16828</link>
      <description>&lt;P&gt;Hi Jens,&lt;/P&gt;

&lt;P&gt;sorry, no helping answer so far &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
In case I get an answer, or get itz to work somehow, I will let all know, as I thought, that others might stumble at this point as well.&lt;/P&gt;

&lt;P&gt;Cheers, Chris&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 12:41:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174553#M16828</guid>
      <dc:creator>choehser</dc:creator>
      <dc:date>2015-09-28T12:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Java Management Extension: ERROR  - Failed to retrieve RMIServer stub</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174554#M16829</link>
      <description>&lt;P&gt;I tried to follow the "guide", but not sure if I understood everything the way it was meant, but I tried to...&lt;/P&gt;

&lt;P&gt;The URL used, is&lt;BR /&gt;
service:jmx:iiop://badportal/jndi/corbaname:iiop:badportal:10034/WsnAdminNameService#JMXConnector&lt;BR /&gt;
this is about what is written as sample in the guide.&lt;/P&gt;

&lt;P&gt;I read this as :&lt;BR /&gt;
jmx over iiop.&lt;/P&gt;

&lt;P&gt;Hope it helps to get over this &lt;/P&gt;

&lt;P&gt;Thx, Chris&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 12:53:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174554#M16829</guid>
      <dc:creator>choehser</dc:creator>
      <dc:date>2015-09-28T12:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Java Management Extension: ERROR  - Failed to retrieve RMIServer stub</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174555#M16830</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Just wondering if any one has found a solution to his?&lt;/P&gt;

&lt;P&gt;Can't seem to move past this.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 03:41:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174555#M16830</guid>
      <dc:creator>vu_le</dc:creator>
      <dc:date>2015-10-16T03:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Java Management Extension: ERROR  - Failed to retrieve RMIServer stub</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174556#M16831</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;I found a solution to get the addon working on a splunk indexer with WAS jmx connection and enabled administrative security.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;1. Download IBM SDK&lt;/STRONG&gt;&lt;BR /&gt;
download version 7 from &lt;A href="http://www.ibm.com/developerworks/java/jdk/eclipse" target="_blank"&gt;http://www.ibm.com/developerworks/java/jdk/eclipse&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;2. Set environment variables&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;JAVA_HOME=D:\ibm_sdk70
SPLUNK_HOME=D:\Splunk
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;3. copy WAS' trust store to splunk instance&lt;/STRONG&gt;&lt;BR /&gt;
copy trust store to "D:/Splunk/etc/apps/Splunk_TA_jmx/trust.p12"&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;4. Enhance addon's jmx.py&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# Set to True to use the MX4J JMX implementation
# USE_MX4J = True

# Set to True to test SSL
#TEST_SSL = True
TEST_SSL = False

[...]

#BOOTPATH = build_classpath(sep.join([MODINPUT_HOME, 'bin', 'lib', 'boot']), psep)
#if USE_MX4J:
#    BOOTPATH = BOOTPATH + build_classpath(sep.join([MODINPUT_HOME, 'bin', 'lib', 'mx4j_boot']), psep)
#"-Xbootclasspath/p:" + BOOTPATH,

JAVA_ARGS = [JAVA_EXECUTABLE, "-classpath", CLASSPATH,
    #"-Dcom.ibm.CORBA.enableClientCallbacks=true", # unknown property was set while testing
    "-Dcom.ibm.CORBA.ConfigURL=file:D:\\Splunk\\etc\\apps\\Splunk_TA_jmx\\sas.client.props", # required for a secure connection to WAS
    "-Dcom.ibm.SSL.ConfigURL=file:D:\\Splunk\\etc\\apps\\Splunk_TA_jmx\\ssl.client.props", # required for a secure connection to WAS
    #"-Dcom.ibm.CORBA.Debug=true", # enable this to debug
    #"-Dcom.ibm.CORBA.CommTrace=true", # enable this to debug
    #"-Dcom.ibm.CORBA.Debug.Output=D\\Splunk\\etc\\apps\\Splunk_TA_jmx\\corba.log", # enable this to debug
    "-Xms" + MIN_HEAP,
    "-Xmx" + MAX_HEAP, "-Dconfighome=" + CONFIG_HOME,
    "-Dsplunkhome=" + SPLUNK_HOME, JAVA_MAIN_CLASS]
if TEST_SSL:
    TEST_SSL_ARGS = "-Djavax.net.ssl.trustStore=" + SPLUNK_HOME + "/etc/apps/Splunk_TA_jmx/bin/mx4j.ks"
    JAVA_ARGS.insert(-1, TEST_SSL_ARGS)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;5. copy sas.client.props from WAS &amp;amp; edit&lt;/STRONG&gt; &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;com.ibm.CORBA.securityEnabled=true

[...]

com.ibm.CORBA.authenticationTarget=BasicAuth
com.ibm.CORBA.authenticationRetryEnabled=true
com.ibm.CORBA.authenticationRetryCount=3
com.ibm.CORBA.validateBasicAuth=false
com.ibm.CORBA.securityServerHost=
com.ibm.CORBA.securityServerPort=
com.ibm.CORBA.loginTimeout=300
com.ibm.CORBA.loginSource=properties

# RMI/IIOP user identity
com.ibm.CORBA.loginUserid=&amp;lt;admin user&amp;gt;
com.ibm.CORBA.loginPassword=&amp;lt;password&amp;gt;

[...]

# Does this client support stateful sessions?
com.ibm.CSI.performStateful=true

# Does this client support/require BasicAuth (userid/password) client authentication?
com.ibm.CSI.performClientAuthenticationRequired=false
com.ibm.CSI.performClientAuthenticationSupported=true

# Does this client support/require SSL client authentication? 
com.ibm.CSI.performTLClientAuthenticationRequired=false
com.ibm.CSI.performTLClientAuthenticationSupported=false

# Note: You can perform BasicAuth (uid/pw) and SSL client authentication (certificate)
# simultaneously, however, the BasicAuth identity will always take precedence at the server.

# Does this client support/require SSL connections?
com.ibm.CSI.performTransportAssocSSLTLSRequired=true
com.ibm.CSI.performTransportAssocSSLTLSSupported=true

# Does this client support/require 40-bit cipher suites when using SSL?
com.ibm.CSI.performMessageIntegrityRequired=false
com.ibm.CSI.performMessageIntegritySupported=true

# Note: This property is only valid when SSL connections are supported or required.
# Does this client support/require 128-bit cipher suites when using SSL?
com.ibm.CSI.performMessageConfidentialityRequired=false
com.ibm.CSI.performMessageConfidentialitySupported=true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;6. copy ssl.client.props from WAS &amp;amp; edit&lt;/STRONG&gt; &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# TrustStore information
com.ibm.ssl.trustStoreName=ClientDefaultTrustStore
com.ibm.ssl.trustStore=D:/Splunk/etc/apps/Splunk_TA_jmx/trust.p12
com.ibm.ssl.trustStorePassword=&amp;lt;password&amp;gt;
com.ibm.ssl.trustStoreType=PKCS12
com.ibm.ssl.trustStoreProvider=IBMJCE
com.ibm.ssl.trustStoreFileBased=true
com.ibm.ssl.trustStoreReadOnly=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;7. copy some WAS libs to addon&lt;/STRONG&gt;&lt;BR /&gt;
Copy following files from D:/IBM/WebSphere/AppServer/runtimes (WAS instance) to D:/Splunk/etc/apps/Splunk_TA_jmx/bin/lib (splunk indexer)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;com.ibm.ws.admin.client_8.5.0.jar
com.ibm.ws.ejb.thinclient_8.5.0.jar
com.ibm.ws.orb_8.5.0.jar
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Regards, Jens&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:35:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Java-Management-Extension-ERROR-Failed-to/m-p/174556#M16831</guid>
      <dc:creator>jenshaizmann</dc:creator>
      <dc:date>2020-09-29T07:35:00Z</dc:date>
    </item>
  </channel>
</rss>

