Commit 781082a4198174999df1ab7cb1ca7c09b0befab9
1 parent
6ccb918455
Exists in
master
and in
6 other branches
文件恢复
Showing 5 changed files with 366 additions and 0 deletions
platform-data-api/src/main/webapp/WEB-INF/web.xml
View file @
781082a
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor | |
| 3 | + license agreements. See the NOTICE file distributed with this work for additional | |
| 4 | + information regarding copyright ownership. The ASF licenses this file to | |
| 5 | + you under the Apache License, Version 2.0 (the "License"); you may not use | |
| 6 | + this file except in compliance with the License. You may obtain a copy of | |
| 7 | + the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required | |
| 8 | + by applicable law or agreed to in writing, software distributed under the | |
| 9 | + License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS | |
| 10 | + OF ANY KIND, either express or implied. See the License for the specific | |
| 11 | + language governing permissions and limitations under the License. --> | |
| 12 | +<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 13 | + version="2.5" | |
| 14 | + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> | |
| 15 | + <display-name>cxf</display-name> | |
| 16 | + <servlet-mapping> | |
| 17 | + <servlet-name>default</servlet-name> | |
| 18 | + <url-pattern>/upload/*</url-pattern> | |
| 19 | + </servlet-mapping> | |
| 20 | + <servlet-mapping> | |
| 21 | + <servlet-name>default</servlet-name> | |
| 22 | + <url-pattern>/css/*</url-pattern> | |
| 23 | + </servlet-mapping> | |
| 24 | + <servlet-mapping> | |
| 25 | + <servlet-name>default</servlet-name> | |
| 26 | + <url-pattern>/scripts/*</url-pattern> | |
| 27 | + </servlet-mapping> | |
| 28 | + <context-param> | |
| 29 | + <param-name>contextConfigLocation</param-name> | |
| 30 | + <param-value> | |
| 31 | + classpath*:/spring/applicationContext.xml | |
| 32 | + </param-value> | |
| 33 | + </context-param> | |
| 34 | + <context-param> | |
| 35 | + <param-name>webAppRootKey</param-name> | |
| 36 | + <param-value>webapp.platform-data-api</param-value> | |
| 37 | + </context-param> | |
| 38 | + <servlet> | |
| 39 | + <description>Apache CXF Endpoint</description> | |
| 40 | + <display-name>cxf</display-name> | |
| 41 | + <servlet-name>cxf</servlet-name> | |
| 42 | + <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class> | |
| 43 | + <load-on-startup>1</load-on-startup> | |
| 44 | + </servlet> | |
| 45 | + <servlet-mapping> | |
| 46 | + <servlet-name>cxf</servlet-name> | |
| 47 | + <url-pattern>/services/*</url-pattern> | |
| 48 | + </servlet-mapping> | |
| 49 | + <session-config> | |
| 50 | + <session-timeout>60</session-timeout> | |
| 51 | + </session-config> | |
| 52 | + <context-param> | |
| 53 | + <param-name>log4jConfigLocation</param-name> | |
| 54 | + <param-value>classpath:log4j.properties</param-value> | |
| 55 | + </context-param> | |
| 56 | + <context-param> | |
| 57 | + <param-name>log4jRefreshInterval</param-name> | |
| 58 | + <param-value>60000</param-value> | |
| 59 | + </context-param> | |
| 60 | + <servlet> | |
| 61 | + <servlet-name>dispatcher</servlet-name> | |
| 62 | + <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | |
| 63 | + <init-param> | |
| 64 | + <param-name>contextConfigLocation</param-name> | |
| 65 | + <param-value>classpath*:/spring/applicationContext-mvc.xml</param-value> | |
| 66 | + </init-param> | |
| 67 | + <load-on-startup>1</load-on-startup> | |
| 68 | + </servlet> | |
| 69 | + <servlet-mapping> | |
| 70 | + <servlet-name>dispatcher</servlet-name> | |
| 71 | + <url-pattern>/</url-pattern> | |
| 72 | + </servlet-mapping> | |
| 73 | + <listener> | |
| 74 | + <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | |
| 75 | + </listener> | |
| 76 | + <listener> | |
| 77 | + <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> | |
| 78 | + </listener> | |
| 79 | +</web-app> |
platform-job-index/src/main/webapp/WEB-INF/web.xml
View file @
781082a
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor | |
| 3 | + license agreements. See the NOTICE file distributed with this work for additional | |
| 4 | + information regarding copyright ownership. The ASF licenses this file to | |
| 5 | + you under the Apache License, Version 2.0 (the "License"); you may not use | |
| 6 | + this file except in compliance with the License. You may obtain a copy of | |
| 7 | + the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required | |
| 8 | + by applicable law or agreed to in writing, software distributed under the | |
| 9 | + License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS | |
| 10 | + OF ANY KIND, either express or implied. See the License for the specific | |
| 11 | + language governing permissions and limitations under the License. --> | |
| 12 | +<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 13 | + version="2.5" | |
| 14 | + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> | |
| 15 | + <context-param> | |
| 16 | + <param-name>contextConfigLocation</param-name> | |
| 17 | + <param-value> | |
| 18 | + classpath*:/spring/applicationContext-sync-data.xml | |
| 19 | + </param-value> | |
| 20 | + </context-param> | |
| 21 | + <context-param> | |
| 22 | + <param-name>webAppRootKey</param-name> | |
| 23 | + <param-value>webapp.job.index</param-value> | |
| 24 | + </context-param> | |
| 25 | + <session-config> | |
| 26 | + <session-timeout>60</session-timeout> | |
| 27 | + </session-config> | |
| 28 | + <context-param> | |
| 29 | + <param-name>log4jConfigLocation</param-name> | |
| 30 | + <param-value>classpath:log4j_config.xml</param-value> | |
| 31 | + </context-param> | |
| 32 | + <context-param> | |
| 33 | + <param-name>log4jRefreshInterval</param-name> | |
| 34 | + <param-value>60000</param-value> | |
| 35 | + </context-param> | |
| 36 | + <servlet> | |
| 37 | + <servlet-name>dispatcher</servlet-name> | |
| 38 | + <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | |
| 39 | + <init-param> | |
| 40 | + <param-name>contextConfigLocation</param-name> | |
| 41 | + <param-value>classpath*:/spring/applicationContext-mvc.xml</param-value> | |
| 42 | + </init-param> | |
| 43 | + <load-on-startup>1</load-on-startup> | |
| 44 | + </servlet> | |
| 45 | + <servlet-mapping> | |
| 46 | + <servlet-name>dispatcher</servlet-name> | |
| 47 | + <url-pattern>/</url-pattern> | |
| 48 | + </servlet-mapping> | |
| 49 | + <filter> | |
| 50 | + <filter-name>HttpMethodFilter</filter-name> | |
| 51 | + <filter-class>org.springframework.web.filter.HttpPutFormContentFilter</filter-class> | |
| 52 | + </filter> | |
| 53 | + <filter-mapping> | |
| 54 | + <filter-name>HttpMethodFilter</filter-name> | |
| 55 | + <url-pattern>/*</url-pattern> | |
| 56 | + </filter-mapping> | |
| 57 | + <filter> | |
| 58 | + <filter-name>encodingFilter</filter-name> | |
| 59 | + <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> | |
| 60 | + <init-param> | |
| 61 | + <param-name>encoding</param-name> | |
| 62 | + <param-value>UTF-8</param-value> | |
| 63 | + </init-param> | |
| 64 | + </filter> | |
| 65 | + | |
| 66 | + <filter-mapping> | |
| 67 | + <filter-name>encodingFilter</filter-name> | |
| 68 | + <url-pattern>/*</url-pattern> | |
| 69 | + </filter-mapping> | |
| 70 | + <listener> | |
| 71 | + <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | |
| 72 | + </listener> | |
| 73 | + <listener> | |
| 74 | + <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> | |
| 75 | + </listener> | |
| 76 | +</web-app> |
platform-msg-generate/src/main/webapp/WEB-INF/web.xml
View file @
781082a
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor | |
| 3 | + license agreements. See the NOTICE file distributed with this work for additional | |
| 4 | + information regarding copyright ownership. The ASF licenses this file to | |
| 5 | + you under the Apache License, Version 2.0 (the "License"); you may not use | |
| 6 | + this file except in compliance with the License. You may obtain a copy of | |
| 7 | + the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required | |
| 8 | + by applicable law or agreed to in writing, software distributed under the | |
| 9 | + License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS | |
| 10 | + OF ANY KIND, either express or implied. See the License for the specific | |
| 11 | + language governing permissions and limitations under the License. --> | |
| 12 | +<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 13 | + version="2.5" | |
| 14 | + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> | |
| 15 | + | |
| 16 | + <context-param> | |
| 17 | + <param-name>contextConfigLocation</param-name> | |
| 18 | + <param-value> | |
| 19 | + classpath*:/spring/applicationContext.xml | |
| 20 | + </param-value> | |
| 21 | + </context-param> | |
| 22 | + <context-param> | |
| 23 | + <param-name>webAppRootKey</param-name> | |
| 24 | + <param-value>webapp.platform-msg-generate</param-value> | |
| 25 | + </context-param> | |
| 26 | + | |
| 27 | + <session-config> | |
| 28 | + <session-timeout>60</session-timeout> | |
| 29 | + </session-config> | |
| 30 | + <context-param> | |
| 31 | + <param-name>log4jConfigLocation</param-name> | |
| 32 | + <param-value>classpath:log4j_config.xml</param-value> | |
| 33 | + </context-param> | |
| 34 | + <context-param> | |
| 35 | + <param-name>log4jRefreshInterval</param-name> | |
| 36 | + <param-value>60000</param-value> | |
| 37 | + </context-param> | |
| 38 | + <servlet> | |
| 39 | + <servlet-name>dispatcher</servlet-name> | |
| 40 | + <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | |
| 41 | + <init-param> | |
| 42 | + <param-name>contextConfigLocation</param-name> | |
| 43 | + <param-value>classpath*:/spring/applicationContext-mvc.xml</param-value> | |
| 44 | + </init-param> | |
| 45 | + <load-on-startup>1</load-on-startup> | |
| 46 | + </servlet> | |
| 47 | + | |
| 48 | + <servlet-mapping> | |
| 49 | + <servlet-name>dispatcher</servlet-name> | |
| 50 | + <url-pattern>/</url-pattern> | |
| 51 | + </servlet-mapping> | |
| 52 | + <listener> | |
| 53 | + <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | |
| 54 | + </listener> | |
| 55 | + <listener> | |
| 56 | + <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> | |
| 57 | + </listener> | |
| 58 | +</web-app> |
platform-report-api/src/main/webapp/WEB-INF/web.xml
View file @
781082a
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor | |
| 3 | + license agreements. See the NOTICE file distributed with this work for additional | |
| 4 | + information regarding copyright ownership. The ASF licenses this file to | |
| 5 | + you under the Apache License, Version 2.0 (the "License"); you may not use | |
| 6 | + this file except in compliance with the License. You may obtain a copy of | |
| 7 | + the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required | |
| 8 | + by applicable law or agreed to in writing, software distributed under the | |
| 9 | + License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS | |
| 10 | + OF ANY KIND, either express or implied. See the License for the specific | |
| 11 | + language governing permissions and limitations under the License. --> | |
| 12 | +<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 13 | + version="2.5" | |
| 14 | + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> | |
| 15 | + <context-param> | |
| 16 | + <param-name>contextConfigLocation</param-name> | |
| 17 | + <param-value> | |
| 18 | + classpath*:/spring/applicationContext.xml | |
| 19 | + </param-value> | |
| 20 | + </context-param> | |
| 21 | + | |
| 22 | + <session-config> | |
| 23 | + <session-timeout>60</session-timeout> | |
| 24 | + </session-config> | |
| 25 | + <context-param> | |
| 26 | + <param-name>log4jConfigLocation</param-name> | |
| 27 | + <param-value>classpath:log4j_config.xml</param-value> | |
| 28 | + </context-param> | |
| 29 | + <context-param> | |
| 30 | + <param-name>webAppRootKey</param-name> | |
| 31 | + <param-value>webapp.report-api</param-value> | |
| 32 | + </context-param> | |
| 33 | + <context-param> | |
| 34 | + <param-name>log4jRefreshInterval</param-name> | |
| 35 | + <param-value>60000</param-value> | |
| 36 | + </context-param> | |
| 37 | + <servlet> | |
| 38 | + <servlet-name>dispatcher</servlet-name> | |
| 39 | + <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | |
| 40 | + <init-param> | |
| 41 | + <param-name>contextConfigLocation</param-name> | |
| 42 | + <param-value>classpath*:/spring/applicationContext-mvc.xml</param-value> | |
| 43 | + </init-param> | |
| 44 | + <load-on-startup>1</load-on-startup> | |
| 45 | + </servlet> | |
| 46 | + <servlet-mapping> | |
| 47 | + <servlet-name>dispatcher</servlet-name> | |
| 48 | + <url-pattern>/</url-pattern> | |
| 49 | + </servlet-mapping> | |
| 50 | + <filter> | |
| 51 | + <filter-name>HttpMethodFilter</filter-name> | |
| 52 | + <filter-class>org.springframework.web.filter.HttpPutFormContentFilter</filter-class> | |
| 53 | + </filter> | |
| 54 | + <filter-mapping> | |
| 55 | + <filter-name>HttpMethodFilter</filter-name> | |
| 56 | + <url-pattern>/*</url-pattern> | |
| 57 | + </filter-mapping> | |
| 58 | + <filter> | |
| 59 | + <filter-name>encodingFilter</filter-name> | |
| 60 | + <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> | |
| 61 | + <init-param> | |
| 62 | + <param-name>encoding</param-name> | |
| 63 | + <param-value>UTF-8</param-value> | |
| 64 | + </init-param> | |
| 65 | + </filter> | |
| 66 | + | |
| 67 | + <filter-mapping> | |
| 68 | + <filter-name>encodingFilter</filter-name> | |
| 69 | + <url-pattern>/*</url-pattern> | |
| 70 | + </filter-mapping> | |
| 71 | + <listener> | |
| 72 | + <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | |
| 73 | + </listener> | |
| 74 | + <listener> | |
| 75 | + <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> | |
| 76 | + </listener> | |
| 77 | +</web-app> |
platform-sync-data/src/main/webapp/WEB-INF/web.xml
View file @
781082a
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor | |
| 3 | + license agreements. See the NOTICE file distributed with this work for additional | |
| 4 | + information regarding copyright ownership. The ASF licenses this file to | |
| 5 | + you under the Apache License, Version 2.0 (the "License"); you may not use | |
| 6 | + this file except in compliance with the License. You may obtain a copy of | |
| 7 | + the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required | |
| 8 | + by applicable law or agreed to in writing, software distributed under the | |
| 9 | + License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS | |
| 10 | + OF ANY KIND, either express or implied. See the License for the specific | |
| 11 | + language governing permissions and limitations under the License. --> | |
| 12 | +<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 13 | + version="2.5" | |
| 14 | + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> | |
| 15 | + <context-param> | |
| 16 | + <param-name>contextConfigLocation</param-name> | |
| 17 | + <param-value> | |
| 18 | + classpath*:/spring/applicationContext-sync-data.xml | |
| 19 | + </param-value> | |
| 20 | + </context-param> | |
| 21 | + <context-param> | |
| 22 | + <param-name>webAppRootKey</param-name> | |
| 23 | + <param-value>platform.sync.data</param-value> | |
| 24 | + </context-param> | |
| 25 | + <session-config> | |
| 26 | + <session-timeout>60</session-timeout> | |
| 27 | + </session-config> | |
| 28 | + <context-param> | |
| 29 | + <param-name>log4jConfigLocation</param-name> | |
| 30 | + <param-value>classpath:log4j_config.xml</param-value> | |
| 31 | + </context-param> | |
| 32 | + <context-param> | |
| 33 | + <param-name>log4jRefreshInterval</param-name> | |
| 34 | + <param-value>60000</param-value> | |
| 35 | + </context-param> | |
| 36 | + <servlet> | |
| 37 | + <servlet-name>dispatcher</servlet-name> | |
| 38 | + <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | |
| 39 | + <init-param> | |
| 40 | + <param-name>contextConfigLocation</param-name> | |
| 41 | + <param-value>classpath*:/spring/applicationContext-mvc.xml</param-value> | |
| 42 | + </init-param> | |
| 43 | + <load-on-startup>1</load-on-startup> | |
| 44 | + </servlet> | |
| 45 | + <servlet-mapping> | |
| 46 | + <servlet-name>dispatcher</servlet-name> | |
| 47 | + <url-pattern>/</url-pattern> | |
| 48 | + </servlet-mapping> | |
| 49 | + <filter> | |
| 50 | + <filter-name>HttpMethodFilter</filter-name> | |
| 51 | + <filter-class>org.springframework.web.filter.HttpPutFormContentFilter</filter-class> | |
| 52 | + </filter> | |
| 53 | + <filter-mapping> | |
| 54 | + <filter-name>HttpMethodFilter</filter-name> | |
| 55 | + <url-pattern>/*</url-pattern> | |
| 56 | + </filter-mapping> | |
| 57 | + <filter> | |
| 58 | + <filter-name>encodingFilter</filter-name> | |
| 59 | + <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> | |
| 60 | + <init-param> | |
| 61 | + <param-name>encoding</param-name> | |
| 62 | + <param-value>UTF-8</param-value> | |
| 63 | + </init-param> | |
| 64 | + </filter> | |
| 65 | + | |
| 66 | + <filter-mapping> | |
| 67 | + <filter-name>encodingFilter</filter-name> | |
| 68 | + <url-pattern>/*</url-pattern> | |
| 69 | + </filter-mapping> | |
| 70 | + <listener> | |
| 71 | + <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | |
| 72 | + </listener> | |
| 73 | + <listener> | |
| 74 | + <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class> | |
| 75 | + </listener> | |
| 76 | +</web-app> |