Results 1 to 4 of 4

Thread: Exception while creating user in Zimbra from java web application

Threaded View

  1. #1
    Join Date
    Nov 2008
    Rep Power

    Default Exception while creating user in Zimbra from java web application

    Hii all,

    I am trying to create an user in zimbra from my Java application (jdk1.6.0_02 and tomcat-5.5.26),i am getting the following exception::
    java.lang.RuntimeException: could not locate data
    at sun.text.normalizer.NormalizerImpl.<clinit>(Normal
    at sun.text.normalizer.NormalizerBase.decompose(Norma
    at sun.text.normalizer.NormalizerBase$NFKDMode.normal ize(
    at sun.text.normalizer.NormalizerBase.normalize(Norma
    at sun.text.normalizer.NormalizerBase.normalize(Norma
    at java.text.Normalizer.normalize( )
    at .java:986)
    at java:430)
    at )
    at (
    at 0)
    at 609)
    at a:328)
    at l(
    at java.util.jar.JarVerifier.processEntry(JarVerifier .java:277)
    at java.util.jar.JarVerifier.update( 188)
    at java.util.jar.JarFile.initializeVerifier(JarFile.j ava:321)
    at java.util.jar.JarFile.getInputStream( 386)
    at sun.misc.URLClassPath$JarLoader$2.getInputStream(U
    at sun.misc.Resource.cachedInputStream( 59)
    at sun.misc.Resource.getByteBuffer(
    at .java:249)
    at$000(URLClassLoader. java:56)
    at$ 195)
    at Method)
    at ava:188)
    at java.lang.ClassLoader.loadClass( 06)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche
    at java.lang.ClassLoader.loadClass( 51)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade
    at Init(
    at .<init>(
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(
    at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(
    at java.lang.reflect.Constructor.newInstance(Construc
    at java.lang.Class.newInstance0(
    at java.lang.Class.newInstance(
    at va:125)
    at a:68)
    at org.apache.commons.httpclient.protocol.SSLProtocol SocketFactory.createSocket(SSLProtocolSocketFactor
    at org.apache.commons.httpclient.protocol.SSLProtocol SocketFactory.createSocket(SSLProtocolSocketFactor
    at org.apache.commons.httpclient.HttpMethodDirector.e xecuteWithRetry(
    at org.apache.commons.httpclient.HttpMethodDirector.e xecuteMethod(
    at org.apache.commons.httpclient.HttpClient.executeMe thod(
    at org.apache.commons.httpclient.HttpClient.executeMe thod(
    at com.zimbra.common.soap.SoapHttpTransport.invoke(So
    at com.zimbra.common.soap.SoapTransport.invoke(SoapTr
    at com.zimbra.common.soap.SoapTransport.invoke(SoapTr
    at com.zimbra.cs.account.soap.SoapProvisioning.invoke (
    at com.zimbra.cs.account.soap.SoapProvisioning.soapAd minAuthenticate(
    at aCalendarBO.createUser(
    at ss(
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at ternalDoFilter(
    at Filter(
    at org.apache.catalina.core.StandardWrapperValve.invo ke(
    at org.apache.catalina.core.StandardContextValve.invo ke(
    at org.apache.catalina.core.StandardHostValve.invoke(
    at org.apache.catalina.valves.ErrorReportValve.invoke (
    at org.apache.catalina.core.StandardEngineValve.invok e(
    at org.apache.catalina.connector.CoyoteAdapter.servic e(
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo
    at org.apache.jk.common.HandlerRequest.invoke(Handler
    at org.apache.jk.common.ChannelSocket.invoke(ChannelS
    at org.apache.jk.common.ChannelSocket.processConnecti on(
    at org.apache.jk.common.ChannelSocket$SocketConnectio n.runIt(
    at org.apache.tomcat.util.threads.ThreadPool$ControlR

    but from stand alone java application means from the main method if i try to create the user in zimbra directly,there is no issue in that.

    My create user method.....

    public static void createUser(String userId,String password) throws ServiceException {

    try {

    Map<String, Object> bbll = new HashMap<String,Object>();
    bbll.put(Provisioning.A_cn, "Offshore");

    System.setProperty("", "natedcert");
    System.setProperty(" rd", "changeit");

    SoapProvisioning sp = new SoapProvisioning();
    try {
    sp.soapAdminAuthenticate("", "admin123");
    } catch (Exception e){

    sp.createAccount(userId, password, bbll);
    } catch (RuntimeException e) {
    // TODO Auto-generated catch block

    Please help me in creating user from java Wb based application.
    Last edited by saman; 11-06-2008 at 10:52 PM.

Similar Threads

  1. Initializing ldap...failed. (28416) on RHEL 5
    By Nicrad in forum Installation
    Replies: 35
    Last Post: 10-22-2012, 06:57 PM
  2. Replies: 31
    Last Post: 12-15-2007, 08:05 PM
  3. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 PM
  5. Network edition - strange behavior
    By goetzi in forum Installation
    Replies: 6
    Last Post: 11-16-2005, 02:08 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