Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027247Openbravo ERPA. Platformpublic2014-07-31 10:032015-09-11 08:40
alostale 
caristu 
normalminorhave not tried
closedfixed 
5
 
3.0PR15Q4 
alostale
Core
No
0027247: Tomcat 8 is not supported
Tomcat 8 is still not supported even after Weld update to 1.1.19 (0027245)
-Start Openbravo in Tomcat 8 -> seems to start ok
-Load login page -> it fails, for some reason XmlEngine looks files in an incorrect path, this is what is logged:
32757 [http-nio-8080-exec-4] ERROR org.openbravo.xmlEngine.XmlEngine - not found fileXmlEngineConfiguration: /home/alostale/ws/pi-pg/openbravo/WebContentsrc-loc/design/org/openbravo/erpCommon/utility/Log.xml
/home/alostale/ws/pi-pg/openbravo/WebContentsrc-loc/design/org/openbravo/erpCommon/utility/Log.xml (No such file or directory)
No tags attached.
related to defect 0027244 closed alostale Openbravo ERP Tomcat 7 is not supported 
related to defect 0030554 closed caristu Openbravo ERP API change required for GEN_TARGET_LOCATION public constant 
related to design defect 0030555 closed platform Openbravo ERP Deploy Openbravo in Tomcat 8 using Eclipse 
related to defect 0031407 closed alostale Retail Modules errors deploying WebPOS in Tomcat 8 
related to design defect 0046518 closed Triage Platform Base Openbravo ERP Support Tomcat 9 
causes defect 0030901 closed caristu Openbravo ERP Images refernced from css are not working fine 
Issue History
2014-07-31 10:03alostaleNew Issue
2014-07-31 10:03alostaleAssigned To => AugustoMauch
2014-07-31 10:03alostaleModules => Core
2014-07-31 10:03alostaleTriggers an Emergency Pack => No
2014-07-31 10:04alostaleRelationship addedrelated to 0027244
2014-11-11 11:05alostaleTypedefect => design defect
2015-08-11 12:54caristuAssigned ToAugustoMauch => caristu
2015-08-11 12:54caristuStatusnew => scheduled
2015-08-12 09:10caristuRelationship addedrelated to 0030554
2015-08-12 10:27caristuRelationship addedrelated to 0030555
2015-08-28 13:17caristuReview Assigned To => alostale
2015-08-28 13:17caristuIssue Monitored: alostale
2015-08-28 13:20hgbotCheckin
2015-08-28 13:20hgbotNote Added: 0079794
2015-08-28 13:20hgbotStatusscheduled => resolved
2015-08-28 13:20hgbotResolutionopen => fixed
2015-08-28 13:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4fd42e3fdb22fb761ba41b4560a60ce1fe8e5cfa [^]
2015-08-28 20:08hudsonbotCheckin
2015-08-28 20:08hudsonbotNote Added: 0079805
2015-09-11 08:40alostaleNote Added: 0080326
2015-09-11 08:40alostaleStatusresolved => closed
2015-09-11 08:40alostaleFixed in Version => 3.0PR15Q4
2015-09-23 16:41guilleaerRelationship addedblocks 0030901
2015-09-25 09:22alostaleRelationship replacedcauses 0030901
2015-11-09 13:48alostaleRelationship addedrelated to 0031407
2021-05-05 15:45shuehnerRelationship addedrelated to 0046518

Notes
(0079794)
hgbot   
2015-08-28 13:20   
Repository: erp/devel/pi
Changeset: 4fd42e3fdb22fb761ba41b4560a60ce1fe8e5cfa
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Aug 28 12:55:02 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4fd42e3fdb22fb761ba41b4560a60ce1fe8e5cfa [^]

fixes issue 27247: Tomcat 8 is not supported

The changes are mainly related to the change in the behavior of the getRealPath method of the StandardContext class. Since Tomcat 8, the provided path should start with a slash. Also this method is now making use of a refactor done in the way the web resources are handled (https://tomcat.apache.org/tomcat-8.0-doc/config/resources.html [^]).

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/report/BaseReportActionHandler.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StaticResourceComponent.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/StyleSheetResourceComponent.java
M src-core/src/org/openbravo/base/ConfigParameters.java
M src-core/src/org/openbravo/base/HttpBaseServlet.java
M src/org/openbravo/erpCommon/obps/ActivationKey.java
---
(0079805)
hudsonbot   
2015-08-28 20:08   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/0b503a8b6697 [^]
Maturity status: Test
(0080326)
alostale   
2015-09-11 08:40   
code reviewed

tested with Tomcat 8.0.26:
-exucuted some basic functional flows
-module installation, rebuild and restart from MMC