Just in case others are having the same issue, turns out that I needed to get to version 2.0.3 for this example to work properly.
-----Original Message----- From: Blitzer, Brian L Sent: Thursday, December 29, 2005 11:39 AM To: [email protected] Subject: RE: [servicemix-user] Http-Binding Example I added some debugging in the HelloWorldComponent.java file in the servicemix-web war. I am running tomcat-5.5.12 and have tried java 1.5.4 and 1.5.6. The results of the http get do not change still <hello>null</hello>. NormalizedMessage Content:StringSource[<payload/>] NormalizedMessage Property Names:[] NormalizedMessage Attachment Names:[] MessageExchange EndPointName:echo MessageExchange PropertyNames:[connection, host, javax.jbi.messaging.sendSync, user-agent, referer, accept-language, cookie, accept] MessageExchange Status:Active this.description:POJO Component this.endpoint:echo this.CurrentState:Running Any ideas? -Brian Blitzer -----Original Message----- From: Blitzer, Brian L Sent: Tuesday, December 27, 2005 4:47 PM To: [email protected] Subject: RE: [servicemix-user] Http-Binding Example Thanks Guillaume worked like a charm. I have a few questions to the group on the tomcat integration portion of servicemix. I downloaded tomcat version 5.5.12 built and deployed the servicemix-web war and I can see the following: The JMX view where I can see the JMXServlet, Bindings, etc. I get to the http://localhost:8080/servicemix-web/examples/ page and I can see the form with the text input field and the submit button. When I hit submit the response is <hello>null</hello>. My other question is really when servicemix is run in a large (critical/clustered) environment, is it embedded in a web server/container like tomcat or is it run as a stand-alone? Thanks Brian -----Original Message----- From: Guillaume Nodet [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 27, 2005 3:37 PM To: [email protected] Subject: Re: [servicemix-user] Http-Binding Example 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(HttpURLConne >c >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. > > > > > ------------------------------------------------------------------------ ------ ---- 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. ------------------------------------------------------------------------ ------ 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. ------------------------------------------------------------------------ ------ ---- 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. ------------------------------------------------------------------------ ------ ---- 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. ------------------------------------------------------------------------------ ---- 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.
