Installing JBoss Portal Forums
First you need to create the database structure, go to the forums directory and type sh build.sh ddl it will create a file forums/output/resources/setup/setup.ddl.
Feed your database with this file, you may also want to have some entries for testing if you do feed your database with this other file as well: forums/output/resources/setup/setup.sql.
root mysql -u portal -p jbossportal < forums/output/resources/setup/setup.ddl
root mysql -u portal -p jbossportal < forums/output/resources/setup/setup.sql are the two commands you need to type if you are using MySQL
To install forums, you need to go to the directory forums and type sh build.sh deploy it will create a file portal-forums.ear and copy it to $JBOSS_HOME/server/default/deploy. If JBoss is already running you have nothing to do but to go to a page where the forums should be displayed (see your configuration).
To have the mail notification working, make sure that you correctly configure the mail service with an existing SMTP account in the file: $PORTAL_HOME/core/src/resources/portal-server-war/WEB-INF/jboss-service.xml
In $FORUMS_HOME/src/resources/portal-forums-war/WEB-INF/portlet.xml you can configure the following options:
floodInterval: Minimal time in seconds between two messages by a user.
fromAddress: Email address appearing in the From field of notification emails.