Results 1 to 5 of 5

Thread: please look over my .xml file.

  1. #1
    SageMajor is offline Senior Member
    Join Date
    Dec 2008
    Location
    Orange County
    Posts
    65
    Rep Power
    6

    Default please look over my .xml file.

    I have a zimple zimlet named com_dmrcom_addCustomer I have the xml file named com_dmrcom_addCustomer.xml as the only file zipped into com_dmrcom_addcustomer.zip


    When I upload it I get a failure .

    here is my com_dmrcom_addCustomer.xml
    Code:
    <zimlet name="com_dmrcom_addCustomer" version="1.0" description="add new customer to DMR">
    
    <zimletPanelItem label="Create Customer">
      <toolTipText>
      Drag a customer install from the calendar to put it into the DMR customer DB
      </toolTipText>
    
      <dragSource type="ZmAppt">
          <canvas type="window"/>
          <actionUrl target="/DMRCustomer/customers" method=post>
              <param name="subject">${obj.subject}</param>
              <param name="notes">${obj.notes}</param>
              <param name="id">${obj.id}</param>
              <param name="command">newZimbra</param>
          </actionUrl>
      </dragSource>
    
    </zimletPanelItem>
    
    </zimlet>
    Here is my log file

    Code:
     
    2009-09-25 11:18:33,735 INFO  [btpool0-1159] [ip=208.92.0.2;ua=Mozilla/5.0 (X11;; U;; Linux i686;; en-US;; rv:1.9.0.14) Gecko/2009090216 Ubuntu/8.04 (hardy) Firefox/3.0.14;] mailbox - FileUploadServlet received Upload: { accountId=7fe5cfe1-2e4e-4ed8-8950-c83688fe6796, time=Fri Sep 25 11:18:33 PDT 2009, uploadId=0b800e13-1672-41de-8c65-68270db1db27:41a59583-3030-481c-b9d1-fc5163e91769, com_dmrcom_addCustomer.zip}
    ip=208.92.0.2;ua=ZimbraWebClient - FF3.0 (Linux);] soap - DeployZimletRequest
    2009-09-25 11:18:34,374 INFO  [Thread-10688] [] zimlet - deploy
    java.io.FileNotFoundException: zimlet description not found: com_dmrcom_addCustomer.xml
            at com.zimbra.cs.zimlet.ZimletFile.initZimletDescription(ZimletFile.java:199)
            at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletFile.java:191)
            at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile.java:146)
            at com.zimbra.cs.service.admin.DeployZimlet$DeployThread.run(DeployZimlet.java:96)
            at java.lang.Thread.run(Thread.java:595)
    2009-09-25 11:18:35,064 INFO  [btpool0-1159] [name=sage@dmrcom.com;mid=167;ip=208.92.0.2;ua=ZimbraWebClient - FF3.0 (Linux);] soap - DeployZimletRequest
    2009-09-25 11:18:35,106 INFO  [btpool0-1159] [name=sage@dmrcom.com;mid=167;ip=208.92.0.2;ua=ZimbraWebClient - FF3.0 (Linux);] soap - GetAllZimletsRequest

    any ideas of what to do

  2. #2
    ab5602 is offline Project Contributor
    Join Date
    Nov 2007
    Location
    Detroit, MI
    Posts
    67
    Rep Power
    7

    Default

    Hello, It sounds like you are missing a config_template.xml in your .zip file:

    Code:
    <zimletConfig name="com_dmrcom_addCustomer" version="1.0">
    </zimletConfig>

  3. #3
    SageMajor is offline Senior Member
    Join Date
    Dec 2008
    Location
    Orange County
    Posts
    65
    Rep Power
    6

    Default

    I did not see that anywhere in the samples. What do I put in that file?

    My zip only had the com_dmrcom_addCustomer.xml zipped into it. It was all that was mentioned in the hello example

    Sage

  4. #4
    ab5602 is offline Project Contributor
    Join Date
    Nov 2007
    Location
    Detroit, MI
    Posts
    67
    Rep Power
    7

    Default

    Never mind, apparently the config_template.xml file is not necessary. But, I did find the issue (working version of your zimlet attached):

    You needed quotes around method=post -> method="post"
    Attached Files Attached Files

  5. #5
    SageMajor is offline Senior Member
    Join Date
    Dec 2008
    Location
    Orange County
    Posts
    65
    Rep Power
    6

    Default

    wow, thanks, I spent a day trying to figure it out.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. bayes db..
    By osiris in forum Administrators
    Replies: 9
    Last Post: 06-15-2011, 11:14 AM
  2. speed up the net
    By mcesari in forum Administrators
    Replies: 10
    Last Post: 04-25-2008, 11:24 AM
  3. centos 5 zimbra 4.5.6 no statistics
    By rutman286 in forum Installation
    Replies: 9
    Last Post: 08-14-2007, 09:30 AM
  4. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 11:13 AM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 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
  •