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

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
  #1 (permalink)  
Old 10-25-2009, 01:43 PM
Intermediate Member
 
Posts: 22
Default Where to place mysql jar?

I wrote a zimlet which opens a new window with a jsp page that, in turns, prints some info retrived from a MySQL DB.

I tried to put the .jar file
- in the zimlet folder
- in WEB-INF
- in WEB-INF/lib
but I keep having a java compiling error: where I have to put that .jar (and what is the correct import statement in .jsp)?

Thanks
Reply With Quote
  #2 (permalink)  
Old 10-26-2009, 12:14 PM
Trained Alumni
 
Posts: 286
Default

mune72...

Try using this path...

/opt/zimbra/jetty/common/lib

I use an LDAP jar library and it works when I put it in there.

Matt
Reply With Quote
  #3 (permalink)  
Old 10-27-2009, 02:48 AM
Zimlet Guru & Moderator
 
Posts: 199
Default

I suppose you work with the "_dev" folder.

Putting the jar in the zimlet and deploying the zimlet once will put the jar in the correct directory.
Reply With Quote
  #4 (permalink)  
Old 10-27-2009, 07:31 AM
Trained Alumni
 
Posts: 286
Default

tdesorbaix...

Yes I use the _dev feature. Good to know that you can just put the JAR file in the Zimlet and deploy it that way. Makes it a little easier.

Thanks,
Matt
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