svn commit: r1732631 - in /ofbiz/trunk: ./ framework/service/lib/ framework/service/lib/axis2-1.7.0/ framework/service/lib/axis2-1.7.0/lib/ specialpurpose/passport/ specialpurpose/passport/lib/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1732631 - in /ofbiz/trunk: ./ framework/service/lib/ framework/service/lib/axis2-1.7.0/ framework/service/lib/axis2-1.7.0/lib/ specialpurpose/passport/ specialpurpose/passport/lib/

jleroux@apache.org
Author: jleroux
Date: Sat Feb 27 12:28:08 2016
New Revision: 1732631

URL: http://svn.apache.org/viewvc?rev=1732631&view=rev
Log:
This is a test for "Upgrade Axis2 to 1.7.0" - https://issues.apache.org/jira/browse/OFBIZ-6916

It's a security update. It also concerns OFBIZ-6755 but to not mix things it will be done later. So to not block this issue, the commons-httpclient-3.1 lib is moved from framework/service/lib to specialpurpose/passport/lib/ where it's still required (no code change in this commit, only libs update)

It's a test because I began this work on Windows and there the NTML Auth is expected https://axis.apache.org/axis2/java/core/docs/http-transport.html#preemptive_auth. So, on my machine, I get this error with testSOAPSimpleService and testSOAPService:

TestRunContainer              |W| [JUNIT (error)] - testSOAPSimpleService : org.ofbiz.service.GenericServiceException: Service [testSoapSimple] Failed (org/apache/commons/httpclient/NTCredentials)
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/NTCredentials
        at org.apache.axis2.transport.http.CommonsHTTPTransportSender.createHTTPSender(CommonsHTTPTransportSender.java:414) ~[axis2-transport-http-1.7.0.jar:1.7.0]


Since I don't want to introduce more complexity at this stage I hope the basic Auth will be used in BuildBot and the tests will all pass. Else I will revert and do more work...

Added:
    ofbiz/trunk/framework/service/lib/axiom-api-1.2.17.jar   (with props)
    ofbiz/trunk/framework/service/lib/axiom-impl-1.2.17.jar   (with props)
    ofbiz/trunk/framework/service/lib/axis2-1.7.0/
    ofbiz/trunk/framework/service/lib/axis2-1.7.0/lib/
    ofbiz/trunk/framework/service/lib/axis2-adb-1.7.0.jar   (with props)
    ofbiz/trunk/framework/service/lib/axis2-kernel-1.7.0.jar   (with props)
    ofbiz/trunk/framework/service/lib/axis2-transport-http-1.7.0.jar   (with props)
    ofbiz/trunk/framework/service/lib/axis2-transport-local-1.7.0.jar   (with props)
    ofbiz/trunk/framework/service/lib/neethi-3.0.3.jar   (with props)
    ofbiz/trunk/framework/service/lib/woden-core-1.0M10.jar   (with props)
    ofbiz/trunk/framework/service/lib/xmlschema-core-2.2.1.jar   (with props)
    ofbiz/trunk/specialpurpose/passport/lib/
    ofbiz/trunk/specialpurpose/passport/lib/commons-httpclient-3.1.jar
      - copied unchanged from r1732630, ofbiz/trunk/framework/service/lib/commons-httpclient-3.1.jar
Removed:
    ofbiz/trunk/framework/service/lib/XmlSchema-1.4.3.jar
    ofbiz/trunk/framework/service/lib/axiom-api-1.2.14.jar
    ofbiz/trunk/framework/service/lib/axiom-impl-1.2.14.jar
    ofbiz/trunk/framework/service/lib/axis2-adb-1.6.3.jar
    ofbiz/trunk/framework/service/lib/axis2-kernel-1.6.3.jar
    ofbiz/trunk/framework/service/lib/axis2-transport-http-1.6.3.jar
    ofbiz/trunk/framework/service/lib/axis2-transport-local-1.6.3.jar
    ofbiz/trunk/framework/service/lib/commons-httpclient-3.1.jar
    ofbiz/trunk/framework/service/lib/neethi-3.0.2.jar
Modified:
    ofbiz/trunk/.classpath
    ofbiz/trunk/specialpurpose/passport/build.xml

Modified: ofbiz/trunk/.classpath
URL: http://svn.apache.org/viewvc/ofbiz/trunk/.classpath?rev=1732631&r1=1732630&r2=1732631&view=diff
==============================================================================
--- ofbiz/trunk/.classpath (original)
+++ ofbiz/trunk/.classpath Sat Feb 27 12:28:08 2016
@@ -104,15 +104,18 @@
  <classpathentry kind="lib" path="framework/catalina/lib/tomcat-extras-7.0.65-tomcat-juli-adapters.jar"/>
  <classpathentry kind="lib" path="framework/entity/lib/commons-dbcp2-2.1.jar"/>
  <classpathentry kind="lib" path="framework/geronimo/lib/geronimo-transaction-3.1.1.jar"/>
