You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rm...@apache.org on 2012/01/10 00:49:47 UTC
svn commit: r1229421 - in /openejb/trunk/openejb:
examples/applicationexception/ examples/ear-testing/
examples/helloworld-weblogic/ examples/interceptors/ examples/quartz-app/
examples/simple-cmp2/ examples/simple-stateless-with-descriptor/
examples/s...
Author: rmannibucau
Date: Mon Jan 9 23:49:46 2012
New Revision: 1229421
URL: http://svn.apache.org/viewvc?rev=1229421&view=rev
Log:
some missed renaming of initial context
Modified:
openejb/trunk/openejb/examples/applicationexception/README.md
openejb/trunk/openejb/examples/ear-testing/README.md
openejb/trunk/openejb/examples/helloworld-weblogic/README.md
openejb/trunk/openejb/examples/interceptors/README.md
openejb/trunk/openejb/examples/quartz-app/README.md
openejb/trunk/openejb/examples/simple-cmp2/README.md
openejb/trunk/openejb/examples/simple-stateless-with-descriptor/README.md
openejb/trunk/openejb/examples/simple-webservice/README.md
openejb/trunk/openejb/examples/spring-integration/README.md
openejb/trunk/openejb/examples/spring-integration/src/main/resources/movies.xml
openejb/trunk/openejb/examples/telephone-stateful/README.md
openejb/trunk/openejb/examples/testing-security-2/README.md
openejb/trunk/openejb/examples/webapps/moviefun/README.md
openejb/trunk/openejb/examples/webapps/struts/README.md
openejb/trunk/openejb/examples/webservice-attachments/README.md
openejb/trunk/openejb/examples/webservice-inheritance/README.md
openejb/trunk/openejb/examples/webservice-security/README.md
openejb/trunk/openejb/examples/webservice-ws-security/README.md
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/testejb.jsp
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/testint.jsp
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/viewejb.jsp
openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/viewjndi.jsp
Modified: openejb/trunk/openejb/examples/applicationexception/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/applicationexception/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/applicationexception/README.md (original)
+++ openejb/trunk/openejb/examples/applicationexception/README.md Mon Jan 9 23:49:46 2012
@@ -48,7 +48,7 @@ As `BusinessException` has been annotate
@Before
public void setUp() throws Exception {
Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
initialContext = new InitialContext(properties);
}
Modified: openejb/trunk/openejb/examples/ear-testing/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/ear-testing/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/ear-testing/README.md (original)
+++ openejb/trunk/openejb/examples/ear-testing/README.md Mon Jan 9 23:49:46 2012
@@ -139,7 +139,7 @@ The test code is the same as always:
public void test() throws Exception {
Properties p = new Properties();
- p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
p.put("openejb.deployments.classpath.ear", "true");
Modified: openejb/trunk/openejb/examples/helloworld-weblogic/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/helloworld-weblogic/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/helloworld-weblogic/README.md (original)
+++ openejb/trunk/openejb/examples/helloworld-weblogic/README.md Mon Jan 9 23:49:46 2012
@@ -81,7 +81,7 @@ Title: Helloworld Weblogic
public void test() throws Exception {
Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
InitialContext initialContext = new InitialContext(properties);
HelloEjbLocalHome localHome = (HelloEjbLocalHome) initialContext.lookup("MyHello");
Modified: openejb/trunk/openejb/examples/interceptors/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/interceptors/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/interceptors/README.md (original)
+++ openejb/trunk/openejb/examples/interceptors/README.md Mon Jan 9 23:49:46 2012
@@ -481,7 +481,7 @@ Title: Interceptors
@Before
public void setUp() throws Exception {
Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
properties.setProperty("openejb.deployments.classpath.include", ".*interceptors/target/classes.*");
initCtx = new InitialContext(properties);
@@ -560,7 +560,7 @@ Title: Interceptors
@Before
public void setUp() throws Exception {
Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
properties.setProperty("openejb.deployments.classpath.include", ".*interceptors/target/classes.*");
initCtx = new InitialContext(properties);
@@ -605,7 +605,7 @@ Title: Interceptors
@Before
public void setUp() throws Exception {
Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
properties.setProperty("openejb.deployments.classpath.include", ".*interceptors/target/classes.*");
initCtx = new InitialContext(properties);
@@ -654,7 +654,7 @@ Title: Interceptors
@Before
public void setUp() throws Exception {
Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
properties.setProperty("openejb.deployments.classpath.include", ".*interceptors/target/classes.*");
initCtx = new InitialContext(properties);
Modified: openejb/trunk/openejb/examples/quartz-app/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/quartz-app/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/quartz-app/README.md (original)
+++ openejb/trunk/openejb/examples/quartz-app/README.md Mon Jan 9 23:49:46 2012
@@ -154,7 +154,7 @@ Here we see the outbound resource adapte
if (null == initialContext) {
Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
initialContext = new InitialContext(properties);
}
Modified: openejb/trunk/openejb/examples/simple-cmp2/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-cmp2/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-cmp2/README.md (original)
+++ openejb/trunk/openejb/examples/simple-cmp2/README.md Mon Jan 9 23:49:46 2012
@@ -164,7 +164,7 @@ Title: Simple Cmp2
public void test() throws Exception {
Properties p = new Properties();
- p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
p.put("movieDatabase", "new://Resource?type=DataSource");
p.put("movieDatabase.JdbcDriver", "org.hsqldb.jdbcDriver");
p.put("movieDatabase.JdbcUrl", "jdbc:hsqldb:mem:moviedb");
Modified: openejb/trunk/openejb/examples/simple-stateless-with-descriptor/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-stateless-with-descriptor/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-stateless-with-descriptor/README.md (original)
+++ openejb/trunk/openejb/examples/simple-stateless-with-descriptor/README.md Mon Jan 9 23:49:46 2012
@@ -96,7 +96,7 @@ as opposed to getting the context from `
protected void setUp() throws Exception {
Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
initialContext = new InitialContext(properties);
}
Modified: openejb/trunk/openejb/examples/simple-webservice/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-webservice/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-webservice/README.md (original)
+++ openejb/trunk/openejb/examples/simple-webservice/README.md Mon Jan 9 23:49:46 2012
@@ -189,7 +189,7 @@ Title: Simple Webservice
protected void setUp() throws Exception {
Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
properties.setProperty("openejb.embedded.remotable", "true");
initialContext = new InitialContext(properties);
Modified: openejb/trunk/openejb/examples/spring-integration/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/spring-integration/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/spring-integration/README.md (original)
+++ openejb/trunk/openejb/examples/spring-integration/README.md Mon Jan 9 23:49:46 2012
@@ -319,7 +319,7 @@ Title: Spring Integration
<!--
Loads the EJBs from the classpath just as when embedding OpenEJB via
- the org.apache.openejb.localclient.LocalInitialContextFactory. All the discovered
+ the org.apache.openejb.core.LocalInitialContextFactory. All the discovered
EJBs are imported into this context and available for injection here.
-->
<bean name="classPathApplication" class="org.apache.openejb.spring.ClassPathApplication"/>
Modified: openejb/trunk/openejb/examples/spring-integration/src/main/resources/movies.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/spring-integration/src/main/resources/movies.xml?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/spring-integration/src/main/resources/movies.xml (original)
+++ openejb/trunk/openejb/examples/spring-integration/src/main/resources/movies.xml Mon Jan 9 23:49:46 2012
@@ -54,7 +54,7 @@
<!--
Loads the EJBs from the classpath just as when embedding OpenEJB via
- the org.apache.openejb.localclient.LocalInitialContextFactory. All the discovered
+ the org.apache.openejb.core.LocalInitialContextFactory. All the discovered
EJBs are imported into this context and available for injection here.
-->
<bean name="classPathApplication" class="org.apache.openejb.spring.ClassPathApplication"/>
Modified: openejb/trunk/openejb/examples/telephone-stateful/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/telephone-stateful/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/telephone-stateful/README.md (original)
+++ openejb/trunk/openejb/examples/telephone-stateful/README.md Mon Jan 9 23:49:46 2012
@@ -100,7 +100,7 @@ available currently:
protected void setUp() throws Exception {
Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
properties.setProperty("openejb.embedded.remotable", "true");
// Uncomment these properties to change the defaults
//properties.setProperty("ejbd.port", "4202");
@@ -120,7 +120,7 @@ available currently:
public void testTalkOverLocalNetwork() throws Exception {
Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
InitialContext localContext = new InitialContext(properties);
Telephone telephone = (Telephone) localContext.lookup("TelephoneBeanRemote");
Modified: openejb/trunk/openejb/examples/testing-security-2/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/testing-security-2/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/testing-security-2/README.md (original)
+++ openejb/trunk/openejb/examples/testing-security-2/README.md Mon Jan 9 23:49:46 2012
@@ -141,7 +141,7 @@ Title: Testing Security 2
public void testAsManager() throws Exception {
Properties p = new Properties();
- p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
p.put(Context.SECURITY_PRINCIPAL, "jane");
p.put(Context.SECURITY_CREDENTIALS, "waterfall");
@@ -167,7 +167,7 @@ Title: Testing Security 2
public void testAsEmployee() throws Exception {
Properties p = new Properties();
- p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
p.put(Context.SECURITY_PRINCIPAL, "joe");
p.put(Context.SECURITY_CREDENTIALS, "cool");
Modified: openejb/trunk/openejb/examples/webapps/moviefun/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webapps/moviefun/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webapps/moviefun/README.md (original)
+++ openejb/trunk/openejb/examples/webapps/moviefun/README.md Mon Jan 9 23:49:46 2012
@@ -872,7 +872,7 @@ Title: Moviefun
public void setUp() throws Exception {
Properties p = new Properties();
- p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
p.put("movieDatabase", "new://Resource?type=DataSource");
p.put("movieDatabase.JdbcDriver", "org.hsqldb.jdbcDriver");
p.put("movieDatabase.JdbcUrl", "jdbc:hsqldb:mem:moviedb");
Modified: openejb/trunk/openejb/examples/webapps/struts/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webapps/struts/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webapps/struts/README.md (original)
+++ openejb/trunk/openejb/examples/webapps/struts/README.md Mon Jan 9 23:49:46 2012
@@ -57,7 +57,7 @@ Title: Struts
UserService service = null;
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY,
- "org.apache.openejb.localclient.LocalInitialContextFactory");
+ "org.apache.openejb.core.LocalInitialContextFactory");
Context ctx = new InitialContext(props);
service = (UserService) ctx.lookup("UserServiceImplLocal");
service.add(new User(id, firstName, lastName));
@@ -124,7 +124,7 @@ Title: Struts
UserService service = null;
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY,
- "org.apache.openejb.localclient.LocalInitialContextFactory");
+ "org.apache.openejb.core.LocalInitialContextFactory");
Context ctx = new InitialContext(props);
service = (UserService) ctx.lookup("UserServiceImplLocal");
this.user = service.find(id);
@@ -192,7 +192,7 @@ Title: Struts
UserService service = null;
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY,
- "org.apache.openejb.localclient.LocalInitialContextFactory");
+ "org.apache.openejb.core.LocalInitialContextFactory");
Context ctx = new InitialContext(props);
service = (UserService) ctx.lookup("UserServiceImplLocal");
this.users = service.findAll();
Modified: openejb/trunk/openejb/examples/webservice-attachments/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webservice-attachments/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webservice-attachments/README.md (original)
+++ openejb/trunk/openejb/examples/webservice-attachments/README.md Mon Jan 9 23:49:46 2012
@@ -111,7 +111,7 @@ Title: Webservice Attachments
protected void setUp() throws Exception {
Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
properties.setProperty("openejb.embedded.remotable", "true");
initialContext = new InitialContext(properties);
Modified: openejb/trunk/openejb/examples/webservice-inheritance/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webservice-inheritance/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webservice-inheritance/README.md (original)
+++ openejb/trunk/openejb/examples/webservice-inheritance/README.md Mon Jan 9 23:49:46 2012
@@ -244,7 +244,7 @@ Title: Webservice Inheritance
protected void setUp() throws Exception {
Properties p = new Properties();
- p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
p.put("wakeBoardDatabase", "new://Resource?type=DataSource");
p.put("wakeBoardDatabase.JdbcDriver", "org.hsqldb.jdbcDriver");
p.put("wakeBoardDatabase.JdbcUrl", "jdbc:hsqldb:mem:wakeBoarddb");
Modified: openejb/trunk/openejb/examples/webservice-security/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webservice-security/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webservice-security/README.md (original)
+++ openejb/trunk/openejb/examples/webservice-security/README.md Mon Jan 9 23:49:46 2012
@@ -114,7 +114,7 @@ Title: Webservice Security
protected void setUp() throws Exception {
Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
properties.setProperty("openejb.embedded.remotable", "true");
initialContext = new InitialContext(properties);
Modified: openejb/trunk/openejb/examples/webservice-ws-security/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/webservice-ws-security/README.md?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/webservice-ws-security/README.md (original)
+++ openejb/trunk/openejb/examples/webservice-ws-security/README.md Mon Jan 9 23:49:46 2012
@@ -315,7 +315,7 @@ Title: Webservice Ws Security
//START SNIPPET: setup
protected void setUp() throws Exception {
Properties properties = new Properties();
- properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
properties.setProperty("openejb.embedded.remotable", "true");
new InitialContext(properties);
Modified: openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/testejb.jsp
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/testejb.jsp?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/testejb.jsp (original)
+++ openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/testejb.jsp Mon Jan 9 23:49:46 2012
@@ -132,7 +132,7 @@ java.util.Properties
myLoader = this.getClass().getClassLoader();
Properties p = new Properties();
- p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
p.put("openejb.loader", "embed");
ctx = new InitialContext(p);
Modified: openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/testint.jsp
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/testint.jsp?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/testint.jsp (original)
+++ openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/testint.jsp Mon Jan 9 23:49:46 2012
@@ -129,7 +129,7 @@ java.util.Properties
try {
Properties p = new Properties();
- p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
p.put("openejb.loader", "embed");
ctx = new InitialContext(p);
Modified: openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/viewejb.jsp
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/viewejb.jsp?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/viewejb.jsp (original)
+++ openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/viewejb.jsp Mon Jan 9 23:49:46 2012
@@ -196,7 +196,7 @@ javax.naming.InitialContext
if(contextID == null){
Properties p = new Properties();
- p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
p.put("openejb.loader", "embed");
ctx = new InitialContext(p);
Modified: openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/viewjndi.jsp
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/viewjndi.jsp?rev=1229421&r1=1229420&r2=1229421&view=diff
==============================================================================
--- openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/viewjndi.jsp (original)
+++ openejb/trunk/openejb/tomee/tomee-webapp/src/main/webapp/viewjndi.jsp Mon Jan 9 23:49:46 2012
@@ -89,7 +89,7 @@ java.util.Properties
if (ctxID == null) {
Properties p = new Properties();
- p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.localclient.LocalInitialContextFactory");
+ p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.core.LocalInitialContextFactory");
p.put("openejb.loader", "embed");
try {
ctx = new InitialContext( p );