0 Replies Latest reply on Mar 4, 2005 10:32 PM by Don Hill

    ClasscastException on JSP compile

    Don Hill Newbie

      Hi,

      I have a ear configured with
      <jboss-app>
      <loader-repository>com.dit.com:loader=b.ear
      <loader-repository-config>java2ParentDelegation=false</loader-repository-config></loader-repository>
      </jboss-app>

      and when I try and run the warf thats in the ear I get a the following exception, is there something I am missing , I have debugged and it seems that the DocumentBuilder is null or not using jaxp, I can run these ear in a sindle mode but this causes issues in the bootstrap servlets.


      va.lang.ClassCastException
      at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
      at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:91)
      at org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:70)
      at org.apache.jasper.compiler.JspConfig.init(JspConfig.java:188)
      at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:240)
      at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:160)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)