File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes JForum inside Another Tomcat Webapp/Context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "JForum inside Another Tomcat Webapp/Context" Watch "JForum inside Another Tomcat Webapp/Context" New topic
Author

JForum inside Another Tomcat Webapp/Context

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
You can't put JForum inside any regular folder, so it's better to integrate it to the same context of your application. It does not have many directories (templates, images, tmp and upload), so it won't be *that* mess .

You can use SSO in different contexts, but the applications will have different sessions.

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

Joined: Apr 22, 2012
Posts: 17424
Hi all. I'm starting to integrate JForum within our website. We are using Tomcat to host our JSP based website. My question is, is it better to host JForum as another context/webapp in Tomcat, or is it possible to place it inside our current webapp? If I place it inside our current webapp, I suppose I could merge the two web.xml files etc. But is it then possible to place JForum inside a subfolder of our webapp so things don't get too messy?

Also, we are going to use SSO (Single Sign-On) for our site, so when people log in, they can access the forum. If JForum is hosted as a separate webapp, can we still use our website sessions for JForum's SSO capability?

Sorry, I'm still relatively new to web development/Tomcat, so not sure about these questions.

Thanks a lot for any help!
[originally posted on jforum.net by akindo]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Thanks for your help. I integrated JForum as you suggested, into the context's root, and it is working fine.
[originally posted on jforum.net by akindo]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JForum inside Another Tomcat Webapp/Context
 
Similar Threads
Putting JForum inside a webapp (like jforum.net)
Webapp Integration -- SSO issues
Getting forum context (user session) from jsp files
A few questions regarding SSO
Context and root different