File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes Download WAR is broken Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Download WAR is broken" Watch "Download WAR is broken" New topic
Author

Download WAR is broken

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Please note your JForum WAR package download is broken.

Instead of containing WEB-INF at the top level it contains a directory called "jforum-2.1.8", which means you can't auto deploy to Tomcat.

HTH

Mark
[originally posted on jforum.net by markmc]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Agreed Mark. This is not a valid war file, and would not install onto any servlet container. If the jForum team doesn't want jForum installed directly as a war file, then it'd be better to provide no file than a broken one. (I understand that the app can't run directly from the war, but most servlet containers let you deploy a war file, which it will auto-explode).

I'd enter a Jira bug if the jForum Jira site was working.
[originally posted on jforum.net by blaine]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Yes, the current jforum-2.1.8 war file is indeed broken and have notified Rafael.

A "short term" fix is to let it deploy, then move the lower 2nd directory up a level (and rename one of the two dirs to something else ...). I just moved the $CATALINA_HOME/webapps/jforum-2.1.8/jforum-2.1.8 dir up a level and renamed it to jforum ($CATALINA_HOME/webapps/jforum).

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

Joined: Apr 22, 2012
Posts: 17424
GatorBait3 wrote:Yes, the current jforum-2.1.8 war file is indeed broken and have notified Rafael.

A "short term" fix is to let it deploy, then move the lower 2nd directory up a level (and rename one of the two dirs to something else ...). I just moved the $CATALINA_HOME/webapps/jforum-2.1.8/jforum-2.1.8 dir up a level and renamed it to jforum ($CATALINA_HOME/webapps/jforum).


The problem doesn't effect me, since I CM and deploy remotely. I brought it up out of concern for beginners, and because it gives a bad impression of jForum to more advanced users who look at or try to use the war. It'd be a shame to turn off prospective users from such an excellent product.
[originally posted on jforum.net by blaine]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
It is fixed now. Thanks for reporting.

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

Joined: Apr 22, 2012
Posts: 17424
I have also noticed that net.jforum.sso.CookieUserSSO.class is missing in source code, zip and war file. Is it intentionally left or it is a mistake?
Could you please add this file back? I need this file as I am integrating my application with jForum..


Thanks
Raghu
[originally posted on jforum.net by rsrawat]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Please ignore my previous post.

Thanks
[originally posted on jforum.net by rsrawat]
 
 
subject: Download WAR is broken
 
Similar Threads
WA #1.....word association
JForum 2.1.7 Relese 3 is out
Build File
need some help me URGENT
Cannot Download WAR Package of JForum