Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

integrating jforum in a tomcat 3.3 webaplication

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good morning,

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?

thank you

best regards!
[originally posted on jforum.net by ndjuissi]
 
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
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]
 
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
helo,

now i'm trying to update my webbapp. How can i configure tomcat 5.0 in my webbapp to run jforum?

thanks
[originally posted on jforum.net by ndjuissi]
 
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
From the installing Tomcat docs..

--------
Unpacking

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]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic