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

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-03-2009, 10:59 AM
Intermediate Member
 
Posts: 16
Default Zimlet proxy don't works on ZDesktop.

I'm trying to create a zimlet and I need to use the proxy in order to get a file from a remote Document Server.
However when I try to test that zimlet in ZDesktop I get a 403 Forbiden error.
I changed the config_template.xml file in order to include the remote server but it doesn't work.
Does anyone know if proxing works also on zdesktop ?
If yes what did I miss ?
Tks
Tullio
Reply With Quote
  #2 (permalink)  
Old 09-03-2009, 12:48 PM
Zimbra Employee
 
Posts: 187
Default

Quote:
Originally Posted by tullio0106 View Post
I'm trying to create a zimlet and I need to use the proxy in order to get a file from a remote Document Server.
However when I try to test that zimlet in ZDesktop I get a 403 Forbiden error.
I changed the config_template.xml file in order to include the remote server but it doesn't work.
Does anyone know if proxing works also on zdesktop ?
If yes what did I miss ?
Tks
Tullio
Putting it in config_template.xml isnt enough. You need to *deploy* that as well. For development purposes, you can instead create a dummy zimlet that enables a specific website and deploy that.
You can use the attached dummy zimlet that enables all-domain for development purposes.
Attached Files
File Type: zip com_zimbra_openalldomains.zip (2.0 KB, 10 views)
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 09-04-2009, 01:44 AM
Intermediate Member
 
Posts: 16
Default

Tks for Your help.
I tried Your zimlet but I wasn't able to get any result, the problem is still there,
I installed the ximlet in the _dev directory then I clicked on it and I clicked OK in order to enable but, running my zimlet I still get the error 403.
What's wrong ?
Tks
Tullio
Reply With Quote
  #4 (permalink)  
Old 09-04-2009, 06:05 AM
Zimlet Guru & Moderator
 
Posts: 265
Default

Quote:
Originally Posted by tullio0106 View Post
Tks for Your help.
I tried Your zimlet but I wasn't able to get any result, the problem is still there,
I installed the ximlet in the _dev directory then I clicked on it and I clicked OK in order to enable but, running my zimlet I still get the error 403.
What's wrong ?
Tks
Tullio
Putting the zimlet in the _dev directory is not "deploying" the zimlet.
Deploy the all-domain zimlet correctly and it'll work.
Reply With Quote
  #5 (permalink)  
Old 09-04-2009, 06:18 AM
Intermediate Member
 
Posts: 16
Default

Tks for Your help.
Could You explain me what do You mean with "deploy" the zimlet in an ZDesktop environment ?
How could I execute that job ?
Tks
Tullio
Reply With Quote
  #6 (permalink)  
Old 09-04-2009, 09:08 AM
Zimbra Employee
 
Posts: 187
Default

Quote:
Originally Posted by tullio0106 View Post
Tks for Your help.
Could You explain me what do You mean with "deploy" the zimlet in an ZDesktop environment ?
How could I execute that job ?
Tks
Tullio
check ZimletDevSetup - Zimbra :: Wiki
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #7 (permalink)  
Old 09-25-2009, 05:05 AM
Intermediate Member
 
Posts: 16
Default

Sorry for the delay.
I tried to deploy the openalldomains to the zdesktop as instructed but it doesn't work.
The deploy process starts then it produces only the 2 message I show below and ends.
[] INFO: Deploying on localhost
[] INFO: Deploy initiated. (check the servers mailbox.log for the status)

I didn't find any "mailbox.log" file.
The icon of the desktop dosn't appear after a restart.
The 403 Forbiden error is still there.
How can I verify if the zimlet was installed ?
What's wrong ?
Tks
Tullio
Reply With Quote
  #8 (permalink)  
Old 09-29-2009, 05:16 AM
Intermediate Member
 
Posts: 16
Default

NO further help ?
Tks
Tullio
Reply With Quote
  #9 (permalink)  
Old 10-01-2009, 08:11 AM
Intermediate Member
 
Posts: 16
Default

Repost
Tks
Tullio
Reply With Quote
  #10 (permalink)  
Old 10-02-2009, 07:35 AM
Zimlet Guru & Moderator
 
Posts: 265
Default

Quote:
Originally Posted by tullio0106 View Post
The icon of the desktop dosn't appear after a restart.
You mean the icon on the windows taskbar?
If it doesn't appear, it means you had a problem with the install.
(for me it installed without problems and I still have the icon).
So you should try to undeploy it and see if the icon is back.
If not, it would be better to reinstall zdesktop.

If the zimlet give you problems, you can try setting the allowed domains manually.
If you are on windows, you can see the allowed domains with :
Code:
java -cp jetty/lib/*;jetty/common/lib/*;jetty/webapps/service/WEB-INF/lib/* -Dzimbra.config=conf/localconfig.xml com.zimbra.cs.account.ProvUtil gc default
And add all domains with :
Code:
java -cp jetty/lib/*;jetty/common/lib/*;jetty/webapps/service/WEB-INF/lib/* -Dzimbra.config=conf/localconfig.xml com.zimbra.cs.account.ProvUtil mc default zimbraProxyAllowedDomains "*"
If you are on linux, replace the ";" in the commands by ":"
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.