Rafael Steil wrote: You can bypass the installer configuring jforum manuall, as described at http://www.jforum.net/install_no_wizard.htm. Now, if even when running mysql_db_dump.sql from the command line you get the error, then that's bad.
Rafael Steil wrote:
The empty resultset thing may be related to no populated data. I saw you inserted into database "mysql". Have you changed the "dbName" key to use "mysql" instead of the default "jforum"?
Rafael Steil wrote:Hm, as connecting to mysql via jdbc without an username may result in problems with authentication, it is possible that the wizard has some bug related to this issue.
In your case I don't recommend using the installer.
per wrote: The MySQL user has no password (yeah, baad, but..). So in the wizard, I left it blank. When I edited the file mysql.properties, it seems that the wizard added a password, equal to the username. Bug? That could perhaps explain the error message that I got.
Rafael Steil wrote:You dont' need to restart tomcat after you run the sql scripts IF you alredy didn't tried to access the application. That's because jforum puts a lot of data in memory, and running the sql scripts after the jforum's servlet was loaded may result in not found data ( and then a restart is needed. ).
Rafael Steil wrote:Sorry, either a lack of username or password may result in connection problems.
All the installer does you can do manually. Edit index.htm and change the javascript to point to
Rafael
per wrote:I tried of course to manually copy the file new_rename.htm, which contains the right redirect, to index.htm. No luck. I get a JForum page with this message:
java.lang.reflect.InvocationTargetException: Illegal operation on empty result set
Rafael Steil wrote:Just:
...
:arrow: Edit WEB-INF/config/SystemGlobals.properties and add the key installed = true
...
:arrow: Copy new_index.htm over index.htm
:arrow: Start Tomcat and use.
These are the steps. With them you should get jforum running.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |