Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-24806

Cannot activate staging if third party repository added to document library not accessible

    Details

      Description

      (1) Start third party repository
      (2) Add third party CMIS repository in portal
      (3) Shutdown third party repository
      (4) Activate local staging w/ default settings

      Caused by: com.liferay.portal.InvalidRepositoryException: com.liferay.portal.ker
      nel.repository.RepositoryException: org.apache.chemistry.opencmis.commons.except
      ions.CmisConnectionException: Cannot access http://192.168.95.186:8081/alfresco/
      service/api/cmis?repositoryId=8a7e8676-187d-4167-b8ed-45a8bb8f9bae: Connection r
      efused: connect
      at com.liferay.portal.service.impl.RepositoryLocalServiceImpl.addReposit
      ory(RepositoryLocalServiceImpl.java:98)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

      Caused by: org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionExcept
      ion: Cannot access http://192.168.95.186:8081/alfresco/service/api/cmis?reposito
      ryId=8a7e8676-187d-4167-b8ed-45a8bb8f9bae: Connection refused: connect
      at org.apache.chemistry.opencmis.client.bindings.spi.http.HttpUtils.invo
      ke(HttpUtils.java:203)
      at org.apache.chemistry.opencmis.client.bindings.spi.http.HttpUtils.invo
      keGET(HttpUtils.java:62)
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAto
      mPubService.read(AbstractAtomPubService.java:550)
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAto
      mPubService.getRepositoriesInternal(AbstractAtomPubService.java:718)
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryS
      erviceImpl.getRepositoryInfo(RepositoryServiceImpl.java:63)
      at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceI
      mpl.getRepositoryInfo(RepositoryServiceImpl.java:69)
      at org.apache.chemistry.opencmis.client.runtime.SessionImpl.connect(Sess
      ionImpl.java:676)
      at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.creat
      eSession(SessionFactoryImpl.java:90)
      at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.creat
      eSession(SessionFactoryImpl.java:64)
      at com.liferay.portal.repository.cmis.CMISRepositoryUtil.createSession(C
      MISRepositoryUtil.java:81)
      ... 179 more
      Caused by: java.net.ConnectException: Connection refused: 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 sun.net.NetworkClient.doConnect(NetworkClient.java:163)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
      at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
      at sun.net.www.http.HttpClient.New(HttpClient.java:306)
      at sun.net.www.http.HttpClient.New(HttpClient.java:323)
      at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
      onnection.java:970)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
      ction.java:911)
      at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
      .java:836)
      at org.apache.chemistry.opencmis.client.bindings.spi.http.HttpUtils.invo
      ke(HttpUtils.java:185)
      ... 188 more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pani.gui Pani Gui (Inactive)
              Reporter:
              michael.han Michael Han (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 21 weeks, 5 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2