i try to integrate jforum in a webapplication which runs with tomcat 3.3. When i call the index page of the forum, it can not find the JForum class which is called in the web.xml file.
is jforum compatible with tomcat 3.3? if yes, what can be the problem?
best regards! [originally posted on jforum.net by ndjuissi]
I doubt it would work straight from the binary distribution. But it might work with some tweaking.
With TC 3.3, you are probably using an older JDK as well. I think 1.3 was the last one supported by 3.3 (but it might work with newer ones...). The distro is compiled to the 1.4 specs. So, to get the classes to work with 1.3, at a minimum, you will need to recompile them with 1.3.
Also, since TC3.3 uses a 4+ year old servlet spec, you will need to compile it against the older spec files. Both these things may cause compile errors due to the change in the specs. These errors will have to be corrected.
Also, you will probably need to rebuild the Web.xml file information (the stuff that defines the webapp to Tomcat). If I remember right, the older versions of TC/servlet spec used different XML schema's. You will need to translate the new stuff into the old. (Not even sure if 3.3 supports filters...)
IMHO, I'd spend the time to update to a modern App server rather than try to keep maintaining what is a dinosaur in Tomcat/Servlet Spec terms. [originally posted on jforum.net by monroe]
After the download, unpack the .ZIP file into your webapp's directory (or anyplace you want to put it). A directory named JForum-<release> will be created, where <release> is the version, which may be "2.0", "2.1.7" etc... this it just for easy version identification.
You can rename the directory if you want. The next step you should do is register the JForum application within your Servlet Container, like Tomcat. This document will use the context name "jforum", but of course you can use any name you want.
Some expansion on "registering" your app with Tomcat....
Once you have renamed the directory from the JForum-<release> name to something like jforum, you have two options.
The easiest is to just take this directory and copy it to your Tomcat webapps directory. (In Windows, this is <Tomcat>/webapp), under Linux this can vary depending on the install package.
The second option is to create a jforum.war file from the files in the "jforum" directory. This is simply as Zipped file with a .war extension. Note that the file should not contain the "jforum" directory, but have all the contents at it's root. Also, the name of the war file will become the root url to the web app, E.g. jforum.war -> webapp at /jforum.
To use the war, you can either drop this in the TC webapps directory, (assuming default of autodeploy is on). Or, you can use the Tomcat /manager/html tool. This is nice because it lets you point to a war file and you don't have to know where the webapps directory is.
[originally posted on jforum.net by monroe]
It's a pleasure to see superheros taking such an interest in science. And this tiny ad: