<?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 How to generate java jstack of the db connect jbridge process? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-generate-java-jstack-of-the-db-connect-jbridge-process/m-p/65997#M909</link>
    <description>&lt;P&gt;My db connect has been experiencing hanging issues, and splunk support has request for a jstack output for further investigating into the issue.  What are the steps to obtain the jstack outputs?&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2013 21:47:12 GMT</pubDate>
    <dc:creator>kserra_splunk</dc:creator>
    <dc:date>2013-09-17T21:47:12Z</dc:date>
    <item>
      <title>How to generate java jstack of the db connect jbridge process?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-generate-java-jstack-of-the-db-connect-jbridge-process/m-p/65997#M909</link>
      <description>&lt;P&gt;My db connect has been experiencing hanging issues, and splunk support has request for a jstack output for further investigating into the issue.  What are the steps to obtain the jstack outputs?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 21:47:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-generate-java-jstack-of-the-db-connect-jbridge-process/m-p/65997#M909</guid>
      <dc:creator>kserra_splunk</dc:creator>
      <dc:date>2013-09-17T21:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate java jstack of the db connect jbridge process?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-generate-java-jstack-of-the-db-connect-jbridge-process/m-p/65998#M910</link>
      <description>&lt;P&gt;In order to obtain jstack output on a java process, you would first need to obtain the java sdk package.  The standard jre package does not include the necessary tools (ie. jps and jstack) for generating the jstack output.&lt;/P&gt;

&lt;P&gt;Requirements:&lt;/P&gt;

&lt;P&gt;1.) Obtain java sdk from &lt;A href="http://www.oracle.com/technetwork/java/javase/downloads/index.html"&gt;http://www.oracle.com/technetwork/java/javase/downloads/index.html&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;2.) Reconfigure db connect to use the sdk version of the jvm. &lt;/P&gt;

&lt;P&gt;For example, if you specify /usr/lib/jvm/jdk1.7.0_25 as the java home, ensure that there is a bin sub-directory which contains the java, jps, and jstack executables.&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://splunk-base.splunk.com//storage/Splunk_Manager_-_Splunk_5.0.4.jpg" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;While the issue is occurring: &lt;/P&gt;

&lt;P&gt;1.) Open a command prompt and cd into the $JAVA_HOME/bin directory&lt;/P&gt;

&lt;P&gt;2.) Run: jps -l (this will list running java processes) &lt;/P&gt;

&lt;P&gt;3.) Identify the process with the label com.splunk.bridge.JavaBridgeServer and copy the PID (number) &lt;/P&gt;

&lt;P&gt;4.) Run: jstack -l &lt;PID&gt; (where &lt;PID&gt; is replaced with the copied PID from step #3) &lt;/PID&gt;&lt;/PID&gt;&lt;/P&gt;

&lt;P&gt;5.) Copy the output and paste it into a text file for Support&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 22:08:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-generate-java-jstack-of-the-db-connect-jbridge-process/m-p/65998#M910</guid>
      <dc:creator>splunkIT</dc:creator>
      <dc:date>2013-09-17T22:08:44Z</dc:date>
    </item>
  </channel>
</rss>

