Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039487Openbravo ERPA. Platformpublic2018-10-19 08:122022-03-10 11:04
alostale 
alostale 
normalminorhave not tried
closedfixed 
5
 
 
caristu
Core
No
0039487: can't serve SOAP webservices compiled with JDK10+
SOAP webservices served from Openbravo that are implemented by Java compiled with JDK10+ fail with HTTP error 500 caused by Exception - java.lang.IllegalStateException: Error looking for paramter names in bytecode: unexpected bytes in file.
Using JDK10+:

1. Enable SOAP server [1]
2. Create a SOAP webservice having at least one method with at least one parameter
3. Deploy it to Tomcat: ant installWebservice
4. Try to use it from a client
   -> ERROR: HTTP 500: Error looking for parameter names in bytecode: unexpected bytes in file.
5. Try to access to /services path
   -> ERROR: Error looking for paramter names in bytecode: unexpected bytes in file.

---
[1] http://wiki.openbravo.com/wiki/Development_Build_Tasks#SOAP_Webservice_Server_Tasks [^]
The problem is in old axis library included within Openbravo, using this library is discouraged.

If required while migrating to a newer infrastructure, it is possible to replace axis jar with patched one published here [1].


[1] https://github.com/alostale/axis1-java/releases/tag/1.4-patched [^]
No tags attached.
related to defect 0037683 closed alostale Axis services page is always available 
related to feature request 0038196 closed platform support for JDK 10 
related to design defect 0040536 closed alostale Remove support for axis 
Issue History
2018-10-19 08:12alostaleNew Issue
2018-10-19 08:12alostaleAssigned To => platform
2018-10-19 08:12alostaleModules => Core
2018-10-19 08:12alostaleTriggers an Emergency Pack => No
2018-10-19 08:12alostaleStatusnew => acknowledged
2018-10-19 08:13alostaleRelationship addedrelated to 0037683
2018-10-19 08:14alostaleRelationship addedrelated to 0038196
2018-11-12 10:00alostaleTypedefect => design defect
2018-11-12 10:00alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=17906#r17906
2018-11-12 10:00alostaleProposed Solution updated
2019-04-05 11:00caristuRelationship addedrelated to 0040536
2020-01-30 09:09alostaleAssigned Toplatform => alostale
2020-01-30 09:09alostaleReview Assigned To => caristu
2020-01-30 09:34hgbotCheckin
2020-01-30 09:34hgbotNote Added: 0117348
2020-01-30 09:34hgbotStatusacknowledged => resolved
2020-01-30 09:34hgbotResolutionopen => fixed
2020-01-30 09:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.legacy.axis/rev/c2c80c697b3e87af25f1fcb94930747de016954b [^]
2020-01-31 08:34caristuNote Added: 0117390
2020-01-31 08:34caristuStatusresolved => closed
2022-03-10 11:04hgbotNote Added: 0135614

Notes
(0117348)
hgbot   
2020-01-30 09:34   
Repository: erp/mods/org.openbravo.legacy.axis
Changeset: c2c80c697b3e87af25f1fcb94930747de016954b
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Jan 30 09:18:57 2020 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.legacy.axis/rev/c2c80c697b3e87af25f1fcb94930747de016954b [^]

fixed BUG-39487: can't serve SOAP webservices compiled with JDK10+

  Patched axis.jar to support JDK10+. Sources for patch can be found at:

   https://github.com/alostale/axis1-java/tree/1.4-patched [^]

---
A lib/runtime/axis-1.4-patched.jar
R lib/runtime/axis.jar
---
(0117390)
caristu   
2020-01-31 08:34   
Reviewed: https://gitlab.com/openbravo/product/mods/org.openbravo.legacy.axis/-/merge_requests/1 [^]
(0135614)
hgbot   
2022-03-10 11:04   
Repository: https://gitlab.com/openbravo/product/unsupported/modules/org.openbravo.legacy.axis [^]
Changeset: a05acc923121a85871ecf4dcc7ad8cb788a5819d
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 10-03-2022 10:24:45
URL: https://gitlab.com/openbravo/product/unsupported/modules/org.openbravo.legacy.axis/-/commit/a05acc923121a85871ecf4dcc7ad8cb788a5819d [^]

related to BUG-39487: updates licensing info

---
M legal/Licensing.txt
---