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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015289
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2010-11-24 20:022011-05-24 10:56
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisione8e3ea245364
ProjectionnoneETAnoneTarget Version3.0RC4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015289: Login into just updated rc3 (from 3.0rc2) does not work with errror message in server log

DescriptionAfter 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
Proposed Solutiona.) Change build process to sync jar instead of incrementally copy
b.) Change build process to delete+copy

Preferred is option a.) for performance
TagsclosingMay2011
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00132412.50MP19 closedmarvintm The files on the tomcat are not deleted when they are not created on a new compilation 
related to design defect 0015290 acknowledgedTriage Platform Base Revise all incremental file-copying in build process if it should do sync (with deleting old files) instead 
related to defect 0015709 closedshuehner Orphan jar-files are not deleted from deployed webapp in tomcat when they are not present anymore in WebContent (after upgrade) 

-  Notes
(0032840)
shuehner (administrator)
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 (developer)
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 (developer)
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 (developer)
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 (administrator)
2010-11-28 15:58

Reopening as fix had to be reverted because of side-effects
(0032902)
hgbot (developer)
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 (developer)
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 (developer)
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 (developer)
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
---

- Issue History
Date Modified Username Field Change
2010-11-24 20:02 shuehner New Issue
2010-11-24 20:02 shuehner Assigned To => shuehner
2010-11-24 20:12 shuehner Relationship added related to 0015290
2010-11-25 10:34 jpabloae Issue Monitored: jpabloae
2010-11-25 11:32 shuehner Relationship added related to 0013241
2010-11-25 11:33 shuehner Note Added: 0032840
2010-11-25 15:53 hgbot Checkin
2010-11-25 15:53 hgbot Note Added: 0032852
2010-11-25 15:53 hgbot Status new => resolved
2010-11-25 15:53 hgbot Resolution open => fixed
2010-11-25 15:53 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b033a1fa2c0622105de42a4c701a3b9f887d04c7 [^]
2010-11-25 17:41 marvintm Note Added: 0032859
2010-11-25 17:41 marvintm Status resolved => closed
2010-11-28 15:57 hgbot Checkin
2010-11-28 15:57 hgbot Note Added: 0032899
2010-11-28 15:58 shuehner Note Added: 0032900
2010-11-28 15:58 shuehner Status closed => new
2010-11-28 15:58 shuehner Resolution fixed => open
2010-11-28 15:59 shuehner Note Added: 0032901
2010-11-28 15:59 shuehner Priority immediate => urgent
2010-11-28 15:59 shuehner Target Version 3.0RC3 => 3.0RC4
2010-11-28 16:08 shuehner Note Deleted: 0032901
2010-11-28 19:32 hgbot Checkin
2010-11-28 19:32 hgbot Note Added: 0032902
2010-11-28 19:32 hgbot Status new => resolved
2010-11-28 19:32 hgbot Resolution open => fixed
2010-11-28 19:32 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/b033a1fa2c0622105de42a4c701a3b9f887d04c7 [^] => http://code.openbravo.com/erp/mods/org.openbravo.client.kernel/rev/e8e3ea2453640efa30eba85e5c6f0aa2d87fe079 [^]
2010-11-30 17:52 hudsonbot Checkin
2010-11-30 17:52 hudsonbot Note Added: 0032949
2010-11-30 17:52 hudsonbot Checkin
2010-11-30 17:52 hudsonbot Note Added: 0032961
2011-01-19 19:55 shuehner Relationship added related to 0015709
2011-03-04 15:18 hgbot Checkin
2011-03-04 15:18 hgbot Note Added: 0034566
2011-05-24 10:11 dalsasua Tag Attached: closingMay2011
2011-05-24 10:56 dalsasua Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker