Issue Details (XML | Word | Printable)

Key: DERBY-387
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Rajesh Kartha
Reporter: Susan Cline
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

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

Created: 23/Jun/05 11:17 AM   Updated: 13/Dec/07 09:04 AM
Return to search
Component/s: Demos/Scripts
Affects Version/s: 10.1.1.0
Fix Version/s: 10.1.3.1, 10.2.1.6

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works derby-387.patch 2006-01-20 03:25 AM Rajesh Kartha 2 kB

Resolution Date: 04/May/06 01:25 AM


 Description  « Hide
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";

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.