Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0046492 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Retail Modules] Web POS | minor | have not tried | 2021-05-04 17:12 | 2021-05-26 07:45 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR21Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0046492: Please run hardware manager without Java UI in CI | |||||||
Description | Running selenium tests from mobile-test repository indirectly is starting the hardware manager on the server (via some ant tasks in that mobile-test repo). So far that has been classically done without the Java UI shown (as it is done by default) and as UI was available anyway (to run chrome browser for the (selenium) tests themselves. However a recent Ubuntu packaging change broke running java GUI application with just the openjdk-11-jdk-headless package installed. Conceptually that should have been always like that however in practice that worked 'accidentally' so far. openjdk-lts (11.0.11+4-0ubuntu1) hirsute; urgency=medium * Move libawt_xawt.so, libjawt.so into the jre package. Closes: #908058. - That change has been also backported into the LTS version 18.04 & 20.04 As we don't really need the GUI part in Jenkins and the Hardwaremanager already has a text mode we should probably just switch to it. | |||||||
Steps To Reproduce | - install only openjdk-11-jdk-headless/openjdk-11-jre-headless (latest version) without having the packages openjdk-11-jdk/openjdk-11-jre installed. - Try tun run the hardware manager as usual via bin/start - Notice it failing with Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2630) | |||||||
Proposed Solution | change the openbravohw.properties to allow it to run without UI a.) application.ui = false b.) Not having any 'device' configured as 'screen' - machine.scale - machine.rfid Currently have this. Changing both items in b.) to 'null' allows the start to work in text-mode Note => It needs to be checked if 'null' has any side-effect on the test-behavior itself. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||||||||||||||||||||
|
![]() |
|
(0127778) shuehner (administrator) 2021-05-04 17:14 |
As this fix is required to our CI to work it is needed to be backported to all active releases. |
(0127913) hgbot (developer) 2021-05-10 07:18 |
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/87 [^] |
(0127914) hgbot (developer) 2021-05-10 07:18 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/merge_requests/17 [^] |
(0127915) hgbot (developer) 2021-05-10 07:18 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/24 [^] |
(0128151) hgbot (developer) 2021-05-17 05:35 |
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/merge_requests/17 [^] |
(0128161) hgbot (developer) 2021-05-17 07:35 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/merge_requests/18 [^] |
(0128162) hgbot (developer) 2021-05-17 07:41 |
Repository: https://gitlab.com/openbravo/ci/mobile-test [^] Changeset: 24fd1ff73345a8fa99c582e2eb42de6b95986e84 Author: Ranjith S R <ranjith@qualiantech.com> Date: 2021-05-17T09:49:39+05:30 URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/24fd1ff73345a8fa99c582e2eb42de6b95986e84 [^] Related to ISSUE-46492: Allow HardwareManager to Run without UI in CI --- M config/openbravohw.properties.template --- |
(0128163) hgbot (developer) 2021-05-17 07:41 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources [^] Changeset: bc9c3571940d389c231d93ef121ea8297d325010 Author: Ranjith S R <ranjith@qualiantech.com> Date: 2021-05-17T09:45:19+05:30 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/commit/bc9c3571940d389c231d93ef121ea8297d325010 [^] Related to ISSUE-46492: Allow HardwareManager to Run without UI * If HardwareManager is opened without UI, RFIDWebSocket should be created without screen context --- M project/src/com/openbravo/pos/printer/DeviceTicket.java M project/src/com/openbravo/pos/printer/TicketParser.java M project/src/com/openbravo/pos/printer/escpos/DevicePrinterESCPOS.java M project/src/com/openbravo/pos/printer/escpos/USBDeviceList.java M project/src/com/openbravo/pos/printer/javapos/DevicePrinterJavaPOS.java M project/src/com/openbravo/pos/rfid/DeviceRFIDNull.java M project/src/com/openbravo/pos/service/HardwareConfig.java M project/src/com/openbravo/pos/service/HardwareConfigInst.java M project/src/com/openbravo/poshw/AppConfig.java M project/src/com/openbravo/poshw/RFIDScreenWebSocketHandler.java --- |
(0128164) hgbot (developer) 2021-05-17 07:41 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/24 [^] |
(0128165) hgbot (developer) 2021-05-17 07:41 |
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/87 [^] |
(0128166) hgbot (developer) 2021-05-17 07:41 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/merge_requests/18 [^] |
(0128167) hgbot (developer) 2021-05-17 07:41 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager [^] Changeset: 4341164b4a991945138ddd6d8db0c9ff6bb65b6f Author: Ranjith S R <ranjith@qualiantech.com> Date: 2021-05-17T09:50:42+05:30 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/commit/4341164b4a991945138ddd6d8db0c9ff6bb65b6f [^] Fixed ISSUE-46492: Allow HardwareManager to Run without UI --- M bin/poshw.jar M bin/rev.id --- |
(0128470) hgbot (developer) 2021-05-21 08:07 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/28 [^] |
(0128471) hgbot (developer) 2021-05-21 08:07 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/merge_requests/22 [^] |
(0128472) hgbot (developer) 2021-05-21 08:46 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources [^] Changeset: 5e55926299a8097a68ed9f9144ee28baeff244eb Author: Ranjith S R <ranjith@qualiantech.com> Date: 2021-05-20T18:39:50+05:30 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/commit/5e55926299a8097a68ed9f9144ee28baeff244eb [^] Related to ISSUE-46492: Added AuditLog when exception occurs in TicketParsing --- M project/src/com/openbravo/pos/printer/TicketParser.java --- |
(0128473) hgbot (developer) 2021-05-21 08:46 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/28 [^] |
(0128474) hgbot (developer) 2021-05-21 08:46 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager [^] Changeset: e983e484d1693cff1e0191110348d9094044f8e2 Author: Ranjith S R <ranjith@qualiantech.com> Date: 2021-05-20T18:40:00+05:30 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/commit/e983e484d1693cff1e0191110348d9094044f8e2 [^] Related to ISSUE-46492: Added AuditLog when exception occurs in TicketParsing --- M bin/poshw.jar M bin/rev.id --- |
(0128475) hgbot (developer) 2021-05-21 08:46 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/merge_requests/22 [^] |
(0128598) hgbot (developer) 2021-05-25 08:23 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/29 [^] |
(0128599) hgbot (developer) 2021-05-25 08:23 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/merge_requests/23 [^] |
(0128605) hgbot (developer) 2021-05-25 10:31 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources [^] Changeset: b96d1c488be8acb765537bf7ce291afdd71612f4 Author: Ranjith S R <ranjith@qualiantech.com> Date: 2021-05-25T11:52:31+05:30 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/commit/b96d1c488be8acb765537bf7ce291afdd71612f4 [^] Related to ISSUE-46492: Updated LogFile Pattern for Log FileHandler * Removed unwanted auditlog in TicketParser --- M project/logging.properties M project/src/com/openbravo/pos/printer/TicketParser.java --- |
(0128606) hgbot (developer) 2021-05-25 10:31 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/29 [^] |
(0128607) hgbot (developer) 2021-05-25 10:31 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager [^] Changeset: 24cc9bb343a7aab8c0552045c8715f388eb4dfff Author: Ranjith S R <ranjith@qualiantech.com> Date: 2021-05-25T11:52:15+05:30 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/commit/24cc9bb343a7aab8c0552045c8715f388eb4dfff [^] Related to ISSUE-46492: Updated LogFile Pattern for Log FileHandler * Removed unwanted auditlog in TicketParser --- M bin/logging.properties M bin/poshw.jar M bin/rev.id --- |
(0128608) hgbot (developer) 2021-05-25 10:31 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/merge_requests/23 [^] |
(0128633) hgbot (developer) 2021-05-26 07:32 |
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/96 [^] |
(0128634) hgbot (developer) 2021-05-26 07:45 |
Repository: https://gitlab.com/openbravo/ci/mobile-test [^] Changeset: e7a12098e50fdc5a3e191f228a9792af5f0495bb Author: Ranjith S R <ranjith@qualiantech.com> Date: 2021-05-25T19:13:59+05:30 URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/e7a12098e50fdc5a3e191f228a9792af5f0495bb [^] Related to ISSUE-46492: HardwareManager should be started from bin directory instead of current directory --- M build.xml --- |
(0128635) hgbot (developer) 2021-05-26 07:45 |
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/96 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2021-05-04 17:12 | shuehner | New Issue | |
2021-05-04 17:12 | shuehner | Assigned To | => Retail |
2021-05-04 17:12 | shuehner | OBNetwork customer | => No |
2021-05-04 17:12 | shuehner | Triggers an Emergency Pack | => No |
2021-05-04 17:14 | shuehner | Status | new => scheduled |
2021-05-04 17:14 | shuehner | Note Added: 0127778 | |
2021-05-06 10:04 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2021-05-10 07:18 | hgbot | Merge Request Status | => open |
2021-05-10 07:18 | hgbot | Note Added: 0127913 | |
2021-05-10 07:18 | hgbot | Note Added: 0127914 | |
2021-05-10 07:18 | hgbot | Note Added: 0127915 | |
2021-05-11 08:54 | priyam | Issue Monitored: priyam | |
2021-05-17 05:35 | hgbot | Note Added: 0128151 | |
2021-05-17 07:35 | hgbot | Note Added: 0128161 | |
2021-05-17 07:38 | hgbot | Merge Request Status | open => approved |
2021-05-17 07:41 | hgbot | Note Added: 0128162 | |
2021-05-17 07:41 | hgbot | Note Added: 0128163 | |
2021-05-17 07:41 | hgbot | Note Added: 0128164 | |
2021-05-17 07:41 | hgbot | Note Added: 0128165 | |
2021-05-17 07:41 | hgbot | Resolution | open => fixed |
2021-05-17 07:41 | hgbot | Status | scheduled => closed |
2021-05-17 07:41 | hgbot | Note Added: 0128166 | |
2021-05-17 07:41 | hgbot | Fixed in Version | => RR21Q3 |
2021-05-17 07:41 | hgbot | Note Added: 0128167 | |
2021-05-21 08:07 | hgbot | Note Added: 0128470 | |
2021-05-21 08:07 | hgbot | Note Added: 0128471 | |
2021-05-21 08:46 | hgbot | Note Added: 0128472 | |
2021-05-21 08:46 | hgbot | Note Added: 0128473 | |
2021-05-21 08:46 | hgbot | Note Added: 0128474 | |
2021-05-21 08:46 | hgbot | Note Added: 0128475 | |
2021-05-25 08:23 | hgbot | Note Added: 0128598 | |
2021-05-25 08:23 | hgbot | Note Added: 0128599 | |
2021-05-25 10:31 | hgbot | Note Added: 0128605 | |
2021-05-25 10:31 | hgbot | Note Added: 0128606 | |
2021-05-25 10:31 | hgbot | Note Added: 0128607 | |
2021-05-25 10:31 | hgbot | Note Added: 0128608 | |
2021-05-26 07:32 | hgbot | Note Added: 0128633 | |
2021-05-26 07:45 | hgbot | Note Added: 0128634 | |
2021-05-26 07:45 | hgbot | Note Added: 0128635 | |
2021-06-07 16:09 | shuehner | Relationship added | related to 0047009 |
Copyright © 2000 - 2009 MantisBT Group |