Unable To Edit Workflows schemaEditor.jsp failed to compile Generated servlet error (Doc ID 739980.1)

Last updated on OCTOBER 26, 2012

Applies to:

Oracle Demantra Demand Management - Version 7.1.1 and later
Information in this document applies to any platform.

Symptoms

This is specific Demantra customers who are using Webshere only 

On 7.1.1 (118) in Production:
When attempting to edit a workflow schema,
the following error occurs.

Error Message:JSPG0049E: /workflow/schemaEditor.jsp failed to compile : JSPG0091E: An error
occurred at line: 134 in the file: /workflow/schemaEditor.jspJSPG0093E: Generated servlet error
from file: /workflow/schemaEditor.jsp C:\Program
Files\IBM\WebSphere\AppServer\profiles\default\temp\wpgdemac01Node01\server1\b2b_supply_war\b2b_supp
ly.war\workflow\_schemaEditor.java:156: URLEncode(java.lang.String,java.lang.String) in
org.apache.jasper.runtime.JspRuntimeLibrary cannot be applied to (int,java.lang.String)
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "schemaEditorApplet.jsp" +
"?" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("schemaId",
request.getCharacterEncoding()) + "=" +
org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode(schemaId, request.getCharacterEncoding()) +
"&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("width",
request.getCharacterEncoding()) + "=" +
org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("1002", request.getCharacterEncoding()) +
"&" + org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("height",
request.getCharacterEncoding()) + "=" +
org.apache.jasper.runtime.JspRuntimeLibrary.URLEncode("570", request.getCharacterEncoding()), out,
false);


This issue does not occur when they use Tomcat. The issue comes up when the customer uses Websphere


STEPS
The issue can be reproduced at will with the following steps:
1. Login to the Workflow manager
2. Select any workflow
2. Click the edit button of a workflow schema



.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms