Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-7046

NoClassDefFoundError on 'java -jar derbynet.jar'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.15.1.3
    • Fix Version/s: 10.15.2.0, 10.16.0.0
    • Component/s: Network Server
    • Labels:
      None
    • Environment:
      openjdk version "11.0.3" 2019-04-16
      db-derby-10.15.1.3-bin
    • Urgency:
      Normal
    • Bug behavior facts:
      Regression, Seen in production

      Description

      derbynet.jar seems to be runnable jar - it has

      Main-Class: org.apache.derby.drda.NetworkServerControl
      

      but

      Class-Path: derby.jar derbyshared.jar
      

      does not include derbytools.jar.

      So on running

      java -jar derbynet.jar

      following is presented:

      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/derby/iapi/tools/i18n/LocalizedOutput
          at org.apache.derby.drda.NetworkServerControl.main(NetworkServerControl.java:319)
      Caused by: java.lang.ClassNotFoundException: org.apache.derby.iapi.tools.i18n.LocalizedOutput
          at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
          at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
          at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
          ... 1 more
      

      It works fine with previous version (10.14.2.0).

        Attachments

          Activity

            People

            • Assignee:
              rhillegas Richard N. Hillegas
              Reporter:
              pzygielo Piotr Zygielo
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: