• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cannot Download WAR Package of JForum

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic