2 Replies Latest reply on Jun 2, 2009 10:14 AM by kmalinow

    Migration problem from Win to Unix again...

    kmalinow

      I simplified my previous example, described a few day before.

      Once again, I used both the same environment: JDK 1.6 and JBoss 4.2.3 on WinXP and on Sun Solaris

      The same piece of code on Windows works correct, means I can gain response from webservice. But on Unix I get exceptions stack as a response, like below:

      INFO: The cipher suites have been set to SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, TLS_KRB5_WITH_RC4_128_SHA, TLS_KRB5_WITH_RC4_128_MD5, TLS_KRB5_WITH_3DES_EDE_CBC_SHA, TLS_KRB5_WITH_3DES_EDE_CBC_MD5, TLS_KRB5_WITH_DES_CBC_SHA, TLS_KRB5_WITH_DES_CBC_MD5, TLS_KRB5_EXPORT_WITH_RC4_40_SHA, TLS_KRB5_EXPORT_WITH_RC4_40_MD5, TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA, TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5.

      2009-06-02 12:56:57,056 ERROR [STDERR] 2009-06-02 12:56:57 org.apache.cxf.phase.PhaseInterceptorChain doIntercept

      INFO: Interceptor has thrown exception, unwinding now

      java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage

      at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)

      at org.jboss.ws.core.soap.SOAPMessageImpl.(SOAPMessageImpl.java:67)

      at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)

      at org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor.handleMessage(SAAJOutInterceptor.java:84)

      at org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor.handleMessage(WSS4JOutInterceptor.java:94)

      at org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor.handleMessage(WSS4JOutInterceptor.java:47)

      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)

      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:466)

        • 1. Re: Migration problem from Win to Unix again...
          asoldano

          You have some problems with the installation, as jbossws-native classes are being used (org.jboss.ws.core.soap.SOAPMessageImpl).
          If you want to use jbossws-cxf, please get rid of jbossws native libraries in your classpath. For instance, check you don't have jbossws-*.jar libs in the endorsed dir of your application server.

          • 2. Re: Migration problem from Win to Unix again...
            kmalinow

            Let me be more clear of that.

            During migration I simply copied entry of lib folder fro source, windows host to the target unix jboss seerver to the similar lib folder. Actually, both the lib folder of used instance and general lib folder used by all instances.

            It doesn't enough to set up working correct aset in new unix environment?