I am using Ofbiz version 12. I cannot easily convert to the latest because
I have made thousands of changes to the ofbiz core code and redoing all that for version 16 will take a long time. Recently, UPS stopped support for TLS 1.0. It now requires 1.2. This is supported in Java 8. Does anyone have any experience using Java 8 with older versions of OFbiz? Thanks in Advance Skip |
Hi Skip,
Please do following changes in build.xml files: 1. applications/order/build.xml in this file add <fileset dir="../../framework/widget/build/lib" includes="*.jar"/> after this <fileset dir="../../framework/common/build/lib" includes="*.jar"/> line. 2. applications/party/build.xml in this file add <fileset dir="../../framework/widget/build/lib" includes="*.jar"/> after this <fileset dir="../../framework/common/build/lib" includes="*.jar"/> line. 3. applications/product/build.xml in this file add <fileset dir="../../framework/widget/build/lib" includes="*.jar"/> after this <fileset dir="../../framework/common/build/lib" includes="*.jar"/> line. 4. applications/workeffort/build.xml in this file add <fileset dir="../../framework/widget/build/lib" includes="*.jar"/> after this <fileset dir="../../framework/common/build/lib" includes="*.jar"/> line. 5. specialpurpose/ebay/build.xml in this file add these two lines <fileset dir="../../framework/widget/build/lib" includes="*.jar"/><fileset dir="../../applications/content/build/lib" includes="*.jar"/> after this <fileset dir="../../framework/common/build/lib" includes="*.jar"/> line. 6. specialpurpose/pos/build.xml in this file add <fileset dir="../../framework/start/build/lib" includes="*.jar"/> after this <fileset dir="${lib.dir}" includes="*.jar"/> line. One more changes in macros.xml file like target and source value with 1.8 version: <default-javac compiler="javac1.6" target="1.8" source="1.8" encoding="UTF-8" sourcepathref="src-path"> Thanks & Regards -- Yashwant Dhakad HotWax Systems http://www.hotwaxsystems.com/ On Sat, Dec 9, 2017 at 4:48 AM, Skip <[hidden email]> wrote: > I am using Ofbiz version 12. I cannot easily convert to the latest because > I have made thousands of changes to the ofbiz core code and redoing all > that > for version 16 will take a long time. > > Recently, UPS stopped support for TLS 1.0. It now requires 1.2. This is > supported in Java 8. > > Does anyone have any experience using Java 8 with older versions of OFbiz? > > Thanks in Advance > > Skip > > |
In reply to this post by SkipDever
Hi Skip,
Actually, if UPS connectivity is the only problem then you may enable TLS 1.2 in Java 7. Find target 'start-batch' (or whatever you use to start an ofbiz instance) in build.xml and add another <vmarg /> with value -Dhttps.protocols=TLSv1.1,TLSv1.2 On Sat, Dec 9, 2017 at 1:18 AM, Skip <[hidden email]> wrote: > I am using Ofbiz version 12. I cannot easily convert to the latest because > I have made thousands of changes to the ofbiz core code and redoing all > that > for version 16 will take a long time. > > Recently, UPS stopped support for TLS 1.0. It now requires 1.2. This is > supported in Java 8. > > Does anyone have any experience using Java 8 with older versions of OFbiz? > > Thanks in Advance > > Skip > > -- Best regards, Oleg Andreyev at Upwork <https://www.upwork.com/freelancers/~017fb1de5d9869d69a> |
Hi Skip,
Check out https://issues.apache.org/jira/browse/OFBIZ-4749 and https://issues.apache.org/jira/browse/OFBIZ-5835. With the patches from these two in place, OFBiz 10 and 11 compile with OpenJDK 8. Cheers Paul Foxworthy On 9 December 2017 at 18:29, Oleg Andreyev <[hidden email]> wrote: > Hi Skip, > > Actually, if UPS connectivity is the only problem then you may enable TLS > 1.2 in Java 7. > Find target 'start-batch' (or whatever you use to start an ofbiz instance) > in build.xml and add another <vmarg /> with value > -Dhttps.protocols=TLSv1.1,TLSv1.2 > > > On Sat, Dec 9, 2017 at 1:18 AM, Skip <[hidden email]> wrote: > > > I am using Ofbiz version 12. I cannot easily convert to the latest > because > > I have made thousands of changes to the ofbiz core code and redoing all > > that > > for version 16 will take a long time. > > > > Recently, UPS stopped support for TLS 1.0. It now requires 1.2. This is > > supported in Java 8. > > > > Does anyone have any experience using Java 8 with older versions of > OFbiz? > > > > Thanks in Advance > > > > Skip > > > > > > > -- > Best regards, > > Oleg Andreyev > at Upwork <https://www.upwork.com/freelancers/~017fb1de5d9869d69a> > -- Coherent Software Australia Pty Ltd PO Box 2773 Cheltenham Vic 3192 Australia Phone: +61 3 9585 6788 Web: http://www.coherentsoftware.com.au/ Email: [hidden email]
--
Coherent Software Australia Pty Ltd http://www.coherentsoftware.com.au/ Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ |
You can check also the issue
https://issues.apache.org/jira/browse/OFBIZ-5881 Nicolas Le 10/12/2017 à 23:17, Paul Foxworthy a écrit : > Hi Skip, > > Check out https://issues.apache.org/jira/browse/OFBIZ-4749 and > https://issues.apache.org/jira/browse/OFBIZ-5835. > > With the patches from these two in place, OFBiz 10 and 11 compile with > OpenJDK 8. > > Cheers > > Paul Foxworthy > > > On 9 December 2017 at 18:29, Oleg Andreyev <[hidden email]> wrote: > >> Hi Skip, >> >> Actually, if UPS connectivity is the only problem then you may enable TLS >> 1.2 in Java 7. >> Find target 'start-batch' (or whatever you use to start an ofbiz instance) >> in build.xml and add another <vmarg /> with value >> -Dhttps.protocols=TLSv1.1,TLSv1.2 >> >> >> On Sat, Dec 9, 2017 at 1:18 AM, Skip <[hidden email]> wrote: >> >>> I am using Ofbiz version 12. I cannot easily convert to the latest >> because >>> I have made thousands of changes to the ofbiz core code and redoing all >>> that >>> for version 16 will take a long time. >>> >>> Recently, UPS stopped support for TLS 1.0. It now requires 1.2. This is >>> supported in Java 8. >>> >>> Does anyone have any experience using Java 8 with older versions of >> OFbiz? >>> Thanks in Advance >>> >>> Skip >>> >>> >> >> -- >> Best regards, >> >> Oleg Andreyev >> at Upwork <https://www.upwork.com/freelancers/~017fb1de5d9869d69a> >> > > |
Free forum by Nabble | Edit this page |