Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Problem With Default Error Page

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I am hoping that someone else has experienced this. I have a single application server and two enterprise applications on that server. Both of the enterprise applications have their own default error page (set in the ibm-web-ext.xmi files for each enterprise application). The problem that I am encountering is that the first enterprise application installed is handling all errors. For example, I have installed application A then application B. I create an error in a jsp that is in application B. I run the jsp and see the default error page for application A instead of the default error page for application B. Can anyone tell me how to fix this problem? Or why this problem is occuring?


Thanks,

Patricia
 
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any chance there's a copy/paste error in the files that causes them to have the same context root on the error page (if not on the apps themselves) ?

BTW, if one of them has a / context root, WAS is inclined to act strangely.


Here's an idea: uninstall both apps. Install only the app that seems to be using the wrong error page and cause an error. See what happens...
 
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or try stopping the one that the error page is being used on and then see how errors in the other are handled. No question that WAS does some strange stuff sometimes but it looks like there may be a configuration problem in this case.
 
In the renaissance, how big were the dinosaurs? Did you have tiny ads?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic