You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@activemq.org> on 2006/02/24 20:40:48 UTC

[jira] Created: (SM-332) Http binding sample fails with JDK 1.4

Http binding sample fails with JDK 1.4
--------------------------------------

         Key: SM-332
         URL: http://jira.activemq.org/jira//browse/SM-332
     Project: ServiceMix
        Type: Bug

  Components: servicemix-assembly  
 Environment: JDK 1.4
    Reporter: Guillaume Nodet




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.activemq.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (SM-332) Http binding sample fails with JDK 1.4

Posted by "Thomas Auzinger (JIRA)" <ji...@activemq.org>.
    [ http://jira.activemq.org/jira//browse/SM-332?page=comments#action_35634 ] 

Thomas Auzinger commented on SM-332:
------------------------------------

It looks like saaj is using a Java5.0 method, Collections.emptyList().  The issue exists also in the latest release of WSDP.
Possible solutions:
- roll back to an earlier version of SAAJ/WSDP (1.6 has been tested with jdk1.4.2)
- try to get the source code from Sun
- file a bug report with Sun
- drop servicemix' runtime compatibility with 1.4.2
Note that in the release notes for WSDP 2.0 there is no more claim of being compatible with 1.4.2

Thanks,

Thomas
--------------------------------------------------------------------------
Servicemix console output:
10:41:58.445 EVENT  Starting Jetty/4.2.20RC0
10:41:58.491 EVENT  Started ServletHttpContext[/]
10:41:58.507 EVENT  Started SocketListener on 127.0.0.1:8912
10:41:58.507 EVENT  Started org.mortbay.jetty.Server@112e7f7
10:49:54.388 WARN!! Error for /
java.lang.NoSuchMethodError: java.util.Collections.emptyList()Ljava/util/List;
        at com.sun.xml.messaging.saaj.soap.MessageImpl.<clinit>(MessageImpl.java:736)
        at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:28)
        at org.servicemix.components.saaj.SaajMarshaler.createSOAPMessage(SaajMarshaler.java:62)
        at org.servicemix.components.saaj.SaajBinding.onMessageExchange(SaajBinding.java:91)

>From the JDK5.0 API doc:
Collections:
emptyList
<snip>
Since: 
1.5 

>From the WSDP 2.0 release notes:
Supported Platforms
This release of the Java WSDP has been tested in various configurations with J2SE 5.0 on the following platforms with the containers Sun Java System Application Server Platform Edition 8.1 Update 2, and Glassfish (Application Server Platform Edition 9.0 Beta (JAX-WSA only), and Tomcat 5.0 for JWSDP: 



> Http binding sample fails with JDK 1.4
> --------------------------------------
>
>          Key: SM-332
>          URL: http://jira.activemq.org/jira//browse/SM-332
>      Project: ServiceMix
>         Type: Bug

>   Components: servicemix-assembly
>  Environment: JDK 1.4
>     Reporter: Guillaume Nodet

>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.activemq.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira