Page 2 of 15 FirstFirst 123412 ... LastLast
Results 11 to 20 of 149

Thread: Alfresco Zimlet (Beta)

  1. #11
    Join Date
    Aug 2008
    Posts
    16
    Rep Power
    7

    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.

  2. #12
    yyovkov Guest

    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

  3. #13
    yyovkov Guest

    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?

  4. #14
    yyovkov Guest

    Default

    Hi yqu,

    do you have any idea about what is going on with the plugin?

  5. #15
    yyovkov Guest

    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?

  6. #16
    yyovkov Guest

    Default

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

    Regards,
    Yovko Yovkov

  7. #17
    yyovkov Guest

    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 %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!

  8. #18
    yyovkov Guest

    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!

  9. #19
    yyovkov Guest

    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!

  10. #20
    Join Date
    Aug 2008
    Posts
    14
    Rep Power
    7

    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

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. [SOLVED] Install Problem in Ubuntu 6.06 Server
    By xtimox in forum Installation
    Replies: 16
    Last Post: 03-27-2008, 10:36 AM
  3. Replies: 5
    Last Post: 01-11-2008, 05:34 AM
  4. Domain Admin Error: Permission Denied
    By shanson in forum Administrators
    Replies: 3
    Last Post: 05-29-2007, 06:48 AM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •