Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | |
| 4 | Copyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved. |
| 5 | |
| 6 | This program and the accompanying materials are made available under the |
| 7 | terms of the Eclipse Public License v. 2.0, which is available at |
| 8 | http://www.eclipse.org/legal/epl-2.0. |
| 9 | |
| 10 | This Source Code may also be made available under the following Secondary |
| 11 | Licenses when the conditions for such availability set forth in the |
| 12 | Eclipse Public License v. 2.0 are satisfied: GNU General Public License, |
| 13 | version 2 with the GNU Classpath Exception, which is available at |
| 14 | https://www.gnu.org/software/classpath/license.html. |
| 15 | |
| 16 | SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 |
| 17 | |
| 18 | --> |
| 19 | |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 20 | <web-app version="2.5" |
| 21 | xmlns="http://java.sun.com/xml/ns/javaee" |
| 22 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 23 | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> |
| 24 | <servlet> |
| 25 | <servlet-name>BasicDBInitSqlServlet</servlet-name> |
| 26 | <servlet-class>org.glassfish.tests.paas.basicdbinitsql.BasicDBInitSqlServlet</servlet-class> |
| 27 | </servlet> |
| 28 | <servlet-mapping> |
| 29 | <servlet-name>BasicDBInitSqlServlet</servlet-name> |
| 30 | <url-pattern>/BasicDBInitSqlServlet</url-pattern> |
| 31 | </servlet-mapping> |
| 32 | <session-config> |
| 33 | <session-timeout> |
| 34 | 30 |
| 35 | </session-timeout> |
| 36 | </session-config> |
| 37 | <resource-ref> |
| 38 | <res-ref-name>jdbc/__basic_db_initsql_paas_sample</res-ref-name> |
| 39 | <res-type>javax.sql.DataSource</res-type> |
| 40 | <!-- |
| 41 | <res-auth>Container</res-auth> |
| 42 | <res-sharing-scope>Shareable</res-sharing-scope> |
| 43 | --> |
| 44 | </resource-ref> |
| 45 | </web-app> |