Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Steps to integrate JForum with your web application.

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
*****************************************************************

Following are the steps I followed to integration.

1) Created a MyUserSSO class which implements SSO and compiled it.

2) Created JForum.jar with all JForum compiled classes. Copied JForum.jar and other remaining jar files which are in JForum lib folder, into my application's lib folder.

3) Copied JForum's web.xml file contents into my appliction's web.xml file.

4) Copied ..\JForum\images\avatar, .\smiles folders and .\transp.gif files into my application's images folder.

5) Copied templates and upgrade folders from JForum to my application root folder (into the same folder where my WEB-INF is located)

6) Copied Config folder, dwr-forum.xml and log4j.xml from JForum\WEB-INF to my application's WEB-INF folder.

7) Modified SystemGlobals.properties as below.

commented : #sso.implementation = net.jforum.sso.RemoteUserSSO
added : sso.implementation = net.jforum.sso.MyUserSSO

commented : #authentication.type = default
added : authentication.type=sso

(If you dont use MyUserSSO, no need to modify the above contents in SystemGlobals.properties)

put a link in my application's leftpane to ./forums/list.page and also a link from JForum (header) to my application's home page.

Now its working fine.

*****************************************************************
[originally posted on jforum.net by sridharmnj]
 
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
This seems just a link between the two applications. What I would really like to see is the ability to embed/integrate jForum in my existing application so it can take on my applications motif yet give my clients the best discussion capabilities.


[originally posted on jforum.net by Lou]
 
I have always wanted to have a neighbor just like you - Fred Rogers. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic