Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences

Edit this page


Referenced by
Articles
Articles_cn
Articles_de
Articles_pt
Articles_zh




JSPWiki v2.2.33

[RSS]


Hide Menu

AppFuseOnTomcat


Tips and tricks for configuring Tomcat to run your AppFuse application

Run AppFuse in Tomcat's ROOT context
1. With a fresh tomcat install edit $CATALINA_HOME/conf/server.xml and set autoDeploy="false" for Host localhost.
2. Run 'ant setup' from a fresh AppFuse install
3. rm $CATALINA_HOME/wabapps/appfuse/META-INF/context.xml
4. In your appfuse.xml (or metadata/conf/tomcat-context.xml), use the following:

    <Context path="" docBase="ROOT"
5. Then put all your files in the ROOT directory.

This works for me and after testing many different options for several days - this seems to be the *only* way to make an app the root app on Tomcat.

NOTE: This method is known to work with AppFuse 1.6 on Tomcat 5.5.4 and 5.0.28.

In tomcat 5.5 it worked when I set the and then created a link from tomcat/conf/Catalina//ROOT.xml to appfuse.xml. This requires having a unixy filesystem. But it may be easier than keeping appfuse war, and dir in sync. Justin Spears


Go to top   Edit this page   More info...   Attach file...
This page last changed on 06-Nov-2006 13:52:59 MST by NathanAnderson.