Deploying Demantra 7.3.1 On Websphere 6.1 - _loginCheck.java : 433 : Incompatible conditional operand types Integer and int

(Doc ID 1462141.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

On : 7.3.1 version, Technical

When attempting to log into Collaborator Workbench ,after deployed a default install of 7.3.1 on Websphere 6.1
the following error occurs.

ERROR
-----------------------
"An error occurred while processing the page you requested"

There are no errors in collaborator.log file

On the logs from the Websphere side we have:
SystemOut.log:
"
00000024 WebApp E [Servlet Error]-[/common/loginCheck.jsp]: com.ibm.ws.jsp.JspCoreException: JSPG0049E: /common/loginCheck.jsp failed to compile :

JSPG0091E: An error occurred at line: 122 in the file: /common/loginCheck.jsp
JSPG0093E: Generated servlet error from file: /common/loginCheck.jsp

E:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\ZAJDPDP11Node01\server1\demantra_war\demantra.war\common\_loginCheck.java : 433 : Incompatible conditional operand types Integer and int

JSPG0091E: An error occurred at line: 178 in the file: /common/loginCheck.jsp
JSPG0093E: Generated servlet error from file: /common/loginCheck.jsp

E:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\temp\ZAJDPDP11Node01\server1\demantra_war\demantra.war\common\_loginCheck.java : 489 : The method getAddressById(int) in the type RedirectConstants is not applicable for the arguments (Integer)

at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.translateJsp(AbstractJSPExtensionServletWrapper.java:380)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper._checkForTranslation(AbstractJSPExtensionServletWrapper.java:345)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.checkForTranslation(AbstractJSPExtensionServletWrapper.java:254)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:136)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:275)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3168)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:254)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:96)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
"

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. do a clean install of 7.3.1 using the seed database.
2. starting up the instance using Tomcat
3. login successfully
4. create DemantraDS native date source on Websphere 6.1
5. deploye the war file on Websphere Express 6.1
6. open Collaborator Workbench URL
7. get to the login screen and input user/password
8. when try and login, get the message "Cannot display page"
9. check the collaborator log file and cannot see any obvious error messages
10. review the logs from application server side and see the errors


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