You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ge...@apache.org on 2011/08/16 08:11:31 UTC

svn commit: r1158116 - /geronimo/server/trunk/plugins/uddi/uddi-war-repackage/src/main/resources/WEB-INF/web.xml

Author: genspring
Date: Tue Aug 16 06:11:31 2011
New Revision: 1158116

URL: http://svn.apache.org/viewvc?rev=1158116&view=rev
Log:
Don't init RegistryServlet and NotifyServlet on startup to speed up the startup.

Added:
    geronimo/server/trunk/plugins/uddi/uddi-war-repackage/src/main/resources/WEB-INF/web.xml

Added: geronimo/server/trunk/plugins/uddi/uddi-war-repackage/src/main/resources/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/uddi/uddi-war-repackage/src/main/resources/WEB-INF/web.xml?rev=1158116&view=auto
==============================================================================
--- geronimo/server/trunk/plugins/uddi/uddi-war-repackage/src/main/resources/WEB-INF/web.xml (added)
+++ geronimo/server/trunk/plugins/uddi/uddi-war-repackage/src/main/resources/WEB-INF/web.xml Tue Aug 16 06:11:31 2011
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+ -->
+<!DOCTYPE web-app PUBLIC 
+	"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 
+	"http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+
+  <display-name>jUDDI</display-name>
+  <description>
+    jUDDI is Java-based implementation of a UDDI version 3.0 registry.
+  </description>
+
+   <servlet>
+    <servlet-name>RegistryServlet</servlet-name>
+    <display-name>Registry Servlet</display-name>
+    <servlet-class>org.apache.juddi.servlets.RegistryServlet</servlet-class>
+    <!--load-on-startup>1</load-on-startup-->
+  </servlet>
+  
+  <servlet>
+    <servlet-name>NotifyServlet</servlet-name>
+    <display-name>Notify Servlet</display-name>
+    <servlet-class>
+      org.apache.juddi.servlets.NotifyServlet
+    </servlet-class>
+    <!--load-on-startup>1</load-on-startup-->
+  </servlet>
+
+  <servlet-mapping>
+  	<servlet-name>NotifyServlet</servlet-name>
+  	<url-pattern>/notify/*</url-pattern>
+  </servlet-mapping>
+
+  <welcome-file-list id="WelcomeFileList">
+    <welcome-file>index.jsp</welcome-file>
+    <welcome-file>index.html</welcome-file>
+  </welcome-file-list>
+
+  <resource-ref>
+    <description>jUDDI DataSource</description>
+    <res-ref-name>jdbc/juddiDB</res-ref-name>
+    <res-type>javax.sql.DataSource</res-type>
+    <res-auth>Container</res-auth>
+    <res-sharing-scope>Shareable</res-sharing-scope>
+  </resource-ref>
+  
+</web-app>