Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ridc / invalid credentials

pradeep.mahajanNov 28 2011 — edited Dec 8 2011
im running a sample ridc client:

........
manager = new IdcClientManager();

idcClient = manager.createClient("idc://localhost:4444");
idcClient.getConfig().setSocketTimeout(30000); // 30 seconds
idcClient.getConfig().setConnectionSize(20); // 20 connections
userPasswordContext = new IdcContext("weblogic","weblogic1");
DataBinder binder = idcClient.createBinder();
binder.putLocal ("IdcService", "GET_SEARCH_RESULTS");
binder.putLocal ("QueryText", "test");
binder.putLocal ("ResultCount", "20");
response = idcClient.sendRequest(new IdcContext("weblogic"), binder);
// response = idcClient.sendRequest(userPasswordContext, binder);
serverBinder = response.getResponseAsBinder();
resultSet = serverBinder.getResultSet("SearchResults");
.......

Im getting this following error:
oracle.stellent.ridc.protocol.ServiceException: Unable to retrieve search results. Connection authorization failed. Invalid credentials.
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:135)
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:107)
at com.myapp.sampleapp.TestClient.main(TestClient.java:56)

my "weblogic" password for content server is correct, ive tried with other content server user ids as well. same error.
whatz wrong????
im using webcenter -content 11.1.1.5
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 5 2012
Added on Nov 28 2011
11 comments
1,051 views