Oracle WebCenter Content (MOSC)

MOSC Banner

Https connectivity using RIDC is not working

edited Mar 2, 2023 6:16AM in Oracle WebCenter Content (MOSC) 2 commentsAnswered

IdcClientManager clientManager = new IdcClientManager();

IdcClient client = clientManager.createClient("https://localhost:18002/cs/idcplg");

client.getConfig().setProperty("http.library", "oracle");

IdcContext userContext = new IdcContext(username, password);

IntradocClientConfig config = (IntradocClientConfig) client.getConfig();


Getting below error:

Exception in thread "main" java.lang.ClassCastException: class oracle.stellent.ridc.protocol.http.IdcHttpClientConfig cannot be cast to class oracle.stellent.ridc.protocol.intradoc.IntradocClientConfig (oracle.stellent.ridc.protocol.http.IdcHttpClientConfig and oracle.stellent.ridc.protocol.intradoc.IntradocClientConfig are in module oracle.ucm.ridc of loader 'app')

at UCMOperations/CheckinDocument.getUCMConnection(CheckinDocument.java:31)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center