On 1-10-2008 11:24, Petar Becic wrote:
Hi all,
I found that HippoDatacopy tool doesn't work anymore since SSL
certificates are configured on the destination repository.
When I tried to copy some content, I got error:
Error setting properties:
org.apache.commons.httpclient.HttpRecoverableException:
org.apache.commons.httpclient.HttpRecoverableException: Error in parsing
the status line from the response: unable to find line starting
with "HTTP"
I checked source code and in the class CopyRepository.java I found that
protocol is hardcoded:
m_destRootUri = "http://" + host + ":" + port + rootpath + path;
Is there any reason for this?
No. It's just historical, there was never a need to also implement https.
IMO protocol should be configurable also.
It would be nice ;) I added the option for the source location in April
with "location.protocol". So probably the best thing to do is to add:
plugin.1.configuration.destination.location.protocol.
Should be a quite trivial fix. See the source patch in:
http://svn.hippocms.org/viewvc/hippo-tools/hippo-wdbp/trunk/src/java/nl/hippo/webdav/batchprocessor/Configuration.java
Regards,
Bart
Thanks in advance.
--
Met vriendelijke groet / Kind regards,
Petar Becic
Senior Software Developer
Levi9 Global Sourcing
===============================================================
Adress: Jan van Goyenkade 8, 1075 HP Amsterdam
Tel.: (+31) (0) 20 6701 947
Mobile: (+381) (0) 62 415 171
Email: [EMAIL PROTECTED]
SkypeID: p.becic
Internet: www.levi9.com
Chamber of commerce Levi9 Global Sourcing BV: 34221951
Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746
===============================================================
This e-mail may contain confidential or privileged information. If you
are not (one of) the intended recipient(s), please notify the sender
immediately by reply e-mail and delete this message and any attachments
permanently without retaining a copy. Any review, disclosure, copying,
distribution or taking any action in reliance on the contents of this
e-mail by persons or entities other than the intended recipient(s) is
strictly prohibited and may be unlawful.
The services of Levi9 are exclusively subject to its general terms and
conditions. These general terms and conditions can be found on
www.levi9.com and a copy will be promptly submitted to you on your
request and free of charge.
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
--
Hippo B.V. - Amsterdam
Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466
Hippo USA Inc. - San Francisco
101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646
-----------------------------------------------------------------
http://www.onehippo.com - [EMAIL PROTECTED]
-----------------------------------------------------------------
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html