linux下搭建xplanner-plus项目规划追踪工具
2013-08-03 17:17 price.liu 阅读(412) 评论(0) 收藏 举报linux下搭建xplanner-plus项目规划追踪工具
develop, java, jboss(tomcat), linux, mysql, by foxbin.
首先安装tomcat,jdk1.6,mysql
设置好java环境变量.请参考以前我写的tomcat教程.
到官方网站下载最新版本,文件是war格式的
http://xplanner-plus.sourceforge.net/
mysql添加用户
grant all privileges on xplanner.* to xplanner@localhost identified by ‘sql_mima’;
编辑tomcat/webapps/xplanner-plus/WEB-INF/classes/xplanner-custom.properties
开启以下注释的内容
## XPlanner hibernate configuration
hibernate.dialect=com.technoetic.xplanner.db.hibernate.XPlannerMySQLDialect
hibernate.connection.driver_class=com.mysql.jdbc.Driver
hibernate.connection.dbname=xplanner
hibernate.connection.url=jdbc:mysql://localhost/xplanner
hibernate.connection.username=xplanner
hibernate.connection.password=xp
hibernate.show_sql=false
xplanner.migration.databasetype=mysql
把默认的HSQLDB注释掉
# Hibernate HSQLDB Configuration – embedded persistent HSQLDB
#hibernate.dialect=net.sf.hibernate.dialect.HSQLDialect
#hibernate.connection.url=jdbc:hsqldb:file:hsqldb/xplanner
#hibernate.connection.driver_class=org.hsqldb.jdbcDriver
#hibernate.connection.username=sa
#hibernate.connection.password=
# TODO(PATCH) Find a way not to repeat these migrations for all databases but work on a global database mode that select Dialect, migration database type, patch path…
#xplanner.migration.databasetype=hsqldb
#xplanner.migration.patchpath=patches/hsqldb:com.technoetic.xplanner.upgrade:com.technoetic.xplanner.security.install
接着编辑tomcat/conf/tomcat-users.xml
启动tomcat,访问
http://yourserver:8080/manager/html
输入上面的admin和wo_de_mima
登录进去后在”WAR file to deploy”这里上传下载的xplanner的war文件.
最后打开
http://localhost:8080/xplanner-plus
默认用户密码是sysadmin/admin
浙公网安备 33010602011771号