Saturday, December 9, 2017

Simplified forum application /BBS

jspforum-simple is based on ava EE technology: struts+spring+ibatis (ssb) / hibernate (ssh). so we need tomcat8 to host it

1- install tomcat apache server
$ sudo apt-get install tomcat8


2- download jspforum-simple with  link below
https://sourceforge.net/projects/jspforum-simple/files/latest/download?source=typ_redirect


3- cp jspforum-simple.war to /var/lib/tomcat8/webapps/
$ sudo cp jspforum-annotation.war  /var/lib/tomcat8/webapps/

4-  edit some properties to make it work properly

re-configure the below 3 properties files in the classpath (WEB-INF/classes) as your local path: In the file of lucene_cfg.properties,

-   change the field of 'LUCENE_INDEXER_FS_DIRECTORY_PATH' for Lucene Search Engine Indexing file folder In the file of log4j.properties,
-    change the field of 'log4j.appender.rollingAppenderDaily.File' for the daily log4j files folder In the file of forum_cfg.properties,
-   change the field of   'RESOURCE_POST_ATTACHMENT_PATH' for the folder Image Resource which be uploaded by users


but we just want to test and see it, there's no need to change anything.

- restart tomcat
$ sudo /etc/init.d/tomcat8 restart


then access the following url to get to the web app
http://localhost:8080/jspforum-annotation

1 comment:

  1. Thanks for writing about this and creating a small guide for people. Everyone who lands on this post is going to apprecaite your efforts. Good luck for the future.

    ReplyDelete