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
  #11 (permalink)  
Old 01-14-2010, 09:52 AM
Zimbra Employee
 
Posts: 105
Default

Well that is all the obvious stuff to check.

Let's try this. There is no easy way to check to see what the values of the allowed domains so I put together a JSP that will print them. I am attaching the JSP file (called openalldomains.jsp) in a zip file.

1) Download the ZIP and unzip to get the openalldomains.jsp file
2) Put the file into {zd-install-dir}/jetty/webapps/service/zimlet/com_zimbra_openalldomains/openalldomains.jsp
3) You should be able to browse to that file to execute it:

http://127.0.0.1:7633/service/zimlet...alldomains.jsp

It will give the following output. In the list of "Allowed Domains", you should see an "*". That means: allow all domains and that is the value that the openalldomains zimlet should have set.

Please post that output to this thread.

Here is sample output:



Here is a link to the ZIP file containing the JSP file:

http://files.zimbra.com/blog/wp-cont...alldomains.zip
Reply With Quote
  #12 (permalink)  
Old 01-14-2010, 10:14 AM
Junior Member
 
Posts: 8
Default

Here is the result of running that script:

Dumping Allowed Domains...
AuthToken:
AuthToken(acct=ffffffff-ffff-ffff-ffff-ffffffffffff admin=null exp=1295014468000 isAdm=false isDomAd=false isCCAdmin=false)

Allowed Domains:
*.yahooapis.com
*.csgnetwork.com
*.flickr.com
*.yahoo.com
*.maxmind.com
*.yimg.com

Thanks,
Reply With Quote
  #13 (permalink)  
Old 01-14-2010, 10:21 AM
Zimbra Employee
 
Posts: 105
Default

OK. No "*" in the allowed domains list so doesn't really seem that com_zimbra_openalldomains is deployed...even though all signs point to yes...or it's deployed but didn't do it's job.

Another thing to check: open localconfig.xml in {zd-install-dir}/conf/localconfig.xml and you'll see an entry for "zdesktop_installation_key"...

<key name="zdesktop_installation_key">
<value>[CURRENT_VALUE]</value>
</key>

Be sure there is an enty for "zimbra_ldap_password"...if not, just copy "zdesktop_installation_key" and use the same value...resulting in:

<key name="zdesktop_installation_key">
<value>[CURRENT_VALUE]</value>
</key>
<key name="zimbra_ldap_password">
<value>[CURRENT_VALUE]</value>
</key>

Restart Desktop. Undeploy the com_zimbra_openalldomains, redeploy and run the JSP again...
Reply With Quote
  #14 (permalink)  
Old 01-14-2010, 10:42 AM
Junior Member
 
Posts: 8
Default

This is an extract of the localconf.xml file as is installed, I didnt edit anything:

<key name="zimbra_ldap_password">
<value>d821e124-a1a2-4328-811b-1484797d55cf</value>
</key>
<key name="zdesktop_installation_key">
<value>d821e124-a1a2-4328-811b-1484797d55cf</value>
</key>

And I did again what you requested, undeploy and redeploy com_zimbra_openalldomains. Im not sure if this is important or not, but perhaps worth mentioning: after I ran the undeploy command, trying http://127.0.0.1:7633/service/zimlet...alldomains.jsp brings a blank page, no output at all. When I deployed com_zimbra_openalldomains again, that script worked again, with the same output that on my previous reply.

Thanks,
Reply With Quote
  #15 (permalink)  
Old 01-14-2010, 11:27 AM
Zimbra Employee
 
Posts: 105
Default

That is fine. When you ran undeploy, the zimlet was no longer available and that's where we put the jsp file. So it wouldn't run until you actually did a deploy.

OK...now I'm getting stumped. We should try just deploying some other zimlet to make sure it works.

Try any of the content or panel zimlets. They doing use the proxy so they should work fine. Let's make sure they deploy and work to at least cross something off the list.

ZCS 6.0:Zimlet Developers Guide:Example Zimlets - Zimbra :: Wiki
Reply With Quote
  #16 (permalink)  
Old 01-14-2010, 04:55 PM
Zimbra Employee
 
Posts: 105
Default

I updated the debug/test JSP file to dump more information. Can you re-download the JSP file, install and re-run? Now it prints information out on the com_zimbra_openalldomains zimlet as well as information on available zimlets.

http://files.zimbra.com/blog/wp-cont...alldomains.zip
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.