Hi,
I have an issue between CodeMix & Jetty but I wonder if it’s no deeper and linked with Eclipse M2ee plugin when maven update.
I use Jetty 9.3.14 for Dev, and Tomcat 8.5.x for run.
With Jetty I use a Jetty env file with ${…} Maven properties.
I noticed that on build, or maven update Jetty env file keeps ${…} in /target directory of my web app and when I run Jetty server it fails.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://eclipse.org/jetty/configure.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<New id="DS_PrimaClaims" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg></Arg>
<Arg>claims/DS_PrimaClaims</Arg>
<Arg>
<New class="org.apache.commons.dbcp.BasicDataSource">
<Set name="driverClassName">${primaclaims.jdbc.driver}</Set>
<Set name="url">jdbc:oracle:thin:@${primaclaims.jdbc.host}:${primaclaims.jdbc.port}:${primaclaims.jdbc.database}</Set>
<Set name="username">${primaclaims.jdbc.username}</Set>
<Set name="password">${primaclaims.jdbc.password}</Set>
</New>
</Arg>
</New>
<Set name="maxFormContentSize" type="int">10000000</Set>
</Configure>
-
This topic was modified 6 years, 10 months ago by
neozerabbit.