Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to install JForum in JBoss 4.0.5?

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I've got a JBoss 4.0.5 installed on my Ubuntu 7.04 (Feisty Fawn) Linux. It's up and running. I'd like to install JForum on this JBoss instance. I'm new to JBoss, as well as to J2EE in general.

Following JForum's automatic installation instructions (http://www.jforum.net/install.jsp), i've downloaded the JForum .zip file to my home directory. I'm trying to proceed according to the instructions.

1. Under the title "Unpacking", the instructions read: "After the download, unpack the .ZIP file into your webapp's directory". What's the relative path to JBoss's webapp's directory (starting from $JBOSS_HOME)?

2. Further in the same section, the instructions read: "The next step you should do is register the JForum application within your Servlet Container". What steps must i take, in order to register the JForum application within my JBoss?
[originally posted on jforum.net by berliita]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm overwhelmed by the deluge of replies answering my call for help. I thank you all from the bottom of my heart. Unfortunately, some bug in my browser prevents me from seeing any of the replies posted in the past. But i've fixed it, and i can assure you that any reply from now on will not go unnoticed.
[originally posted on jforum.net by berliita]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just dropping the war file in the "deploy" dir or something wouldn't solve i?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Rafael,

Thanks for replying.

Your suggestion sounds reasonable, only i don't see any ".war" file in the downloaded ZIP. I've tried simply dropping the extracted folder in the "deploy" directory, but it didn't work.
[originally posted on jforum.net by berliita]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Quick way (assuming windows and winzip/7zip explorer extensions):

Unzip the distribution
In File Explorer: go to the the jforum-2-1.7-b3 (or similar) directory.
Select all the files and directories here. (should have WEB-INF in it)
Right click, use create zip file option to create jforum.zip
Rename jforum.zip to jforum.war

Correct way:

Same as above, except:

Go to this post: http://www.coderanch.com/t/576958 #14432

Get the missing file and add it to the directory before creating the war file.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks monroe, I'll give your solution a try.
[originally posted on jforum.net by berliita]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
monroe, i've tried your suggestion, and it seems to work. However, plenty of error messages and exception stack traces get printed to the console where i launched Jboss. Is that normal?
[originally posted on jforum.net by berliita]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic