<?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>question Re: Unable to start derby server in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-derby-server/m-p/123182#M17668</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2550/akhawaja.html" nodeid="2550"&gt;@ali khawaja&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Take a look at this thread as it may be related. &lt;A href="https://community.hortonworks.com/questions/10870/hdp-234-for-windows-installation-issue.html"&gt;Link&lt;/A&gt; and this &lt;A href="https://community.hortonworks.com/questions/11653/hdp-234-windows-installation-and-derby-failure.html"&gt;Link&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Feb 2016 21:19:53 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-02-03T21:19:53Z</dc:date>
    <item>
      <title>Unable to start derby server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-derby-server/m-p/123181#M17667</link>
      <description>&lt;P&gt;i have installed hdp 2.3.4 on windows 2012 server.  when i run the file start_local_hdp_services.cmd, everything starts fine except derbyserver. to debug the issue, i executed derbyserver.cmd that i sitting under hdp\hive directory and got the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Could not find or load main class org.apache.derby.drda.NetworkServerControl&lt;/P&gt;&lt;P&gt;i used @echo to print out the classpath and got the following output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c:\hdp\hadoop-2.7.1.2.3.4.0-3485\etc\hadoop;c:\hdp\hadoop-2.7.1.2.3.4.0-3485\share\hadoop\common\lib\*;c:\hdp\hadoop-2.7
.1.2.3.4.0-3485\share\hadoop\common\*;c:\hdp\hadoop-2.7.1.2.3.4.0-3485\share\hadoop\hdfs;c:\hdp\hadoop-2.7.1.2.3.4.0-348
5\share\hadoop\hdfs\lib\*;c:\hdp\hadoop-2.7.1.2.3.4.0-3485\share\hadoop\hdfs\*;c:\hdp\hadoop-2.7.1.2.3.4.0-3485\share\ha
doop\yarn\lib\*;c:\hdp\hadoop-2.7.1.2.3.4.0-3485\share\hadoop\yarn\*;c:\hdp\hadoop-2.7.1.2.3.4.0-3485\share\hadoop\mapre
duce\lib\*;c:\hdp\hadoop-2.7.1.2.3.4.0-3485\share\hadoop\mapreduce\*;c:\hdp\tez-0.7.0.2.3.4.0-3485\conf\;c:\hdp\tez-0.7.
0.2.3.4.0-3485\*;c:\hdp\tez-0.7.0.2.3.4.0-3485\lib\*;;c:\hdp\hive-1.2.1.2.3.4.0-3485\lib\derby-10.10.2.0.jar&lt;/P&gt;&lt;P&gt;then i did jar -tf derby-10.10.2.0.jar to see if it contains the NetworkServerControl and it does not; this is the class that its trying to start and it does not exist, at least in the derby-10.10.20.0.jar file. &lt;/P&gt;&lt;P&gt;on searching online, the above class sits in derbynet.jar file. maybe its named as derby-10.10.20.0.jar file, but issue is that the NetworkServerControl is missing and derbyserver is not starting.  &lt;/P&gt;&lt;P&gt;i'll really appreciate any help with this.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:11:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-derby-server/m-p/123181#M17667</guid>
      <dc:creator>ali_khawaja</dc:creator>
      <dc:date>2016-02-03T21:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start derby server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-derby-server/m-p/123182#M17668</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2550/akhawaja.html" nodeid="2550"&gt;@ali khawaja&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Take a look at this thread as it may be related. &lt;A href="https://community.hortonworks.com/questions/10870/hdp-234-for-windows-installation-issue.html"&gt;Link&lt;/A&gt; and this &lt;A href="https://community.hortonworks.com/questions/11653/hdp-234-windows-installation-and-derby-failure.html"&gt;Link&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:19:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-derby-server/m-p/123182#M17668</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-03T21:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start derby server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-derby-server/m-p/123183#M17669</link>
      <description>&lt;P&gt;@ali khawaja have you tried to explicitly set the PATH to the
derby home? Try doing this through the Windows environment variables. You can
also try to set them in the CLI as shown here:
&lt;A href="https://db.apache.org/derby/docs/10.4/adminguide/tadmincbdjhhfd.html" target="_blank"&gt;https://db.apache.org/derby/docs/10.4/adminguide/tadmincbdjhhfd.html&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;Also,
make sure you have rights to execute the jar file. You could try the command&lt;EM&gt;
java org.apache.derby.drda.NetworkServerControl 
start -h myhost -p 1621 &lt;/EM&gt;and see the results.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 21:33:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-derby-server/m-p/123183#M17669</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2016-02-03T21:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start derby server</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-derby-server/m-p/123184#M17670</link>
      <description>&lt;P&gt;i reinstalled with SQL Server and it worked fine.  i'll do another install and see if i can get it to work.  i do have admin rights and i was able to start the derby server manually, but the service wont start.  i'll try setting the path and see if i can get it to work.   Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 14:11:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-start-derby-server/m-p/123184#M17670</guid>
      <dc:creator>ali_khawaja</dc:creator>
      <dc:date>2016-02-15T14:11:36Z</dc:date>
    </item>
  </channel>
</rss>

