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


Referenced by
Articles
Articles_cn
Articles_de
Articles_pt
Articles_zh




JSPWiki v2.2.33

[RSS]


Hide Menu

AppFuseOnTomcat


This is version 4. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]


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.

Justin Spears - 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.


Go to top   More info...   Attach file...
This particular version was published on 06-Nov-2006 13:52:42 MST by NathanAnderson.