Results 1 to 4 of 4

Thread: Getting started with Java

  1. #1
    iilievsk is offline Junior Member
    Join Date
    Jul 2009
    Posts
    7
    Rep Power
    6

    Default Getting started with Java

    What I need to get started using zimbra classes and SOAP and all that with java? Where are the libraries? Also where are soap.txt, soap-calendar.txt and like.


    Thank you

  2. #2
    JoshuaPrismon is offline Zimlet Guru & Moderator
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by iilievsk View Post
    What I need to get started using zimbra classes and SOAP and all that with java? Where are the libraries? Also where are soap.txt, soap-calendar.txt and like.


    Thank you
    Check out the source using perforce. There is a doc directory in the server folder that contains what you want.

  3. #3
    iilievsk is offline Junior Member
    Join Date
    Jul 2009
    Posts
    7
    Rep Power
    6

    Default

    Ok, thanks, I already done that. But now I have another problem. I want to add appointment to Calendar using servlet. I know how to add an appointment using simple java application, but when I try to use the same code I get this exception:
    javax.servlet.ServletException: Error allocating a servlet instance
    org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:117)
    org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:151)
    org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:874)
    org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:665)
    org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:528)
    org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:81)
    org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:689)
    java.lang.Thread.run(Thread.java:619)

    root cause

    java.lang.NoClassDefFoundError: com/zimbra/cs/servlet/ZimbraServlet
    java.lang.ClassLoader.defineClass1(Native Method)
    java.lang.ClassLoader.defineClass(ClassLoader.java :621)
    java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
    org.apache.catalina.loader.WebappClassLoader.findC lassInternal(WebappClassLoader.java:1852)
    org.apache.catalina.loader.WebappClassLoader.findC lass(WebappClassLoader.java:876)
    org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1329)
    org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1208)
    org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:117)
    org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:151)
    org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:874)
    org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:665)
    org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:528)
    org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:81)
    org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:689)
    java.lang.Thread.run(Thread.java:619)

    root cause

    java.lang.ClassNotFoundException: com.zimbra.cs.servlet.ZimbraServlet
    org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1362)
    org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1208)
    java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:320)
    java.lang.ClassLoader.defineClass1(Native Method)
    java.lang.ClassLoader.defineClass(ClassLoader.java :621)
    java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
    org.apache.catalina.loader.WebappClassLoader.findC lassInternal(WebappClassLoader.java:1852)
    org.apache.catalina.loader.WebappClassLoader.findC lass(WebappClassLoader.java:876)
    org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1329)
    org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1208)
    org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:117)
    org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:151)
    org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:874)
    org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:665)
    org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:528)
    org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:81)
    org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:689)
    java.lang.Thread.run(Thread.java:619)


    any clues?

  4. #4
    iilievsk is offline Junior Member
    Join Date
    Jul 2009
    Posts
    7
    Rep Power
    6

    Default

    Problem solved.
    Another one rised

    How to add appointment to specific Calendar, where to put the Calendar name?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 10-22-2007, 01:42 PM
  2. Fedora 5: Could not create the Java virtual machine
    By mi2enno in forum Installation
    Replies: 6
    Last Post: 06-01-2007, 03:16 AM
  3. Tomcat, Java VM Problems - RAM related? Help
    By Mo_Hong in forum Administrators
    Replies: 3
    Last Post: 03-28-2007, 02:00 PM
  4. Java 1.5 crashing on PPC Mac 10.4.8
    By bradn in forum Installation
    Replies: 1
    Last Post: 12-08-2006, 06:27 PM
  5. Replies: 0
    Last Post: 12-04-2005, 02:34 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
  •