Results 1 to 2 of 2

Thread: Could not initialize class com.zimbra.common.soap.SoapHttpTransport

  1. #1
    Roger75 is offline Active Member
    Join Date
    Apr 2012
    Posts
    29
    Rep Power
    3

    Default Could not initialize class com.zimbra.common.soap.SoapHttpTransport

    I'm trying to use SoapProvisioning Java API, but at the line


    sp.soapSetURI("https://server:7071/service/admin/soap");



    is throwing the following exception in Glassfish (Java app server):
    threw exception java.lang.NoClassDefFoundError: Could not initialize class com.zimbra.common.soap.SoapHttpTransport at com.zimbra.cs.account.soap.SoapProvisioning.soapSe tURI(SoapProvisioning.java:184)
    but SoapHttpTransport is inside zimbracommon.jar, that is packaged in WEB-INF/lib of my web java project. So, why is this error happening?

  2. #2
    Roger75 is offline Active Member
    Join Date
    Apr 2012
    Posts
    29
    Rep Power
    3

    Default

    It was a problem with my servlet application: the libs from WEB-INF/lib weren't been seen (don't know why...). So I've changed Glassfish classpath and now it is working.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 9
    Last Post: 03-29-2014, 01:31 PM
  2. installing zdesktop on debian 6 64-bit
    By malayo in forum General Questions
    Replies: 0
    Last Post: 04-26-2011, 06:38 PM
  3. 'failed to initialize documents'
    By rickvv in forum Installation
    Replies: 3
    Last Post: 12-17-2007, 03:47 PM
  4. Installation on FC3 under Xen
    By andreground in forum Installation
    Replies: 9
    Last Post: 11-14-2005, 10:29 AM
  5. Model super class & communication factories
    By smies in forum Developers
    Replies: 3
    Last Post: 11-10-2005, 03:30 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
  •