Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-5743

Stack Specific - It's im possible to connent to Alfresco through CMIS Atom PUb binding

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0.2
    • Component/s: CMIS
    • Labels:
      None
    • Environment:
      Alfresco Enterprise - v4.0.0 (800), Suse 11.1 x64, Websphere 7.0.0.latest x64, DB2 v9.7.0.4 db2jcc4.jar, IBM JDK2 IBM J9 VM - latest with 7.0.0.latest, AD+LDAP, Client: WindowsXP, IE7
    • Testcase ID:
      Hide

      sanity CMIS suit

      Show
      sanity CMIS suit

      Description

      Steps to reproduce:
      1. Open CMIS workbench;
      2. Try to connect in Basic mode : http://172.30.40.166:9080/alfresco/cmisatom
      3. Try to connect in Expert mode:
      org.apache.chemistry.opencmis.binding.spi.type=atompub
      org.apache.chemistry.opencmis.binding.atompub.url=http://172.30.40.166:9080/alfresco/cmisatom
      org.apache.chemistry.opencmis.user=admin
      org.apache.chemistry.opencmis.password=alfresco
      org.apache.chemistry.opencmis.binding.compression=true
      cmis.workbench.folder.includeAcls=false
      cmis.workbench.object.includeAcls=false
      cmis.workbench.version.includeAcls=false

      Actual result:
      Error occurs;
      The issue is also reproduced on clean database.
      CMIS log:
      > 14:31:58 ERROR hemistry.opencmis.workbench.ClientHelper: CmisConnectionException: Cannot access http://localhost:9080/alfresco/cmisatom: Connection refused: connect
      org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Cannot access http://localhost:9080/alfresco/cmisatom: Connection refused: connect
      at org.apache.chemistry.opencmis.client.bindings.spi.http.HttpUtils.invoke(HttpUtils.java:208)
      at org.apache.chemistry.opencmis.client.bindings.spi.http.HttpUtils.invokeGET(HttpUtils.java:62)
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.read(AbstractAtomPubService.java:550)
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getRepositoriesInternal(AbstractAtomPubService.java:718)
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:59)
      at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:85)
      at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:109)
      at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:96)
      at org.apache.chemistry.opencmis.workbench.model.ClientSession.connect(ClientSession.java:173)
      at org.apache.chemistry.opencmis.workbench.model.ClientSession.<init>(ClientSession.java:101)
      at org.apache.chemistry.opencmis.workbench.LoginDialog.createClientSession(LoginDialog.java:502)
      at org.apache.chemistry.opencmis.workbench.LoginDialog$1.actionPerformed(LoginDialog.java:196)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      > 14:31:58 ERROR hemistry.opencmis.workbench.ClientHelper: Error code: 0
      > 14:32:22 ERROR hemistry.opencmis.workbench.ClientHelper: CmisRuntimeException: Internal Server Error
      org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Internal Server Error
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:452)
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.read(AbstractAtomPubService.java:554)
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getObjectInternal(AbstractAtomPubService.java:778)
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.getObject(ObjectServiceImpl.java:510)
      at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getObject(SessionImpl.java:393)
      at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getObject(SessionImpl.java:371)
      at org.apache.chemistry.opencmis.workbench.model.ClientModel.loadFolder(ClientModel.java:155)
      at org.apache.chemistry.opencmis.workbench.ClientFrame.showLoginForm(ClientFrame.java:297)
      at org.apache.chemistry.opencmis.workbench.ClientFrame.<init>(ClientFrame.java:97)
      at org.apache.chemistry.opencmis.workbench.Workbench$1.run(Workbench.java:60)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      at java.awt.EventQueue.access$000(Unknown Source)
      at java.awt.EventQueue$1.run(Unknown Source)
      > 14:32:22 ERROR hemistry.opencmis.workbench.ClientHelper: Error code: 0
      > 14:32:22 ERROR hemistry.opencmis.workbench.ClientHelper: Error content: Error 500:

      > 14:44:06 ERROR hemistry.opencmis.workbench.ClientHelper: CmisRuntimeException: Internal Server Error
      org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Internal Server Error
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:452)
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.read(AbstractAtomPubService.java:554)
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getObjectInternal(AbstractAtomPubService.java:778)
      at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.getObject(ObjectServiceImpl.java:510)
      at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getObject(SessionImpl.java:393)
      at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getObject(SessionImpl.java:371)
      at org.apache.chemistry.opencmis.workbench.model.ClientModel.loadFolder(ClientModel.java:155)
      at org.apache.chemistry.opencmis.workbench.ClientFrame.showLoginForm(ClientFrame.java:297)
      at org.apache.chemistry.opencmis.workbench.ClientFrame.access$000(ClientFrame.java:47)
      at org.apache.chemistry.opencmis.workbench.ClientFrame$1.actionPerformed(ClientFrame.java:124)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      > 14:44:06 ERROR hemistry.opencmis.workbench.ClientHelper: Error code: 0
      > 14:44:06 ERROR hemistry.opencmis.workbench.ClientHelper: Error content: Error 500:

      Note, it works OK for Webservices binding;

      Thank you,
      JuliaG

        Attachments

          Activity

            People

            • Assignee:
              closedbugs Closed Bugs
              Reporter:
              alfrescoqa Alfresco QA Team
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 weeks, 1 day, 6 hours, 30 minutes
                3w 1d 6h 30m