This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JForum and the fly likes Cannot Download WAR Package of JForum Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JForum
Bookmark "Cannot Download WAR Package of JForum" Watch "Cannot Download WAR Package of JForum" New topic
Author

Cannot Download WAR Package of JForum

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Dear Experts

It appears I cannot download the WAR Package of JForum using the
"Download JForum WAR package" link.

The windows dialogue box says it is downloading 12Mb but the file is only about 6Mb.

When I attempt to open the zip file the meesage
"Cannot open file: It does not appear to be a valid archive file".

I am assuming I just using the Oracle Enterprise Manager console to deploy it to my app server or am I supposed to place the file on the app server first and then do something?


Please help
[originally posted on jforum.net by chrish]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Downloading the 12,614,467 byte file worked for me. It opened fine with 7zip too. I think something messed up your DL.

Don't use Oracle so I can't say what the correct deployment process would be. If the console takes a war and expands it to a real directory, then you should be OK. Just go to /jforum/install.jsp to complete the install. Note that you will need info about the database schema/catalog you will be using (name, user id/password and the like)

One important test would be to add an avatar or attachment. If the webapp server isn't creating a real directory, then there may be problems.


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

Joined: Apr 22, 2012
Posts: 17424
My APOLOGIES!!!
Must have been my setup, sorry.
Now downloaded WAR, which does not look to different to the ZIP package.

Have unpacked it into the default-web-app directory on my ORACLE app server.

I cannot see an application (I am expecting .war or .ear file) in the unpacked files, so cannot register it.

Do you know which file is the application and how I register it in Oracle App server?

Please help newbie, thanks.
[originally posted on jforum.net by chrish]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
The only difference between the two is that the files in the zip file are in the jforum-2.1.8 subdirectory. The war is just a convenience package with everything (the WEB-INF directory in particular) in the root directory of the zip (as per war specs).

I don't use Oracle so I can't tell you the specifics. However, generally, J2ee app containers have a deployment manager of some sort and in some cases an "autodeploy" feature. To use a war file, you will need to use one of these features. See your manuals for details.

Also, some app servers will only use the name of the war as the URL of the application. E.g., if the war deployed is named jforum-2.1.8.war, the url for this is /jforum-2.1.8. You might need to rename the war file to the URL you want to use, e.g. jforum.war or forums.war.
[originally posted on jforum.net by monroe]
 
 
subject: Cannot Download WAR Package of JForum