Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Desktop > General Questions

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
  #21 (permalink)  
Old 02-18-2009, 08:15 AM
Zimbra Consultant
 
Posts: 5,814
Default

That's fine, it simply depends on when you originally installed; newer installs make use of the %USERPROFILE% environmental variable for the path, thus data is stored in your profile so we can have multiple desktop users on one machine down the road.
__________________
-Mike Morse (MCode151)

ZCS-to-ZCS Migrations & Moves | Admin Tools & Tidbits » ZimbraBlog.com | ZimbraCommunity.com
Reply With Quote
  #22 (permalink)  
Old 03-09-2009, 08:03 AM
Intermediate Member
 
Posts: 22
Default

Quote:
Originally Posted by spacegoose View Post
How do I deploy Zimlets in Zimbra Desktop?
I cannot find the zmzimletctl command, and adding them (the .zip file) to the top level zimlets or webapps/zimlets directories, and restarting zimbra doesn't seem to work either.
Don't ZIP the files

create the dir
_dir
in
<PATH_TO_ZIMBRA>/zimbra/zdesktop/jetty/webapps/service/zimlet/

in _dir create a dir for your zimlet, says com_zimbra_hworld

in the folder com_zimbra_hworld put your development files, the next time that zimbra desktop restart you will find your zimlet in the zimlets' drop menu.

Fede
Reply With Quote
  #23 (permalink)  
Old 04-15-2009, 11:30 PM
bmw bmw is offline
Senior Member
 
Posts: 74
Exclamation

I am getting the same message following the instructions as noted above.

Code:
brucew@ubuntu:~/zimbra/zdesktop/zimlets$ java -cp jetty/lib/log4j-1.2.8.jar:jetty/common/lib/commons-httpclient-3.0.jar:jetty/common/lib/mail.jar:jetty/common/lib/commons-logging.jar:jetty/common/lib/commons-codec-1.3.jar:jetty/common/lib/json.jar:jetty/common/lib/dom4j-1.5.jar:jetty/common/lib/zimbracommon.jar:jetty/webapps/service/WEB-INF/lib/zimbrastore.jar -Dzimbra.config=conf/localconfig.xml com.zimbra.cs.zimlet.ZimletUtil deploy zimlets/com_zimbra_collector.zip
Exception in thread "main" java.lang.NoClassDefFoundError: com/zimbra/cs/zimlet/ZimletUtil
Caused by: java.lang.ClassNotFoundException: com.zimbra.cs.zimlet.ZimletUtil
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
Could not find the main class: com.zimbra.cs.zimlet.ZimletUtil. Program will exit.
brucew@ubuntu:~/zimbra/zdesktop/zimlets$
Reply With Quote
  #24 (permalink)  
Old 04-16-2009, 08:14 AM
Zimbra Employee
 
Posts: 115
Default

Those steps are incorrect. You should be on <bla/bla/zdesktop> (and not bla/bla/zdesktop/zimlet) folder when you run your commands.

The correct steps are listed here:
Add Flickr Zimlet

also here:
http://wiki.zimbra.com/index.php?tit...vel.27_Zimlets
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
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