Changeset 755


Ignore:
Timestamp:
05/06/11 18:27:05 (8 years ago)
Author:
philsmart
Message:
 
Location:
raptor-mua/trunk/src/main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • raptor-mua/trunk/src/main/config/server.properties

    r746 r755  
    77jetty.keyStoreLocation=/Users/philsmart/Documents/Java/RaptorWorkspace/keys/raptor.jks 
    88 
    9 database.useHsqldb = true 
    10 hsqldbFileLocation =/tmp/hsql 
  • raptor-mua/trunk/src/main/java/uk/ac/cardiff/raptormua/server/RunServer.java

    r746 r755  
    8585                String webappContextPath = props.getProperty("jetty.webapp.contextPath", "/MUA"); 
    8686 
    87                 String useHsqldb = props.getProperty("database.useHsqldb", "true"); 
    88                 String hsqldbFileLocation = props.getProperty("database.hsqldbFileLocation", "/tmp/hsql"); 
    89                 if (useHsqldb.equals("true")) 
    90                     startHsqldbServer(hsqldbFileLocation); 
    9187 
    9288                System.out.println("[INFO] Jetty Config: Using Port " + portNumber); 
     
    129125        } 
    130126 
    131         private static void startHsqldbServer(String fileLocation){ 
    132             Log.info("Starting embedded HSQLDB with path [{}]",fileLocation); 
    133 //          org.hsqldb.Server server = new org.hsqldb.Server(); 
    134 //          server.setAddress("localhost"); 
    135 //          server.setDatabaseName(0,"mua"); 
    136 //          server.setDatabasePath(0, fileLocation); 
    137 //          server.setPort(1234); 
    138 //          server.setTrace(true); 
    139 //          server.start(); 
    140  
    141         } 
    142  
    143127        private static void configureLogger(String logback) { 
    144128                LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory(); 
Note: See TracChangeset for help on using the changeset viewer.