Hi All, Recently we came across a random socket-timeout exception when trying to add a remote P2 repository via Feature Manager. This happens at org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnectionRetrieveF ileTransfer while trying to stream files from the remote repo. Please refer the related jira here: https://wso2.org/jira/browse/CARBON-13154
I had a discussion with ecf guys regarding this error and they said they recommend commons-httpclient 3.1 based ecf.provider as it's well tested with different network configurations for P2 file transferring. The latest stable version is : org.eclipse.ecf.provider.filetransfer.httpclient 4.0.200.v20120504-2322. However when I tried to integrate this in carbon.runtime.feature, I get the following error when building carbon. Missing requirement: ECF HttpClient Filetransfer Provider 4.0.200.v20120504-2322 (org.eclipse.ecf.provider.filetransfer.httpclient 4.0.200.v20120504-2322) requires 'package org.apache.commons.httpclient [3.0.1,3.1.0]' but it could not be found Cannot satisfy dependency: From: Carbon Product 4.0.0 (carbon.product.id 4.0.0) To: org.wso2.carbon.core.runtime.feature.group [4.0.0.SNAPSHOT] Cannot satisfy dependency: From: WSO2 Carbon - Carbon Runtime Feature 4.0.0.SNAPSHOT (org.wso2.carbon.core.runtime.feature.group 4.0.0.SNAPSHOT) To: org.eclipse.ecf.provider.filetransfer.httpclient [4.0.200.v20120504-2322] The reason is that ecf.provider imports 'package org.apache.commons.httpclient [3.0.1,3.1.0]' and our commons-httpclient-3.1.0.wso2v1 doesn't specify a version for the exported packages. It works well when the exported packages are given a version. Since it's based on httpclient 3.1, we can export the packages with version=3.1.0 So as a solution my issue, can I upgrade the commons-httpclient-3.1.0.wso2v1 orbit to export it's packages as version=3.1.0? Thanks, Dileepa -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware Mobile : +94777-857616
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
