Sat, 16 May 2020 17:22:45 +0200
re-adds context.xml (it only worked because the already deployed context.xml was not deleted...)
pom.xml | file | annotate | diff | comparison | revisions | |
src/main/resources/META-INF/context.xml | file | annotate | diff | comparison | revisions |
--- a/pom.xml Sat May 16 17:22:02 2020 +0200 +++ b/pom.xml Sat May 16 17:22:45 2020 +0200 @@ -56,6 +56,13 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>${version.maven.war}</version> + <configuration> + <webResources> + <resource> + <directory>${project.basedir}/src/main/resources</directory> + </resource> + </webResources> + </configuration> </plugin> </plugins> </build>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/resources/META-INF/context.xml Sat May 16 17:22:45 2020 +0200 @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Context path="/lightpit"> + <ResourceLink name="jdbc/lightpit/app" + global="jdbc/lightpit/app" + type="javax.sql.DataSource" /> +</Context>