<?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: connect db mysql illegal use of nonvirtual function call in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/connect-db-mysql-illegal-use-of-nonvirtual-function-call/m-p/23349#M21968</link>
    <description>&lt;P&gt;Seems like it's the problem with default methods in java 8 builds.&lt;BR /&gt;
java.sql.DatabaseMetaData in java 8 (new as jdbc 4.2) has new method defined:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;default boolean supportsRefCursors() throws SQLException {
    return false;
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;while mysql driver is compiled against previous version of jdbc where this method does not exist.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Feb 2013 13:34:47 GMT</pubDate>
    <dc:creator>satyr</dc:creator>
    <dc:date>2013-02-11T13:34:47Z</dc:date>
    <item>
      <title>connect db mysql illegal use of nonvirtual function call</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/connect-db-mysql-illegal-use-of-nonvirtual-function-call/m-p/23348#M21967</link>
      <description>&lt;P&gt;Hi, I did a clean install splunk,splunk DB connect 1.0.8 and I manage to get this strange error while fetching the database names(mysql).&lt;/P&gt;

&lt;P&gt;" ERROR java.sql.SQLException: java.lang.VerifyError: (class: com/mysql/jdbc/DatabaseMetaData, method: supportsRefCursors signature: ()Z) Illegal use of nonvirtual function call "&lt;/P&gt;

&lt;P&gt;Did noticed that mysql updated the mysql-connector-java-5.1.22-bin.jar to mysql-connector-java-5.1.23-bin.jar.&lt;/P&gt;

&lt;P&gt;Tried both of them but still getting the error.&lt;/P&gt;

&lt;P&gt;Hope anyone can help me with this or is it possible to get the 1.0.7 binaries and install them? &lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2013 17:59:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/connect-db-mysql-illegal-use-of-nonvirtual-function-call/m-p/23348#M21967</guid>
      <dc:creator>nitb</dc:creator>
      <dc:date>2013-02-07T17:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: connect db mysql illegal use of nonvirtual function call</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/connect-db-mysql-illegal-use-of-nonvirtual-function-call/m-p/23349#M21968</link>
      <description>&lt;P&gt;Seems like it's the problem with default methods in java 8 builds.&lt;BR /&gt;
java.sql.DatabaseMetaData in java 8 (new as jdbc 4.2) has new method defined:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;default boolean supportsRefCursors() throws SQLException {
    return false;
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;while mysql driver is compiled against previous version of jdbc where this method does not exist.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2013 13:34:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/connect-db-mysql-illegal-use-of-nonvirtual-function-call/m-p/23349#M21968</guid>
      <dc:creator>satyr</dc:creator>
      <dc:date>2013-02-11T13:34:47Z</dc:date>
    </item>
  </channel>
</rss>

