http://stackoverflow.com/questions/18669345/maven-jetty-plugin-outofmemoryerror-when-sharing-instance-between-two-web-apps

eclipse maven jetty plugin outofmemoryerror
이렇게 하면 될려나? 안해봤음..


<
plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>7.6.8.v20121106</version> <executions> <execution> <id>start-jetty</id> <!-- Set this to the appropriate phase: pre-integration-test, or earlier test-compile--> <phase>pre-integration-test</phase> <goals> <goal>jetty:run-forked</goal> </goals> </execution> </executions> <configuration> <jvmArgs>-Xmx2048m -Xms1536m -XX:PermSize=128m -XX:MaxPermSize=256m</jvmArgs> <scanIntervalSeconds>10</scanIntervalSeconds> <webApp> <contextPath>/</contextPath> </webApp> <contextHandlers> <contextHandler implementation="org.eclipse.jetty.webapp.WebAppContext"> <war>../../api/target/main-api.war</war> <contextPath>/test</contextPath> </contextHandler> </contextHandlers> </configuration> </plugin>



Posted by [czar]
,