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 Display Modes
  #1 (permalink)  
Old 06-22-2009, 02:39 AM
Intermediate Member
 
Posts: 16
Default Zimlet no changes effects!

I've developed a zimlet using the zdesktop. Now I want to deploy it on my ZCS live server. After i deployed, i found that i got some mistake on my code.

So I change some of it, re-zip it, re-deploy (undeploy n deploy) it.
But I can't see the code is changing. It seems like the zimlet will not take effect until I restart the mailbox service.

However, if i change the zimlet's name, it will takes effect. It will treat it as a new zimlet.

Does anyone know what is the best way to 'refresh' the changes of my zimlet without restarting the mailbox service. Because my server is running in production, restarting it might takes few minutes and I can't afford that downtime.

Thanks in advanced!
Reply With Quote
  #2 (permalink)  
Old 06-22-2009, 10:49 AM
Zimlet Guru & Moderator
 
Posts: 431
Default

Check the version number in the XML file. It must be incremented for the uopgrade to occur.
Reply With Quote
  #3 (permalink)  
Old 06-23-2009, 08:38 PM
Intermediate Member
 
Posts: 16
Default

erm.. I tried.
Previous version is 1.0
After i changed, i put 1.1, deployed n re-deployed, refresh browser, no effects.

But I ssh into the server and check on:
/opt/zimbra/jetty/webapps/service/zimlet/<my_zimlet_name>/<my_zimlet_name>.xml
The version had been changed and also I check on my javascript (.js) code, the code did changed to the latest one.

But I don't get the effect on my browser when I refresh. I putting an alert("Hello") in the event of "singleClicked".

Anyway, thx for your reply.
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0