Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||||||||||||||||
| View Issue Details | ||||||||||||||||||||||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||||||||||||||||
| 0038869 | Openbravo ERP | A. Platform | public | 2018-07-02 09:20 | 2018-08-08 13:06 | |||||||||||||||||||||||||||||||||||
| Reporter | caristu | |||||||||||||||||||||||||||||||||||||||
| Assigned To | caristu | |||||||||||||||||||||||||||||||||||||||
| Priority | urgent | Severity | minor | Reproducibility | have not tried | |||||||||||||||||||||||||||||||||||
| Status | closed | Resolution | fixed | |||||||||||||||||||||||||||||||||||||
| Platform | OS | 5 | OS Version | |||||||||||||||||||||||||||||||||||||
| Product Version | ||||||||||||||||||||||||||||||||||||||||
| Target Version | Fixed in Version | 3.0PR18Q4 | ||||||||||||||||||||||||||||||||||||||
| Merge Request Status | ||||||||||||||||||||||||||||||||||||||||
| Review Assigned To | alostale | |||||||||||||||||||||||||||||||||||||||
| OBNetwork customer | No | |||||||||||||||||||||||||||||||||||||||
| Web browser | ||||||||||||||||||||||||||||||||||||||||
| Modules | Core | |||||||||||||||||||||||||||||||||||||||
| Support ticket | ||||||||||||||||||||||||||||||||||||||||
| Regression level | ||||||||||||||||||||||||||||||||||||||||
| Regression date | ||||||||||||||||||||||||||||||||||||||||
| Regression introduced in release | ||||||||||||||||||||||||||||||||||||||||
| Regression introduced by commit | ||||||||||||||||||||||||||||||||||||||||
| Triggers an Emergency Pack | No | |||||||||||||||||||||||||||||||||||||||
| Summary | 0038869: JDK 11: jaxbl-impl library should be included in the classpath | |||||||||||||||||||||||||||||||||||||||
| Description | In Java 11, some modules are removed from the standard distribution. See[1]. Some of these modules were required in Openbravo, so in order to support Java 11 they were included to be deployed on the classpath. See[2]. For the case of the jaxb-api library, it has been detected that some modules require to include also its implementation (jaxbl-impl). See[3]. The following error appears if the implementation is required and not present: javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory not found - with linked exception: [java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:148) at javax.xml.bind.ContextFinder.find(ContextFinder.java:371) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446) Besides, this is also happening with the Hibernate upgrade: with Hibernate 5.3 the jaxbl-impl is required. [1] http://openjdk.java.net/jeps/320 [^] [2] https://code.openbravo.com/erp/devel/pi/rev/c3a604592d8f59346c6a17cc7c511566602dc23c [^] [3] https://ci.openbravo.com/job/try-ret-modules-oracle-suite1/11547/artifact/SANDBOX/tomcat-logs/catalina.2018-06-04.log/*view*/ [^] | |||||||||||||||||||||||||||||||||||||||
| Steps To Reproduce | Use case 1: 1) Build openbravo with Hibernate 5.3 (https://code.openbravo.com/erp/devel/pi-hb53 [^]), using JDK8 2) Login as System Administrator 3) Install a module using the Module Management Console: the error will be thrown during the update.database task Use case 2: 1) Build openbravo with Hibernate 5.3 (https://code.openbravo.com/erp/devel/pi-hb53 [^]), using JDK11 2) In this case, the build can not be completed, it will fail when executing the update.database task | |||||||||||||||||||||||||||||||||||||||
| Proposed Solution | ||||||||||||||||||||||||||||||||||||||||
| Additional Information | ||||||||||||||||||||||||||||||||||||||||
| Tags | No tags attached. | |||||||||||||||||||||||||||||||||||||||
| Relationships |
| |||||||||||||||||||||||||||||||||||||||
| Attached Files | ||||||||||||||||||||||||||||||||||||||||
| Issue History | ||||||||||||||||||||||||||||||||||||||||
| Date Modified | Username | Field | Change | |||||||||||||||||||||||||||||||||||||
| 2018-07-02 09:20 | caristu | New Issue | ||||||||||||||||||||||||||||||||||||||
| 2018-07-02 09:20 | caristu | Assigned To | => platform | |||||||||||||||||||||||||||||||||||||
| 2018-07-02 09:20 | caristu | OBNetwork customer | => No | |||||||||||||||||||||||||||||||||||||
| 2018-07-02 09:20 | caristu | Modules | => Core | |||||||||||||||||||||||||||||||||||||
| 2018-07-02 09:20 | caristu | Triggers an Emergency Pack | => No | |||||||||||||||||||||||||||||||||||||
| 2018-07-02 09:20 | caristu | Relationship added | related to 0038130 | |||||||||||||||||||||||||||||||||||||
| 2018-07-02 09:21 | caristu | Relationship added | blocks 0037064 | |||||||||||||||||||||||||||||||||||||
| 2018-07-02 12:50 | caristu | Assigned To | platform => caristu | |||||||||||||||||||||||||||||||||||||
| 2018-07-04 18:38 | caristu | Issue cloned | 0038892 | |||||||||||||||||||||||||||||||||||||
| 2018-07-04 18:38 | caristu | Relationship added | related to 0038892 | |||||||||||||||||||||||||||||||||||||
| 2018-07-05 09:52 | hgbot | Checkin | ||||||||||||||||||||||||||||||||||||||
| 2018-07-05 09:52 | hgbot | Note Added: 0105614 | ||||||||||||||||||||||||||||||||||||||
| 2018-07-05 09:52 | hgbot | Status | new => resolved | |||||||||||||||||||||||||||||||||||||
| 2018-07-05 09:52 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||||||||||||||||
| 2018-07-05 09:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f4e9ff9ed7bb84ca049c0556f530c9c656a69f5b [^] | |||||||||||||||||||||||||||||||||||||
| 2018-07-05 09:59 | caristu | Review Assigned To | => alostale | |||||||||||||||||||||||||||||||||||||
| 2018-07-05 10:00 | caristu | Issue cloned | 0038900 | |||||||||||||||||||||||||||||||||||||
| 2018-07-05 10:00 | caristu | Relationship added | depends on 0038900 | |||||||||||||||||||||||||||||||||||||
| 2018-07-05 10:01 | caristu | Issue cloned | 0038901 | |||||||||||||||||||||||||||||||||||||
| 2018-07-05 10:01 | caristu | Relationship added | depends on 0038901 | |||||||||||||||||||||||||||||||||||||
| 2018-07-05 10:11 | caristu | Note Added: 0105618 | ||||||||||||||||||||||||||||||||||||||
| 2018-07-05 14:33 | alostale | Note Added: 0105640 | ||||||||||||||||||||||||||||||||||||||
| 2018-07-05 14:33 | alostale | Status | resolved => closed | |||||||||||||||||||||||||||||||||||||
| 2018-07-05 14:33 | alostale | Fixed in Version | => 3.0PR18Q4 | |||||||||||||||||||||||||||||||||||||
| 2018-07-05 14:33 | alostale | Note Edited: 0105640 | bug_revision_view_page.php?bugnote_id=0105640#r17380 | |||||||||||||||||||||||||||||||||||||
| 2018-08-08 13:06 | hudsonbot | Checkin | ||||||||||||||||||||||||||||||||||||||
| 2018-08-08 13:06 | hudsonbot | Note Added: 0106204 | ||||||||||||||||||||||||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||