Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0001639Openbravo ERPZ. Otherspublic2007-07-26 17:302008-07-02 17:22
villind 
jpabloae 
normalminoralways
closedfixed 
5
 
2.40beta 
No
Core
No
0001639: The servlet-api.jar is included in the generated war file
Servlet specification says that the servlet api must not be in the WAR file.

Ecerpt from the Tomcat log:

30.4.2007 19:41:13 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/home/ville/apps/apache-tomcat-5.5.20/webapps/openbravo/WE
B-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2
. Offending class: javax/servlet/Servlet.class


No tags attached.
depends on backport 0004152 closed jpabloae The servlet-api.jar is included in the generated war file 
Issue History
2008-06-24 16:51cromeroStatusresolved => new
2008-06-24 16:51cromeroResolutionfixed => open
2008-06-24 16:51cromeroFixed in Version2.40alpha-r2 =>
2008-06-24 16:52cromeroStatusnew => scheduled
2008-06-24 16:52cromeroStatusscheduled => resolved
2008-06-24 16:52cromerosvn_revision => 1807
2008-06-24 16:52cromeroResolutionopen => fixed
2008-06-24 17:51cromeroStatusresolved => new
2008-06-24 17:51cromeroResolutionfixed => open
2008-06-24 17:51cromeroStatusnew => scheduled
2008-06-24 17:51cromeroStatusscheduled => resolved
2008-06-24 17:51cromeroFixed in Version => 2.40alpha-r2
2008-06-24 17:51cromeroResolutionopen => fixed
2008-07-02 17:22plujanStatusresolved => closed
2008-07-02 17:22plujanFixed in Version2.40alpha-r2 => 2.40beta

Notes
(0005228)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1761356 [^]
(0001599)
jpabloae   
2007-07-29 18:59   
(edited on: 2008-06-12 09:20)
Logged In: YES
user_id=1603191
Originator: NO

It's necessary only in compilation time. As it's included in the default Tomcat distribution, it should not be deployed in the war file.
(0001600)
villind   
2007-08-02 23:56   
(edited on: 2008-06-12 09:20)
Logged In: YES
user_id=61737
Originator: YES

File Added: servelt-api_removed.diff
(0001601)
villind   
2007-12-18 10:06   
(edited on: 2008-06-12 09:20)
Logged In: YES
user_id=61737
Originator: YES

Patch included
File Added: war-servlet-api-removal.diff
(0001602)
jpabloae   
2007-12-18 10:31   
(edited on: 2008-06-12 09:20)
Logged In: YES
user_id=1603191
Originator: NO

Patch applied in trunk, r1807. Thank you villind.