Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006248Openbravo ERPA. Platformpublic2008-11-28 11:462009-04-21 11:06
jpabloae 
alostale 
immediatecriticalalways
closedfixed 
20Ubuntu 8.04
pi 
 
Core
No
0006248: Error 500 building a module
I get a 500 error building a module after installing it. Screenshot attached (500error_module.png).

This error generated an error in the tomcat catalina.out file. Attached (error500_catalina-out.log).

The "ant diagnostic" is successful (ant-diagnostic.log).
1. checkout trunk rev 10729.
2. Configure with setup-tools.
3. Install the "Hello World" module.
4. Click on "rebuild now".
No tags attached.
related to defect 0006261 closed mtaal Properly manage log in rebuild process 
png 500error_module.png (199,801) 2008-11-28 11:46
https://issues.openbravo.com/file_download.php?file_id=471&type=bug
png

log 500error_catalina-out.log (27,177) 2008-11-28 11:46
https://issues.openbravo.com/file_download.php?file_id=472&type=bug
log ant-diagnostic.log (3,195) 2008-11-28 11:48
https://issues.openbravo.com/file_download.php?file_id=473&type=bug
log 500error-war.log (16,898) 2008-11-28 15:07
https://issues.openbravo.com/file_download.php?file_id=475&type=bug
png 500error_war.png (191,659) 2008-11-28 15:08
https://issues.openbravo.com/file_download.php?file_id=476&type=bug
png
Issue History
2008-11-28 11:46jpabloaeNew Issue
2008-11-28 11:46jpabloaeAssigned To => rafaroda
2008-11-28 11:46jpabloaesf_bug_id0 => 2355384
2008-11-28 11:46jpabloaeFile Added: 500error_module.png
2008-11-28 11:46jpabloaeRegression testing => No
2008-11-28 11:46jpabloaeFile Added: 500error_catalina-out.log
2008-11-28 11:47jpabloaeProposed Solution updated
2008-11-28 11:48jpabloaeFile Added: ant-diagnostic.log
2008-11-28 11:49jpabloaeDescription Updated
2008-11-28 11:50jpabloaeDescription Updated
2008-11-28 12:24iciordiaAssigned Torafaroda => alostale
2008-11-28 15:07jpabloaeNote Added: 0010817
2008-11-28 15:07jpabloaeFile Added: 500error-war.log
2008-11-28 15:08jpabloaeFile Added: 500error_war.png
2008-11-28 17:02svnbotCheckin
2008-11-28 17:02svnbotNote Added: 0010820
2008-11-28 17:02svnbotsvn_revision => 10746
2008-11-28 17:18alostaleNote Added: 0010822
2008-11-28 17:21svnbotCheckin
2008-11-28 17:21svnbotNote Added: 0010823
2008-11-28 17:21svnbotStatusnew => resolved
2008-11-28 17:21svnbotResolutionopen => fixed
2008-11-28 17:21svnbotsvn_revision10746 => 10748
2008-11-28 17:32adminNote Deleted: 0010820
2008-11-28 17:32alostaleRelationship addedrelated to 0006261
2009-04-21 11:06psarobeStatusresolved => closed

Notes
(0010817)
jpabloae   
2008-11-28 15:07   
I can reproduce this error also using the "war" deploy mode. I attach a new screenshot (500error_war.png) and the log when the error happens (500error-war.log).

Notice that even if it's in "war" mode, it tries to start a compile.development.
(0010822)
alostale   
2008-11-28 17:18   
This seems to be caused by the way the output stream is redirected to show the log. To workarround this problem this is going to be commented.
(0010823)
svnbot   
2008-11-28 17:21   
Repository: openbravo
Revision: 10748
Author: alostale
Date: 2008-11-28 17:21:35 +0100 (Fri, 28 Nov 2008)

fixed bug 0006248: Error 500 building a module

---
U trunk/src/org/openbravo/erpCommon/ad_process/ApplyModules.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=10748&sc=1 [^]