Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Upgrading to 2.0

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How to upgrade to JForum 2.0
JForum configuration steps didn't changed too much since RC5. However, a look at http://www.jforum.net/install_no_wizard.htm is recommended.

Specially, please note that, by default, "index.htm" will redirect you to the installation wizard. In order to bypass that, remove the file "index.htm" and rename the file "new_rename.htm" to "index.htm".

The graphicall installer does not support upgrading yet. If you use it, all existing data will be lost.

After installation, remove this key below from WEB-INF/config/modulesMapping.properties:


Any questions, pleast post here.

Thanks.
Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Having trouble upgrading...

I have everything inside a JDeveloper project and everything was working with rc5. I downloaded all the code for 2.0(downloaded zip file) and copied the files into my existing project.

First I tried the mysql upgrade script, and later I scrapped my db and ran the full db script, but both times I keep getting:




Then I decided to go for the autoinstall, but that didn't work either.

Renamed the zip to war and copied it into Tomcat5.0. It unpacked it into:

C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\JForum-2.0.2\JForum-2.0.2\index.htm


Then I got the error:


What am i doing wrong here?

-Christer


[originally posted on jforum.net by cnordvik]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Decided to have a new go today, dropped the entire database. Created it with 2.0 scripts, checked out the source code with CVS and still it's complaining about the "type" column which I can find no references to!?

Am I having some strange references to old code somewhere or is there something wrong with the version of JForum2.0?

-Christer
[originally posted on jforum.net by cnordvik]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, the only reason I can guess is that you still have some kind of old code. Did you installed the new version into a different directory? I checked all .sql files, including the db structures, and there are no references anymore to a column named "type". Also, the CVS version, as well the 2.0.2 version of SecurityCommon.java ( where the exception is thrown as pointed by the stack trace you posted ), in line 169 the code is correct:



in older versions it really was only "type", but currently it is as "role_type".

Just a thought of the CVS version: don't expect it to work correcly in some parts . I'm refactoring many parts of it.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Yeast devil! Back to the oven that baked you! And take this tiny ad too:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic