• 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

Problem with deploying JForum as a WAR into Tomcat 4.1.12

 
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've hit a problem trying to deploy the JForum app as a WAR into Tomcat 4.1.12

When I open the starting page the following error occurs...



I've tried placing System.out logging messages into various places of the 'ActionServletRequest' and 'JForumCommonServlet' classes and these never get called.

Any ideas?



[originally posted on jforum.net by davout]
 
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
Instead of accessing "/JForumCA/forums/list.page", try just "/forums/list.page"

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
I was using a starting URL of...



... that causes the error I reported earlier. (Note: I'm using 'JForumCA' as opposed to 'jforum' as this WAR is generated from a local variante that includes some fixes I've made to the 2.0.2. base).

If I use the shortened URI as you suggest...

... I get a 404 error

Might this be a class path or context path issue?



[originally posted on jforum.net by davout]
 
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 found the answer... the WAR file was missng the *.sql files found under the 'config' folder.



[originally posted on jforum.net by davout]
 
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
oooh.. indeed, they're very important ;)

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
I'd be interested to know why there absence isn't detected and reported as an error
[originally posted on jforum.net by davout]
 
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
That's a good question. In general, I am assuming the correct files will always be there. If they are not, it wasn't because some lack of the installer or something.

But, of course, I'm not trying to give an excuse. I aggree with you that this kind of stuff should be correctly handled.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
what if we put solar panels on top of the semi truck trailer? That could power this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic