aspose file tools*
The moose likes JForum and the fly likes Where to unzip for SSO? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Where to unzip for SSO?" Watch "Where to unzip for SSO?" New topic
Author

Where to unzip for SSO?

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
oh my, this merge is too messy and its breaking a lot of things in my app! :roll:

is there no way i can have jforum installed outside of the app, yet still use SSO?
[originally posted on jforum.net by snowman999]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
That's what jForum's SSO interfaces are for... you install jForum as it's own web-app, e.g. under webapp/jforum, and call it from your main app using SSO. Lots of posting in the forum as well as some slightly dated info in the documentation.


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

Joined: Apr 22, 2012
Posts: 17424
ok i will have another go tomorrow... enough today!

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

Joined: Apr 22, 2012
Posts: 17424
Hello

I have a website which is deployed to webapps/ROOT in my tomcat directory (so that I can get to it by going to http://localhost:8080/). I can't change this due to some other configurations. It must remain to be deployed here.

I want to install JForum as part of this app, so I have webapps/ROOT/jforum. I guess it needs to be within the app like this to be able to use SSO, so that the JForum classes and my app classes can communicate?

When I try to visit http://localhost:8080/jforum/install.jsp, I get a "404 cannot be found". However, visiting http://localhost:8080/jforum/License.txt, brings up the license.

I'm thinking there is a server error because of nested webapps (mine and JForum)? Both contain WEB-INF directories with various servlet mappings. Would these be clashing? If so, how where would I install JForum to be able to talk to my webapp for SSO?

Thanks!
[originally posted on jforum.net by snowman999]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
You can't. If you add JForum to the root context, then the only way to use it is http://localhost:8080/install.jsp / forumst/list.page etc etc. JForum won't work inside a regular directory.

It MAY work that way in Tomcat 6, as this version has a setting that deploys each directory as a different webapp, but I never tried it in fact.

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

Joined: Apr 22, 2012
Posts: 17424
Hm.. ok.

Would that mean I would need to merge the web.xml files and copy all the required libs and classes for jforum into my app?

In other words, make JForum part of my app. Or am I able to install it outside of the app, but still have it talk to my app for SSO?

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

Joined: Apr 22, 2012
Posts: 17424
Yep, you have to merge. If you want login integration, you also need to implement SSO.

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

Joined: Apr 22, 2012
Posts: 17424
Ok thanks Rafael.. This merge could get messy! I'll give it a go and see what happens.

Cheers

[originally posted on jforum.net by snowman999]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Where to unzip for SSO?