Hi, i'm tring to use weld the implementation of the JSR 299 (*Java Contexts and Dependency Injection* ) on tomcat and it's working pretty well. The only problem so fat is when i try to override the built-in el-api/el-impl from Tomcat lib directory, with the new EL 2.2 that support parameters.
I put the libs on my WEB-INF/lib but it seems that somewhat the tomcat libs are still being used cause i got this error: SEVERE: Exception sending context initialized event to listener instance of class org.jboss.weld.environment.servlet.Listener java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.addELResolver(Ljavax/el/ELResolver;)V" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, org/jboss/weld/environment/servlet/Listener, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ELResolver used in the signature at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:160) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972) Messy error, but to me it shows that the application is somewhat trying to use at the same time diferent implementations of the EL. Basically i was trying to use the Cay Horstmann tutorial at: http://weblogs.java.net/blog/cayhorstmann/archive/2009/12/29/jsf-20-and-tomcat Did anyone try that? I heard something about changing the libs of tomcat-home/lib, but that's not a good thing to do on production time if other applications do use the older lib. -- Is tomcat 6 going to support the new EL? What should be the write way to override it on my app? Thanks in advance, Israel