Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013545Openbravo ERPA. Platformpublic2010-06-07 09:082010-06-16 00:20
jpabloae 
marvintm 
immediatecriticalalways
closedfixed 
202.6.18
pi 
 
Core
No
0013545: Unable to restart Tomcat after Core upgrade
If you upgrade from 2.50MP18 to revision 61c7f9003648 using a Core OBX created out of it, you are not able to restart Tomcat using the ERP.

I've stopped Tomcat manually and then started it. And everything looked
fine. And then I've installed Hello World to verify if it's able to
restart Tomcat or not, and yes, it works.

So the problem is that after upgrading Core to this revision Openbravo
is not able to restart Tomcat. But once you restart it manually you can
install modules and restart Tomcat without problems.
1) Run install.source on 2.50MP18.
2)Create a OBX file from the latest revision in pi (61c7f9003648) and install it from File System.
3) It finishes successfully, with a green message, and it asks you to restart Tomcat.
4) However it does not restart Tomcat, it does nothing. It's uncapable of doing it, for some reason.
No tags attached.
Issue History
2010-06-07 09:08jpabloaeNew Issue
2010-06-07 09:08jpabloaeAssigned To => marvintm
2010-06-07 14:01hgbotCheckin
2010-06-07 14:01hgbotNote Added: 0028057
2010-06-07 14:01hgbotStatusnew => resolved
2010-06-07 14:01hgbotResolutionopen => fixed
2010-06-07 14:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fb45a910f3e08ee79a242d5a8e13e963e07c12d7 [^]
2010-06-07 21:21hudsonbotCheckin
2010-06-07 21:21hudsonbotNote Added: 0028119
2010-06-07 23:44hudsonbotCheckin
2010-06-07 23:44hudsonbotNote Added: 0028161
2010-06-15 11:40shuehnerNote Added: 0028437
2010-06-15 11:40shuehnerStatusresolved => closed
2010-06-15 15:32hgbotCheckin
2010-06-15 15:32hgbotNote Added: 0028449
2010-06-16 00:00anonymoussf_bug_id0 => 3016770
2010-06-16 00:20hudsonbotCheckin
2010-06-16 00:20hudsonbotNote Added: 0028478

Notes
(0028057)
hgbot   
2010-06-07 14:01   
Repository: erp/devel/pi
Changeset: fb45a910f3e08ee79a242d5a8e13e963e07c12d7
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Jun 07 14:00:24 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fb45a910f3e08ee79a242d5a8e13e963e07c12d7 [^]

Fixed issue 13545. Tomcat will now restart correctly when upgrading from an earlier MP to current pi
To fix this, the old AntExecutor needs to be used.

---
M src/org/openbravo/service/system/ReloadContext.java
M src/org/openbravo/service/system/RestartTomcat.java
---
(0028119)
hudsonbot   
2010-06-07 21:21   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/fb45a910f3e0 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/8b43a1f2fff4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17563.obx [^]
(0028161)
hudsonbot   
2010-06-07 23:44   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/fb45a910f3e0 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/8b43a1f2fff4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17563.obx [^]
(0028437)
shuehner   
2010-06-15 11:40   
Tested in MP18 appliance with upgrading to current pi-obx. Tomcat restarted fine. Code-change done reverts to code which had been used always until MP18 so restores old behavior.
(0028449)
hgbot   
2010-06-15 15:32   
Repository: erp/devel/pi
Changeset: a25962e2937ac8b2c1f849c8f12cb9e49f039f0b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Jun 15 15:31:58 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a25962e2937ac8b2c1f849c8f12cb9e49f039f0b [^]

Related to issue 13545. Fixed some deprecation warnings in Core.

---
M src/org/openbravo/service/system/ReloadContext.java
M src/org/openbravo/service/system/RestartTomcat.java
---
(0028478)
hudsonbot   
2010-06-16 00:20   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/a25962e2937a [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/3b320eca6d68 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17616.obx [^]