- Timestamp:
- 2023-04-06T14:17:39+12:00 (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/DerbyWrapper.java
r35362 r37610 61 61 62 62 // No more fallback values, use exactly what's propagated into global.properties from build.properties 63 String port = GlobalProperties.getProperty("derby.server.port");//, " 1527");63 String port = GlobalProperties.getProperty("derby.server.port");//, "8327"); GS' default derby port. 64 64 if(port.indexOf("@") == -1) { // if there are still @placeholders@ in global.properties, then use fallback values 65 65 PORT = port; 66 66 DERBYSERVER = GlobalProperties.getProperty("derby.server");//, "localhost"); 67 67 } else { 68 PORT = " 1527";68 PORT = "8327"; // This setting is used by installer. 8327 is GS default derby port. Note: Out-of-box derby defaults to port 1527 69 69 DERBYSERVER = "localhost"; 70 70 } 71 PROTOCOL = "jdbc:derby://"+DERBYSERVER+":"+PORT+"/"; // "jdbc:derby://localhost: 1527"; // by default71 PROTOCOL = "jdbc:derby://"+DERBYSERVER+":"+PORT+"/"; // "jdbc:derby://localhost:8327"; // by default 72 72 //System.out.println("@@@ PROTOCOL:" + PROTOCOL); //check in installer 73 73 }
Note:
See TracChangeset
for help on using the changeset viewer.