# HG changeset patch # User Andre Heinecke # Date 1363170419 -3600 # Node ID d17e3106c910927f4227925e3fb03afc3b2cd53c # Parent b331742ba78db066b06bd9cb3a1e7b352254870b An oracle conection string needs a backend otherwise you get an error even before the connection attempt is made. diff -r b331742ba78d -r d17e3106c910 flys-artifacts/src/main/java/de/intevation/flys/utils/MapUtils.java --- a/flys-artifacts/src/main/java/de/intevation/flys/utils/MapUtils.java Wed Mar 13 11:25:23 2013 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/utils/MapUtils.java Wed Mar 13 11:26:59 2013 +0100 @@ -56,15 +56,15 @@ String connection = null; if (FLYSUtils.isUsingOracle()) { - if (groups < 3) { + if (groups < 4) { logger.warn("Could only partially parse connection string."); return null; } String host = m.group(2); String port = m.group(3); - - connection = user + "/" + pass + "@" + host; + String backend = m.group(4); + connection = user + "/" + pass + "@" + host + "/" + backend; } else { if (groups < 4) {