IBM Support

HTTP 500 Internal Server Error when accessing CICS JDBC example web application

Troubleshooting


Problem

You receive HTTP500 Internal Server Error when attempting to access the Java Database Connectivity (JDBC) example web application com.ibm.cics.server.examples.wlp.jdbc.web from a browser using HTTP. Your CICS Transaction Server for z/OS (CICS TS) log contains message DFHSJ0924 indicating the scheme in URIMAP URIMJDBC does not match the scheme in the URL. You have Liberty Profile security enabled.

Symptom

You are attempting to access the CICS JDBC example web application using HTTP and the browser window displays:

HTTP 500 Internal Server Error

Messages are found in the JVMSERVER logs:

@Error CICSThreadExecutor.newThread(), HTTP500 Internal Server Error

and in the CICS log:

DFHSJ0924 A servlet request processed by JVMSERVER DFH$WLP failed to run because the scheme in URIMAP URIMJDBC does not match the scheme in the URL.

Cause

The CICS JDBC example web application BUNDLE project in eclipse, com.ibm.cics.server.examples.wlp.jdbc.bundle, contains a URIMAP resource, URIMJDBC, that has a path value of /com.ibm.cics.server.examples.wlp.jdbc.web/* and a schema value of HTTPS. When attempting to access the web application using the HTTP URL of "http://hostname:httpPort/com.ibm.cics.server.examples.wlp.jdbc.web/", CICS matches the URL to the path in URIMJDBC, but the scheme does not match so the request is rejected.

Environment

JVM server

Resolving The Problem

Use one of these options:
  • Use the HTTPS URL: https://hostname:httpsPort/com.ibm.cics.server.examples.wlp.jdbc.web/
  • Delete the URIMAP resource URIMJDBC in com.ibm.cics.server.examples.wlp.jdbc.bundle and redeploy the bundle
  • The Deployment Descriptor of the CICS JDBC example web application eclipse project, com.ibm.cics.server.examples.wlp.jdbc.web, contains a directive to redirect HTTP requests to HTTPS. If you want to access the example directly from HTTP, delete the URIMAP resource URIMJDBC in com.ibm.cics.server.examples.wlp.jdbc.bundle, remove the <user-data-constraint> tag from /WebContent/WEB-INF/web.xml and redeploy the bundle

[{"Type":"MASTER","Line of Business":{"code":"LOB70","label":"Z TPS"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"ARM Category":[{"code":"a8m0z00000007gPAAQ","label":"Web Services"}],"ARM Case Number":"","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"5.4.0;5.5.0;5.6.0;6.1.0;6.2.0"}]

Product Synonym

CICS/TS CICS TS CICS Transaction Server

Document Information

Modified date:
05 January 2026

UID

swg21618317