CMDBuild Forum

Alfresco connects OK but not from CMDBuild

Hello.

I'm having trouble trying to get Alfresco to work with CMDBuild. I have installed Alfresco as per the Technical Manual and can connect to it via the web interface. From here I've created the cmdbuild space and can connect via FTP to it. Everything for Alfresco seems to working well.

When I enable Alfresco in the settings and switch to the Administration Module I get the following error generated:

Call: services/json/attachments/getattachmentscontext
------------------------------------------------------
Error: org.alfresco.webservice.util.WebServiceException: Error starting session.
	at org.alfresco.webservice.util.AuthenticationUtils.startSession(AuthenticationUtils.java:88)
Further down the error list I see this:
Caused by: (404)Not Found
	at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
If I go to the server URL (http://localhost:9080/alfresco/api)in the Alfresco settings I only get the following in my browser
{"list":{"pagination":{"count":1,"hasMoreItems":false,"totalItems":1,"skipCount":0,"maxItems":100},"entries":[{"entry":{"id":"-default-","quotas":[],"isEnabled":true}}]}}
I'm really unsure what's going on as everything looks right.
If anyone can suggest what might be wrong here I'd really appreciate it as I've searched on Google but found nothing helpful
Thanks!

I had similar problems though not exactly. CMDB build on server1, Alfresco on server2. Firewall completely disabled on alfresco (running centos 6.5). firewall on cmdb server1, but only had incoming rules. Once I completely disabled the firewall on the cmdb server1 alfresco would work. No good explanation why only that's what fixed my problem. I haven't tried to troubleshoot it any further.

Previously Josh wrote:

I had similar problems though not exactly. CMDB build on server1, Alfresco on server2. Firewall completely disabled on alfresco (running centos 6.5). firewall on cmdb server1, but only had incoming rules. Once I completely disabled the firewall on the cmdb server1 alfresco would work. No good explanation why only that's what fixed my problem. I haven't tried to troubleshoot it any further.

 

I did get this working and must admit it was my fault. When downloading Alfresco I clicked an incorrect link and downloaded the latest version which I think was 4.2c. Once I removed this and installed the version (3.4c I think - see the Tech Manual) the problems went away.
 
Cheers!