Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8519573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:17:15+00:00 2026-06-11T06:17:15+00:00

I am implementing a 3rd party J2EE application with Websphere as Application Server. I

  • 0

I am implementing a 3rd party J2EE application with Websphere as Application Server. I have the following code in one of the JSPs (callingPage)

try {
  RequestDispatcher dispatcher = request.getRequestDispatcher(includePage);
  dispatcher.include(request,response);
} catch (Exception Ex) {
  // process the excpetion 
  // and create appropriate response object with body as XML string
}

The includePage is also a JSP page and the response is expected to have XML body when no exceptions. In a specific scenario, the includePage is throwing a valid (custom) excption. But the control does not go to catch block in callingPage.

On inspecting the response, I found that the response body contains a string <HTTP ResponseCode><CustomExceptionType><CustomException.getMessage()> with response code as 500. Since the response body is not an XML string, we get parse exception downstream.

I checked applications web.xml and there is no custom error page specified for code 500. I discussed with the Websphere admin and he could not be of much help (he claims he has not done anything specific with instance). The support team of application vendor tested it out in their Websphere instance and confirm that it works. According to them it should be a Websphere configuration.

My knowledge of J2EE framework or Websphere is limited. I tried to search through existing queries but could not figure out the possible cause.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T06:17:17+00:00Added an answer on June 11, 2026 at 6:17 am

    The issue was resolved by setting a custom property for Websphere web container com.ibm.ws.webcontainer.dispatcherRethrowSER. The details are here http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=%2Fcom.ibm.websphere.express.doc%2Finfo%2Fexp%2Fae%2Frweb_custom_props.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When implementing the Strategy Pattern, where does one put the code that determines which
We are implementing a 3rd party payment system into our site (Barclays CPI). We
I am implementing a WCF service based on a 3rd party WSDL. Rather than
We are implementing one web based application in iPhone. if i answered the incoming
I'm using a remote 3rd party storage solution that does not have support for
I might be misunderstanding code contracts, but here's my situation. I have the following
Implementing an app where the user can log in I have the following situation:
implementing publishActivity in PHP using the REST API using this code: $activity = array(
Implementing a simple Login screen using JSF and Spring and Hibernate. I have written
When implementing a hash table using a good hash function (one where the probability

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.