• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Where to unzip for SSO?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok i will have another go tomorrow... enough today!

cheers.
[originally posted on jforum.net by snowman999]
 
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
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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]
 
Those are the largest trousers in the world! Especially when next to this ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic