I'm testing Alfresco integration using an Amazon AWS AMI of Alfresco Community Edition v3.2.0 (ami-7055b519) (alfresco/alf-32C-ec2-ubuntu-karmic-alpha-v0.4.manifest.xml)

I created a security group to open all TCP ports.

The url path of http://publicDNS.amazonaws.com:8080/alfresco/s/cmis and /alfresco/service/cmis both 404, however /alfresco/service returns 400 which I find interesting.

Comments

cfuller12’s picture

Are you able to see the web script index at /alfresco/service/index? If so, you should be able to browse down to the CMIS interface. Just click show all web scripts and do a find for "cmis" and you should see the correct URL.

langworthy’s picture

StatusFileSize
new3.58 KB

I've spun up another EC2 instance and am using a vanilla D6 install on my laptop for testing. I have enabled cmis cmis_common cmis_browser cmis_query.

I have not made any other actions in Alfresco.

Yes I can connect to http://publicDNS.amazonaws.com:8080/alfresco/service/index

I can then click on 'Browse CMIS Web Scripts' which takes me to http://publicDNS.amazonaws.com:8080/alfresco/service/index/family/CMIS

The part of this page that I believe is important is the following:

Repository AtomPub Service Document (getRepositoryInfo)
GET /alfresco/service/api/repository
GET /alfresco/service/api/cmis

If I click on /alfresco/service/api/cmis I receive an HTTP Basic Auth request and use the default username/password. I've attached the output I receive.

I've added the following to my sites/default/settings.php

conf['cmis_repositories'] = array(
  'default' => array(
    'user' => 'admin',
    'password' => 'admin',
    'url' => 'ec2-184-73-72-243.compute-1.amazonaws.com:8080/alfresco/service/api/cmis'
  )
);

Note: I've tried including http:// in the url and without.

In my Drupal setup, browsing to /cmis/info seems okay. I see text that says 'Name' and 'Properties' but nothing else below.

Browsing to /cmis/browser shows the error "Unknown CMIS object".

zero2one’s picture

StatusFileSize
new3.48 KB

I have the same connection problems.

After searching I found this post, and I tried the same service URL.
I get the same error message.

XML from Alfresco attached.

I'm using Alfresco 3.2.0

cfuller12’s picture

In both of these xml examples the base URL for the alfresco install seems to be http://ubuntu-srv-alfresco. That's likely to be the cause of the issue but I'm not sure why Alfresco is using these paths, other than that it appears to be something specific to this AMI. Can you check the configuration files for alfresco for a hard-coded reference to this URL?

zero2one’s picture

I'm working on a Mac but I'm running alfresco in a virtual (virtualbox) Ubuntu 9.10.
I installed Alfresco from the PPA packages (https://launchpad.net/~alfresco-isv/+archive/ppa).

Drupal runs on a Zend Server CE stack on my Mac.
I can access Alfresco from my mac by surfing to http://ubuntu-srv-alfresco:8080/alfresco (I made an entry in my hosts file).

langworthy’s picture

#4, I don't see 'http://ubuntu-srv-alfresco' anywhere in my file in #2

David Hernández’s picture

Hi there,

I have the same issue using ami-817497e8. Alfresco is running fine and I have the drupal installation in the same box also working. I've tried with this urls with no luck:
GET /alfresco/service/api/repository
GET /alfresco/service/api/cmis

I think it's because this version of Alfresco has support for v0.61 of the CMIS specification. What version of the CMIS specification uses this version of the module? Will work with an old version of the module or I have to upgrade Alfresco to 3.3 or 3.2r2?

Regards,
David.

IanNorton’s picture

Status: Active » Closed (works as designed)

Closing issue as part of Drupal 6 support announcement https://drupal.org/node/1910638