1 Reply Latest reply on Feb 3, 2006 5:50 AM by jaikiran pai

    Problem ClassCastException

    Blaise Gosselin Newbie

      Hello,

      I have a webapp communicating with an EJB.
      In my webapp, I have the following configuration in my jboss-web.xml:

      <jboss-web>
       <context-root>/context-root</context-root>
       <class-loading java2ClassLoadingCompliance="false">
       <loader-repository>
       dot.com:loader=uniqueId
       <looader-repository-config>
       java2ParentDelegation=false
       </looader-repository-config>
       </loader-repository>
       </class-loading>
      </jboss-web>
      

      When I try to call a method of the EJB by passing an object contained in a common package, I have a ClassCastException due to the ClassLoader.

      Could someone help me please ?

      Thanks in advance.
      ___________________ _ _ _
      bgOnline