Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 10-09-2008, 12:39 PM
yqu yqu is offline
Project Contributor
 
Posts: 16
Default 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.
Reply With Quote
  #12 (permalink)  
Old 10-09-2008, 02:53 PM
Active Member
 
Posts: 29
Default

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
Reply With Quote
  #13 (permalink)  
Old 10-09-2008, 07:30 PM
Active Member
 
Posts: 29
Default

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?
Reply With Quote
  #14 (permalink)  
Old 10-13-2008, 09:17 AM
Active Member
 
Posts: 29
Default

Hi yqu,

do you have any idea about what is going on with the plugin?
Reply With Quote
  #15 (permalink)  
Old 10-15-2008, 10:22 AM
Active Member
 
Posts: 29
Default

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?
Reply With Quote
  #16 (permalink)  
Old 10-15-2008, 01:44 PM
Active Member
 
Posts: 29
Default

After some investigations, in my opinion there is a problem with "login()" function in "org_alfresco_zimbra.js"

Regards,
Yovko Yovkov
Reply With Quote
  #17 (permalink)  
Old 10-15-2008, 02:42 PM
Active Member
 
Posts: 29
Default

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%3A8 080%2Falfresco%2Fservice%2Fapi%2Flogin%3Fu%3Dusern ame%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!
Reply With Quote
  #18 (permalink)  
Old 10-15-2008, 04:46 PM
Active Member
 
Posts: 29
Default

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!
Reply With Quote
  #19 (permalink)  
Old 10-15-2008, 07:52 PM
Active Member
 
Posts: 29
Default

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!
Reply With Quote
  #20 (permalink)  
Old 10-16-2008, 02:53 AM
Member
 
Posts: 14
Default

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.