<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: JAXWS error on jboss 6.0
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/jayaramimca">Jayaram Pradhan</a> in <i>JBoss Web Services</i> - <a href="https://community.jboss.org/message/727609#727609">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi Alessio,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I tried with jaxws stack as well with jbossws-metro stack, where as I am finding the below exception for both the cases:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,756 INFO&#160; [STDOUT] Caused by: 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/soap/AttachmentPart"</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,756 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.Class.forName0(<span style="text-decoration: underline; color: #0b1d8d;">Native Method</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,756 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.Class.forName(<span style="text-decoration: underline; color: #0b1d8d;">Class.java:169</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,756 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at $Proxy296.&lt;clinit&gt;(Unknown Source)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,756 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(<span style="text-decoration: underline; color: #0b1d8d;">Native Method</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,757 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at sun.reflect.NativeConstructorAccessorImpl.newInstance(<span style="text-decoration: underline; color: #0b1d8d;">NativeConstructorAccessorImpl.java:39</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,757 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(<span style="text-decoration: underline; color: #0b1d8d;">DelegatingConstructorAccessorImpl.java:27</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,757 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.reflect.Constructor.newInstance(<span style="text-decoration: underline; color: #0b1d8d;">Constructor.java:513</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,757 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.reflect.Proxy.newProxyInstance(<span style="text-decoration: underline; color: #0b1d8d;">Proxy.java:588</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,757 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.createProxy(<span style="text-decoration: underline; color: #0b1d8d;">ServiceDelegateImpl.java:406</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,757 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(<span style="text-decoration: underline; color: #0b1d8d;">ServiceDelegateImpl.java:243</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,757 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(<span style="text-decoration: underline; color: #0b1d8d;">ServiceDelegateImpl.java:570</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,757 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at javax.xml.ws.Service.getPort(<span style="text-decoration: underline; color: #0b1d8d;">Service.java:99</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,758 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.getPortStub(<span style="text-decoration: underline; color: #0b1d8d;">JaxWsPortClientInterceptor.java:413</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,758 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.prepare(<span style="text-decoration: underline; color: #0b1d8d;">JaxWsPortClientInterceptor.java:337</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,758 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.afterPropertiesSet(<span style="text-decoration: underline; color: #0b1d8d;">JaxWsPortClientInterceptor.java:316</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,758 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean.afterPropertiesSet(<span style="text-decoration: underline; color: #0b1d8d;">JaxWsPortProxyFactoryBean.java:42</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,758 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(<span style="text-decoration: underline; color: #0b1d8d;">AbstractAutowireCapableBeanFactory.java:1503</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,758 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(<span style="text-decoration: underline; color: #0b1d8d;">AbstractAutowireCapableBeanFactory.java:1441</span>)</p><p style="margin: 0.0px 0.0px 0.0px 0.0px;">05:46:00,758 INFO&#160; [STDOUT]&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 104 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>By looking at the stack trace can tell that its entering to jaxwsportproxy of spring to instansiate the bean.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>and the issue of linkage error, I thought May be jar miss match from my src jar and webinf/lib directory of saj-api and saj-impl, I updated both with same version as well added javaxactivation.jar to the web-inf/lib still stuck on the same issue of linkage error.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am sure I m getting close for this. Could you please let me suggest any option to overide the linkage issue ?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks,</p><p>Jayaram.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/727609#727609">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Services at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>