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/08/21 02:00:44 UTC
[jira] Created: (OPENEJB-898) Property overriding for logging
configuration
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.
[jira] Closed: (OPENEJB-898) Property overriding for logging
configuration
Posted by "David Blevins (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (OPENEJB-898) Property overriding for logging
configuration
Posted by "David Blevins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624205#action_12624205 ]
David Blevins commented on OPENEJB-898:
---------------------------------------
$ svn ci container
Sending container/openejb-core/src/main/java/org/apache/openejb/core/security/jaas/PropertiesLoginModule.java
Sending container/openejb-core/src/main/java/org/apache/openejb/util/ConfUtils.java
Adding container/openejb-core/src/main/java/org/apache/openejb/util/IOUtils.java
Sending container/openejb-core/src/main/java/org/apache/openejb/util/Log4jLog.java
Sending container/openejb-core/src/main/java/org/apache/openejb/util/Log4jLogStreamFactory.java
Sending container/openejb-core/src/main/java/org/apache/openejb/util/URLs.java
Adding container/openejb-core/src/main/java/org/apache/openejb/util/UrlComparator.java
Adding container/openejb-core/src/test/java/org/apache/openejb/util/UrlComparatorTest.java
Transmitting file data ........
Committed revision 687516.
> 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.