Results 1 to 4 of 4

Thread: Where to place mysql jar?

  1. #1
    mune72 is offline Active Member
    Join Date
    Jan 2009
    Posts
    34
    Rep Power
    6

    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

  2. #2
    Chewie71 is offline Trained Alumni
    Join Date
    Sep 2006
    Location
    Illinois
    Posts
    374
    Rep Power
    8

    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

  3. #3
    tdesorbaix is offline Zimlet Guru & Moderator
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    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.

  4. #4
    Chewie71 is offline Trained Alumni
    Join Date
    Sep 2006
    Location
    Illinois
    Posts
    374
    Rep Power
    8

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. [SOLVED] Install Problem in Ubuntu 6.06 Server
    By xtimox in forum Installation
    Replies: 16
    Last Post: 03-27-2008, 09:36 AM
  3. DNS Questions and Trouble Installing
    By smurraysb in forum Installation
    Replies: 22
    Last Post: 03-14-2008, 03:27 PM
  4. Replies: 18
    Last Post: 03-20-2006, 02:22 PM
  5. Can't start MySQL to init db - Gentoo
    By fak3r in forum Installation
    Replies: 3
    Last Post: 10-10-2005, 06:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •