I added the jboss-app.xml file to the meta-inf and now when I enter the URL for my jsp page I get a :
22:35:21,468 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for ser
vlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
.java:478)
....
java.lang.ClassCastException
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at org.apache.taglibs.standard.tlv.JstlBaseTLV.validate(JstlBaseTLV.java
:177)
at org.apache.taglibs.standard.tlv.JstlCoreTLV.validate(JstlCoreTLV.java
:137)
I looked at a the DTD for the xml file and a couple web sites and it looks like my syntax is right. See below:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE jboss-app PUBLIC '-//JBoss//DTD J2EE Application 1.3V2//EN' 'http://www.jboss.org/j2ee/dtd/jboss-app_3_2.dtd'>
<jboss-app>
<loader-repository>www.somecompany.com:loader=LicenseGenerator.ear</loader-repository>
</jboss-app>
I tried to take out the loader-repository element and I do not get the error anymore so it is likely something to do with it. Anybody have any ideas?
Thanks,
Eric
Still happening even when I try to remove all my jars out of my web-inf/lib in my war file.
Saw on forums my loader config names shouldnt even matter if I put
x.y:loader=z
-Eric