<!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/726527#726527">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>Thanks for the quick response.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Yes you are rite this is having jar mess up from application lib with ${JBOSS_HOME}/lib/endrosed/ and jboss-service.xml.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am not using any Apache CXF, specification, I am sticking to the jaxws 2.1 metro specifications.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>PFB, for the steps I undergone, for consuming as a client.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Step1: Genrate the clint from the wsdl, using wsimport</p><p>Step2: bunndelled with jar and put inside my application lib directory, I tried to test the service working by intastining the proxy service like :</p><p>new <span style="color: #413af6; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; background-color: #eef4f9;">UserRegisterControllerImplService</span>();</p><p>and got the port and able to use, When I am trying to inject in a spring way by&#160; <span style="color: #413af6; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; background-color: #eef4f9;">JaxWsPortProxyFactoryBean, Its end up with this kind of exception</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #413af6; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; background-color: #eef4f9;">Please Note: I didn't modify any jboss directory and jboss-service.xml intially and got that above posted error.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #413af6; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; background-color: #eef4f9;">For a work arround i tried with mutiple way like:</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #413af6; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; background-color: #eef4f9;">Way 1: removed all jars from the endrosed floder and put </span></p><p><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">bossws-native-jaxrpc.jar</span></p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">&#160; jbossws-native-jaxws.jar</span></p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">&#160; jbossws-native-jaxws-ext.jar</span></p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">&#160; jbossws-native-saaj.jar</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">as a jboss 5.0 way, its not giving any exception, where as its not able to intatiate also, i mean getting time out issue incresing the server time out to 800 also, I think Its getting locked.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">Way 2: I tried to keep all the jars default provided by jboss in endroseed and put jaxwsimpl, jaxb then it gave me the exception for the ploicy jar of jaxws.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">Then I tried with putting the policy jar provided by sun.java.net, end up with the same senario of thread lock.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">Way 3: Tried to put all spring and jaxws releated jars to lib directory, by that I am able to remove that beanexception class not found but end up with no matching bean, Which means its not all able to detect <span style="color: #413af6; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; background-color: #eef4f9;">JaxWsPortProxyFactoryBean</span> .</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">As you mentioned, I even Tried with jboss 6.1 Final, Jboss 7.0 but stuck in same situation.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">Could you please guide me what exactly need to changed in jboss-service.xml for JAXWS SOAP to consume, So that will give a try hoping for best lock.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">Also, i will be grate full to you if you will provide me any way to see the class loader sequence of Jboss, i mean somthing how enable debug of jboss to see internal class loader and where its getting stucked , i am unware as I always tried to application debug but never tried with class loader deug of server.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">Some where from this forum I noticed about the cxf jars issue, i removed all them and it has no impact of solution.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">So I think, Jboss6 or heighr is not able to get the spring remoting functionality properly , As I tried with jboss5.0, all are working well with endrossed mechansim.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">Please let me know for any other clarifications.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">Thanks for to be with me to find a work arround for this.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">Thanks,</span></p><p><span style="font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #fafafa;">Jayaram.<br/></span></p><p><span style="color: #413af6; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; background-color: #eef4f9;"><br/></span></p><p><span style="color: #413af6; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 12px; background-color: #eef4f9;"><br/></span></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/726527#726527">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>