initial import
This commit is contained in:
14
modules/core/web/META-INF/context.xml
Normal file
14
modules/core/web/META-INF/context.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<Context>
|
||||
<!-- Database connection -->
|
||||
<!-- Switch off session serialization -->
|
||||
<Manager pathname=""/>
|
||||
<Resource driverClassName="org.postgresql.Driver"
|
||||
maxIdle="2"
|
||||
maxTotal="20"
|
||||
maxWaitMillis="5000"
|
||||
name="jdbc/CubaDS"
|
||||
password="postgres"
|
||||
type="javax.sql.DataSource"
|
||||
url="jdbc:postgresql://localhost:5432/tms"
|
||||
username="postgres"/>
|
||||
</Context>
|
||||
30
modules/core/web/WEB-INF/web.xml
Normal file
30
modules/core/web/WEB-INF/web.xml
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
|
||||
version="3.0">
|
||||
<!-- Application properties config files -->
|
||||
<context-param>
|
||||
<param-name>appPropertiesConfig</param-name>
|
||||
<param-value>classpath:com/cmobile/unifiedtms/ext/app.properties
|
||||
/WEB-INF/local.app.properties
|
||||
"file:${app.home}/local.app.properties"</param-value>
|
||||
</context-param>
|
||||
<!--Application components-->
|
||||
<context-param>
|
||||
<param-name>appComponents</param-name>
|
||||
<param-value>com.haulmont.cuba</param-value>
|
||||
</context-param>
|
||||
<listener>
|
||||
<listener-class>com.haulmont.cuba.core.sys.AppContextLoader</listener-class>
|
||||
</listener>
|
||||
<servlet>
|
||||
<servlet-name>remoting</servlet-name>
|
||||
<servlet-class>com.haulmont.cuba.core.sys.remoting.RemotingServlet</servlet-class>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>remoting</servlet-name>
|
||||
<url-pattern>/remoting/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
</web-app>
|
||||
Reference in New Issue
Block a user