Posts Tagged 'configure&'

Nov

15

Install and configure AppFuse

Posted by admin under technology - No Comments

To install and configure AppFuse for development, see the QuickStart Guide at:
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseQuickStart.

To learn how to develop your J2EE webapps with AppFuse, see
http://raibledesigns.com/wiki/Wiki.jsp?page=Articles (or docs/index.html if you
downloaded the AppFuse source distribution). You can also download all the
latest documentation to the “docs” directory by running “ant wiki”.

To build this application - you must be using Ant 1.6.2+. You will also need
to copy junit.jar into your $ANT_HOME/lib directory.

You are expected to have Tomcat 5.0.x+ installed, as well as an SMTP server on
localhost. If you don’t want to install an SMTP server, change
web/WEB-INF/classes/mail.properties to point to an existing one.

To run this application, you will need to perform the following tasks:

1. The default database setup expects a mysql database installed with
an admin user named “root” and no password. If your system is different,
modify properties.xml or build.properties to override the default values.
2. Run “ant setup-db”. This creates a mysql database named “appfuse” and
grants the user “test” (password: test) full rights to this database.
3 Test that the db access code works with:
ant test-dao -Dtestcase=UserDAO
ant test-service -Dtestcase=UserManager
4. Setup Tomcat by running “ant setup-tomcat deploy”. This deploys an
appfuse.xml file to $CATALINA_HOME/webapps ($CATALINA_HOME/conf/Catalina/
localhost on Tomcat 5). It also deploys the application to
$CATALINA_HOME/webapps.
5. Start Tomcat and test the web login using “ant test-canoo -Dtestcase=Login”.
If you experience issues with Tomcat, check your build/test/cargo.log file.

LinkWorth | Search Engine Marketing - Text Link Advertising PerformancingAds