> Hallo, yesterday I saw that TomEE Micro M3 (at least) seams not to read/detect the resources.xml in WEB-INF.
Is this an issue with the TomEE Maven Plugin, or an issue you're seeing by deploying a .war file in a freshly unzipped TomEE? Either way, it sounds like a bug we'd want to reproduce and fix, we probably just need some pointers from you tor reproduce. I do have an application that defines a datasource in resources.xml, so I'll give that a shot with 8.0.0-M3 and 8.0.0 and report back. Jon On Sun, Oct 6, 2019 at 12:16 PM Ingo Mahnke <[email protected]> wrote: > Hallo, yesterday I saw that TomEE Micro M3 (at least) seams not to > read/detect the resources.xml in WEB-INF. > > So I created this workaround (via maven) for me. > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-antrun-plugin</artifactId> > <version>1.6</version> > <executions> > <execution> > <id>repack</id> > <phase>package</phase> > <goals> > <goal>run</goal> > </goals> > <configuration> > <target> > <mkdir > dir="${project.build.directory}/tomcat"/> > <move > file="${project.build.directory}/apache-tomee" > toDir="${project.build.directory}/tomcat"/> > > <zip > basedir="${project.build.directory}/tomcat" > destfile="${project.build.directory}/tomee.zip"/> > <unzip > src="${project.build.directory}/app-aurora-mp-exec.jar" > dest="${project.build.directory}/tmp"/> > <delete > file="${project.build.directory}/tmp/tomee.zip"/> > <move > file="${project.build.directory}/tomee.zip" > tofile="${project.build.directory}/tmp/tomee.zip"/> > <delete > file="${project.build.directory}/app-aurora-mp-exec.jar"/> > <zip > basedir="${project.build.directory}/tmp" > destfile="${project.build.directory}/app-aurora-mp-exec.jar"/> > > </target> > </configuration> > </execution> > </executions> > </plugin> > > > In "${project.build.directory}/apache-tomee" I have a modified "tomee.xml". > > this maven simply changes the default tomee.xml against a modified version. > > Maybe some one else have the same problem or a better solution. > > > Best > Ingo > > > >
