WebFraction – Tomcat

You need to modify it to create a new ROOT directory.

This will display a default application instead of the ROOT.war (Tomcat, it's working page).

Copy the Root directory to tomcat.

Paste the below red into server.xml after installing and uploading your war.

<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">

<Context path="" docBase="QBW-Web-Base">
<!– Default set of monitored resources –>
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!– Uncomment this to disable session persistence across Tomcat restarts –>
<!–
<Manager pathname="" />
–>
<!– Uncomment this to enable Comet connection tacking (provides events
on session expiration as well as webapp lifecycle) –>
<!–
<Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
–>
</Context>

WebFraction memory limitation

You will also need to modify catalina.sh

if [ -z "$LOGGING_MANAGER" ]; then
JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xmx40m -Xms10m -Xss64k"
else
JAVA_OPTS="$JAVA_OPTS $LOGGING_MANAGER -Xmx40m -Xms10m -Xss64k"
fi


Tag Cloud