• 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

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]
 
Get out of my mind! Look! A tiny 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