I'm trying to integrate Alfresco (v3.4) with CMDBuild. I have Alfresco installed and running and I am able to ftp to it and transfer a file using FileZilla. I cannot seem to get the CMDBuild integration to work however. When I attached a file to an a card, CMDB hangs and the file transfer does not complete. I have to kill the browser page. Within Alfresco, the file appears in the right location, in but with a 0 byte size. Any thoughts as to what the problem could be? I tried to follow the CMDBuild documentation but I found the Alfresco integration section a bit hard to follow. For example, do i need to create a cmdbuildCustomModel.xml fileand a cmdbuild-custom-model-context.xml file?
I'm trying to integrate Alfresco (v3.4) with CMDBuild. I have Alfresco installed and running and I am able to ftp to it and transfer a file using FileZilla. I cannot seem to get the CMDBuild integration to work however. When I attached a file to an a card, CMDB hangs and the file transfer does not complete. I have to kill the browser page. Within Alfresco, the file appears in the right location, in but with a 0 byte size. Any thoughts as to what the problem could be? I tried to follow the CMDBuild documentation but I found the Alfresco integration section a bit hard to follow. For example, do i need to create a cmdbuildCustomModel.xml fileand a cmdbuild-custom-model-context.xml file?
Previously Tecnoteca wrote:
Dear Dan,no, you don't need to create custom XML files (they are needed for advanced features only). Are you able to post CMDBuild's log?Best regards.-- Davide PavanPreviously Dan wrote:I'm trying to integrate Alfresco (v3.4) with CMDBuild. I have Alfresco installed and running and I am able to ftp to it and transfer a file using FileZilla. I cannot seem to get the CMDBuild integration to work however. When I attached a file to an a card, CMDB hangs and the file transfer does not complete. I have to kill the browser page. Within Alfresco, the file appears in the right location, in but with a 0 byte size. Any thoughts as to what the problem could be? I tried to follow the CMDBuild documentation but I found the Alfresco integration section a bit hard to follow. For example, do i need to create a cmdbuildCustomModel.xml fileand a cmdbuild-custom-model-context.xml file?
INFO 2014-03-24 07:31:32 [jsonrpc ] Calling url /attachments/uploadattachment
WARN 2014-03-24 07:31:32 [dms ] error changing directory
org.cmdbuild.dms.exception.DmsError: org.cmdbuild.dms.exception.DmsError: error
changing working directory to 'Id101'
at org.cmdbuild.dms.exception.DmsError.forward(DmsError.java:51)
at org.cmdbuild.dms.alfresco.ftp.AlfrescoFtpClient.changeDirectory(Alfre
scoFtpClient.java:164)
at org.cmdbuild.dms.alfresco.ftp.AlfrescoFtpClient.changeDirectory(Alfre
scoFtpClient.java:143)
at org.cmdbuild.dms.alfresco.ftp.AlfrescoFtpClient.upload(AlfrescoFtpCli
When I upload a file (or attempt to) from within cmdbuild it creates the path and a zero byte file of the correct name. I verified this from Alfresco itself. Also If I manually FTP via CLI it successfully uploads the file so I know alfresco is working correctly. It seems there is something wrong with the CMDBuild config.
I've also gotten this error
ERROR 2014-03-24 07:46:57 [cmdbuild] error uploading file 'BP1028_iSCSI_For_FC_Pros.pdf' to card 'EMCVNX' with id '101'
org.cmdbuild.dms.exception.DmsError: java.util.IllegalFormatConversionException: d != java.lang.String
at org.cmdbuild.dms.exception.DmsError.forward(DmsError.java:51)
at org.cmdbuild.dms.alfresco.AlfrescoDmsService.upload(AlfrescoDmsService.java:99)
at org.cmdbuild.dms.ForwardingDmsService.upload(ForwardingDmsService.java:40)
.......
at org.cmdbuild.dms.alfresco.AlfrescoDmsService.upload(AlfrescoDmsService.java:92)
... 44 more
ERROR 2014-03-24 07:46:57 [jsonrpc ] A org.cmdbuild.exception.DmsException occurred calling method class org.cmdbuild.servlets.json.Attachments.uploadAttachment: DMS_ATTACHMENT_UPLOAD_ERROR
INFO 2014-03-24 07:31:32 [jsonrpc ] Calling url /attachments/uploadattachment
WARN 2014-03-24 07:31:32 [dms ] error changing directory
org.cmdbuild.dms.exception.DmsError: org.cmdbuild.dms.exception.DmsError: error
changing working directory to 'Id101'
at org.cmdbuild.dms.exception.DmsError.forward(DmsError.java:51)
at org.cmdbuild.dms.alfresco.ftp.AlfrescoFtpClient.changeDirectory(Alfre
scoFtpClient.java:164)
at org.cmdbuild.dms.alfresco.ftp.AlfrescoFtpClient.changeDirectory(Alfre
scoFtpClient.java:143)
at org.cmdbuild.dms.alfresco.ftp.AlfrescoFtpClient.upload(AlfrescoFtpCli
When I upload a file (or attempt to) from within cmdbuild it creates the path and a zero byte file of the correct name. I verified this from Alfresco itself. Also If I manually FTP via CLI it successfully uploads the file so I know alfresco is working correctly. It seems there is something wrong with the CMDBuild config.
I've also gotten this error
ERROR 2014-03-24 07:46:57 [cmdbuild] error uploading file 'BP1028_iSCSI_For_FC_Pros.pdf' to card 'EMCVNX' with id '101'
org.cmdbuild.dms.exception.DmsError: java.util.IllegalFormatConversionException: d != java.lang.String
at org.cmdbuild.dms.exception.DmsError.forward(DmsError.java:51)
at org.cmdbuild.dms.alfresco.AlfrescoDmsService.upload(AlfrescoDmsService.java:99)
at org.cmdbuild.dms.ForwardingDmsService.upload(ForwardingDmsService.java:40)
.......
at org.cmdbuild.dms.alfresco.AlfrescoDmsService.upload(AlfrescoDmsService.java:92)
... 44 more
ERROR 2014-03-24 07:46:57 [jsonrpc ] A org.cmdbuild.exception.DmsException occurred calling method class org.cmdbuild.servlets.json.Attachments.uploadAttachment: DMS_ATTACHMENT_UPLOAD_ERROR
Is there somewhere I can upload the files to? Or an email address I can send them to?
Is there somewhere I can upload the files to? Or an email address I can send them to?
There's no mechanism here to attach files to a post.
There's no mechanism here to attach files to a post.
Previously Josh wrote:
WARN 2014-03-24 07:31:32 [dms ] error changing directory
org.cmdbuild.dms.exception.DmsError: org.cmdbuild.dms.exception.DmsError: error
changing working directory to 'Id101'
I got the same warning, after reviewing my installation i noticed that i forgot to create the AlfrescoCatagory inside alfresco. The error is a bit confusing i must say.
Dear Josh,I'll send you a private mail then you can reply to it attaching files.Best regards.-- CMDBuild TeamPreviously Josh wrote:There's no mechanism here to attach files to a post.