0 Replies Latest reply on Jul 12, 2011 9:09 AM by buzzdoet

    JBoss 6.0 - Running Jasper Reports in isolation

    buzzdoet

      Hi,

       

      My application has several web services. One of them generates a report using Jasper Reports 4.0.1.

       

      When I run my application a ClassCastException is thrown, probabebly due to a class loading conflict.

      To fix this problem I try to run my web service in isolation by using the following jboss-web.xml:

       

      <jboss-web xmlns="http://www.jboss.com/xml/ns/javaee"

                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                 xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_6_0.xsd"

                 version="6.0">

              <class-loading>

                    <loader-repository>

                          nl.rvr.wsnp:loader=generatiedocumenten-ws

                    </loader-repository>

              </class-loading>

      </jboss-web>

       

      When I start JBoss I receive the following error:

            Failed to resolve Java binding for /D:/........ /WEB-INF/jboss-web.xml (check the SchemaBinding resolver configuration)

       

      Who knows whats wrong?