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

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 05-15-2007, 01:47 PM
Loyal Member
 
Posts: 80
Default Developing against Zimbra - Which JARs?

I'm trying to write a basic Java app to authenticate against Zimbra and do some simple contact list queries using SOAP. Which JARs do I need to grab out of the Zimbra directory to import all the necessary classes?

I'm loosely following this wiki:
http://wiki.zimbra.com/index.php?title=ZClient

Thanks!
Reply With Quote
  #2 (permalink)  
Old 05-15-2007, 10:06 PM
Zimbra Employee
 
Posts: 4,792
Default

zimbracommon.jar and zimbraserver.jar for now (eventually we want it to be zimbracommon.jar only). You may also need some other related jars like log4j etc. If you grab all the jars in the ~tomcat/webapps/zimbra webapp you should be fine.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 05-16-2007, 07:34 AM
Loyal Member
 
Posts: 80
Default

Thanks for the response. I see a zimbracommon.jar but I don't see a zimbraserver.jar?

These are all the zimbra JARs I can find in my tomcat webapps dir:
Code:
[zimbra@group tomcat]$ find . -name zimbra*.jar
./webapps/service/WEB-INF/lib/zimbraim.jar
./webapps/service/WEB-INF/lib/zimbrataglib.jar
./webapps/service/WEB-INF/lib/zimbrastore.jar
./webapps/service/WEB-INF/lib/zimbra-charset.jar
./webapps/service/WEB-INF/lib/zimbracommon.jar
./webapps/zimbra/WEB-INF/lib/zimbrataglib.jar
./webapps/zimbra/WEB-INF/lib/zimbrastore.jar
./webapps/zimbra/WEB-INF/lib/zimbra-charset.jar
./webapps/zimbra/WEB-INF/lib/zimbracommon.jar
./common/endorsed/zimbra-charset.jar
./common/lib/zimbra-native.jar
[zimbra@group tomcat]$
Reply With Quote
  #4 (permalink)  
Old 05-16-2007, 08:09 AM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by moniker View Post
Thanks for the response. I see a zimbracommon.jar but I don't see a zimbraserver.jar?

These are all the zimbra JARs I can find in my tomcat webapps dir:
Code:
[zimbra@group tomcat]$ find . -name zimbra*.jar
./webapps/service/WEB-INF/lib/zimbraim.jar
./webapps/service/WEB-INF/lib/zimbrataglib.jar
./webapps/service/WEB-INF/lib/zimbrastore.jar
./webapps/service/WEB-INF/lib/zimbra-charset.jar
./webapps/service/WEB-INF/lib/zimbracommon.jar
./webapps/zimbra/WEB-INF/lib/zimbrataglib.jar
./webapps/zimbra/WEB-INF/lib/zimbrastore.jar
./webapps/zimbra/WEB-INF/lib/zimbra-charset.jar
./webapps/zimbra/WEB-INF/lib/zimbracommon.jar
./common/endorsed/zimbra-charset.jar
./common/lib/zimbra-native.jar
[zimbra@group tomcat]$
I think Kevin might mean zimbrastore.jar here.
Reply With Quote
  #5 (permalink)  
Old 05-16-2007, 08:13 AM
Loyal Member
 
Posts: 80
Default

Yeah, that's what I figured, but I just wanted to make sure. Thanks!
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.