CMDBuild Forum

Cannot upload to Alfresco DMS_ATTACHMENT_UPLOAD_ERROR

I've uploaded the error to: http://pastebin.com/gNs31Ubr in this pastebin you will find:

- dms.conf

- error from cmdbuild interface

- stacktrace from cmdbuild.log

- error in cmdbuild after i manually uploaded a file to alfresco

 

As i tried debugging this issue i did as follows: create a new card, add attachment, get error.

I installed CMDBuild 2.1.8 and Alfresco 3.4e community edition. No modification to this installation yet. Clean empty DB, created one class without any attributes. I installed Alfresco within the same tomcat instance as CMDBuild and increased the tomcat's memory to Xms1024m  Xmx128m XX:MaxPermSize=256m as it seems to needed that amount of memory. I cannot find any outofmemory errors in the logfile.

I noticed that when i try to add the attachment to the Card within CMDBuild the directories are created in Alfresco, so CMDBuild has a connection to Alfresco, is able to log in and create directories. When i log in to Alfresco via the webinterface I can upload images into the newly created directory without any issues, so i must conclude that Alfresco is configured properly. However after i added an image to that directory by hand, I'm receiving an error from the listattachments method, indicating something wrong. I've also added that part to the pastebin.

 

Could you provide any assistance?

I already fixed this. No need to search anymore.

I forgot to add the AlfrescoCatagory to Alfresco itself, CMDBuild was unable to set/retrieve that catagory, the error however is a bit vague