Property overriding for logging configuration
---------------------------------------------
Key: OPENEJB-898
URL: https://issues.apache.org/jira/browse/OPENEJB-898
Project: OpenEJB
Issue Type: New Feature
Components: configuration
Reporter: David Blevins
Assignee: David Blevins
Fix For: 3.0.1
protected void setUp() throws Exception {
System.setProperty("log4j.category.OpenEJB.security", "debug");
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,
"org.apache.openejb.client.LocalInitialContextFactory");
p.put("movieDatabase", "new://Resource?type=DataSource");
p.put("movieDatabase.JdbcDriver", "org.hsqldb.jdbcDriver");
p.put("movieDatabase.JdbcUrl", "jdbc:hsqldb:mem:moviedb");
p.put("movieDatabaseUnmanaged", "new://Resource?type=DataSource");
p.put("movieDatabaseUnmanaged.JdbcDriver", "org.hsqldb.jdbcDriver");
p.put("movieDatabaseUnmanaged.JdbcUrl", "jdbc:hsqldb:mem:moviedb");
p.put("movieDatabaseUnmanaged.JtaManaged", "false");
context = new InitialContext(p);
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.