I am attempting to move a number of war applications to an ear file that can be deployed on any standard J2EE server. I am having difficulty however dealing with tag libraries on JBoss. In order to start the conversion I have placed one of our war files into an ear file and have moved all of the common libraries (those shared by multiple wars) into the ear file. I have modified the /META-INF/MANIFEST.MF files within the war file to contain the classpath entry that includes the required shared jar files. Also, the application.xml contains a web module that points to the included war.
It appears that the war is loaded and the external libraries are being loaded, but when a JSP includes the JSTL taglib the server throws an error that ?The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application.?
I have the ear file organized as follows:
MYAPP.EAR | |-- META-INF/ | |-- application.xml | `-- MANIFEST.MF | |-- schoolDays.war | |-- META-INF/ | | `-- MANIFEST.MF | `-- WEB-INF | `-- web.xml | |-- spring.jar |-- jstl.jar `-- standard.jar