Zimlet Developers Guide:Troubleshooting: Difference between revisions
Line 51: | Line 51: | ||
|style="background-color:#ffffcc;" |'''Solution #4''' | |style="background-color:#ffffcc;" |'''Solution #4''' | ||
|Check that your zimlet name is all lower case. For example "com_zimbra_helloworld" is valid. "COM_zimbra_HelloWorld" is not. | |Check that your zimlet name is all lower case. For example "com_zimbra_helloworld" is valid. "COM_zimbra_HelloWorld" is not. | ||
|} | |||
== Cannot Upgrade Zimlet == | |||
{| cellpadding="20" cellspacing="0" border="1" | |||
|style="background-color:#ffffcc;" width="15%" |'''Problem''' | |||
|Cannot upgrade Zimlet or latest changes are not shown. | |||
|- | |||
|style="background-color:#ffffcc;" |'''Solution #1''' | |||
|Uninstall (i.e. undeploy) old zimlet prior to installing new zimlet. | |||
|- | |||
|style="background-color:#ffffcc;" |'''Solution #2''' | |||
|Be sure the zimlet version number as specified in the Zimlet Definition File and Zimlet Configuration File <code>version</code> attribute is higher than the older zimlet. | |||
|- | |||
|style="background-color:#ffffcc;" |'''Solution #3''' | |||
|Flush the zimlet cache using: | |||
<pre> | |||
zmprov fc zimlet | |||
</pre> | |||
|- | |||
|style="background-color:#ffffcc;" |'''Solution #4''' | |||
|Clear the browser cache. | |||
|} | |} |
Revision as of 22:18, 15 December 2009
Introduction | Getting Started | Dev Environment Setup |
|
API Specifications | Example Zimlets |
Zimlet fails to deploy
Problem | Zimlet fails to deploy and FileNotFoundException in {zcs-install-dir}/log/mailbox.log .
|
Summary | The Zimlet failed to deploy and the zimlet definition file {zimlet-name}.xml could not be found in the zimlet package.
|
Solution #1 | Check that your zimlet ZIP package has the zimlet content at the top-level (i.e. directly in the ZIP). |
Solution #2 | Check that your zimlet name matches in the following locations:
<zimlet name={zimlet-name}” ... >
|
Solution #3 | If you create your zimlet ZIP archive on a Mac and use the “Compress” feature from the Mac UI, additional Mac-specific files (e.g. directory __MACOSX/* ) are added to the ZIP. Either remove these files manually or use the “zip” command line instead of Compress.
|
Solution #4 | Check that your zimlet name is all lower case. For example "com_zimbra_helloworld" is valid. "COM_zimbra_HelloWorld" is not. |
Cannot Upgrade Zimlet
Problem | Cannot upgrade Zimlet or latest changes are not shown. |
Solution #1 | Uninstall (i.e. undeploy) old zimlet prior to installing new zimlet. |
Solution #2 | Be sure the zimlet version number as specified in the Zimlet Definition File and Zimlet Configuration File version attribute is higher than the older zimlet.
|
Solution #3 | Flush the zimlet cache using:
zmprov fc zimlet |
Solution #4 | Clear the browser cache. |