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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.1.1.0
    • 10.1.3.1, 10.2.1.6
    • Demos/Scripts
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: