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

SimpleNetworkClientSample.java network server example has an error which causes it to fail

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.1.1.0
    • Fix Version/s: 10.1.3.1, 10.2.1.6
    • Component/s: Demos/Scripts
    • Labels:
      None

      Description

      The file SimpleNetworkClientSample.java under the demo/nserverdemo has an error which prevents
      it from completing successfully.

      The one line that is a problem is this:

      private static final String DERBY_CLIENT_URL= "jdbc:derby://localhost:
      "+ NETWORKSERVER_PORT+"/NSSampledb;create=true";

      The one line fix is this:

      private static final String DERBY_CLIENT_URL= "jdbc:derby://localhost:"+
      NETWORKSERVER_PORT+"/" DBNAME";create=true";

        Attachments

        1. derby-387.patch
          2 kB
          Rajesh Kartha

          Activity

            People

            • Assignee:
              kartha Rajesh Kartha
              Reporter:
              slc Susan Cline
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: