• 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

How to serve static files using WAS

 
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I got a ear deployed on WAS 4.0, and I use IBM Http server.
Using my browser, I can access a jsp page, but not a html one.
For example, http://www.myserver.com/wbstore/index.jsp works fine while http://www.myserver.com/wbstore/index.html returns error 404.
I have added a ibm-web-ext.xmi file in the WebINF with FileServingEnabled = true, but it seems I need something else to solve my problem.
Any idea ?
(Note : the same ear works fine when deployed on Weblogic or Sybase EAS)
(Thanks Kyle, and sorry for the typo)
[This message has been edited by Bill Bailey (edited November 16, 2001).]
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm sorry, but did you mean to say "index.html" in the second line? Otherwise I'm confused... (you may want to edit your post)...
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, something is really puzzling me.
I've rebuilt my ear file using IBM AAT.
(I mean just used my former ear file and clicked 1 button to generate another ear)
I've deployed it and the application is now up and running.
The only difference beween the 2 ear seems to be the ibm-web-ext.xmi and ibm-web-bnd.xmi files.
Here are my questions
1) The xmi files are not part of the J2EE specification but seem to be mandatory for an application to work fine using WAS 4.
Am I right ?
2) Did someone already experienced the same kind of problem ?
Maybe I've missed something important somewhere
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic