in src/main/java/org/apache/openejb/cts/DerbyRunner.java [61:75]
public static void main(final String[] args) {
int port = NetworkServerControl.DEFAULT_PORTNUMBER;
if (args.length == 1) {
try {
port = Integer.parseInt(args[0]);
//System.setProperty("derby.drda.portNumber", Integer.toString(port));
} catch (final NumberFormatException e) {
System.out.println("Could not convert port " + args[0] + ". Using the default " + port);
}
}
final DerbyThread thread = new DerbyThread(port);
thread.setDaemon(true);
thread.setName("DerbyServerDaemon");
thread.start();
}