The java.util.Collections.emptyList is JDK 5 specific.
Could you provide the whole stack trace, so that we can locate this
error more precisely ?

For a workaround, you may want to use JDK 5.

Cheers,
Guillaume Nodet

Blitzer, Brian L wrote:

Hello all, I am having trouble executing the http-binding example and I
do not think I should. I start the example following the README and the
servicemix site. The server seems to startup properly (I am using the
SNAPSHOT 2.1) When I call the HttpClient the server throws this exception:
DEBUG - AbstractFlow.send(117) | Called Flow send
DEBUG - AbstractFlow.doRouting(175) | Called Flow doRouting
WARN - ServletHandler.handle(618) | Error for /
java.lang.NoSuchMethodError:
java.util.Collections.emptyList()Ljava/util/List; at
com.sun.xml.messaging.saaj.soap.MessageImpl.<clinit>(MessageImpl.java
:736)

The error I get when running the HttpClient through ant is :
    [java] java.io.IOException: Server returned HTTP response code: 500
for URL: http://localhost:8912
    [java]     at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
tion.java:791)
    [java]     at HttpClient.main(Unknown Source)

When I start servicemix and then look at http://localhost:8912 I get
this error:
HTTP ERROR: 500
java.util.Collections.emptyList()Ljava/util/List;
RequestURI=/
I am new to servicemix so I thought that I must be missing something
really simple. I appreciate any help.


Brian L Blitzer


------------------------------------------------------------------------------
----
This message is intended only for the personal and confidential use of the 
designated recipient(s) named. If you are not the intended recipient of this 
message, you are hereby notified that any review, dissemination, distribution 
or copying of this message is strictly prohibited. This communication is for 
information purposes only and should not be regarded as an offer to sell or as 
a solicitation of an offer to buy any financial product, an official 
confirmation of any transaction, or as an official statement of Aurora Loan 
Services. Email transmission cannot be guaranteed to be secure or error-free. 
Therefore, we do not represent that this information is complete or accurate 
and it should not be relied upon as such. All information is subject to change 
without notice.




Reply via email to