• 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

jforum inside another context

 
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 where the user must login before use forum. When he logs in, a session is created for him and when he tries to have access forum, i have to check if his session is still available!

so, i would like to know how should be the directory in Tomcat to Jforum be inside my project to share the session from it.

Thanks in advance!
[originally posted on jforum.net by gustavoknz]
 
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
Just copy the directories to the root of your context. Then, just merge jforum's web.xml with your web.xml.That's all.

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
to merge jforum's web.xml with your web.xml, i cut off this part:


the directory is show in this pic:


i used this link to have access to forum: http://myserver:8080/project/jforum/install/install.page?module=install&action=welcome

but the this erro is shown:
"HTTP Status 404 - Servlet jforum is not available"

Any ideia whats wrong???
[originally posted on jforum.net by Anonymous]
 
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 should put the following lines into your web.xml:



If you would like to use the installer, also add



but remember to remove it after the installation.

Also, you should add to your context's root the directories inside jforum's directory, instead the entire "jforum-2.0.2". ( eg, enter into jforum-2.0.2 and copy the directories inside it ).

The, access

http://myserver:8080/project/install/install.page?module=install&action=welcome

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Where all the women are strong, all the men are good looking and all the tiny ads are above average:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic