daust / JasperReportsIntegration

JasperReportsIntegration provides an interface to use the JasperReports reporting engine in an Oracle database application, specifically with Oracle Application Express (Oracle APEX).
BSD 3-Clause "New" or "Revised" License
55 stars 23 forks source link

Deploying jri.war file on Oracle Weblogic Server #118

Closed inderjeetfbd closed 1 year ago

inderjeetfbd commented 1 year ago

Hi,

We are receiving following error while trying to deploy the jri.war file on Oracle Weblogic Server 12c.

image

Please suggest.

Thanks Inder.

daust commented 1 year ago

@inderjeetfbd , do you still have this issue? I typically don't use/test on Weblogic Server.

inderjeetfbd commented 1 year ago

Yes, the problem still persists.

daust commented 1 year ago

OK, then please provide more details:

Thank you.

kboughdiri commented 1 year ago

I have the same problem.

inderjeetfbd commented 1 year ago

Hi,

Here are the requested details.

  1. Exact version of jri.war - v2.8.1
  2. Java version - 1.8.0_202

Thanks Inder.

daust commented 1 year ago

This is really weird.

When you change the web.xml file in (jri.war/WEB-INF) from

<web-app id="WebApp_ID" version="2.4"
    xmlns="https://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="https://java.sun.com/xml/ns/j2ee https://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

to

<web-app id="WebApp_ID" version="2.4">

it starts working

You can fix the existing version for Weblogic manually, I have fixed it for the next release 2.11.0.

Best ~Dietmar.

daust commented 1 year ago

This is really weird. The original setting was correct, only Weblogic cannot deal with the https part. Thus, I changed it from https to http ... and now it works in all environments. Looks like a Weblogic bug to me. Anyhow, it is fixed and tested on Tomcat 9 and 10, Weblogic (12 and 14) and Wildfly 26.1.

inderjeetfbd commented 1 year ago

Hi Daust,

Thank you for your reply. I will try it out and let you know as well.

Thanks Inder.