Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ public void init(Session session, Map<String, String> options) throws OpenAS2Exc
dbPwd = getParameter(PARAM_DB_PWD, true);
configBaseDir = session.getBaseDirectory();
jdbcConnectString = getParameter(PARAM_JDBC_CONNECT_STRING, true);
jdbcConnectString.replace("%home%", configBaseDir);
// String is immutable - assign the result or the substitution is lost
jdbcConnectString = jdbcConnectString.replace("%home%", configBaseDir);
// Support component attributes in connect string
jdbcConnectString = ParameterParser.parse(jdbcConnectString, paramParser);
dbPlatform = jdbcConnectString.replaceAll(".*jdbc:([^:]*):.*", "$1");
Expand Down
Loading