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

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 09-24-2009, 10:22 AM
Senior Member
 
Posts: 51
Default restart jetty

How can I restart jetty. I installed a new zimlet for a small number of users and I don't want to have to do a zmcontrol stop; zmcontrol start to get it running. The docs say to restart jetty but don't say how.

Sage
Reply With Quote
  #2 (permalink)  
Old 09-24-2009, 11:36 AM
Moderator
 
Posts: 1,147
Default

Code:
zmtlsctl stop
zmtlsctl start
Looks like that is the correct controller script (at least it's the only one that references jetty).
Reply With Quote
  #3 (permalink)  
Old 09-24-2009, 11:45 AM
Senior Member
 
Posts: 51
Default zimlet listed, gets error and cant undeploy

I deployed the test zimlet and now I get an error message when I do a zmzimlet listZimlets
Code:
  zimbra@mail2:/root$ zmzimletctl listZimlets
Installed Zimlet files on this host:
[] INFO: error loading zimlet com_zimbra_jspsample: zimlet description not found: com_zimbra_jspsample.xml
	com_zimbra_date
	com_zimbra_email
	com_zimbra_local
	com_zimbra_phone
	com_zimbra_url
	com_zimbra_ymemoticons
Installed Zimlets in LDAP:
	com_zimbra_amzn
	com_zimbra_date
	com_zimbra_email
	com_zimbra_local
	com_zimbra_phone
	com_zimbra_tracking
	com_zimbra_url
	com_zimbra_wikipedia
	com_zimbra_xslt
	com_zimbra_ymaps
	com_zimbra_ymemoticons
Available Zimlets in COS:
  default:
	com_zimbra_amzn
	com_zimbra_date
	com_zimbra_email
	com_zimbra_local
	com_zimbra_phone
	com_zimbra_tracking
	com_zimbra_url
	com_zimbra_wikipedia
	com_zimbra_xslt
	com_zimbra_ymaps
	com_zimbra_ymemoticons
when I do a zmcontrol undeploy com_zimbra_jspsample I get

Code:
   2009-09-24 11:38:01,685 INFO  [btpool0-19] [name=zimbra;ip=69.28.108.26;] soap - UndeployZimletRequest
2009-09-24 11:38:01,687 INFO  [Thread-200] [] zimlet - Uninstalling Zimlet com_zimbra_jspsample from LDAP.
2009-09-24 11:38:01,755 INFO  [Thread-200] [] zimlet - Removing Zimlet com_zimbra_jspsample from COS default
2009-09-24 11:38:01,865 INFO  [Thread-200] [] zimlet - error loading zimlet com_zimbra_jspsample
com.zimbra.cs.account.AccountServiceException: no such zimlet: com_zimbra_jspsample
ExceptionId:Thread-200:1253817481865:ced24f7ee862afbe
Code:account.NO_SUCH_ZIMLET
    at com.zimbra.cs.account.AccountServiceException.NO_SUCH_ZIMLET(AccountServiceException.java:215)
    at com.zimbra.cs.zimlet.ZimletUtil.getZimletConfig(ZimletUtil.java:179)
    at com.zimbra.cs.zimlet.ZimletUtil.deactivateZimlet(ZimletUtil.java:683)
    at com.zimbra.cs.zimlet.ZimletUtil.uninstallZimlet(ZimletUtil.java:617)
    at com.zimbra.cs.service.admin.UndeployZimlet$UndeployThread.run(UndeployZimlet.java:40)
    at java.lang.Thread.run(Thread.java:595)
Reply With Quote
  #4 (permalink)  
Old 09-24-2009, 11:51 AM
Moderator
 
Posts: 1,147
Default

I'm going to assume that com_zimbra_jspsample is your test zimlet that you are working on. It looks like it has no .xml file describing it? If the file exists try checking it's syntax?
Reply With Quote
  #5 (permalink)  
Old 09-24-2009, 11:55 AM
Senior Member
 
Posts: 51
Default

I think so. I changed the file name, and everything I needed in the file except the zimlet name. After I realized the error I changed the name, zipped it again and deployed it. The new zimlet is listed in the listZimlets but it did not show up after I restarted jetty.
The zimlet xml file has a zimletPanelItem in it if it matters.

Sage
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.