OEG 11g CRL Static Filter : com.vordel.security.openssl.Certificate cannot be cast to java.util.ArrayList

(Doc ID 1384994.1)

Last updated on SEPTEMBER 21, 2017

Applies to:

Oracle API Gateway - Version to [Release 11gR1]
Information in this document applies to any platform.


In OEG, perform the “Find Certificate” step, where the certificate is obtained from the “Certificate Store” and put into the “Certificates” attribute.  While using the “CRL (static)” filter to validate “Certificates”, the circuit fails and an error is logged in OracleEnterpriseGateway.trc file as below:

DEBUG [407fe940] run circuit "#04Certificates II"...
DEBUG [407fe940] run filter [Find Certificate] {
DEBUG [407fe940] } = 1, in 0 milliseconds
DATA [407fe940] LogManager logging {
DATA [407fe940] Logging at Success
DATA [407fe940] Calling write log on class com.vordel.log.rolloverfile.TextRollOverLogger
DATA [407fe940] Wrote log message of size 130
DATA [407fe940] Calling write log on class com.vordel.log.trace.TraceLogger
DATA [407fe940] }
DEBUG [407fe940] run filter [CRL (static)] {
DEBUG [407fe940] } = 2, in 0 milliseconds
ERROR [407fe940] java exception running circuit:
java.lang.ClassCastException: com.vordel.security.openssl.Certificate cannot be cast to java.util.ArrayList
at com.vordel.circuit.cert.CertCRLFileProcessor.invoke(CertCRLFileProcessor.java:52)
at com.vordel.circuit.CircuitInvocation.invokeFilter(CircuitInvocation.java:162)
at com.vordel.circuit.CircuitInvocation.runCircuit(CircuitInvocation.java:123)
at com.vordel.circuit.CircuitInvocation.processMessage(CircuitInvocation.java:264)
at com.vordel.circuit.SyntheticCircuitChainProcessor.invoke(SyntheticCircuitChainProcessor.java:27)
at com.vordel.dwe.http.HTTPPlugin.invokeDispose(HTTPPlugin.java:197
at com.vordel.dwe.http.HTTPPlugin.invoke(HTTPPlugin.java:121)

DEBUG [407fe940] add header Content-Type:text/plain
DEBUG [407fe940] add header Server:
DEBUG [407fe940] send prologue: content length -1
DEBUG [407fe940] peer can do chunking
DEBUG [407fe940] add header Transfer-Encoding:chunked
DEBUG [407fe940] reused connection 0x7fa334dc17e0 1 times
DEBUG [407fe940] connection keepalive? 1
DEBUG [407fe940] add header Connection:keep-alive
DEBUG [407fe940] add header X-CorrelationID:e1caff774edc1f5b5ce90000 0
DATA [407fe940] stop output chunking: pbase=0x407fa7b8, pptr=0x407fa8a3(235), epptr=0x407fc7b8(8192)
DATA 05/Dec/2011:12:33:15.570 [407fe940] snd 0242: <HTTP/1.1 500 Server Error
X-CorrelationID: e1caff774edc1f5b5ce90000 0
Connection: keep-alive
Transfer-Encoding: chunked
Content-Type: text/plain
Date: Mon, 05 Dec 2011 01:33:15 GMT

error processing request

The CRL (static) filter doesn't work as intended.


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