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:
Jar For Soap Client
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:
Quote:
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.