facebook

Issue Jetty (Maven) & CodeMix

  1. CodeMix & Angular IDE
  2.  > 
  3. Getting Help
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #602011 Reply

    neozerabbit
    Participant

    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>
    #602131 Reply

    support-swapna
    Moderator

    neozerabbit,

    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

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Issue Jetty (Maven) & CodeMix

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in