Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0044726 | Openbravo ERP | A. Platform | public | 2020-07-30 15:06 | 2020-09-28 12:33 | |||||||
Reporter | shuehner | |||||||||||
Assigned To | platform | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | out of date | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | PR20Q4 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0044726: jdbc connection to Oracle 11 sometimes fails | |||||||||||
Description | Weekly CI job to run 'oldest stack' try-retail Java8 and Oracle11 fails with following error. BUILD FAILED /home/openbravo/tools/ant_rm.xml:43: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone region not found For info: That ant_rm.xml is effectively just using ant 'Sql' task reusing jdbc libraries from the local workspace. i.e. and create.database behaves the Same. Example build log: https://cicd.openbravo.com/job/try-ret-test-oracle-suite5/139/console [^] Running the same job with ora11 but Java11 does NOT fail. Trying to reproduce locally with Oracle 11.2 showed the following. 1.) does NOT fail with java8 or java11 by default 2.) Setting 'export TZ="Etc/UTC" before the ant call causes the error to happen 3.) Using step 2.) error happens with both Java8 and Java11 4.) Going back to git-commit: commit 01c921dc431db07a321435ec51b3333d7bda6099 which is commit just before last jdbc driver update from issues https://issues.openbravo.com/view.php?id=43137 [^] does NOT fail even with export from step 2 active So apparently several triggers to cause the problem: a.) new jdbc driver jar b.) Setting timezone to Etc/UTC via TZ variable (for info that is what is active in CI system) with both java8 and java11 c.) Unknown why in CI the problem only happens with Java8 but not 11 (even with system-wide timezone being Etc/UTC) So far error has been seen with Oracle11 + Java8 combination in CI It is NOT known if happens only with Oracle11 | |||||||||||
Steps To Reproduce | See description as several cases to cause the error with it being happening in CI + reproducible locally with different steps. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2020-07-30 15:06 | shuehner | New Issue | ||||||||||
2020-07-30 15:06 | shuehner | Assigned To | => platform | |||||||||
2020-07-30 15:06 | shuehner | Modules | => Core | |||||||||
2020-07-30 15:06 | shuehner | Triggers an Emergency Pack | => No | |||||||||
2020-07-30 15:06 | shuehner | Relationship added | caused by 0043137 | |||||||||
2020-07-30 15:08 | shuehner | Note Added: 0121715 | ||||||||||
2020-07-30 15:15 | shuehner | Note Added: 0121716 | ||||||||||
2020-09-28 12:33 | shuehner | Note Added: 0123424 | ||||||||||
2020-09-28 12:33 | shuehner | Status | new => closed | |||||||||
2020-09-28 12:33 | shuehner | Resolution | open => out of date | |||||||||
2020-09-28 12:33 | shuehner | Fixed in Version | => PR20Q4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|