blob: cc671fbf56c6e05816bf6d392e773b726d79256f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2004-2005 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Rev$ $Date$ -->
<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.1">
<ext-module>
<web>uddi-jetty</web>
<external-path>geronimo/geronimo-uddi-server/${pom.currentVersion}/war</external-path>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.1">
<context-root>/juddi</context-root>
<gbean name="UDDIResources" class="org.apache.geronimo.system.util.DirectoryInitializationGBean">
<!-- copies uddi derby db files into specified location -->
<attribute name="prefix">META-INF/geronimo-uddi-db</attribute>
<attribute name="path">var/derby</attribute>
<reference name="ServerInfo">
<name>ServerInfo</name>
</reference>
</gbean>
</web-app>
</ext-module>
<ext-module>
<connector>uddi-db</connector>
<external-path>tranql/tranql-connector-derby-embed-local/${tranql_vendors_version}/rar</external-path>
<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1">
<resourceadapter>
<outbound-resourceadapter>
<connection-definition>
<connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
<connectiondefinition-instance>
<name>jdbc/juddiDB</name>
<config-property-setting name="UserName"></config-property-setting>
<config-property-setting name="Password"></config-property-setting>
<config-property-setting name="DatabaseName">UddiDatabase</config-property-setting>
<config-property-setting name="CreateDatabase">false</config-property-setting>
<connectionmanager>
<local-transaction/>
<single-pool>
<max-size>100</max-size>
<blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
<match-one/>
</single-pool>
</connectionmanager>
</connectiondefinition-instance>
</connection-definition>
</outbound-resourceadapter>
</resourceadapter>
</connector>
</ext-module>
<gbean name="eis/JAXR" class="org.apache.geronimo.webservices.jaxr.JAXRGBean"/>
</application>