Hi folks,
I get the zimlethttp://gallery.zimbra.com/type/extra/zimbrasambapassword-extension"] 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.initZimletDescription(ZimletFile.java:250)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletFile.java:206)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletFile.java:163)
at com.zimbra.cs.zimlet.ZimletFile.(ZimletFile.java:144)
at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1795)
at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1888)
[] ERROR: Error
java.io.FileNotFoundException: zimlet description not found: zimbrasambapassword.xml
at com.zimbra.cs.zimlet.ZimletFile.initZimletDescription(ZimletFile.java:250)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletFile.java:206)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletFile.java:163)
at com.zimbra.cs.zimlet.ZimletFile.(ZimletFile.java:144)
at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1795)
at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java: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.initZimletDescription(ZimletFile.java:250)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletFile.java:206)
at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletFile.java:163)
at com.zimbra.cs.zimlet.ZimletFile.(ZimletFile.java:149)
at com.zimbra.cs.zimlet.ZimletUtil.loadZimletsFromDir(ZimletUtil.java:400)
at com.zimbra.cs.zimlet.ZimletUtil.loadZimlets(ZimletUtil.java:337)
at com.zimbra.cs.zimlet.ZimletUtil.listInstalledZimletsOnHost(ZimletUtil.java:926)
at com.zimbra.cs.zimlet.ZimletUtil.listAllZimlets(ZimletUtil.java:995)
at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1772)
at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java: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
Error deploying a zimlet from the gallery
-
- Advanced member
- Posts: 131
- Joined: Sat Sep 13, 2014 1:55 am
Error deploying a zimlet from the gallery
Yes, I am getting the same error. I don't know how to get ride of it. I am just executing helloworld kinda zimlet.
Error deploying a zimlet from the gallery
Is there a directory into the zip file ?
-
- Advanced member
- Posts: 75
- Joined: Sat Sep 13, 2014 2:29 am
Error deploying a zimlet from the gallery
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 +".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.
* the zimlet's name is taken by stripping the .zip suffix from the zipfile name
* there *must* be a file +".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.