Author: dan.j.allen
Date: 2009-04-23 20:37:10 -0400 (Thu, 23 Apr 2009)
New Revision: 2618
Added:
examples/trunk/tomcat/WebContent/WEB-INF/jetty-env.xml
Log:
add configuration to bind Manager to JNDI in Jetty
Added: examples/trunk/tomcat/WebContent/WEB-INF/jetty-env.xml
===================================================================
--- examples/trunk/tomcat/WebContent/WEB-INF/jetty-env.xml (rev
0)
+++ examples/trunk/tomcat/WebContent/WEB-INF/jetty-env.xml 2009-04-24 00:37:10 UTC (rev
2618)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN"
+ "http://jetty.mortbay.org/configure.dtd">
+<Configure id="webAppCtx"
class="org.mortbay.jetty.webapp.WebAppContext">
+ <New id="appManager"
class="org.mortbay.jetty.plus.naming.Resource">
+ <Arg><Ref id="webAppCtx"/></Arg>
+ <Arg>app/Manager</Arg>
+ <Arg>
+ <New class="javax.naming.Reference">
+ <Arg>javax.inject.manager.Manager</Arg>
+ <Arg>org.jboss.webbeans.resources.ManagerObjectFactory</Arg>
+ <Arg/>
+ </New>
+ </Arg>
+ </New>
+</Configure>
Show replies by date