Hey Susan, I am actually using JBOSS rather than Tomcat, however, they should work very similarly. Also, I do not use an
IDE like Eclipse, I write freehand using a text editor (TextPad). I am not sure if I can be much help, but I will try. (perhaps I don't fully understand your situation)
I didn't have to do anything with .xml files for JBOSS, and I do not believe you have to in order to integrate your app with jforum. The only .xml file I DID have to change was my web.xml in web-inf. Make sure that the web.xml is found in the folder web-inf and not another sub-directory of web-inf.
Each application should have it's own web container and web.xml, rather than "sharing" web containers and web.xml, which it looks like you may be doing.
Also, I did not put the JForum directory in my app. Here is what my directory looks like.
\myApp.war\templates\ <-- JForum templates
\myApp.war\images\avatar <-- JForum avatars
\myApp.war\myOtherDirs
\myApp.war\WEB-INF\web.xml <-- merged mine w/ jforum .xml
\myApp.war\WEB-INF\lib\JForum-2.1.jar <-- JForum classes
\myApp.war\.... you get the idea?
to call myApp from my browser, the URL looks like this:
http://localhost:8080/myApp/
So, in doing it this way, the forum works only for myApp. It is not shared with any other application in my deploy directory, nor is it stand-alone.
If you wanted to make it a standalone application, simply copy jforum to your deploy(JBOSS) directory webapps for Tomcat and rename it to JForum for simplicity. Then
you should be able to call it like this
http://localhost:8080/JForum/
I hope this helps.
[originally posted on jforum.net by CJackal]