<?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: DBConnect Java Error After Starting Splunk in Security</title>
    <link>https://community.splunk.com/t5/Security/DBConnect-Java-Error-After-Starting-Splunk/m-p/123686#M14460</link>
    <description>&lt;P&gt;A Google search found this hit on Splunk answers that worked...&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/120422/dbconnect-stopped-functioning"&gt;http://answers.splunk.com/answers/120422/dbconnect-stopped-functioning&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Basically deleting the state.xml file and restarting resolved the issue.&lt;/P&gt;</description>
    <pubDate>Sat, 13 Sep 2014 01:04:17 GMT</pubDate>
    <dc:creator>kbecker</dc:creator>
    <dc:date>2014-09-13T01:04:17Z</dc:date>
    <item>
      <title>DBConnect Java Error After Starting Splunk</title>
      <link>https://community.splunk.com/t5/Security/DBConnect-Java-Error-After-Starting-Splunk/m-p/123685#M14459</link>
      <description>&lt;P&gt;Has anybody see this error in the jbridge log after starting start? The process is in a loop and just keeps restarting. This node is part of search pool and is the only node in which DBconnect isn't working. I have already re-installed java and removed any entries related to this host in distributed.conf&lt;/P&gt;

&lt;P&gt;2014-09-12 19:27:22,334 ERROR Java process returned error code 1! Error: Initializing Splunk context... Environment: SplunkEnvironment{SPLUNK_HOME=/home/splunk/splunk,SPLUNK_DB=/home/splunk/splunk/var/lib/splunk} Configuring Log4j... [Fatal Error] :1:1: Premature end of file. Exception in thread "main" com.splunk.config.SplunkConfigurationException: Error creating PersistentValueStore type xstream: com.thoughtworks.xstream.io.StreamException:  : Premature end of file.  at com.splunk.persistence.PersistentValueStoreFactory.createStoreInstance(PersistentValueStoreFactory.java:119)      at com.splunk.persistence.PersistentValueStoreFactory.createStore(PersistentValueStoreFactory.java:71)       at com.splunk.persistence.PersistentValueStoreFactory.createGlobalStore(PersistentValueStoreFactory.java:51)    at com.splunk.env.SplunkContext.initialize(SplunkContext.java:108)   at com.splunk.bridge.JavaBridgeServer.main(JavaBridgeServer.java:34) Caused by: com.thoughtworks.xstream.io.StreamException:  : Premature end of file.       at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:105)   at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:81)         at com.thoughtworks.xstream.XStream.fromXML(XStream.java:904)   at com.splunk.persistence.impl.XStreamStore.loadState(XStreamStore.java:113)         at com.splunk.persistence.impl.XStreamStore.&lt;INIT&gt;(XStreamStore.java:49)        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)      at com.splunk.util.Utils$Reflection.instantiate(Utils.java:880)      at com.splunk.persistence.PersistentValueStoreFactory.createStoreInstance(PersistentValueStoreFactory.java:117)     ... 4 more Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.      at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:347)      at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:98)         ... 14 more&lt;BR /&gt;
2014-09-12 19:27:22,334 ERROR Command output: None&lt;/INIT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:34:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/DBConnect-Java-Error-After-Starting-Splunk/m-p/123685#M14459</guid>
      <dc:creator>kbecker</dc:creator>
      <dc:date>2020-09-28T17:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: DBConnect Java Error After Starting Splunk</title>
      <link>https://community.splunk.com/t5/Security/DBConnect-Java-Error-After-Starting-Splunk/m-p/123686#M14460</link>
      <description>&lt;P&gt;A Google search found this hit on Splunk answers that worked...&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/120422/dbconnect-stopped-functioning"&gt;http://answers.splunk.com/answers/120422/dbconnect-stopped-functioning&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Basically deleting the state.xml file and restarting resolved the issue.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Sep 2014 01:04:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/DBConnect-Java-Error-After-Starting-Splunk/m-p/123686#M14460</guid>
      <dc:creator>kbecker</dc:creator>
      <dc:date>2014-09-13T01:04:17Z</dc:date>
    </item>
  </channel>
</rss>

