• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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]
 
Ew. You guys are ugly with a capital UG. Here, maybe this tiny ad can help:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic