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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Fail to connect to Content Server if use 'web' for ridc socket type

User709014-OracleFeb 15 2012 — edited Feb 16 2012
Hi,

We have a new UCM server that we are trying to connect to via our UI. When I created connection, I specify the following:

RIDC socket Type: web
URL of the webserver plugin: http://adc2100004.us.oracle.com:16200/cs/idcplg
AdminUser:
AdminPassword:

The test connection is fine. But when our code is trying to use Datacontrol it fails with the following error:

(12:07:26 PM) charunee.pansuvan@oracle.com/home: <Submission> <run> Submission[id=3, service=oracle.webcenter.content.jcr.login, resource=ContentServer] caught exception running task
javax.jcr.RepositoryException: Unable to load content server metadata model using GET_DOC_METADATA_INFO.
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:142)
at oracle.stellent.jcr.IdcConnection.refreshMetadataModel(IdcConnection.java:89)
at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:189)
at oracle.jcr.impl.OracleRepositoryImpl.login(OracleRepositoryImpl.java:444)
at oracle.vcr.jam.LoginTask.call(LoginTask.java:68)
at oracle.vcr.jam.LoginTask.call(LoginTask.java:29)
at oracle.webcenter.concurrent.Submission$2.run(Submission.java:484)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
at oracle.webcenter.concurrent.Submission.run(Submission.java:424)
at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
at java.lang.Thread.run(Thread.java:619)
Caused by: oracle.stellent.ridc.protocol.http.HttpProtocolException: Form validation failed
at oracle.stellent.ridc.protocol.http.auth.FormAuthHandler.throwFormValidateException(FormAuthHandler.java:342)
at oracle.stellent.ridc.protocol.http.auth.FormAuthHandler.handleFormResponse(FormAuthHandler.java:322)
at oracle.stellent.ridc.protocol.http.auth.FormAuthHandler.handleFormLogin(FormAuthHandler.java:147)
at oracle.stellent.ridc.protocol.http.auth.FormAuthHandler.sendAuthenticatedRequest(FormAuthHandler.java:107)
at oracle.stellent.ridc.protocol.http.IdcHttpProtocol.writeRequest(IdcHttpProtocol.java:205)
at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:161)
at oracle.stellent.jcr.IdcConnection.refreshMetadataModel(IdcConnection.java:70)
... 16 more
<JCRSessionHandler> <JCRSessionHandler> Login failed.
oracle.adf.model.adapter.AdapterException: DCA-CANNOT_LOGIN: Login failed.
at oracle.vcr.datacontrol.ErrorHandler.handle(ErrorHandler.java:88)
at oracle.vcr.datacontrol.JCRSessionHandler.<init>(JCRSessionHandler.java:59)
at oracle.vcr.datacontrol.JCRSessionHandler.create(JCRSessionHandler.java:35)
at oracle.vcr.datacontrol.operation.GetURLOperation.execute(GetURLOperation.java:48)
at oracle.vcr.datacontrol.operation.OperationRegistry.execute(OperationRegistry.java:135)
at oracle.vcr.datacontrol.VcrDataControl.invokeOperation(VcrDataControl.java:124)
at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:430)
at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at oracle.apps.hcm.common.trial.ui.bean.ADFUtil.invokeEL(ADFUtil.java:106)
at oracle.apps.hcm.common.trial.ui.bean.ADFUtil.invokeEL(ADFUtil.java:85)


--------------

If I change the connection to use socket as:

RIDC socket Type: socket
host: adc2100004.us.oracle.com
port: 30775
webserver context root: cs/idcplg
AdminUser:
AdminPassword:

It works fine. But the problem is whenever we bounce the UCM server, the port keeps changing.

I would like to be able to connect via Ridc socket Type (Web) so I do not have to worry about the port change.
Also, do you know why the port keeps changing when I bounce the UCM content server?

Thanks,

Charunee

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 15 2012
Added on Feb 15 2012
2 comments
1,676 views