So from reading another post https://coderanch.com/t/576000 am i to understand that i can not integrate the classes, templates images, *.xml into my web app myWebsite.war that is deployed in jboss?
What I understand is that i need to deploy myWebsite.war AND jforum.war in jboss, then use the SSO features to handle login issues. is this correct or am i making sense? :-)
Edit: also does SystemGlobals.properties ever get used? even if i delete jforum-custom.conf from the dir, it is recreated when i change my cofig from the Admin Panel [originally posted on jforum.net by CJackal]
I need to have the docBase be the root location of all apps so that i am able to have all of my applications working in the same application space.
Any thoughts on how i might work through this? Is there something i need to do with the server.xml context. If i am to change the context to have the docBase point to the root of the JForum directory things work fine, otherwise i get the following error:
The requested resource (/JForum-2.1.6/JForum-2.1.6/forums/list.page) is not available.
It appears as though this error stems from the web.xml in the htdocs/WEB-INF file not being recognized as when i point to the root of the JForum directory and it uses the web.xml in the JForum web-inf things seem to work fine.
Thanks. [originally posted on jforum.net by susan grandy]
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\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?
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]
ok, cool. Yeah, i do not want to call it standalone..that i have working fine in my webapps. i was just trying to get it working in the same app directory first before loading the other servlets. I get what you are saying and not sure that construct will work for me as it sounds like you have the root of the JForum directory contents merged right into your app directory contents.
Thanks for the response!!
Susan [originally posted on jforum.net by susan grandy]
Just thought of something...have you used ANT and built a .jar file of the JForum classes? you put that jar in a common lib directory, this way, all your apps will have access to the base jforum code, and if you integrate the templates, avatars, smilies and other jforum directories into each app you wish to use jforum with, as i have, you can customize the templates for each app.
Not sure if that helps... just a thought. [originally posted on jforum.net by CJackal]
It looks like it's time for me to write you a reality check! Or maybe a tiny ad!
SKIP - a book about connecting industrious people with elderly land owners