Version 7 (modified by ibaldin, 9 years ago)


Q: Where is antlib.xml?

A: Install maven ant tasks (you can download and install maven-ant-tasks-2.1.0.jar directly from and in Linux put it in /usr/share/ant/lib/). See Prerequisites.

Q: Maven complains about heap space while doing "mvn install", what's this about?


$ export MAVEN_OPTS="-XX:MaxPermSize=512m -Xmx1024m"
$ mvn install

Q: Webapp complains about not being able to find

A: As of Anacortes 1.2 ORCA no longer packages with the webapp. Create a directory (e.g. /opt/orca), make sure tomcat has a definition of $ORCA_HOME in its pointing to it (e.g. add 'export ORCA_HOME=/opt/orca') to tomcat, then copy in $ORCA_HOME and try again.

Q: My node agent randomly quits

A: Nodeagents ship with remote debugging port open by default. Port scans on that port tend to kill the NA. Reconfigure the NA not to use remote debugging (/root/na/bin/

# Uncomment this line to turn on debugging. Note that a port scan on the debug port will kill the
# JVM. This is a known bug in Java 1.5.
#DEBUG_OPTIONS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=${DEBUG_PORT}"

Q: My webapp randomly quits

A: You may have opened debug port in tomcat/ Close it by commenting out the long CATALINA_OPTS declaration and uncommenting the short one:

declare -x CATALINA_OPTS="-Xmx1024m"
#declare -x CATALINA_OPTS="-ea -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=11111 -Xmx1024m"