Openbravo Issue Tracking System - Modules
View Issue Details
0044317ModulesSAP Connector Mappingspublic2020-06-09 11:512020-07-14 07:34
santi_lozano 
AugustoMauch 
normalmajoralways
closedfixed 
5
 
 
caristu
0044317: Tomcat restart error after configuring JCo configuration
On a clear instance after installing SAP ECC Mappings and filling the details on window Comunication With Sap for a JCo configuration (with the main header and the tab data set) then if you restart tomcat it crashes
It has been tested on tip and on 19Q4.4 (last is customer instance version)
* download a clear Openbravo tip instance
* on Module Management add SAP ECC Mappings module. Also add module Openbravo for Retail Pack (as the dependence is not automatically detected)
* with role F&B International Group Admin go to window Comunication With Sap. Add a new entry: select JCo configuration as communication protocol. On tab JCo configuration (appears now) add a new one: you can put anything here it's just to test it (no need of a real connection)(check the attached image here for an example data to enter)
*save, stop tomcat, and restart tomcat
*error appears (see attachments) and we are not able to access to the instance
No tags attached.
related to defect 0046720 closed platform Lots of warnings "lib/so/libsapjco3.so is not a JAR" during several command line tasks (compile, run.test) 
png 16406 - example data.png (113,985) 2020-06-09 11:52
https://issues.openbravo.com/file_download.php?file_id=14590&type=bug
png

? 16406 - eclipse tomcat log after restart (13,298) 2020-06-09 11:53
https://issues.openbravo.com/file_download.php?file_id=14591&type=bug
png 16406 - browser error after tomcat restart.png (24,648) 2020-06-09 11:53
https://issues.openbravo.com/file_download.php?file_id=14592&type=bug
png
Issue History
2020-06-09 11:51santi_lozanoNew Issue
2020-06-09 11:51santi_lozanoAssigned To => Triage Finance
2020-06-09 11:51santi_lozanoResolution time => 1593468000
2020-06-09 11:52santi_lozanoFile Added: 16406 - example data.png
2020-06-09 11:53santi_lozanoFile Added: 16406 - eclipse tomcat log after restart
2020-06-09 11:53santi_lozanoFile Added: 16406 - browser error after tomcat restart.png
2020-06-09 12:00PracticsIssue Monitored: Practics
2020-06-10 18:22dmiguelezAssigned ToTriage Finance => AtulOpenbravo
2020-06-12 13:41dmiguelezAssigned ToAtulOpenbravo => inigo_lerga
2020-06-19 11:25inigo_lergaStatusnew => scheduled
2020-06-22 11:04inigo_lergaAssigned Toinigo_lerga => AugustoMauch
2020-07-06 11:28hgbotCheckin
2020-07-06 11:28hgbotNote Added: 0121261
2020-07-06 11:28hgbotStatusscheduled => resolved
2020-07-06 11:28hgbotResolutionopen => fixed
2020-07-06 11:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.service.integration.sapecc/rev/2fca64ed1dad749b9d5f517a9ba8a89c5a5858fa [^]
2020-07-13 16:01alostaleReview Assigned To => caristu
2020-07-14 07:34caristuNote Added: 0121427
2020-07-14 07:34caristuStatusresolved => closed
2021-11-09 09:30caristuRelationship addedrelated to 0046720

Notes
(0121261)
hgbot   
2020-07-06 11:28   
Repository: erp/pmods/org.openbravo.service.integration.sapecc
Changeset: 2fca64ed1dad749b9d5f517a9ba8a89c5a5858fa
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Jul 06 11:28:04 2020 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.service.integration.sapecc/rev/2fca64ed1dad749b9d5f517a9ba8a89c5a5858fa [^]

fixes BUG-44317: Includes library needed to use JCo integration

The libsapjco3.so needs to be manually copied to a folder reachable by the java.library.path (i.e /usr/lib).
Without it, the following error will be thrown when starting Tomcat:
JCo initialization failed with java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path

With the .so file in the proper place, these error will not be logged, either Tomcat will start without error
or an expected configuration JCo error will be logged.

---
A lib/so/libsapjco3.so
---
(0121427)
caristu   
2020-07-14 07:34   
Reviewed