6 Replies Latest reply: May 4, 2012 8:41 AM by user4609640 RSS

    Accessing Oracle UCM from WebCenter Protal Application

    user4609640
      UCM hosted on LINUX VM
      Local host file details - 192.168.88.128 owcvm03
      connection details socket/owcvm03/4444(user weblogic)

      Design time in Application resources I can access contents of CS (Contribution Folder)

      But at runtime connection to CS fails error-
      <IdentityStoreUtil> <getIdentityStoreFactory> Cannot initialize identity store, cause: javax.naming.CommunicationException: 127.0.0.1:7101 [Root exception is java.net.SocketException: Permission denied: connect].
      <PageUtils> <getUserName> Failed to get user name
      <Submission> <run> Submission[id=1, service=oracle.webcenter.content.jcr.login, resource=owcvm03] caught exception running task
      javax.jcr.RepositoryException: oracle.stellent.ridc.protocol.ProtocolException: Unable to initialize connection idc://owcvm03:4444
           at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:161)
           at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:179)
           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:315)
           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:662)
      Caused by: oracle.stellent.ridc.protocol.ProtocolException: Unable to initialize connection idc://owcvm03:4444
           at oracle.stellent.ridc.protocol.intradoc.socket.SocketConnectionManager.initializeConnection(SocketConnectionManager.java:35)
           at oracle.stellent.ridc.protocol.intradoc.socket.SocketConnectionManager.initializeConnection(SocketConnectionManager.java:22)
           at oracle.stellent.ridc.protocol.impl.SimpleConnectionPool.acquireConnection(SimpleConnectionPool.java:44)
           at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:151)
           at oracle.stellent.jcr.IdcPersistenceManagerFactory.pingServer(IdcPersistenceManagerFactory.java:209)
           at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:168)
           ... 15 more
      Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.net.SocketException: Permission denied: connect
           at oracle.stellent.ridc.protocol.intradoc.socket.SocketConnection.connect(SocketConnection.java:52)
           at oracle.stellent.ridc.protocol.intradoc.socket.SocketConnectionManager.initializeConnection(SocketConnectionManager.java:33)
           ... 20 more
      Caused by: java.net.SocketException: Permission denied: connect
           at java.net.PlainSocketImpl.socketConnect(Native Method)
           at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
           at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
           at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
           at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
           at java.net.Socket.connect(Socket.java:529)
           at java.net.Socket.connect(Socket.java:478)
           at java.net.Socket.<init>(Socket.java:375)
           at java.net.Socket.<init>(Socket.java:189)
           at oracle.stellent.ridc.protocol.intradoc.socket.SocketConnection.createSocket(SocketConnection.java:126)
           at oracle.stellent.ridc.protocol.intradoc.socket.SocketConnection.connect(SocketConnection.java:44)
           ... 21 more
      <AbstractRepositoryLogic> <getItem> An error occurred while accessing the content repository.
        • 1. Re: Accessing Oracle UCM from WebCenter Protal Application
          Yannick Ongena
          This is probably because your UCM server does not allow socket connections. You need to configure this in the EM: http://www.yonaweb.be/webcenter_11g_ps3_tutorial_introduction_content_integration
          • 2. Re: Accessing Oracle UCM from WebCenter Protal Application
            user4609640
            Tx for quick respose.

            We are using PS5. We have these config in place already.

            In FARM(EM)/WEBCENTRE/CONTENT/CONTENTSERVER we have set
            the
            HTTP Address - HOSTNAME:16200
            IP ADDRESS FILTER- 127.0.0.1||*.*.*.*(to connect from anywhere)
            intradoc server port -4444

            Do we need to set any other config?
            • 3. Re: Accessing Oracle UCM from WebCenter Protal Application
              ngsankar
              IP ADDRESS FILTER need to be be like (*.*.*.*)

              Edited by: ngsankar on May 2, 2012 5:13 PM

              Edited by: ngsankar on May 2, 2012 5:14 PM
              • 4. Re: Accessing Oracle UCM from WebCenter Protal Application
                810948
                try * . * . * . *

                (remove the spaces between the asterisks and points)

                Edited by: 807945 on 02-may-2012 14:29
                • 5. Re: Accessing Oracle UCM from WebCenter Protal Application
                  user4609640
                  Tx for your response

                  We have this in place

                  SocketHostAddressSecurityFilter=127.0.0.1|0:0:0:0:0:0:0:1|*...*

                  #Database Variables
                  DatabaseType=oracle
                  JdbcDriver=oracle.jdbc.OracleDriver
                  JdbcConnectionString=jdbc:oracle:thin:@localhost:1521:ORCL
                  JdbcUser=system
                  JdbcPassword=managed
                  JdbcPasswordEncoding=managed
                  DatabasePreserveCase=1
                  SystemDatabase:DataSource=CSDS
                  SystemDatabase:UseDataSource=true

                  #Internet Variables
                  HttpServerAddress=OEL5vm.local:16200
                  MailServer=mail
                  SysAdminAddress=sysadmin@example.com
                  SmtpPort=25
                  HttpRelativeWebRoot=/cs/
                  UseSSL=No

                  #General Option Variables
                  GetCopyAccess=false
                  ExclusiveCheckout=false
                  IsAutoNumber=true
                  AutoNumberPrefix=OEL5vmlocal162
                  AuthorDelete=false
                  ShowOnlyKnownAccounts=false
                  UseAccounts=1
                  IsJspServerEnabled=0
                  JspEnabledGroups=

                  #Additional Variables
                  AllowUpdateForGenwww=1
                  IdcServerThreadQueryTimeout=180
                  DatabaseConnectionKeepAliveInterval=180
                  IntradocServerPort=4444
                  • 6. Re: Accessing Oracle UCM from WebCenter Protal Application
                    user4609640
                    Tx for your response. We have this in place.
                    * . * . * .*

                    SocketHostAddressSecurityFilter=127.0.0.1|0:0:0:0:0:0:0:1|*...*

                    #Database Variables
                    DatabaseType=oracle
                    JdbcDriver=oracle.jdbc.OracleDriver
                    JdbcConnectionString=jdbc:oracle:thin:@localhost:1521:ORCL
                    JdbcUser=system
                    JdbcPassword=managed
                    JdbcPasswordEncoding=managed
                    DatabasePreserveCase=1
                    SystemDatabase:DataSource=CSDS
                    SystemDatabase:UseDataSource=true

                    #Internet Variables
                    HttpServerAddress=OEL5vm.local:16200
                    MailServer=mail
                    SysAdminAddress=sysadmin@example.com
                    SmtpPort=25
                    HttpRelativeWebRoot=/cs/
                    UseSSL=No

                    #General Option Variables
                    GetCopyAccess=false
                    ExclusiveCheckout=false
                    IsAutoNumber=true
                    AutoNumberPrefix=OEL5vmlocal162
                    AuthorDelete=false
                    ShowOnlyKnownAccounts=false
                    UseAccounts=1
                    IsJspServerEnabled=0
                    JspEnabledGroups=

                    #Additional Variables
                    AllowUpdateForGenwww=1
                    IdcServerThreadQueryTimeout=180
                    DatabaseConnectionKeepAliveInterval=180
                    IntradocServerPort=4444

                    Edited by: user4609640 on May 4, 2012 6:40 AM