Hi All,

I found the correct problem.

It wasn't related to DOCTYPE at all.. Wayne was correct.

I have to apply this tag in MAVEN EAR plugin, The exception was coming when
i try to look for WSDL for the webservice. It was throwing exception
because classloader was unable to find the webservice class from the EAR.



<jboss>
             <version>5</version>

 <loader-repository>com.test:archive=com.test.services.ejb</loader-repository>
<loader-repository-config>java2ParentDelegation=true</loader-repository-config>
           </jboss>


Do we have any guideline or any link from where i can read which all Jboss
TAG supported by MAVE EAR plugin ?

Thanks.





On Thu, Feb 2, 2012 at 10:31 PM, Stephen Coy <[email protected]> wrote:

>
> On 03/02/2012, at 4:42 AM, Daivish Shah wrote:
>
> > Hi Wayne,
> >
> > org.springframework.beans.factory.BeanCreationException: Error
> > creating bean with name 'TestEjbHandlerImpl': Invocation of init
> > method failed; nested exception is java.lang.LinkageError: loader
> > constraint violation: loader (instance of
> > org/jboss/web/tomcat/service/WebCtxLoader$ENCLoader) previously
> > initiated loading for a different type with name
> > "javax/xml/namespace/QName"
> >
> >
>
> The whole JBoss 5 deployment descriptor is almost a red herring. In fact
> it exposes a clue as to what the real problem is.
>
> The problem you have here is that your application has included at least
> one of the (many) XML utilities out there that contains it's own version of
> javax.xml.namespace.QName. The reason for this is largely historical as
> it's generally a result of forward migration of code from Java 1.3/1.4
> environments.
>
> Early xmlbeans is one such example. Old releases of Apache Axis is another
> source of these kinds of problems.
>
> Cheers,
>
> Steve C
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to