-
install it as dev mode
1) Logon your zimbra server and undeploy the zimlet
2) Create a folder called _dev under
/opt/zimbra/mailboxd/webapps/service/zimlet/
then create org_alfresco_zimbra under the _dev folder
and then unzip the zimlet zip file to that org_alfresco_zimbra folder
Once you unzip the files, run following commands
chown zimbra /opt/zimbra/mailboxd/webapps/service/zimlet/_dev/org_alfresco_zimbra
chown zimbra /opt/zimbra/mailboxd/webapps/service/zimlet/_dev/org_alfresco_zimbra/*
The above approach actually deployes the zimlets as dev mode so no restart is needed.
-
I have test it and it works. So I will test tomorrow if I am able to deployv plugin and to check what is in this directories. Then I will post here the result.
I met some problem connecting zimbra to alfresco, but I will check my alfresco installation first and in case of problems will ask you again.
Regards,
Yovko Yovkov
-
I had reinstalled Alfresco. I had installed the .zip file as descibed in attached .pdf file. Then I restarted tomcat, where alfresco is deployed, but still have no connection between them.
I have checked for incomming connections on the alfresco server (with tcpdump) but it seems nothings comming from zimbra server.
Do you have any idea?
-
Hi yqu,
do you have any idea about what is going on with the plugin?
-
I have found that the typo specified in the second reply make the plugin menus working correctly, when they are installed as zimlet (not as _dev zimlet). But when I put the settings I am not able to connect to alfresco server. I issued tcpdump, but it seems there is no connection initiated from zimbra to alfresco.
Any ideas?
-
After some investigations, in my opinion there is a problem with "login()" function in "org_alfresco_zimbra.js"
Regards,
Yovko Yovkov
-
Hm ... another suggestion. In jetty logs I found:
--- cut ---
192.168.1.101 - - [15/Oct/2008:23:09:49 +0200] "GET /service/proxy?target=http%3A%2F%2Falfresco.example.net %3A8080%2Falfresco%2Fservice%2Fapi%2Flogin%3Fu%3Du sername%26pw%3Dpassword HTTP/1.1" 403 1390 "http://zimbra.example.net/zimbra/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.2) Gecko/2008092318 Fedora/3.0.2-1.fc9 Firefox/3.0.2"
--- cut ---
Here should be a the tricky point!
-
And ... finaly I get it working ... almost.
How I did it?
First I made the change in the "org_alfresco_zimbra.js" file. I changed the line 453 from:
--- cut ---
for each (var mimeType in AlfMimeTable.list ) {
--- cut ---
to next:
--- cut ---
for (var mimeType in AlfMimeTable.list ) {
--- cut ---
Then I run as zimbra user next command:
zmprov mc default zimbraProxyAllowedDomains "*"
And it gets work.
Here are some problems with attachements:
When I am trying to attach file which name contains white space or which name contains UTF-8 characters, the file fail to attach.
For this problem I would ask the plugin developer to help to solve this issue!
-
I am feeling not so stoopid :-).
I found solution for the problem with attachement with names in UTF and with white-space. Here is a short description:
On line 331 add:
--- cut --
document.ssrc = "http://"+this.getAlfUrl()+nodes[i].data.shortlink+"?ticket="+this.getTicket();
--- cut ---
On line 399 add:
--- cut ---
var src = doc.ssrc;
--- cut ---
On line 406 change from:
--- cut ---
AjxStringUtil.urlComponentEncode (src) +
--- cut ---
на
--- cut ---
AjxStringUtil.urlComponentEncode (ssrc) +
--- cut ---
And it should work!
-
Brilliant solution!!!
Finally with your changes I can connect this zimlet with my alfresco server but unfortunately I have still some problems.
At this stage I'm able to see the server details with the "About " button, I'm able to click on "Save to alfresco" and scroll the list of my folders and when I try to add a file into a new message I'm able to see all my documents inside my alfresco folders.
But then when I choose a folder where save the attachment I get the error message "Upload to Alfresco failed", the same when I choose a file to add into a new message, I receive the message "Please wait while your documents are being attached" but the process never arrive at the end.
I'm using Zimbra 5.0.10 with Alfresco 3 Labs edition.
Do you have the same problem? If yes, do you know how can I fix it?
Any suggestions would be really appreciated.
Regards,
Paolo