Results 1 to 3 of 3

Thread: Reinitialize Zimbra application programmatically

  1. #1
    Join Date
    Feb 2009
    Location
    India
    Posts
    10
    Rep Power
    6

    Default Reinitialize Zimbra application programmatically

    I am looking to reinitialize (reload) the application by sending some data to server. This data work as a criteria for server when sending GetInfoResponse back. For example, when user clicks on a dropdown menuitem this menu calls for reinitialize by sending some data. Server uses this data to filter mail list and other options during composing the response. Following are few approaches -

    1. Initiate GetInfoRequest server call from menuitem listener. - I get GetInfoResponse however don't know how to render it on UI. Also I can't send criteria with this call.

    2. Call ZmZimbraMail.restart(settings) - For this settings object is required. I tried creating it with some hard-coded data (for testing) however it doesn't seem to work. Again I can't send criteria data with this.

    I am unable to reinitialize the application programmatically by posting some data. Is there any way to do this?

  2. #2
    Join Date
    Nov 2007
    Location
    Detroit, MI
    Posts
    67
    Rep Power
    8

    Default

    Are you trying to do this via a Zimlet? If so, have you tried:

    Code:
    window.location='https://my.zimbra.org/zimbra/';

  3. #3
    Join Date
    Feb 2009
    Location
    India
    Posts
    10
    Rep Power
    6

    Default Reinitialize Zimbra application programmatically

    Hi ab5602,

    I am trying to do it thru code custmization. I am following similar approach however I can't send data thru request body in this case and if I send the data thru query string then the data is not available to SOAPServlet on server. I observed ZmZimbraMail.restart(settings) method in code however unable to get that method call work. I got serveral errors while trying to call that method thru my code. Not sure if this method is meant for what I am trying to get it do.
    Is there any way by which I call for restart by sending some data thru request body?

    Thanks!

Similar Threads

  1. Upgrade to ZCS 5.10
    By blozancic in forum Installation
    Replies: 0
    Last Post: 10-21-2008, 09:03 AM
  2. Replies: 12
    Last Post: 02-25-2008, 07:28 PM
  3. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  4. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 09:55 AM
  5. 4.5 Upgrade failure
    By brained in forum Installation
    Replies: 9
    Last Post: 03-03-2007, 03:30 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
  •