Unable to initialize socket connection to Content Server
Hi,
Webcenter installed on linux, content server installed on windows. Here is the error I see in the log files. I did added the ip address of the linux machine in windows host file but in Spaces I see JCR Connection problem. Any idea on what might be wrong. Here ar the settings I have Repository Connection:
User Name: sysadmin
CIS Socket Type: Socket
Server Host: windowsmachine
Server Port: 5444
Authntication Method: Identity Propagation
javax.jcr.RepositoryException: oracle.stellent.ridc.protocol.ProtocolException: Unable to initialize socket connection to Content Server
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:161)
at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:177)
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:495)
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:509)
at oracle.webcenter.concurrent.Submission.run(Submission.java:436)
at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:792)
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.ProtocolException: Unable to initialize socket connection to Content Server
at oracle.stellent.ridc.protocol.intradoc.socket.SocketConnectionManager.initializeConnection(SocketConnectionManager.java:23)
at oracle.stellent.ridc.protocol.intradoc.socket.SocketConnectionManager.initializeConnection(SocketConnectionManager.java:10)
at oracle.stellent.ridc.protocol.impl.SimpleConnectionPool.acquireConnection(SimpleConnectionPool.java:35)
at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:130)
at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:163)
... 15 more
Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.net.ConnectException: Connection refused
at oracle.stellent.ridc.protocol.intradoc.socket.SocketConnection.connect(SocketConnection.java:41)
at oracle.stellent.ridc.protocol.intradoc.socket.SocketConnectionManager.initializeConnection(SocketConnectionManager.java:21)
... 19 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:180)
at oracle.stellent.ridc.protocol.intradoc.socket.SocketConnection.createSocket(SocketConnection.java:111)
at oracle.stellent.ridc.protocol.intradoc.socket.SocketConnection.connect(SocketConnection.java:38)
... 20 more
This error usually occurs because you have not authorized the client's IP address in UCM. The steps to add the WebCenter host to the list of authorized clients are detailed in section [4.3.1.3.1 of the Installation Guide|http://download.oracle.com/docs/cd/E12839_01/install.1111/e12001/webcenterservice_install.htm#sthref161].
Regards,
Nicolas
Similar Messages
-
ERROR http: 5: Unable to initialize ssl connection with server, aborting co
HI EXPERTS,
one of my database give me below error when i start its dbconsole. and after failure it give me meassge
TZ set to Asia/Karachi
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://test:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ..............................................................
........ failed.
Logs are generated in directory /u01/oracle/product/10.2/cnichol_cpuplt/sysman/log
and in trace file name "emdctl.trc" below error is logged.
ERROR http: 5: Unable to initialize ssl connection with server, aborting connection attempt
ERROR ssl: nzos_Handshake failed, ret=29024
and trace file named "emagent.trc" give below error
2010-10-04 19:12:25 Thread-88238992 ERROR http: 11: Unable to initialize ssl connection with server, aborting connection attempt
2010-10-04 19:12:25 Thread-88238992 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://test:5500/em/upload/: retStatus=-1
2010-10-04 19:12:38 Thread-88238992 ERROR upload: Error in uploadXMLFiles. Trying again in 300.00 seconds.
dbconosle URL is
https://test:5500/em/console/aboutApplication
Operating system is Redhat linux AS 5.3
what is the possible cause of this failure any one can guide me.
thanx in Advance
regards,
Edited by: AMIABU on Oct 4, 2010 7:28 AMoracle@bcm-laptop:~$ emctl
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Oracle Enterprise Manager 10g Database Control commands:
emctl start | stop dbconsole
emctl status | secure | setpasswd dbconsole
emctl config dbconsole -heap_size <size_value> -max_perm_size <size_value>
emctl status agent
emctl status agent -secure [-omsurl <http://<oms-hostname>:<oms-unsecure-port>/em/*>]
emctl getversion
emctl reload | upload | clearstate | getversion agent
emctl reload agent dynamicproperties [<Target_name>:<Target_Type>]....
emctl config agent <options>
emctl config agent updateTZ
emctl config agent getTZ
emctl resetTZ agent
emctl config agent credentials [<Target_name>[:<Target_Type>]]
emctl gensudoprops
emctl clearsudoprops
Blackout Usage :
emctl start blackout <Blackoutname> [-nodeLevel] [<Target_name>[:<Target_Type>]].... [-d <Duration>]
emctl stop blackout <Blackoutname>
emctl status blackout [<Target_name>[:<Target_Type>]]....
The following are valid options for blackouts
<Target_name:Target_type> defaults to local node target if not specified.
If -nodeLevel is specified after <Blackoutname>,the blackout will be applied to all targets and any target list that follows will be ignored.
Duration is specified in [days] hh:mm
emctl getemhome
emctl ilint
Em Key Commands Usage :
emctl config emkey -emkeyfile <emkey.ora path> [-force] [-sysman_pwd <sysman password>]
emctl config emkey -emkey [-emkeyfile <emkey.ora path>] [-force] [-sysman_pwd <sysman password>]
emctl config emkey -repos [-emkeyfile <emkey.ora path>] [-force] [-sysman_pwd <sysman password>]
emctl config emkey -remove_from_repos [-sysman_pwd <sysman password>]
emctl config emkey -copy_to_repos [-sysman_pwd <sysman password>]
emctl status emkey [-sysman_pwd <sysman password>]
Secure DBConsole Usage :
emctl secure dbconsole -sysman_pwd <sysman password> [-passwd_file <abs file loc>]
[-host <slb hostname>] [-sid <service name>] [-reset] [-secure_port <secure_port>]
[-root_dc <root_dc>] [-root_country <root_country>] [-root_state <root_state>] [-root_loc <root_loc>]
[-root_org <root_org>] [-root_unit <root_unit>] [-root_email <root_email>]
[-wallet <wallet loc>] [-wallet_pwd <wallet pwd>] [-trust_certs_loc <certs loc>]
emctl secure status dbconsole
Register Targettype Usage :
emctl register oms targettype [-o <Output filename>] <XML filename> <rep user> <rep passwd> <rep host> <rep port> <rep sid> OR
emctl register oms targettype [-o <Output filename>] <XML filename> <rep user> <rep passwd> <rep connect descriptor> -
Getting error in JDeveloper 11.1.1.6 after Connecting to Content server
Hi,
We are getting below error in JDeveloper 11.1.1.6 after getting "success" to connect content server. We are able to connect to content server but repository is not being loaded into JDeveloper and it gives below error.
Please guide.
Performing action Properties...[ from oracle.jdeveloper.appresources.ApplicationResourcesWindow ]
oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic:May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic getItem
WARNING: An error occurred while accessing the content repository.
javax.naming.NamingException: May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
ALL: An error occurred while accessing the content repository.
[Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:145)
at oracle.webcenter.content.internal.model.rc.ContentResource.init(ContentResource.java:219)
at oracle.webcenter.content.internal.model.rc.ContentResource.getContentID(ContentResource.java:327)
at oracle.webcenter.content.internal.model.rc.ContentResource.getResourceId(ContentResource.java:313)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.jcr.RepositoryException: Error communicating with Content Server.
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:125)
... 9 more
oracle.webcenter.content.internal.model.rc.ContentResource:May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.ContentResource getContentID
WARNING: An error occurred while accessing the content repository.
javax.naming.NamingException: May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
ALL: An error occurred while accessing the content repository.
[Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:145)
at oracle.webcenter.content.internal.model.rc.ContentResource.init(ContentResource.java:219)
at oracle.webcenter.content.internal.model.rc.ContentResource.getContentID(ContentResource.java:327)
at oracle.webcenter.content.internal.model.rc.ContentResource.getResourceId(ContentResource.java:313)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.jcr.RepositoryException: Error communicating with Content Server.
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:125)
... 9 more
oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic:May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic listFolder
WARNING: An error occurred while accessing the content repository.
javax.naming.NamingException: May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
ALL: An error occurred while accessing the content repository.
[Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:249)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.jcr.RepositoryException: Error communicating with Content Server.
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:227)
... 6 more
Performing action Refresh[ from oracle.jdeveloper.appresources.ApplicationResourcesWindow ]
May 10, 2012 7:12:30 PM oracle.stellent.jcr.IdcPersistenceManager listFolder
SEVERE: Could not list contents of folder with ID = dCollectionID:-1
oracle.stellent.ridc.protocol.ServiceException: No service defined for COLLECTION_DISPLAY.
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
at oracle.stellent.jcr.IdcPersistenceManager.listFolder(IdcPersistenceManager.java:690)
at oracle.stellent.jcr.IdcPersistenceManager.getChildResources(IdcPersistenceManager.java:648)
at oracle.jcr.impl.TransientLayer.getChildResources(TransientLayer.java:534)
at oracle.jcr.impl.FolderNode.getNodes(FolderNode.java:116)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:233)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
at java.lang.Thread.run(Thread.java:662)
oracle.stellent.ridc.protocol.ServiceException: No service defined for COLLECTION_DISPLAY.
o.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
o.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
o.stellent.jcr.IdcPersistenceManager.listFolder(IdcPersistenceManager.java:690)
o.stellent.jcr.IdcPersistenceManager.getChildResources(IdcPersistenceManager.java:648)
o.jcr.impl.TransientLayer.getChildResources(TransientLayer.java:534)
o.jcr.impl.FolderNode.getNodes(FolderNode.java:116)
o.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:233)
o.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
o.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
o.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
o.j.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
o.j.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
j.lang.Thread.run(Thread.java:662)
Regards,
BhaveshThanks Srinath.
We have resolved the issue but we had to follow below steps as we were not able to see Folder_g in componet list.
1. After login to content server, navigated to Admin Server.
2. In Advanced component manager, we have updated component configuration with selecting Folder_g and press Update
3. After that we followed the steps 2 and 3 as you mentioned.
Regards,
Bhavesh -
Db connection from content server context through JSP
Hi All,
Can anyone tell me how to get ucm db connection from Content Server context through JSP file? Thanks.
Joe
FMW Team,iTech,ShenzhenStart by getting a sample JSP here:
http://www.corecontentonly.com/Blog/UsingJavaServerPagesWithContentServerAndAnExample
Then, you can use the Workspace object in the jsp to create resultsets from SQL.
String sql = "SELECT * FROM REVISIONS";
// Execute the sql
rs = objWorkspace.createResultSetSQL(sql);
drs = new DataResultSet();
drs.copy(rs);
for (drs.first(); drs.isRowPresent(); drs.next())
String dDocName = ResultSetUtils.getValue(drs, "dDocName");
System.out.println(dDocName);
} -
Creating a TSL/SSL socket connection to a server
Hi
Is it posible to create a TSL/SSL socket connection to a server with as3 - webapp, I foundSecureSocket but it seems like it is only for Air, and is not in the flex 4.5 sdk?
Then NetConnection has it, but can you use it with a server that we have created our self? I think I read that if we use flashremoting, we can?
We are using As3Crypto but there is a lot of overhead on using this, as it is not native code.bump
-
Issues in connecting to Content Server through Stellent CIS
Hi,
I have installed CIS on Content Server 7.5. I have also installed the CIS adapaters on Weblogic Server. I am trying to connect to Stellent to search for content through these adapters from Weblogic server. I am able to connect to the sevrer, but getting the below error after connecting. Could any one please help?
Event generated by user 'guest' at host 'CIS'. Unable to retrieve search results. Permission denied. Host '(null)' is not an allowable remote socket host. [ Details ]
An error has occurred. The stack trace below shows more information. !csUserEventMessage,guest,CIS!$!csUnableToRetrieveSearchResults!csIncomingHostNotAllowed,(null) intradoc.common.ServiceException: !csUnableToRetrieveSearchResults!csIncomingHostNotAllowed,(null)
at intradoc.server.Service.buildServiceException(Unknown Source)
at intradoc.server.Service.createServiceExceptionEx(Unknown Source)
at intradoc.server.Service.createServiceException(Unknown Source)
at intradoc.server.ServiceSecurityImplementor.validateRemoteClientConnectionPrivilege(Unknown Source)
at intradoc.server.ServiceSecurityImplementor.globalSecurityCheck(Unknown Source)
at intradoc.upload.UploadSecurityImplementor.globalSecurityCheck(Unknown Source)
at intradoc.server.Service.globalSecurityCheck(Unknown Source)
at intradoc.server.Service.doRequest(Unknown Source)
at intradoc.server.ServiceManager.processCommand(Unknown Source)
at intradoc.server.IdcServerThread.run(Unknown Source)
Caused by: intradoc.common.ServiceException: !csIncomingHostNotAllowed,(null)
at intradoc.provider.SocketIncomingConnection.checkEnvironmentValueFilter(Unknown Source)
at intradoc.provider.SocketIncomingConnection.checkRequestAllowed(Unknown Source)
... 7 moresame issue as here:
Re: Permission denied. Host '(null)' is not an allowable remote socket host. -
Connection to Content Server.
Hi Gurus,
i am not able to connect from ECC System to Content Server with MAXDB on Solaris.
My content server URL status as below..
serverType="SAP HTTP Content Server";serverVendorId="SAP AG";serverVersion="640";serverPatch="7";serverBuild="23";pVersion="0046";serverStatus="running";serverDate="2010-09-21";serverTime="15:02:27";startUpDate="2010-09-21";startUpTime="05:57:33";lastAccessDate="2010-09-21";lastAccessTime="15:02:23";
contRep="ZMCSQ";contRepStatus="offline";contRepStatusDescription="SQLConnect failed, [SAP AG][LIBSQLOD SO][MaxDB] Unable to connect to data source;-8 Execution failed, parse again, Error Code: -8";storageVersion="17";storage="SAPDB";buildLevel="1";contentStorageName="CSQ";contentStorageHost="sapcsq03";security="1";contRepDescription=" CONTENT REPOSITORY FOR CSQ";defaultDocProt="";
Where Content Server Status is RUNNING....
then i have created new repository in OAC0, That new repository unable to connect it give error "Error in HTTP Access: IF_HTTP_CLIENT->RECEIVE 1
ICM_HTTP_CONNECTION_FAILED".
Regards,
PanuHi Eric,
Yes...it looks lie ZMCSQ is offline.
But, How do i make it to ONLINE.
Its great full help.
Regards,
Panu
Edited by: kumar panu on Sep 22, 2010 7:49 AM
Edited by: kumar panu on Sep 22, 2010 7:50 AM -
Error connecting to Content Server
Hello,
we are in the process of upgrading ERP6.0 EHP5 to EHP6 which is also an upgrade to NW702 to NW731. We made a system copy of the productive system and called it XXX and did all the post-systemcopy works that need to be done including creating the System PSE. We connected this XXX system to the Content Server and created new respositories and send the certificates to the CS. Everything was working fine. This wall still on NW702
After the upgrade we get errors like:
When trying to read/save a file, this error comes up:
X-ErrorDescription: "Security SsfVerify failed rc=5, lasterror=1, This key
type is not supported, PSE=\\?\E:\Program Files\SAP\Content Server\Security
\<REPOSITORYNAME>.pse,"
When accessing the CSADMIN via OAC0, the password windows opens and at the bottom the Error "http 401 (unauthorized) Permission denied: adminContRep&configGet" occurs.
I tried sending the certificate again-> still error
I tried to delete the .certs and .pse files in ContentServer\security as suggested in note 1800664-> still error
There was an old note saying that the CS needs to be patched because secude.dll is too old but even the latest patch only has the secude.dll from 2009 and there is no update. (At least I couldn't find any, probably because it is sapcrypto now)
We are using CS Patch 17. Since everything was working before, I do not see the reason to deploy a new patch.
The system PSE was created with algorithm RSA with SHA-1 and 2048 byte.
Does anyone have an idea what to try next?
Regards
AndreasHi Andreas,
Have you registered content server port number 1090. check in services if not registered
Please follow below steps.
1.In 'Administrative Tools' open 'Windows Firewall with Advanced Security'
2.Right click over 'Inbound Rules' and select 'New Rule...'
3.In the Rule Wizard select 'Port' and click on 'Next'.
4.Enter the port number you set for the Content Server, the default port is 1090,
and click 'Next'.
5. Select 'Allow the connection' and click 'Next'.
6. Select the Profile for your network and click on 'Next'.
7. Enter the name of rule, e.g. 'Content Server' and click on 'Finish'
Hope that maintained host file also.
Regrads,
chandu. -
Multiple Cache server Connection To content server
Dear all
i have installed content server 6.40 on win 2003 server,
now we have 2 remote location & i want to connect those location to my local content server through Cache
anybody have any Idea regarding how to do this?This question seems to be not related to PI.
Please post it to Document Management under SAP Solution. You will find answer. -
Exception while connecting to Content server from JDeveloper
I am getting following exception while connecting from jDeveloper
java.lang.NullPointerException
at oracle.stellent.wcm.jdev.shared.connection.ConnectionContext.<init>(ConnectionContext.java:53)
at oracle.stellent.wcm.jdev.features.rescat.IdcConnectionPanel.testAndLogin(IdcConnectionPanel.java:344)
at oracle.stellent.wcm.jdev.features.rescat.IdcConnectionPanel.access$000(IdcConnectionPanel.java:75)
at oracle.stellent.wcm.jdev.features.rescat.IdcConnectionPanel$1.doInBackground(IdcConnectionPanel.java:505)
at javax.swing.SwingWorker$1.call(SwingWorker.java:277)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at javax.swing.SwingWorker.run(SwingWorker.java:316)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
please Help
~HariOk. I found out why it is happening.
If I follow the section 3.1.2 and setup the site studio connection then everything is fine
3.1.2 Creating a Content Server Connection
http://download.oracle.com/docs/cd/E17904_01/doc.1111/e13650/ssxa_creatingsites.htm#CIHJGHFC
If I try to create a content server connection from file->new->content server connection then I get a null pointer exception.
I am sure someone from Oracle will fix it soon. For now all is well with Site Studio. -
How to Create a Single Backend Socket connectivity in a Server Socket Pgm
Hi Everybody,
I have a written a Server Socket which connects to back end socket and receiving the data and sending back to the front end. But as per my client requirement i need to create only one socket at the back end. But the code I have written is creating new sockets for each request. Is there any way to use the single client socket connection for all the transactions. I have attached the sample code for the reference.
import java.io.*;
import java.net.*;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
public class serl implements Runnable
ServerSocket serversocket;
Socket clientsoc;
Socket fromclient;
PrintStream streamtoclient;
BufferedReader streamfromclient;
SocketChannel socket_channel=null;
Thread thread;
public serl()
try
serversocket = new ServerSocket(1001);//create socket
clientsoc = new Socket("10.100.53.145",200);
socket_channel = clientsoc.getChannel();
catch(Exception e)
System.out.println("Socket could not be created "+e);
thread=new Thread(this);
thread.start();
public void run()
try
while(true)
PrintStream streamtobackend=null;
BufferedReader streamfrombackend = null;
fromclient=serversocket.accept();//accept connection fromclient
streamfromclient=new BufferedReader(new InputStreamReader((fromclient.getInputStream())));
//create a input stream for the socket
streamtoclient=new PrintStream(fromclient.getOutputStream());
//create an a output stream for the socket
String str=streamfromclient.readLine();
//read the message sent by client
System.out.println("Output Input From Vtcpd "+str);
streamtobackend.print(str);
streamtobackend = new PrintStream(clientsoc.getOutputStream());
//create an a output stream for the backend socket
streamfrombackend = new BufferedReader(new InputStreamReader(clientsoc.getInputStream()));
//create a input stream for the backend socket
str=streamfrombackend.readLine();
System.out.println("Output From Backend Client"+str);
streamtoclient.println(str);
}//end of while
catch(Exception e)
System.out.println("Exception "+e);
finally
try
fromclient.close();
catch(Exception e)
System.out.println("could not close connection "+e);
public static void main(String ar[])
new serl();
}Srikandh,
Create a singelton pattern for you socket ( IP, port, etc..) and each time you read the input stream and write to the output stream, do the following to the socket to reset it in the working thread
fromclient.getInputStream().mark(0);
fromclient.getInputStream().reset();Hope this could help
Regards,
Alan Mehio
London,UK -
Unable to establishing a connection to SQL Server created via SqlManagementClient
Goal:
create an Azure SQL Server via .NET (Microsoft.WindowsAzure.Management.Sql.Modules.SqlManagementClient) and add a database to it.
Problem:
I am NOT able to access the newly created server from .Net code.
Description:
Using SqlManagementClient I SUCCESFULLY create a new Azure SQL Server (see code below).
After creating the server, I am able to access the new server from Azure Portal.
* firewall rule show valid client machine
* "Windows Azure Services" is set to "Yes"
An error occures when I try connecting to the database using the same user and pwd used to create it.
/* the following code results in a connection failure */
//string server = <name of newly created sql server>
//string db = <name of new database to create, inside of the server>
public void CreateDatabase(string server, string db)
using (ReliableSqlConnection conn = new ReliableSqlConnection(
Configuration.GetConnectionString(server, "Master"),
SqlRetryPolicy,
SqlRetryPolicy))
conn.Open(); //// throws System.Data.SqlClient.SqlException
//// A network-related or instance-specific error occurred while establishing a connection to SQL Server.
SqlCommand cmd = conn.CreateCommand();
/* the following code creates a sql server and firewall rules */
ServerCreateResponse response;
SubscriptionCloudCredentials creds;
X509Certificate2 cert;
//// Gets the certificate
cert = CredentialUtil.GetCertificate(certificateStoreName, certificateStoreLocation, certificateThumbprint);
//// Using the certificate and the subscription build credential
creds = new CertificateCloudCredentials(azureSubscriptionId, cert);
//// using creditials create server and set firewall rules
using (SqlManagementClient client = new SqlManagementClient(creds))
response = client.Servers.Create(new ServerCreateParameters()
AdministratorPassword = sqlPwd,
AdministratorUserName = sqlUser,
Location = location
if (response.StatusCode == HttpStatusCode.Created)
//// 0.0.0.0 is added to enable "Windows Azure Services" on the "Configure" tab.
//// <MyInternetIp> would be my actual IP address.
//// - (which works for other servers that i have manualy registered
validIPs = new List<string>() {"0.0.0.0", "<MyInternetIp>"};
CreateFireWallRule(client, response.ServerName, validIPs);
//// Adds IP to Azure firewall.
private static void CreateFireWallRule(SqlManagementClient client, string azureServerName, IEnumerable<string> validIPs)
foreach (string ip in validIPs)
FirewallRuleCreateParameters rule = new FirewallRuleCreateParameters() { Name = string.Format("Allow {0} - {1}", Environment.MachineName, ip), StartIPAddress
= ip, EndIPAddress = ip };
client.FirewallRules.Create(azureServerName, rule);
/// Error
System.Data.SqlClient.SqlException was unhandled
HResult=-2146232060
Message=A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
(provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Source=.Net SqlClient Data Provider
ErrorCode=-2146232060
Class=20
LineNumber=0
Number=53
Server=""
State=0Using SqlManagementClient I SUCCESFULLY create a new Azure SQL Server.
ServerCreateResponse response;
SubscriptionCloudCredentials creds;
X509Certificate2 cert;
cert = CredentialUtil.GetCertificate(parameters.CertificateStoreName, parameters.CertificateStoreLocation, parameters.CertificateThumbprint);
creds = new CertificateCloudCredentials(parameters.AzureSubscriptionId, cert);
using (SqlManagementClient client = new SqlManagementClient(creds))
response = client.Servers.Create(new ServerCreateParameters()
AdministratorPassword = parameters.SqlPwd,
AdministratorUserName = parameters.SqlUser,
Location = parameters.Location
if (response.StatusCode == HttpStatusCode.Created)
CreateFireWallRule(client, response.ServerName, parameters.ValidIPs); -
I can establish internet connection through internet explorer using a router at my house, but whenever I attempt to connect using firefox, it says it is unable to connect.
A possible cause is security software (firewall) that blocks or restricts Firefox without informing you about that, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
See [[Server not found]] and [[Firewalls]] and http://kb.mozillazine.org/Firewalls -
Unable to make SSL connection from Proxy Server to Directory Server
I have recently installed Directory Proxy Server 5.2 Patch 3 on Solaris 9 server. Backend directories are Sun Directory Server 5.2sp3 using Thawte signed certificates.
I can't get the Proxy Server to make a successful SSL connection to the Directory Servers. The proxy server can make the non-ssl connection without problem. When the Proxy Server attempts the SSL connection it gives SEC_ERROR_UNTRUSTED_ISSUER error. The SSL certificates on the Directory Servers are signed by Thawte and have just recently been updated. The certificate for the Proxy Server is also signed by Thawte. The CA certificate is loaded in both the Proxy Server and the Directory Server.
I also have an iPlanet Directory Access Router (iDAR) 5.0 Server that is our current production server that serves these same directories and I haven't had a problem with SSL connection with it. So, the certificates are good.
I've encluded an exerpt from the Proxy Server log below for one of SSL connection attempts.
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [STAT/CONN] [ 560
307] Connection from secured listen port. New connection is on socket 37.
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [STAT/CONN] [ 560
305] Number of open connections is 1.
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [STAT/CONN] [ 171
211] [client( 152.3.100.30, 37)] Accepting connection via dukenet-group
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 302
023] Failure with CERT_VerifyCertNow (checking signature, usage: "certUsageSSLSe
rver").
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 302
023] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 385
729] Rejected certificate on socket 38
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 385
729] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 385
728] Certificate rejected on socket 38
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 385
728] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 385
721] Read on socket 38 failed.
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 385
721] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION] [ 301
006] Unexpected error on socket 38. (Error: -8172).
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 171
002] [client( 152.3.100.30, 37)] [server( 152.3.101.110+ 636, 38)] L
ost connection to server, trying to failover to another
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 302
023] Failure with CERT_VerifyCertNow (checking signature, usage: "certUsageSSLSe
rver").
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 302
023] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 385
729] Rejected certificate on socket 38
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 385
729] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 385
728] Certificate rejected on socket 38
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 385
728] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION] [ 385
717] ber_flush unexpected error on socket 38
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION] [ 385
717] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION] [ 385
717] ber_flush unexpected error on socket 38
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION] [ 385
717] NSPR error: -5938 (0xffffe8ce). Native errno is: 11
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 385
721] Read on socket 38 failed.
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 385
721] NSPR error: -5938 (0xffffe8ce). Native errno is: 11
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION] [ 301
006] Unexpected error on socket 38. (Error: -5938).
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE] [ 171
002] [client( 152.3.100.30, 37)] [server( 152.3.232.3+ 636, 38)] L
ost connection to server, trying to failover to another
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION] [ 385
717] ber_flush unexpected error on socket 38
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION] [ 385
717] NSPR error: -5938 (0xffffe8ce). Native errno is: 11
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION] [ 190
102] [client( 152.3.100.30, 37)] Rejecting request The server is tempor
arily busy
Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [OP/CONN] [ 170
904] [client( 152.3.100.30, 37)] [server( 152.3.101.110+ 636, 38)] C
onnection unbound by clientNo, that was on 5.1. For 6.0, my classpath has just:
%JAVA_HOME%\lib\tools.jar;%WL_HOME%\lib\weblogic_sp.jar;%WL_HOME%\lib\weblogic.jar;
%CLASSPATH%
This works fine. -
Cannot find api to implement RIDC connect WebCenter Content Server over SSL
Hi WebCenter Content team,
I find the following sample code from http://docs.oracle.com/cd/E23943_01/doc.1111/e10807/c23_ridc.htm#BJFIHEHI
Example 23-6 IDC Protocol over SSL
+// build a secure IDC client as cast to specific type+
IntradocClient idcClient = (IntradocClient)
manager.createClient("idcs://localhost:4443");
+// set the SSL socket options+
config.setKeystoreFile("ketstore/client_keystore"); //location of keystore file
config.setKeystorePassword ("password"); // keystore password
config.setKeystoreAlias("SecureClient"); //keystore alias
config.setKeystoreAliasPassword("password"); //password for keystore alias
I downloaded RIDC package from Individual Component Downloads in http://www.oracle.com/technetwork/middleware/webcenter/content/downloads/index.html.
But cannot find the above methods in IdcClientConfig and its subclasses. For example, cannot compile the following code.
IdcClientConfig config = idcClient.getConfig();
config.setKeystoreFile("ketstore/client_keystore"); // no such method
Could you please give a correct example.
Thanks a lot.Most likely the port. RIDC listens usually at 4444, 16200 is the port for browser-based communication.
Maybe you are looking for
-
VDI: how to assign printers to pools? (Virtualbox)
In VDI 3.2x and 3.3 there are per-pool-settings by which you can define that certain printers should show up in the desktop VM's. However ... I am not really sure about a few things here. The only explanation given in the wiki and in the documentatio
-
iTunes will not open on my Windows 7 computer. I've uninstalled it and reinstalled it, but it still won't open. I'm trying to synch my iPad and iPhone, which I haven't done for awhile, but right now I'm having no luck. I'm sure there is a switch I
-
TS1503 how to update iphone 4 with new i0s7 software over the computer
How do I update to ios7 from my computer? There is not wnough data space on my phone...Ive done it before but have no recollection!
-
Hi, I have a query regardin follow up for Ext.Web based trainings ,i have copeid Del method 0003 to custom one with the back end follow up control option. When ever participant take the online courses we need to do the follow up in the back end , my
-
Is there a way to embed a color profile when using Generate Assets?
I'm searching everywhere for a command to embed the profile to my images output with Generator and i'm not having any luck. Does someone know if this is possible? So far, my only work around is to script Assign Profile, but doing that with thousands