Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015289Openbravo ERPA. Platformpublic2010-11-24 20:022011-05-24 10:56
shuehner 
shuehner 
urgentmajorhave not tried
closedfixed 
5
 
3.0RC4 
Core
No
0015289: Login into just updated rc3 (from 3.0rc2) does not work with errror message in server log
After updating rc2 to rc3 then trying login after entering user+password just an empty white page is shown.

In the server log an error is shown:
NoSuchMethod error related to jslint4java library.

Background:
one module related to rc3 did update this library were the new version has a different filename.

Because of a bug in the build-system both the old & new versions are present in the deployed webapp.
Depending on the (undefined) ordering of those files this will fail if the old version is loaded first and work if the new one is loaded first.

Probably this does not apply to deploy.mode=war
a.) Change build process to sync jar instead of incrementally copy
b.) Change build process to delete+copy

Preferred is option a.) for performance
closingMay2011
related to defect 00132412.50MP19 closed marvintm The files on the tomcat are not deleted when they are not created on a new compilation 
related to design defect 0015290 acknowledged Triage Platform Base Revise all incremental file-copying in build process if it should do sync (with deleting old files) instead 
related to defect 0015709 closed shuehner Orphan jar-files are not deleted from deployed webapp in tomcat when they are not present anymore in WebContent (after upgrade) 
Issue History
2010-11-24 20:02shuehnerNew Issue
2010-11-24 20:02shuehnerAssigned To => shuehner
2010-11-24 20:12shuehnerRelationship addedrelated to 0015290
2010-11-25 10:34jpabloaeIssue Monitored: jpabloae
2010-11-25 11:32shuehnerRelationship addedrelated to 0013241
2010-11-25 11:33shuehnerNote Added: 0032840
2010-11-25 15:53hgbotCheckin
2010-11-25 15:53hgbotNote Added: 0032852
2010-11-25 15:53hgbotStatusnew => resolved
2010-11-25 15:53hgbotResolutionopen => fixed
2010-11-25 15:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b033a1fa2c0622105de42a4c701a3b9f887d04c7 [^]
2010-11-25 17:41marvintmNote Added: 0032859
2010-11-25 17:41marvintmStatusresolved => closed
2010-11-28 15:57hgbotCheckin
2010-11-28 15:57hgbotNote Added: 0032899
2010-11-28 15:58shuehnerNote Added: 0032900
2010-11-28 15:58shuehnerStatusclosed => new
2010-11-28 15:58shuehnerResolutionfixed => open
2010-11-28 15:59shuehnerNote Added: 0032901
2010-11-28 15:59shuehnerPriorityimmediate => urgent
2010-11-28 15:59shuehnerTarget Version3.0RC3 => 3.0RC4
2010-11-28 16:08shuehnerNote Deleted: 0032901
2010-11-28 19:32hgbotCheckin
2010-11-28 19:32hgbotNote Added: 0032902
2010-11-28 19:32hgbotStatusnew => resolved
2010-11-28 19:32hgbotResolutionopen => fixed
2010-11-28 19:32hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/b033a1fa2c0622105de42a4c701a3b9f887d04c7 [^] => http://code.openbravo.com/erp/mods/org.openbravo.client.kernel/rev/e8e3ea2453640efa30eba85e5c6f0aa2d87fe079 [^]
2010-11-30 17:52hudsonbotCheckin
2010-11-30 17:52hudsonbotNote Added: 0032949
2010-11-30 17:52hudsonbotCheckin
2010-11-30 17:52hudsonbotNote Added: 0032961
2011-01-19 19:55shuehnerRelationship addedrelated to 0015709
2011-03-04 15:18hgbotCheckin
2011-03-04 15:18hgbotNote Added: 0034566
2011-05-24 10:11dalsasuaTag Attached: closingMay2011
2011-05-24 10:56dalsasuaStatusresolved => closed

Notes
(0032840)
shuehner   
2010-11-25 11:33   
Marked as related 13241, as that commit fixes this issue for other files of files, but not for files in WEB-INF/lib*
(0032852)
hgbot   
2010-11-25 15:53   
Repository: erp/devel/pi
Changeset: b033a1fa2c0622105de42a4c701a3b9f887d04c7
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Thu Nov 25 15:50:24 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b033a1fa2c0622105de42a4c701a3b9f887d04c7 [^]

Fixed 15289. When syncing WebContent -> tomcat remove dangling jar-files also

---
M src/build.xml
---
(0032859)
marvintm   
2010-11-25 17:41   
This fix makes the copy.files part of the build work correctly (new files are added to tomcat, changed files are copied too, and removed files are deleted from tomcat).

This still doesn't change the fact that WebContent is not regenerated on every compile, but it still should fix the encountered issue (the old .jar will not be in WebContent as a compile.complete will be done, as a pack is being updated, and because of this fix the old .jar will then be removed from tomcat).
(0032899)
hgbot   
2010-11-28 15:57   
Repository: erp/devel/pi
Changeset: 0bd66b4ea209402e248623870c1c6ec8d6c70106
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Sun Nov 28 15:56:37 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0bd66b4ea209402e248623870c1c6ec8d6c70106 [^]

Issue 15289: Revert b033a1fa2c06 completely as it breaks restart tomcat
in the appliance after a core update.

---
M src/build.xml
---
(0032900)
shuehner   
2010-11-28 15:58   
Reopening as fix had to be reverted because of side-effects
(0032902)
hgbot   
2010-11-28 19:32   
Repository: erp/mods/org.openbravo.client.kernel
Changeset: e8e3ea2453640efa30eba85e5c6f0aa2d87fe079
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Sun Nov 28 16:09:29 2010 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.client.kernel/rev/e8e3ea2453640efa30eba85e5c6f0aa2d87fe079 [^]

Fixed 15289. The problem is being worked around now in the module by not
changing the filename but instead upgrading the library inplace.
Note added to README to point out this situation of having file 1.3.3
with content of 1.4.4

---
M README
M jslint/jslint
A lib/runtime/jslint4java-1.3.3.jar
R lib/runtime/jslint4java-1.4.4.jar
---
(0032949)
hudsonbot   
2010-11-30 17:52   
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/b033a1fa2c06 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7c27b4b566df [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19017.obx [^]
(0032961)
hudsonbot   
2010-11-30 17:52   
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/0bd66b4ea209 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7c27b4b566df [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19017.obx [^]
(0034566)
hgbot   
2011-03-04 15:18   
Repository: erp/mods/org.openbravo.client.kernel
Changeset: e8e3ea2453640efa30eba85e5c6f0aa2d87fe079
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Sun Nov 28 16:09:29 2010 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.client.kernel/rev/e8e3ea2453640efa30eba85e5c6f0aa2d87fe079 [^]

Fixed 15289. The problem is being worked around now in the module by not
changing the filename but instead upgrading the library inplace.
Note added to README to point out this situation of having file 1.3.3
with content of 1.4.4

---
M README
M jslint/jslint
A lib/runtime/jslint4java-1.3.3.jar
R lib/runtime/jslint4java-1.4.4.jar
---