[Logo] JForum - Powering Communities
  [Search] 搜尋   [Recent Topics] 最新主題   [Hottest Topics] 熱門主題   [Top Downloads] 熱門下載   [Groups] 回首頁 
[Register] 會員註冊 /  [Login] 登入 


JForum 2.8.3 is out with various fixes and improvements. Read all about it here

Jforum 2.3.3 and Postgresql 9.1.3 RSS feed
討論區首頁 » Integration Forum
發表人 內容
nihilist


註冊時間: 2012/5/15
文章: 8
離線
Hello everybody,

I'm stuck with an error while starting Jforum when linked with a Posgresql database.
Here is the error when accessing the URL http://localhost/jforum-2.3.3/forums/list.page (tomcat web server):
java.lang.NullPointerException

java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Unknown Source)
net.jforum.ConfigLoader.loadDaoImplementation(ConfigLoader.java:216)
net.jforum.JForum.startApplication(JForum.java:329)
net.jforum.JForum.init(JForum.java:112)


Prior to that, I migrate my database from Oracle to Postgres so I dont need to make a fresh install. I checked all my configuration files but didn't find anything.
SystemGlobals.properties:
# Database type to use

database.driver.name = postgresql


postgresql.properties:
#Sun Jul 26 12:58:14 CST 2009

dao.driver=net.jforum.dao.postgresql.PostgresqlDataAccessDriver
database.driver.name=postgresql
database.connection.driver=org.postgresql.Driver
database.connection.string=jdbc\:postgresql\://${database.connection.host}\:${database.connection.port}/${database.connection.dbname}?user\=${database.connection.username}&password\=${database.connection.password}
database.connection.host=xx.xx.xx.xx
database.connection.port=1531
database.connection.dbname=postgres
database.connection.username=OWN_JFORUM
database.connection.password=XXXXXXXXXX
database.connection.pool.min=5
database.connection.pool.max=50
database.connection.pool.timeout=5000
database.support.autokeys=false
database.support.subqueries=true
dbencoding=utf-8


jforum-custom.conf:
#Installation specific configuration options

#Tue May 15 14:26:04 CEST 2012
container.app=Apache Tomcat
container.version=7
forum.link=http\://localhost/jforum-2.3.3
homepage.link=http\://localhost
i18n.board.default=fr_FR
installed=true
search.indexing.enabled=true


Can someone help me solve this issue?

thanks
nihilist


註冊時間: 2012/5/15
文章: 8
離線
ok, my bad... in fact the Migration Tool Kit included with postgres does not understand "sysdate" properties so he fail to copy table, and especialy JFORUM_USERS.
andowson


註冊時間: 2011/6/30
文章: 250
離線
If you do manual installation of JForum 2.3.3 (and earlier version), you need to copy the content of postgresql.properties into jforum-custom.conf.

And this issue has been reported and fixed as issue 31.
nihilist


註冊時間: 2012/5/15
文章: 8
離線
Thanks for the reply !
 
討論區首頁 » Integration Forum
前往:   
行動版
Powered by JForum 2.8.3 © 2023 JForum Team • Maintained by Andowson Chang and Ulf Dittmer