Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041364
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Localization Pack: Spain] SIImajoralways2019-07-16 11:072020-02-14 23:18
ReporterpsanjuanView Statuspublic 
Assigned ToMery Anelo 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision455ea8d18b21
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0041364: SII module is not working in Java 11

DescriptionSII module is not working in Java 11
Steps To ReproduceIn an instance with Java 11 install SII module. Configure it and try to send any invoice to SII.

Below error is shown.
Proposed SolutionSII Module is not compatible with Java 11. The problem is that in this Java version, some deprecated libraries have been finally removed.

In order to make SII works it is necessary to include 2 libraries from this package
https://search.maven.org/search?q=a:jaxws-ri [^]

those are:
saaj-impl.jar
and stax-ex.jar

Provisional fix provided to the customer:

Take the package above and Donwload it (com.sun.xml.sw) and extract it.
In the javaxw-ri/lib folder you can find all the libraries from the package
The missing ones are saaj-impl.jar and stax-ex.jar

Include these two libraries in the lib/runtime folder of the module. Compile.
SII module should work

Generic solution:

In Openbravo, we are working on creating a new module to include these missing libraries.

If those two libraries are finally included in this Openbravo module, the corresponding dependency will have to be implemented in SII module, otherwise SII module will have to include these two java libraries.
TagsNo tags attached.
Attached Filesjpg file icon ScreenHunter_01 Jul. 08 11.18.jpg [^] (187,015 bytes) 2019-07-16 11:30

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0042187 closedMery Anelo Error al enviar factura al SII 

-  Notes
(0115036)
psanjuan (manager)
2019-10-11 13:15

current workaround:

The SII Module, as of now, is not compatible with Java 11
The problem is that in this Java version, some deprecated libraries have been finally removed.

In Openbravo, we are working on creating a new module to include this missing libraries, so it can be extended if required.
By doing so, we ensure the consistency of the libraries versions.

However, as of now, the SII module is not working.
In order to make it work it is necessary to include 2 libraries from this package:
https://search.maven.org/search?q=a:jaxws-ri [^]

Donwload it (com.sun.xml.sw) and extract it.
In the javaxw-ri/lib folder you can find all the libraries from the package
The missing ones are saaj-impl.jar and stax-ex.jar
By including this two in the lib/runtime folder of the module and compiling again the application the SII module will work

This fix (including the libraries) should be a temporal fix for clients suffering the problem.
Once Openbravo creates the module with the libraries, the SII module should extend it instead of including any library.
(0115557)
psanjuan (manager)
2019-11-12 14:19
edited on: 2019-11-12 14:22

Current version of SII depends on a platform module https://centralrepository.openbravo.com/openbravo/org.openbravo.forge.ui/ForgeModuleDetail/JAXWS-Java-API-For-XML-Web-Services [^]
that includes missing Java libraries

Long term solution would be to refactor SII module to avoid it does depend on that external module.

(0115993)
Mery Anelo (developer)
2019-11-29 18:47
edited on: 2019-11-29 18:49

Test plan:
- Log as Group Admin Role
- Create a new Invoice
- Complete the other data and add lines.
- Complete the invoice
- Send the invoice "Send to SII"

(0115994)
hgbot (developer)
2019-11-29 18:56

Repository: erp/pmods/org.openbravo.module.sii
Changeset: 455ea8d18b21643225bc774d1dbf81a730172f08
Author: Mery Anelo <mery.anelo <at> smfconsulting.es>
Date: Fri Nov 29 14:55:25 2019 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.sii/rev/455ea8d18b21643225bc774d1dbf81a730172f08 [^]

Fixed bug 41364: Solve error exception related to SAAJMetaFactoryImpl

Add module dependency, SOAP with Attachments API for Java Implementation.

---
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
---
(0117824)
Mery Anelo (developer)
2020-02-14 23:18

Fixed in version 1.9.000

- Issue History
Date Modified Username Field Change
2019-07-16 11:07 psanjuan New Issue
2019-07-16 11:07 psanjuan Assigned To => Opentix-Test
2019-07-16 11:28 psanjuan Steps to Reproduce Updated View Revisions
2019-07-16 11:28 psanjuan Proposed Solution updated
2019-07-16 11:30 psanjuan File Added: ScreenHunter_01 Jul. 08 11.18.jpg
2019-07-16 11:31 psanjuan Proposed Solution updated
2019-07-16 11:50 jfrances Issue Monitored: jfrances
2019-07-18 11:02 ivancaceres Issue Monitored: ivancaceres
2019-10-11 13:15 psanjuan Note Added: 0115036
2019-11-07 12:50 Jorge Bravo Assigned To Opentix-Test => Mery Anelo
2019-11-12 14:19 psanjuan Note Added: 0115557
2019-11-12 14:22 psanjuan Note Edited: 0115557 View Revisions
2019-11-28 14:50 Jorge Bravo Status new => scheduled
2019-11-29 18:45 Mery Anelo Relationship added has duplicate 0042187
2019-11-29 18:47 Mery Anelo Note Added: 0115993
2019-11-29 18:48 Mery Anelo Note Edited: 0115993 View Revisions
2019-11-29 18:49 Mery Anelo Note Edited: 0115993 View Revisions
2019-11-29 18:56 hgbot Checkin
2019-11-29 18:56 hgbot Note Added: 0115994
2019-11-29 18:56 hgbot Status scheduled => resolved
2019-11-29 18:56 hgbot Resolution open => fixed
2019-11-29 18:56 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.sii/rev/455ea8d18b21643225bc774d1dbf81a730172f08 [^]
2019-12-09 16:50 Mery Anelo Status resolved => closed
2020-02-14 23:18 Mery Anelo Note Added: 0117824


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker