Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-22-2010, 06:32 PM
Active Member
 
Posts: 45
Default java: attrs directory does not exists (zcs 5.x -> 6.x)

I get following error after upgrading zcs java libraries from 5.x to 6.0.5:

Code:
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
2010-02-22 21:17:59,317 [main] INFO  com.toco.integration.zimbra.ZcsService 47  init- Connecting to mail server ...
2010-02-22 21:17:59,681 [main] WARN  zimbra.misc 230  warn- local config file `/opt/zimbra/conf/localconfig.xml' is not readable
2010-02-22 21:18:02,326 [main] WARN  zimbra.account 230  warn- failed to get AttributeManager instance
com.zimbra.common.service.ServiceException: system failure: attrs directory does not exists: /opt/zimbra/conf/attrs
ExceptionId:main:1266891482323:30a050e134420e77
Code:service.FAILURE
	at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:248)
	at com.zimbra.cs.account.AttributeManager.<init>(AttributeManager.java:164)
	at com.zimbra.cs.account.AttributeManager.getInstance(AttributeManager.java:148)
	at com.zimbra.cs.account.Entry.setAttributeManager(Entry.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>(ZAttrAccount.java:32)
	at com.zimbra.cs.account.Account.<init>(Account.java:36)
	at com.zimbra.cs.account.soap.SoapAccount.<init>(SoapAccount.java:35)
	at com.zimbra.cs.account.soap.SoapProvisioning.get(SoapProvisioning.java:663)
	at com.zimbra.cs.account.soap.SoapProvisioning.getAccount(SoapProvisioning.java:647)
	at com.toco.integration.zimbra.ZcsService.newProvisioning(ZcsService.java:204)
	at com.toco.integration.zimbra.ZcsService.init(ZcsService.java:49)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
This same 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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.