Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JForum with JBoss ?

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

Am pretty much new to JForum and i want to develop a discussion forum for my website and am thinking of using JForum for the same. I dont have much information on how to configure/deploy Jforum for my website.

It would be graet if someone could help me out with few of my queries:

1. How do i link JForum with my website?
2. I am using JBoss to host my Portal/website, how to i deploy Jforum in JBoss, do i deploy it as a WAR ?
[originally posted on jforum.net by jforumrulzz]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i work with JBoss and it�s pretty simple to get your jforum run on your App. Server. Just copy your unziped jforum installation in a "forumname.war" folder. Then copy this folder into your deploy directory.

"sourcedrive"\jboss-4.0.1\server\default\deploy for example

the whole path looks like this :

"sourcedrive"\jboss-4.0.1\server\default\deploy\forumname.war

in a few seconds your JBoss see the new application and deploy�s it.
[originally posted on jforum.net by JunkzTheGoblin]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Thanks a lot for the information. Actually, i came to know about JForum only today and amazed by the work.

i understand that i need to do some DB configuration before i deploy this as a webapp in JBoss. Please let me know if i can use the inbuilt DB HSQLDB for my application and the configuration settings for the same.


Congrats to who ever is involved in the development. This is awesome work.
[originally posted on jforum.net by jforumrulzz]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

yes you have to choose a DB first. I�m not sure if you can use the internal DB of JBoss, so i haven�t tried it right now. But you can use the MySQL DB instead.
You can download it at http://www.mysql.de/ for e.g. just follow the steps in the installerguide of MySQL.
[originally posted on jforum.net by JunkzTheGoblin]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI JunkzTheGobliz,

I created directory myforum.war and copied all the contets of directory JForum-2.1.6 under myforum.war directory. But I got following error -- org.jboss.ws.WSException: java.lang.ClassNotFoundException: net.jforum.InstallServlet --

But when I looked at the classes folder under META-INF it does have the net.jforum.InstallServlet directory.

Please advice on how I can get this up and running,
[originally posted on jforum.net by sranka]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a description of my working jboss deployment:

deploy/
deploy/jforum.ear
deploy/jforum.ear/META-INF
deploy/jforum.ear/META-INF/application.xml (only redefine jforum root)
deploy/jforum.ear/jforum.war
deploy/jforum.ear/jforum.war/images
deploy/jforum.ear/jforum.war/templates
deploy/jforum.ear/jforum.war/upgrade
deploy/jforum.ear/jforum.war/upload
deploy/jforum.ear/jforum.war/WEB-INF
deploy/jforum.ear/jforum.war/index.htm


Sranka, the net/jforum/installservlet directory you are searching for must be under web-inf/classes.
Deploying on jboss i noticed that some doployment issues are related to duplicated libs (jar) in web-inf/lib (some default libraries are already present in lib directory of you jboss server). Useless for sranka problem but maybe an useful tip for others.
[originally posted on jforum.net by Jules]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic