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

derby.drda.StartNetworkServer property no longer works gives exception java.lang.NoSuchMethodException: org.apache.derby.impl.drda.NetworkServerControlImpl.<init>(java.lang.String, java.lang.String)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 10.4.1.3
    • Fix Version/s: None
    • Component/s: Network Server
    • Labels:
      None
    • Urgency:
      Urgent
    • Bug behavior facts:
      Regression

      Description

      With derby.properties containing:

      derby.drda.startNetworkServer=true

      connect with iij

      ij> connect 'jdbc:derby:wombat;create=true';

      The derby.log shows the following exception:

      An exception was thrown during network server startup. org.apache.derby.impl.drda.NetworkServerControlImpl.<init>(java.lang.String, java.lang.String)

      java.security.PrivilegedActionException: java.lang.NoSuchMethodException: org.apache.derby.impl.drda.NetworkServerControlImpl.<init>(java.lang.String, java.lang.String)

      at java.security.AccessController.doPrivileged(Native Method)

      at org.apache.derby.iapi.jdbc.DRDAServerStarter.boot(DRDAServerStarter.java:182)

      at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:1992)

      at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

      at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:546)

      at org.apache.derby.iapi.services.monitor.Monitor.startSystemModule(Monitor.java:366)

      at org.apache.derby.iapi.jdbc.JDBCBoot.boot(JDBCBoot.java:82)

      at org.apache.derby.jdbc.EmbeddedDriver.boot(EmbeddedDriver.java:201)

      at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(EmbeddedDriver.java:96)

      at java.lang.Class.forName0(Native Method)

      at java.lang.Class.forName(Class.java:169)

      at org.apache.derby.impl.tools.ij.util.loadDriver(util.java:849)

      at org.apache.derby.impl.tools.ij.util.loadDriverIfKnown(util.java:833)

      at org.apache.derby.impl.tools.ij.ij.dynamicConnection(ij.java:1183)

      at org.apache.derby.impl.tools.ij.ij.ConnectStatement(ij.java:1056)

      at org.apache.derby.impl.tools.ij.ij.ijStatement(ij.java:884)

      at org.apache.derby.impl.tools.ij.utilMain.runScriptGuts(utilMain.java:342)

      at org.apache.derby.impl.tools.ij.utilMain.go(utilMain.java:262)

      at org.apache.derby.impl.tools.ij.Main.go(Main.java:215)

      at org.apache.derby.impl.tools.ij.Main.mainCore(Main.java:181)

      at org.apache.derby.impl.tools.ij.Main14.main(Main14.java:56)

      at org.apache.derby.tools.ij.main(ij.java:71)

      Caused by: java.lang.NoSuchMethodException: org.apache.derby.impl.drda.NetworkServerControlImpl.<init>(java.lang.String, java.lang.String)

      at java.lang.Class.getConstructor0(Class.java:2706)

      at java.lang.Class.getConstructor(Class.java:1657)

      at org.apache.derby.iapi.jdbc.DRDAServerStarter$1.run(DRDAServerStarter.java:187)

      ... 22 more

      ------

      I believe this is a regression related to DERBY-2109 when the method in question was removed. I didn't sync back to confirm though.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kmarsden Katherine Marsden
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: