[Users] Zimbra WebDAV Client BETA released

David Sommerseth dazo at eurephia.org
Mon Aug 1 18:00:57 CEST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/08/16 10:37, Barry De Graaff wrote:
> Hello David, In your example it probably is not needed, however, it
> is possibly there to support ZeXtras and WebDAV to have different
> versions of ZAL. Anyway, you could play around with it and report
> back your findings. Barry

So first attempt ... install without the ZAL package included in the
owncloud-zimlet tarball (and also not downloading a new one).  Running
the ./install script results in this error:

- ------------------------------------------------------------------------
# ./install
  Installing files...
rm: cannot remove ‘/opt/zimbra/lib/ext/ownCloud/*.jar’: No such file
or directory
  Deploying zimlet...
java.io.FileNotFoundException:
/tmp/tk_barrydegraaff_owncloud_zimlet.zip (Permission denied)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:219)
	at java.util.zip.ZipFile.<init>(ZipFile.java:149)
	at java.util.jar.JarFile.<init>(JarFile.java:166)
	at java.util.jar.JarFile.<init>(JarFile.java:130)
	at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletFile.java:195)
	at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletFile.java:165)
	at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile.java:146)
	at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1883)
	at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1985)
[] ERROR: Error
java.io.FileNotFoundException:
/tmp/tk_barrydegraaff_owncloud_zimlet.zip (Permission denied)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:219)
	at java.util.zip.ZipFile.<init>(ZipFile.java:149)
	at java.util.jar.JarFile.<init>(JarFile.java:166)
	at java.util.jar.JarFile.<init>(JarFile.java:130)
	at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletFile.java:195)
	at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletFile.java:165)
	at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile.java:146)
	at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1883)
	at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1985)
- ------------------------------------------------------------------------

So I did it manually, this time by copying the zimlet zip file to
/tmp, fix permissions (chmod a+r) and run the zmzimletctl.  That
resulted in a different error:

- ------------------------------------------------------------------------
# su - zimbra -c "zmzimletctl deploy \
/tmp/tk_barrydegraaff_owncloud_zimlet.zip"
[] INFO: Deploying Zimlet tk_barrydegraaff_owncloud_zimlet in LDAP.
[] INFO: Installing Zimlet tk_barrydegraaff_owncloud_zimlet on this host
.
[] INFO: Upgrading Zimlet tk_barrydegraaff_owncloud_zimlet to 0.2.0
[] WARN: Problem parsing XML - Fatal Error: Problem on line -1 of
document : Premature end of file.
com.zimbra.cs.zimlet.ZimletException: Cannot parse Zimlet description:
Document parse failed
	at
com.zimbra.cs.zimlet.ZimletException.INVALID_ZIMLET_DESCRIPTION(ZimletEx
ception.java:40)
	at com.zimbra.cs.zimlet.ZimletMeta.<init>(ZimletMeta.java:66)
	at com.zimbra.cs.zimlet.ZimletConfig.<init>(ZimletConfig.java:44)
	at com.zimbra.cs.zimlet.ZimletFile.initZimletConfig(ZimletFile.java:292
)
	at com.zimbra.cs.zimlet.ZimletFile.getZimletConfig(ZimletFile.java:314)
	at
com.zimbra.cs.zimlet.ZimletUtil.deployZimletLocally(ZimletUtil.java:632)
	at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1883)
	at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1985)
[] ERROR: Error
com.zimbra.cs.zimlet.ZimletException: Cannot parse Zimlet description:
Document parse failed
	at
com.zimbra.cs.zimlet.ZimletException.INVALID_ZIMLET_DESCRIPTION(ZimletEx
ception.java:40)
	at com.zimbra.cs.zimlet.ZimletMeta.<init>(ZimletMeta.java:66)
	at com.zimbra.cs.zimlet.ZimletConfig.<init>(ZimletConfig.java:44)
	at com.zimbra.cs.zimlet.ZimletFile.initZimletConfig(ZimletFile.java:292
)
	at com.zimbra.cs.zimlet.ZimletFile.getZimletConfig(ZimletFile.java:314)
	at
com.zimbra.cs.zimlet.ZimletUtil.deployZimletLocally(ZimletUtil.java:632)
	at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1883)
	at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1985)
- ------------------------------------------------------------------------


- -- 
kind regards,

David Sommerseth





> From: David Sommerseth Sent: Sunday, July 31, 2016 13:11 To: Barry
> De Graaff Cc: users at lists.zetalliance.org Subject: Re: [Users]
> Zimbra WebDAV Client BETA released
> 
> 
> On 29/07/16 09:08, Barry De Graaff wrote:
> 
>> Hello David,
> 
>> The checkout line should be: git checkout soapServiceBarry
> 
>> This will change after the beta and some more work is done to a 
>> version number.
> 
>> I updated the readme, thanks!
> 
> Wonderful!  I'm now getting a few steps closer :)
> 
> I've read through your install script ... and I wonder if there
> are some redundant lines here:
> 
> cp "zal-${ZAL_VERSION_EXTENDED}-${ZIMBRA_VERSION}.jar" \ 
> /opt/zimbra/lib/ext/ownCloud/ cp !(zal*).jar
> /opt/zimbra/lib/ext/ownCloud/ cp *.jar
> /opt/zimbra/lib/ext/ownCloud/
> 
> The last line does exactly the same as the two previous lines,
> right?
> 
> And as I have zextras installed on my server, I see that zal.jar
> is already located under /opt/zimbra/lib/ext/zextras ... I'll admit
> I'm no java person, so I do not fully understand the jar
> deployments, dependency chains and all that.  But is it really
> needed to have zal-1.10.6 installed twice on a system, just in
> different directories?
> 
> 
> -- kind regards,
> 
> David Sommerseth
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJXn3I5AAoJEIh23YAzae8UH1MP/RGcOxkkDc8NAOzj2vk4VhlO
R4FKteAr5BNv8SR6aWswLZtxajybBh/CCucmSbJ3enX/Ux1ojiD6H+ANqzCLCVv3
CDrV7pACBjzEmrLQhW+AhJHYNCvymbB/KZ+XL5THiHrtyFZUV3NU5IA8JQobq7Na
MEWQHEPpteN/PHTqZWGf5cuoiWegHGjeTUmrQjVDqi3OxI9xENSiPte7tU7O/2cM
N4MEDENZn5ifPlN9ubtTs9VKok3xiqFShDnVuaxafc2+9VDBisBQgRr8E4a5Rq4C
akWKJJOjhTuq6y+XxHMjixfRLw0hdmQc4+W6RLwv+6JjO9/0MDLR4IoE6mONaFI3
2Q0JHJW6tW+GQXV9KUHV0uTYyDwnjUXwFcvWk1dI+WHTiouXMpXUf00W4IQRkkX9
+Zrm7LOXSE4VOYsNI7GmZRqdSGhkugzkZdV2hfag8gd6QYCckEk4sVRCDEiRz1N1
wS5K4/idJg5ctNzGnmpfwXwqpzGTUuzMrj0gsJnbU5TW5LTSXXI1DqwIztK0fpg0
/9OCzyCO5I833M2qDMcHGlKuQvmblldKcgm7vuWrtjoz5FEZhf0xd4q7bl90GQPa
hWYT9Md6fd3z9kDgPRZrsjuIiY9eOGIox4xVHJhCCQ7Qh10+EC2eXVcB3IEcntcv
2MyHWHoYzIunguRVaeem
=lKKM
-----END PGP SIGNATURE-----



More information about the Users mailing list