Hi all,
I was trying these days to migrate a phpbb forum to jforum. (mysql)
I used the phpbb2jforum tool which worked fine (after altering one incorrent query in the config file) (btw: it would be nice if you weren't forced to have the phpbb und jforum tables in the same database for converting, copying the tables takes long time)
However after the convertion was finished I tried to access the forum but it didn't work anymore. To be exact it threw an ArrayIndexOutOfBoundsException (-1) in SecurityCommon#groupIdAsString()
that was issue #1
to fix that I downloaded the source code and fixed the groupIdAsString() method, configured all property files, compiled the forum by my own (thank you
ant ) and deployed it to my
tomcat 5.
But ater that I can't event connect to the database anymore (the connection times out:
tomcat wrote:net.jforum.exceptions.DatabaseException: Error while trying to start the database: net.jforum.exceptions.DatabaseException: java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.
com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:65)
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:468)
com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:125)
net.jforum.C3P0PooledConnection.getConnection(C3P0PooledConnection.java:137)
net.jforum.ForumStartup.startDatabase(ForumStartup.java:78)
net.jforum.JForum.init(JForum.java:98)
To make a long story short: if I compile and deploy jforum by myself I am not able to connect to my mysql database.
I hope someone here could help me on that issues, thanks a lot
-roar
[originally posted on jforum.net by roar]