This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JForum and the fly likes JForum on JBoss for the simple minded Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "JForum on JBoss for the simple minded" Watch "JForum on JBoss for the simple minded" New topic
Author

JForum on JBoss for the simple minded

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
For those like me that are fairly simple minded, would someone be kind enough to supply a clear set of instructions for using JForum with a working JBoss installation? I've searched the forums and have a few questions.

  • Installing doesn't appear to be as simple as unzipping. If so, into what directory?
  • If not, does a war or ear file need to be created? Has someone already done this for 2.1.4 or 2.1.5?
  • I also get the impression from the fine print (screen shot) that the database must exist before running the install wizard. Do the tables need to be defined as well? Populated?


  • Using JVM 1.4.2, JBoss 4.0.2, MySql 4.1.8.

    Thanks.

    fastbob
    [originally posted on jforum.net by fastbob]
    Migrated From Jforum.net
    Ranch Hand

    Joined: Apr 22, 2012
    Posts: 17424
    Well, about the last question, you should have the database created, but not the tables. If you run the web installer, it will create them for you.

    If you do manuall installation, then you just have to run the db_struct.sql and data_dump.sql scripts.

    Rafael
    [originally posted on jforum.net by Rafael Steil]
    Migrated From Jforum.net
    Ranch Hand

    Joined: Apr 22, 2012
    Posts: 17424
    Im kinda new to this.. so this is what I did.. and I got it to work

    1. I unzipped the file and moved the unzipped files to my c:\ directory (made it easy for navigation)

    2. I went to the root of that directory and did

    jar cvf c:\JForum[version].war . (the last period means WAR the current directory)

    that WAR's up the file

    I installed this file on our Jonas application server

    In the meantime I created the database and the user in MySQL

    mysql> create database jforumdb;
    mysql> grant all privileges on jforumdb.* to 'jforumuser'@'%';
    mysql> set password for 'jforumuser'@'%' = password('mypassword');

    Then when you go to http://www.whatever.com/JForum[version]

    It will take you to the install application..

    badda bing.. badda boom.. That should be it..

    Hope that helps.

    --Dave
    Univ of Southern Maine
    [originally posted on jforum.net by Anonymous]
    Migrated From Jforum.net
    Ranch Hand

    Joined: Apr 22, 2012
    Posts: 17424
    Dave
    Finally got a chance to try your instructions. Worked great! Thanks.

    fastbob
    [originally posted on jforum.net by fastbob]
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: JForum on JBoss for the simple minded
     
    Similar Threads
    How to install jForum onto XAMPP for Windows
    JForum with JBoss ?
    Help needed with JForum
    substring
    Creating new users dynamically