- <classpathentry kind="lib" path="framework/service/lib/axiom-api-1.2.14.jar"/>
- <classpathentry kind="lib" path="framework/service/lib/axiom-impl-1.2.14.jar"/>
- <classpathentry kind="lib" path="framework/service/lib/axis2-kernel-1.6.3.jar"/>
- <classpathentry kind="lib" path="framework/service/lib/axis2-transport-http-1.6.3.jar"/>
- <classpathentry kind="lib" path="framework/service/lib/axis2-transport-local-1.6.3.jar"/>
- <classpathentry kind="lib" path="framework/service/lib/commons-httpclient-3.1.jar"/>
- <classpathentry kind="lib" path="framework/service/lib/neethi-3.0.2.jar"/>
+ <classpathentry kind="lib" path="framework/service/lib/axiom-api-1.2.17.jar"/>
+ <classpathentry kind="lib" path="framework/service/lib/axiom-impl-1.2.17.jar"/>
+ <classpathentry kind="lib" path="framework/service/lib/axis2-adb-1.7.0.jar"/>
+ <classpathentry kind="lib" path="framework/service/lib/axis2-kernel-1.7.0.jar"/>
+ <classpathentry kind="lib" path="framework/service/lib/axis2-transport-http-1.7.0.jar"/>
+ <classpathentry kind="lib" path="framework/service/lib/axis2-transport-local-1.7.0.jar"/>
+ <classpathentry kind="lib" path="framework/service/lib/httpclient-4.5.1.jar"/>
+ <classpathentry kind="lib" path="framework/service/lib/httpcore-4.4.3.jar"/>
+ <classpathentry kind="lib" path="framework/service/lib/neethi-3.0.3.jar"/>
+ <classpathentry kind="lib" path="framework/service/lib/xmlschema-core-2.2.1.jar"/>
+ <classpathentry kind="lib" path="framework/service/lib/woden-core-1.0M10.jar"/>
  <classpathentry kind="lib" path="framework/service/lib/wsdl4j-1.6.2.jar"/>
- <classpathentry kind="lib" path="framework/service/lib/XmlSchema-1.4.3.jar"/>
  <classpathentry kind="lib" path="framework/testtools/lib/spring-core-4.2.3.jar"/>
  <classpathentry kind="lib" path="framework/testtools/lib/spring-test-4.2.3.jar"/>
  <classpathentry kind="lib" path="framework/webapp/lib/ezmorph-0.9.1.jar"/>
@@ -133,6 +136,7 @@
  <classpathentry kind="lib" path="specialpurpose/ebaystore/lib/helper.jar"/>
  <classpathentry kind="lib" path="specialpurpose/googlecheckout/lib/checkout-sdk-0.8.8.jar"/>
  <classpathentry kind="lib" path="specialpurpose/ldap/lib/cas-server-core-3.3.jar"/>
+ <classpathentry kind="lib" path="specialpurpose/passport/lib/commons-httpclient-3.1.jar"/>
  <classpathentry kind="lib" path="specialpurpose/pos/lib/jcl.jar"/>
  <classpathentry kind="lib" path="specialpurpose/pos/lib/jpos18-controls.jar"/>
  <classpathentry kind="lib" path="specialpurpose/pos/lib/looks-2.0.2.jar"/>

Added: ofbiz/trunk/framework/service/lib/axiom-api-1.2.17.jar
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/lib/axiom-api-1.2.17.jar?rev=1732631&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/service/lib/axiom-api-1.2.17.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ofbiz/trunk/framework/service/lib/axiom-impl-1.2.17.jar
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/lib/axiom-impl-1.2.17.jar?rev=1732631&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/service/lib/axiom-impl-1.2.17.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ofbiz/trunk/framework/service/lib/axis2-adb-1.7.0.jar
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/lib/axis2-adb-1.7.0.jar?rev=1732631&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/service/lib/axis2-adb-1.7.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ofbiz/trunk/framework/service/lib/axis2-kernel-1.7.0.jar
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/lib/axis2-kernel-1.7.0.jar?rev=1732631&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/service/lib/axis2-kernel-1.7.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ofbiz/trunk/framework/service/lib/axis2-transport-http-1.7.0.jar
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/lib/axis2-transport-http-1.7.0.jar?rev=1732631&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/service/lib/axis2-transport-http-1.7.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ofbiz/trunk/framework/service/lib/axis2-transport-local-1.7.0.jar
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/lib/axis2-transport-local-1.7.0.jar?rev=1732631&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/service/lib/axis2-transport-local-1.7.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ofbiz/trunk/framework/service/lib/neethi-3.0.3.jar
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/lib/neethi-3.0.3.jar?rev=1732631&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/service/lib/neethi-3.0.3.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ofbiz/trunk/framework/service/lib/woden-core-1.0M10.jar
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/lib/woden-core-1.0M10.jar?rev=1732631&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/service/lib/woden-core-1.0M10.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ofbiz/trunk/framework/service/lib/xmlschema-core-2.2.1.jar
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/lib/xmlschema-core-2.2.1.jar?rev=1732631&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ofbiz/trunk/framework/service/lib/xmlschema-core-2.2.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: ofbiz/trunk/specialpurpose/passport/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/passport/build.xml?rev=1732631&r1=1732630&r2=1732631&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/passport/build.xml (original)
+++ ofbiz/trunk/specialpurpose/passport/build.xml Sat Feb 27 12:28:08 2016
@@ -30,6 +30,7 @@ under the License.
     <property name="ofbiz.home.dir" value="../.."/>
 
     <path id="local.class.path">
+        <fileset dir="${lib.dir}" includes="*.jar"/>
         <fileset dir="../../framework/base/lib" includes="*.jar"/>
         <fileset dir="../../framework/base/lib/j2eespecs" includes="*.jar"/>
         <fileset dir="../../framework/base/build/lib" includes="*.jar"/>