Results 1 to 2 of 2

Thread: Tomcat: zmprov ma: account.INVALID_ATTR_VALUE (must include domain)

  1. #1
    Join Date
    Dec 2007
    Rep Power

    Default Tomcat: zmprov ma: account.INVALID_ATTR_VALUE (must include domain)

    I execute command
    /opt/zimbra/bin/zmprov -v ma zimbraPrefMailForwardingAddress ''
    If I execute it from command-line, it works great: removes the attribute from my ldap entry.
    If the command is executed from my java web application using Runtime.getRuntime().exec(cmd); it gives next error:
    ERROR: account.INVALID_ATTR_VALUE (must include domain)
    com.zimbra.soap.SoapFaultException: must include domain
            at com.zimbra.soap.Soap12Protocol.soapFault(
            at com.zimbra.soap.SoapTransport.extractBodyElement(
            at com.zimbra.soap.SoapTransport.parseSoapResponse(
            at com.zimbra.soap.SoapHttpTransport.invoke(
            at com.zimbra.soap.SoapTransport.invoke(
            at com.zimbra.cs.account.soap.SoapProvisioning.invoke(
            at com.zimbra.cs.account.soap.SoapAccount.modifyAttrs(
            at com.zimbra.cs.account.soap.SoapProvisioning.modifyAttrs(
            at com.zimbra.cs.account.ProvUtil.execute(
            at com.zimbra.cs.account.ProvUtil.main(
    I have a lot of hours spent on it. No typing mistakes, I log-copy-paste. I tried double-quotes, without quotes.

    Any suggestions?

  2. #2
    Join Date
    Dec 2007
    Rep Power


    While using Runtime.getRuntime().exec(cmd); Method exec should take not a String, but a String[]. I mean, the command should be broken to parts and executed exec(String[]) method. If you'd like to use empty parameter, don't use argument like "''" or "\"\"", but just an empty String -- "".

Similar Threads

  1. [SOLVED] Remove main domain!
    By zibra in forum Administrators
    Replies: 11
    Last Post: 09-27-2007, 08:50 AM
  2. Replies: 9
    Last Post: 04-14-2007, 08:31 AM
  3. domain coexistence
    By marcmac in forum Administrators
    Replies: 14
    Last Post: 06-30-2006, 01:19 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