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

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
  #1 (permalink)  
Old 03-03-2011, 01:13 AM
Loyal Member
 
Posts: 92
Default Error deploying a zimlet from the gallery

Hi folks,

I get the zimlet zimbraSambaPassword Extension and when i try to deploy this zimlet by terminal appear this error:

zimlets$ zmzimletctl install zimbraSambaPassword.zip
java.io.FileNotFoundException: zimlet description not found: zimbrasambapassword.xml
at com.zimbra.cs.zimlet.ZimletFile.initZimletDescript ion(ZimletFile.java:250)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:206)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:163)
at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile. java:144)
at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUti l.java:1795)
at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.ja va:1888)
[] ERROR: Error
java.io.FileNotFoundException: zimlet description not found: zimbrasambapassword.xml
at com.zimbra.cs.zimlet.ZimletFile.initZimletDescript ion(ZimletFile.java:250)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:206)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:163)
at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile. java:144)
at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUti l.java:1795)
at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.ja va:1888)
zimbra@zimbra:~/zimlets$


If I do:

~/zimlets$ zmzimletctl deploy zimbraSambaPassword.zip
[] INFO: Deploying on zimbra.dip-badajoz.es
[] INFO: Deploy initiated. (check the servers mailbox.log for the status)


And this is the zimlet's list

/zimlets$ zmzimletctl listZimlets
Installed Zimlet files on this host:
[] WARN: error loading zimlet com_zimbra_saldo
java.io.FileNotFoundException: zimlet description not found: com_zimbra_saldo.xml
at com.zimbra.cs.zimlet.ZimletFile.initZimletDescript ion(ZimletFile.java:250)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:206)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:163)
at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile. java:149)
at com.zimbra.cs.zimlet.ZimletUtil.loadZimletsFromDir (ZimletUtil.java:400)
at com.zimbra.cs.zimlet.ZimletUtil.loadZimlets(Zimlet Util.java:337)
at com.zimbra.cs.zimlet.ZimletUtil.listInstalledZimle tsOnHost(ZimletUtil.java:926)
at com.zimbra.cs.zimlet.ZimletUtil.listAllZimlets(Zim letUtil.java:995)
at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUti l.java:1772)
at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.ja va:1888)
com_zimbra_adminversioncheck
com_zimbra_baja
com_zimbra_bulkprovision
com_zimbra_cert_manager
com_zimbra_date
com_zimbra_dnd
com_zimbra_email
com_zimbra_phone
com_zimbra_registro_usuario
com_zimbra_rssfeeds
com_zimbra_url
com_zimbra_validacion
com_zimbra_ymemoticons
zimbra_samba
Installed Zimlets in LDAP:
com_zimbra_baja
com_zimbra_date (disabled)
com_zimbra_dnd
com_zimbra_email
com_zimbra_phone (disabled)
com_zimbra_registro_usuario (disabled)
com_zimbra_rssfeeds
com_zimbra_url
com_zimbra_validacion
com_zimbra_ymemoticons
Available Zimlets in COS:
ciudadano:
com_zimbra_date
com_zimbra_dnd
com_zimbra_email
com_zimbra_phone
com_zimbra_url
com_zimbra_ymemoticons
default:
com_zimbra_baja
com_zimbra_date
com_zimbra_dnd
com_zimbra_email
com_zimbra_phone
com_zimbra_registro_usuario
com_zimbra_rssfeeds
com_zimbra_url
com_zimbra_validacion
com_zimbra_ymemoticons
zimbra@zimbra:~/zimlets$


Any help???

Thanks
Reply With Quote
  #2 (permalink)  
Old 05-05-2011, 02:10 AM
Special Member
 
Posts: 117
Default

Yes, I am getting the same error. I don't know how to get ride of it. I am just executing helloworld kinda zimlet.
Reply With Quote
  #3 (permalink)  
Old 05-05-2011, 02:17 AM
Junior Member
 
Posts: 9
Default

Is there a directory into the zip file ?
__________________
ZimGuy

Zimbra V7 OSS Ubuntu 10.04 LTS 64 Bits
CAS 3.3.5 SPNEGO
Reply With Quote
  #4 (permalink)  
Old 03-30-2012, 10:06 PM
Active Member
 
Posts: 32
Default

I ran into similar problems when I tried to keep the version number in the zimlet zip file name. Turned out that zimlet structure is quite restricted.

* the zimlet's name is taken by stripping the .zip suffix from the zipfile name
* there *must* be a file <zimlet_name>+".xml" in the root directory of the zimlet archive.
* all other files which have to be deployed must be properly described in the xml file.
* additional jar files are copied to $ZIMBRA_ROOT/lib/jars/

The last point turns into a really, really tricky one. We must be *very careful* with zimlets including jar files:

a) if multiple zimlets include jars with same name, they will overwrite each other on deployment (i guess, the last one wins)
b) if multiple jars contain classes of same name, it's a game of luck which one will be loaded first and so which classes are actually linked in.

Conclusion: we need some real package management (including dependency handling) for Zimbra.
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.