Openbravo Issue Tracking System - Modules
View Issue Details
0045317ModulesSAP Connectorpublic2020-10-28 12:412021-11-11 09:40
cberner 
caristu 
normalminoralways
closedfixed 
5
 
 
0045317: Warning message in install.source because libsapjco3.so is in classpath
Installing this module and executing several build tasks generate this error:
CLASSPATH element modules/org.openbravo.service.integration.sapecc/lib/so/libsapjco3.so is not a JAR.

This is happening because lib/* is used in some jobs as Java Classpath, assuming(probably wrong) that all files are valid for Classpath(.jar or .class).
Install this modules.
Execute install.source or wad.validation(this last one generates those errors faster).
Move libsapjco3.so out of lib/* folder and into another folder. For example, libso/* or lib-copy/*.
No tags attached.
has duplicate defect 0046720 closed platform Lots of warnings "lib/so/libsapjco3.so is not a JAR" during several command line tasks (compile, run.test) 
Issue History
2020-10-28 12:41cbernerNew Issue
2020-10-28 12:41cbernerAssigned To => platform
2021-09-30 10:48caristuAssigned Toplatform => caristu
2021-10-18 13:08alostaleRelationship addedhas duplicate 0046720
2021-11-09 09:32hgbotNote Added: 0132897
2021-11-11 09:40hgbotNote Added: 0132956
2021-11-11 09:40hgbotResolutionopen => fixed
2021-11-11 09:40hgbotStatusnew => closed
2021-11-11 09:40hgbotNote Added: 0132957

Notes
(0132897)
hgbot   
2021-11-09 09:32   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.sapecc/-/merge_requests/4 [^]
(0132956)
hgbot   
2021-11-11 09:40   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.sapecc/-/merge_requests/4 [^]
(0132957)
hgbot   
2021-11-11 09:40   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.sapecc [^]
Changeset: 05ea67e4dbe1e0ec24304eb0cb69e6e64da7e61c
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-11-11T08:39:19+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.sapecc/-/commit/05ea67e4dbe1e0ec24304eb0cb69e6e64da7e61c [^]

fixes ISSUE-45317: Move libsapjco3.so out of lib folder

  Moved libsapjco3.so file out of the lib folder to avoid warnings
during install.source because it is detected as a non JAR library.

  Note that we can safely change the location of this file as it is
included as part of the module in order to make it easier the JCo
configuration as the libsapjco3.so library needs to be manually copied
to a folder reachable by the java.library.path.

---
A lib-copy/libsapjco3.so
---