Sha256: c86af40393e7468269cdb8e0462f0d8cb48b08fa2da36cc295989486c48cc188

Contents?: true

Size: 1.88 KB

Versions: 4

Compression:

Stored size: 1.88 KB

Contents

<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">

<Configure id='wac' class="org.mortbay.jetty.webapp.WebAppContext">

  <!-- Add an EnvEntry only valid for this webapp               -->
  <New id="gargle"  class="org.mortbay.jetty.plus.naming.EnvEntry">
    <Arg><Ref id='wac'/></Arg>
    <Arg>gargle</Arg>
    <Arg type="java.lang.Double">100</Arg>
    <Arg type="boolean">true</Arg>
  </New>

 <!-- Add an override for a global EnvEntry                           -->
  <New id="wiggle"  class="org.mortbay.jetty.plus.naming.EnvEntry">
    <Arg><Ref id='wac'/></Arg>
    <Arg>wiggle</Arg>
    <Arg type="java.lang.Double">55.0</Arg>
    <Arg type="boolean">true</Arg>
  </New>

<!-- Add a mapping from name in web.xml to the environment -->
  <New id="map1" class="org.mortbay.jetty.plus.naming.Link">
    <Arg><Ref id='wac'/></Arg>
    <Arg>jdbc/mydatasource1</Arg> <!-- name in web.xml -->
    <Arg>jdbc/mydatasource</Arg>  <!-- name in environment -->
  </New>

  <!-- ==============================================================  -->
  <!-- Add a DataSource only valid for this webapp                     -->
  <!-- Uncomment one of the following options.                         -->
  <!-- ==============================================================  -->

  <!-- Atomikos datasource                                             
@ATOMIKOS-DATASOURCE99-PRE@
  <New id="mydatasource99" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg><Ref id='wac'/></Arg>
    <Arg>jdbc/mydatasource99</Arg>
    <Arg>
     @ATOMIKOS-DATASOURCE99@
    </Arg>
   </New>
  -->

  <!-- JOTM datasource
@JOTM-DATASOURCE99-PRE@
  <New id="mydatasource99" class="org.mortbay.jetty.plus.naming.Resource">
    <Arg><Ref id='wac'/></Arg>
    <Arg>jdbc/mydatasource99</Arg>
    <Arg>
     @JOTM-DATASOURCE99@
    </Arg>
   </New>
  -->


</Configure>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
miso-java-0.1.5 jetty/examples/test-jndi-webapp/src/templates/jetty-env.xml
miso-java-0.1.4 jetty/examples/test-jndi-webapp/src/templates/jetty-env.xml
miso-java-0.1.3 jetty/examples/test-jndi-webapp/src/templates/jetty-env.xml
miso-java-0.1.2 jetty/examples/test-jndi-webapp/src/templates/jetty-env.xml