Results 1 to 3 of 3

Thread: developer install and LDAP inject : samplecontacts.xml missing

  1. #1
    osmedts's Avatar
    osmedts is offline OpenSource Builder
    Join Date
    Jan 2007
    Location
    Lyon, France
    Posts
    16
    Rep Power
    8

    Question developer install and LDAP inject : samplecontacts.xml missing

    Hello,

    First, Zimbra is really great

    I downloaded and installed Zimbra on FreeBSD via the SVN sources. I managed to get it to work by doing manually some tasks that should normally be done during "ant reset-the-world" in ZimbraServer. The problems I have is that, in order to port Zimbra to FreeBSD, things need to be done the clean way. So here are my problems :

    # cd zimbra/trunk/ZimbraServer
    # ant reset-the-world
    [...]
    All things OK until
    [...]
    init-wiki:
    [echo] Initializing wiki@host.domain
    [java] Initializing folders
    [java] Creating folder Template
    [java] [] INFO: updating default account from null to wiki@host.domain
    [java] Initializing...
    [java] Creating wiki page _Footer in folder Template
    [java] Cannot import Wiki documents from data/wiki/Template
    [java] com.zimbra.cs.service.wiki.WikiServiceException: error: import
    [java] at com.zimbra.cs.service.wiki.WikiServiceException.ER ROR(WikiServiceException.java:60)
    [java] at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.startImpo rt(WikiUtil.java:411)
    [java] at com.zimbra.cs.account.ProvUtil.doImport(ProvUtil.j ava:1257)
    [java] at com.zimbra.cs.account.ProvUtil.initNotebook(ProvUt il.java:1209)
    [java] at com.zimbra.cs.account.ProvUtil.execute(ProvUtil.ja va:536)
    [java] at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 1455)
    [java] Caused by: com.zimbra.soap.SoapFaultException: Couldn't parse message
    [java] at com.zimbra.soap.Soap12Protocol.soapFault(Soap12Pro tocol.java:102)
    [java] at com.zimbra.soap.SoapTransport.extractBodyElement(S oapTransport.java:215)
    [java] at com.zimbra.soap.SoapTransport.parseSoapResponse(So apTransport.java:191)
    [java] at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:214)
    [java] at com.zimbra.soap.SoapTransport.invoke(SoapTransport .java:231)
    [java] at com.zimbra.cs.zclient.ZMailbox.invoke(ZMailbox.jav a:343)
    [java] at com.zimbra.cs.zclient.ZMailbox.createWiki(ZMailbox .java:2325)
    [java] at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.createIte m(WikiUtil.java:342)
    [java] at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.populateF olders(WikiUtil.java:372)
    [java] at com.zimbra.cs.wiki.WikiUtil$WikiSoapUtil.startImpo rt(WikiUtil.java:408)
    [java] ... 4 more

    inject:
    [echo] Inserting default contacts: user1@host.domain
    [java] Exception in thread "main" java.io.FileNotFoundException: data/soap/samplecontacts.xml (No such file or directory)
    [java] at java.io.FileInputStream.open(Native Method)
    [java] at java.io.FileInputStream.(FileInputStream.java:106)
    [java] at com.zimbra.common.util.ByteUtil.getContent(ByteUti l.java:86)
    [java] at com.zimbra.soap.SoapTestHarness.runTests(SoapTestH arness.java:240)
    [java] at com.zimbra.soap.SoapTestHarness.main(SoapTestHarne ss.java:199)

    BUILD FAILED
    /usr/home/zozo/zimbra/ZimbraServer/build.xml:412: Java returned: 1
    ------------------

    So two errors : one during init-wiki (I don't understand, but it's not blocking). Here is the content of my data/wiki :
    # find data/wiki | grep -v '.svn'
    data/wiki
    data/wiki/Template
    data/wiki/Template/_Footer.wiki
    data/wiki/Template/_TemplateStyles.wiki
    data/wiki/Template/_TocBodyTemplate.wiki
    data/wiki/Template/_TocItemTemplate.wiki
    data/wiki/Template/_TemplateStyles_unused.wiki
    data/wiki/Template/Logo.gif
    data/wiki/Template/_PathBodyTemplate.wiki
    data/wiki/Template/_TitleBar.wiki
    data/wiki/Template/_Index.wiki
    data/wiki/Template/_PathItemTemplate.wiki
    data/wiki/Template/_Header.wiki
    data/wiki/Template/_SideBar.wiki
    data/wiki/Template/_Template.wiki
    data/wiki/Template/_PathSeparator.wiki

    But the following error makes "ant reset-the-world" fail : you'll notice "java.io.FileNotFoundException: data/soap/samplecontacts.xml (No such file or directory)". The reason is simple :

    # find data/soap/ | grep -v '.svn'
    data/soap/
    data/soap/nps-contacts.xml

    There is no file "samplecontacts.xml" in zimbra/trunk/ZimbraServer/data/soap on the SVN repository ! And no "samplesearchfolders.xml" also, which should be used to initialize LDAP contents next.

    "ant inject-npscontacts" will fail too, cause there is no "data/soap/nps-contacts-orig.xml" in the SVN, but I can "cp" it from "data/soap/nps-contacts.xml".

    So, my questions :
    in the current (same thing a month before) SVN repository, where are "zimbra/trunk/ZimbraServer/data/soap/samplecontacts.xml", "zimbra/trunk/ZimbraServer/data/soap/samplesearchfolders.xml", "zimbra/trunk/ZimbraServer/data/soap/nps-contacts-orig.xml" (not very important) and is the error "Cannot import Wiki documents from data/wiki/Template" caused by missing files too ?
    Where can I get all of these, or how ?

    Please don't give me a link to the thread where someone wrote how to have Zimbra running on FreeBSD, because a FreeBSD port will in no way use ZimbraBuild (it should use tomcat, mysql, openldap, postfix... from ports), and my problem is not FreeBSD-specific, files are missing in the SVN so this could happen on any Linux distro with the developer install.

    Thanks for your help !
    Last edited by osmedts; 01-09-2007 at 10:13 AM. Reason: Remove real domain name

  2. #2
    wynton is offline Member
    Join Date
    Mar 2007
    Posts
    10
    Rep Power
    8

    Smile I got same problems!

    My OS is Windows XP!
    Anybody has any comments. Thanks in advance.

  3. #3
    osmedts's Avatar
    osmedts is offline OpenSource Builder
    Join Date
    Jan 2007
    Location
    Lyon, France
    Posts
    16
    Rep Power
    8

    Default

    I'm now trying Zimbra 5.0 BETA3. Now, there is a file "ZimbraServer/data/soap/samplecontacts.xml". And no problems to set-up the wiki account.

    BUT "ant reset-the-world" is still complaining about a missing data/soap/samplesearchfolders.xml in ZimbraServer. Where can I find this file ?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. LDAP Replication Experiences
    By technikolor in forum Administrators
    Replies: 4
    Last Post: 11-12-2008, 12:52 AM
  2. Multi Server Installation
    By rsharpe in forum Installation
    Replies: 6
    Last Post: 07-11-2007, 09:53 PM
  3. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  4. Mac OSX install: Java errors & LDAP CA error
    By jefbear in forum Installation
    Replies: 9
    Last Post: 12-16-2006, 03:39 PM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 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
  •