Skip to content
t7mp edited this page Feb 24, 2011 · 7 revisions

FAQ

Q: Where is Tomcat installed?

A: At the moment Tomcat 'takes place' under ${basedir}/target/tomcat. After an mvn:clean when the target-directory will be deleted the tomcat instance will be deleted too. The instance will be build again every time when t7:run will be called. That action takes only some milliseconds because it is just a copy of needed artifacts that were resolved only for the first time. This could or should be configurable. But it's not. If you need this feature, raise an issue or maybe submit an patch.

Q: How to increase memory settings for tomcat

A: The Tomcat runs within an Maven-Build-Process. So, the way to increase the memory for Tomcat, is to increase the memory for Maven. You can do this by creating an environment-variable MAVEN_OPTS to your system. user@host:~$ echo $MAVEN_OPTS -Xmx1024m -Xms256m -XX:PermSize=128m

Home

Clone this wiki locally