You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2008/09/25 22:01:44 UTC
[jira] Closed: (OPENEJB-898) Property overriding for logging
configuration
[ https://issues.apache.org/jira/browse/OPENEJB-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Blevins closed OPENEJB-898.
---------------------------------
Resolution: Fixed
> 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.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.