Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0-rc3, 2.0.0-M1
-
Fix Version/s: 1.0
-
Component/s: Core: Containers
-
Labels:None
-
Environment:
Tomcat 5.5.7 with Java 1.5.0, Tomcat 5.0.19 with Java 1.4.2
-
Log Output:
-
Similar Issues:None
Description
The library geronimo-spec-j2ee-1.4-rc2.jar included in the Mule distribution conflicts with the servlet-api.jar included in the default Tomcat server (they both implement the class javax.servlet.Servlet).
I found the following workaround:
Replace $TOMCAT_HOME/common/lib/servlet-api.jar with geronimo-spec-j2ee-1.4-rc2.jar (rename it to "servlet-api.jar") and remove geronimo-spec-j2ee-1.4-rc2.jar from the Mule web app. This seems to work.
Thanks for reporting this. I think I will package Mule with seperate j2ee spec jars and ensure that the web app doesn't include the servlet jar.
Cheers,
Ross