- This topic has 1 reply, 2 voices, and was last updated 6 years ago by support-swapna.
-
AuthorPosts
-
neozerabbitParticipantHi,
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 ago by neozerabbit.
support-swapnaModeratorneozerabbit,
Thank you for trying CodeMix. This looks like an issue with Jetty Maven plugin integration and not a CodeMix related one.
1. Can you please clarify if the location of jetty-env.xml is being changed on build or maven update?
2. Have you also defined the jetty-env.xml location in the project’s pom.xml for the Jetty Maven plugin dependency?
I suggest you also cross post to development related forums like stackoverflow.com for better support from developer community as it is a Jetty+Maven development related query.
Hope this helps.
–Swapna
Genuitec Support- This reply was modified 6 years ago by support-swapna.
-
AuthorPosts