aspose file tools*
The moose likes JForum and the fly likes Problem with deploying JForum as a WAR into Tomcat 4.1.12 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Problem with deploying JForum as a WAR into Tomcat 4.1.12" Watch "Problem with deploying JForum as a WAR into Tomcat 4.1.12" New topic
Author

Problem with deploying JForum as a WAR into Tomcat 4.1.12

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
oooh.. indeed, they're very important ;)

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with deploying JForum as a WAR into Tomcat 4.1.12
 
Similar Threads
Exception XMLSerializer
Validator framework is not working
Problem calling stored procedures
Error while starting jforum - java.net.MalformedURLException: unknown protocol: d
Servlet.service() Error