Results 1 to 4 of 4

Thread: Using SoapProvisioning:system failure: attrs directory does not exists

  1. #1
    Join Date
    Feb 2010
    Posts
    4
    Rep Power
    5

    Default Using SoapProvisioning:system failure: attrs directory does not exists

    Hi

    I am trying to create Zimbra accounts from a java web application using the java SOAP API.

    My code uses the SoapProvisioning class and it is like the example in this post:
    http://www.zimbra.com/forums/develop...-client-2.html

    When I create an account I get these warnings:
    WARN zimbra.misc - local config file `\opt\zimbra\conf\localconfig.xml' is not readable
    WARN zimbra.account - failed to get AttributeManager instance


    Although the account is created, not sure if correctly, an exception is thrown:

    2010-02-04 10:06:12,140 [http-8080-Processor23] WARN zimbra.account - failed to get AttributeManager instance
    com.zimbra.common.service.ServiceException: system failure: attrs directory does not exists: /opt/zimbra/conf/attrs
    ExceptionId:http-8080-Processor23:1265274372140:62b7788852c42913
    Code:service.FAILURE
    at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:247)
    at com.zimbra.cs.account.AttributeManager.<init>(Attr ibuteManager.java:164)
    at com.zimbra.cs.account.AttributeManager.getInstance (AttributeManager.java:148)
    at com.zimbra.cs.account.Entry.setAttributeManager(En try.java:79)
    at com.zimbra.cs.account.Entry.<init>(Entry.java:66)
    at com.zimbra.cs.account.NamedEntry.<init>(NamedEntry .java:41)
    at com.zimbra.cs.account.MailTarget.<init>(MailTarget .java:26)
    at com.zimbra.cs.account.ZAttrAccount.<init>(ZAttrAcc ount.java:32)
    at com.zimbra.cs.account.Account.<init>(Account.java: 36)
    at com.zimbra.cs.account.soap.SoapAccount.<init>(Soap Account.java:35)
    at com.zimbra.cs.account.soap.SoapProvisioning.get(So apProvisioning.java:663)
    at com.zimbra.cs.account.soap.SoapProvisioning.get(So apProvisioning.java:630)
    at com.zimbra.cs.account.Provisioning.getAccountById( Provisioning.java:637)
    ...
    Zimbra 6.04 is installed in a remote server. That attrs directory exists and is readable so I don't understand which is the problem.

    Any idea about what could cause this problem, please?

    Thank you.

  2. #2
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    10

    Default

    Hmm. What service are you trying to connect too? The Soap service, or the standalone service?
    WARN zimbra.misc - local config file `\opt\zimbra\conf\localconfig.xml' is not readable
    WARN zimbra.account - failed to get AttributeManager instance

  3. #3
    Join Date
    Feb 2010
    Posts
    4
    Rep Power
    5

    Default

    Sorry but I don't understand the question.

    My code is like this:

    SoapProvisioning sp = new SoapProvisioning();
    sp.soapSetURI("https://remotehost:7071/service/admin/soap");
    sp.soapAdminAuthenticate("admin","password");
    createZimbraAccount = sp.createAccount("a@b.com", null, map);
    Perhaps I didn't explained myself very well. I can see the two warnings in the log of Eclipse, my development tool. The service exception happens in Zimbra but in the client side (my java web application) the flow of my code is not interrupted.

  4. #4
    Join Date
    May 2008
    Posts
    45
    Rep Power
    7

    Default

    I get the same error trying to connect to a SOAP service via the admin URL.

    This code worked fine until I attempted migrating from 5.x zcs java APIs to the 6.x version.

    It seems like there was some major refactoring between versions.

    Are there any migration docs available?

    Any assistance would be appreciated.

Similar Threads

  1. [SOLVED] upgrading to latest 4.5 release
    By ak2009 in forum Installation
    Replies: 6
    Last Post: 01-17-2009, 09:08 AM
  2. Zimbra OSS 4.5.11 Re-install
    By newmember in forum Installation
    Replies: 0
    Last Post: 09-09-2008, 11:26 PM
  3. Documents fail to initialize
    By dgcarter in forum Installation
    Replies: 9
    Last Post: 12-18-2007, 12:44 AM
  4. centos 5 zimbra 4.5.6 no statistics
    By rutman286 in forum Installation
    Replies: 9
    Last Post: 08-14-2007, 10:30 AM
  5. system failure: unable to modify attrs
    By ccmacmil in forum Administrators
    Replies: 2
    Last Post: 05-04-2006, 09:13 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
  •