Re: [Bug 56301] Websockets not working after 8.0.0-RC10
On 22/03/2014 19:15, Cyril Auburtin wrote: Hi, thanks for your reply please see https://issues.apache.org/bugzilla/attachment.cgi?id=31426 with the tomcat 8.0.1 (http://search.maven.org/#browse%7C-317025378) and https://issues.apache.org/bugzilla/attachment.cgi?id=31427 with tomcat 8.0.0-RC10 There's clearly a reply in the latter case. the version is the only thing changed between the 2 screenshots, I carefully did mvn clean too the code is here https://github.com/n11/mongo-cli-java it runs very simply with tomcat embedded that you may know well Given that you are comparing an RC with an early beta release it isn't surprising that things might have changed. What have you done to investigate why the behaviour is different? Or are you expecting someone in this list to clone your app from GitHub and debug it for you? Have you compared your code with the various examples in Tomcat's unit tests to see if there are any obvious differences in how things are configured? How much have you researched how WebSocket Endpoints are deployed in Tomcat so you have a better idea of where to start looking from problems? Mark 2014-03-22 19:20 GMT+01:00 Mark Thomas ma...@apache.org: On 22/03/2014 16:17, Cyril Auburtin wrote: Hi, this issue concerns the tomcat-embed server, (likely also the normal tomcat server) after version 8.0.1, websockets can't be estblished like before. I tried from a simple websocket example (standard java websocket implemented in tomcat8 http://www.oracle.com/technetwork/articles/java/jsr356-1937161.html) and noticed it from my project https://github.com/n11/mongo-cli-java, working untill apache version 8.0.0-RC10 (see pom.xml) It seems there's a breaking change between 8.0.0-RC10 and 8.0.1 screenshot: https://issues.apache.org/bugzilla/attachment.cgi?id=31423 Which indicates your WebSocket request received a 404 response so this isn't a WebSocket problem at all. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: [Bug 56301] Websockets not working after 8.0.0-RC10
Thanks Mark for your useful reply, I thought the 8.0.1 version was supposed to be more stable than RCs? I'm still not sure about what you said about it I would first want to have an easy and stable servlet embedded server, it could be tomcat, glassfish or any other. Once I have this, I would be glad to take part in development Tomcat 8.0.0-RC10 is the stable version or is it 8.0.3? Thanks 2014-03-24 13:41 GMT+01:00 Mark Thomas ma...@apache.org: On 22/03/2014 19:15, Cyril Auburtin wrote: Hi, thanks for your reply please see https://issues.apache.org/bugzilla/attachment.cgi?id=31426with the tomcat 8.0.1 (http://search.maven.org/#browse%7C-317025378) and https://issues.apache.org/bugzilla/attachment.cgi?id=31427 with tomcat 8.0.0-RC10 There's clearly a reply in the latter case. the version is the only thing changed between the 2 screenshots, I carefully did mvn clean too the code is here https://github.com/n11/mongo-cli-java it runs very simply with tomcat embedded that you may know well Given that you are comparing an RC with an early beta release it isn't surprising that things might have changed. What have you done to investigate why the behaviour is different? Or are you expecting someone in this list to clone your app from GitHub and debug it for you? Have you compared your code with the various examples in Tomcat's unit tests to see if there are any obvious differences in how things are configured? How much have you researched how WebSocket Endpoints are deployed in Tomcat so you have a better idea of where to start looking from problems? Mark 2014-03-22 19:20 GMT+01:00 Mark Thomas ma...@apache.org: On 22/03/2014 16:17, Cyril Auburtin wrote: Hi, this issue concerns the tomcat-embed server, (likely also the normal tomcat server) after version 8.0.1, websockets can't be estblished like before. I tried from a simple websocket example (standard java websocket implemented in tomcat8 http://www.oracle.com/technetwork/articles/java/jsr356-1937161.html) and noticed it from my project https://github.com/n11/mongo-cli-java, working untill apache version 8.0.0-RC10 (see pom.xml) It seems there's a breaking change between 8.0.0-RC10 and 8.0.1 screenshot: https://issues.apache.org/bugzilla/attachment.cgi?id=31423 Which indicates your WebSocket request received a 404 response so this isn't a WebSocket problem at all. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: [Bug 56301] Websockets not working after 8.0.0-RC10
From: Cyril Auburtin [mailto:cyril.aubur...@gmail.com] Subject: Re: [Bug 56301] Websockets not working after 8.0.0-RC10 Tomcat 8.0.0-RC10 is the stable version or is it 8.0.3? No version of Tomcat 8 has been released as stable. Look here: http://tomcat.apache.org/whichversion.html for the definitions of alpha, beta, and stable releases. Note that release candidates are not releases, but just an early look at a forthcoming release (hence the use of the term candidate). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: [Bug 56301] Websockets not working after 8.0.0-RC10
Thanks man you bombed my thread, from which I was already not expecting a lot of answers, but well anyway.. 2014-03-23 3:31 GMT+01:00 Hardik Vaishnav hardikvaish...@gmail.com: Here is the example of what I am trying to do. JBoss Webserver Private IP : 192.168.10.100 JBoss Webserver Public IP 172.x.x.x Server connected to Jboss: 192.168.10.101 192.168.10.102 If I am on the Jboss machine I can access 192.168.10.101\abc\test.html If I am outside the network its not possible to access URL 192.168.10.101\abc\test.html To solve the problem I have PAC file as a proxy for my browser which redirect all request for 192.168.10.101 address to apache httpd proxy server which sits inside the (192.168.x.x) network. Upto this point everything works OK. Request comes to Apache httpd server but it is not able to pass the url as is to 192.168.10.101\abc\test.html and return the response back to the client. thanks, -Hardik On Sat, Mar 22, 2014 at 3:15 PM, Cyril Auburtin cyril.aubur...@gmail.com wrote: Hi, thanks for your reply please see https://issues.apache.org/bugzilla/attachment.cgi?id=31426with the tomcat 8.0.1 (http://search.maven.org/#browse%7C-317025378) and https://issues.apache.org/bugzilla/attachment.cgi?id=31427 with tomcat 8.0.0-RC10 There's clearly a reply in the latter case. the version is the only thing changed between the 2 screenshots, I carefully did mvn clean too the code is here https://github.com/n11/mongo-cli-java it runs very simply with tomcat embedded that you may know well 2014-03-22 19:20 GMT+01:00 Mark Thomas ma...@apache.org: On 22/03/2014 16:17, Cyril Auburtin wrote: Hi, this issue concerns the tomcat-embed server, (likely also the normal tomcat server) after version 8.0.1, websockets can't be estblished like before. I tried from a simple websocket example (standard java websocket implemented in tomcat8 http://www.oracle.com/technetwork/articles/java/jsr356-1937161.html) and noticed it from my project https://github.com/n11/mongo-cli-java , working untill apache version 8.0.0-RC10 (see pom.xml) It seems there's a breaking change between 8.0.0-RC10 and 8.0.1 screenshot: https://issues.apache.org/bugzilla/attachment.cgi?id=31423 Which indicates your WebSocket request received a 404 response so this isn't a WebSocket problem at all. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: [Bug 56301] Websockets not working after 8.0.0-RC10
Hi, this issue concerns the tomcat-embed server, (likely also the normal tomcat server) after version 8.0.1, websockets can't be estblished like before. I tried from a simple websocket example (standard java websocket implemented in tomcat8 http://www.oracle.com/technetwork/articles/java/jsr356-1937161.html) and noticed it from my project https://github.com/n11/mongo-cli-java, working untill apache version 8.0.0-RC10 (see pom.xml) It seems there's a breaking change between 8.0.0-RC10 and 8.0.1 screenshot: https://issues.apache.org/bugzilla/attachment.cgi?id=31423 2014-03-22 13:15 GMT+01:00 bugzi...@apache.org: https://issues.apache.org/bugzilla/show_bug.cgi?id=56301 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Mark Thomas ma...@apache.org --- This looks like a configuration problem. Bugzilla is not a support forum. Please use the Tomcat Users mailing list. -- You are receiving this mail because: You reported the bug.
Re: [Bug 56301] Websockets not working after 8.0.0-RC10
On 22/03/2014 16:17, Cyril Auburtin wrote: Hi, this issue concerns the tomcat-embed server, (likely also the normal tomcat server) after version 8.0.1, websockets can't be estblished like before. I tried from a simple websocket example (standard java websocket implemented in tomcat8 http://www.oracle.com/technetwork/articles/java/jsr356-1937161.html) and noticed it from my project https://github.com/n11/mongo-cli-java, working untill apache version 8.0.0-RC10 (see pom.xml) It seems there's a breaking change between 8.0.0-RC10 and 8.0.1 screenshot: https://issues.apache.org/bugzilla/attachment.cgi?id=31423 Which indicates your WebSocket request received a 404 response so this isn't a WebSocket problem at all. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: [Bug 56301] Websockets not working after 8.0.0-RC10
Hi, thanks for your reply please see https://issues.apache.org/bugzilla/attachment.cgi?id=31426 with the tomcat 8.0.1 (http://search.maven.org/#browse%7C-317025378) and https://issues.apache.org/bugzilla/attachment.cgi?id=31427 with tomcat 8.0.0-RC10 There's clearly a reply in the latter case. the version is the only thing changed between the 2 screenshots, I carefully did mvn clean too the code is here https://github.com/n11/mongo-cli-java it runs very simply with tomcat embedded that you may know well 2014-03-22 19:20 GMT+01:00 Mark Thomas ma...@apache.org: On 22/03/2014 16:17, Cyril Auburtin wrote: Hi, this issue concerns the tomcat-embed server, (likely also the normal tomcat server) after version 8.0.1, websockets can't be estblished like before. I tried from a simple websocket example (standard java websocket implemented in tomcat8 http://www.oracle.com/technetwork/articles/java/jsr356-1937161.html) and noticed it from my project https://github.com/n11/mongo-cli-java, working untill apache version 8.0.0-RC10 (see pom.xml) It seems there's a breaking change between 8.0.0-RC10 and 8.0.1 screenshot: https://issues.apache.org/bugzilla/attachment.cgi?id=31423 Which indicates your WebSocket request received a 404 response so this isn't a WebSocket problem at all. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: [Bug 56301] Websockets not working after 8.0.0-RC10
Here is the example of what I am trying to do. JBoss Webserver Private IP : 192.168.10.100 JBoss Webserver Public IP 172.x.x.x Server connected to Jboss: 192.168.10.101 192.168.10.102 If I am on the Jboss machine I can access 192.168.10.101\abc\test.html If I am outside the network its not possible to access URL 192.168.10.101\abc\test.html To solve the problem I have PAC file as a proxy for my browser which redirect all request for 192.168.10.101 address to apache httpd proxy server which sits inside the (192.168.x.x) network. Upto this point everything works OK. Request comes to Apache httpd server but it is not able to pass the url as is to 192.168.10.101\abc\test.html and return the response back to the client. thanks, -Hardik On Sat, Mar 22, 2014 at 3:15 PM, Cyril Auburtin cyril.aubur...@gmail.comwrote: Hi, thanks for your reply please see https://issues.apache.org/bugzilla/attachment.cgi?id=31426 with the tomcat 8.0.1 (http://search.maven.org/#browse%7C-317025378) and https://issues.apache.org/bugzilla/attachment.cgi?id=31427 with tomcat 8.0.0-RC10 There's clearly a reply in the latter case. the version is the only thing changed between the 2 screenshots, I carefully did mvn clean too the code is here https://github.com/n11/mongo-cli-java it runs very simply with tomcat embedded that you may know well 2014-03-22 19:20 GMT+01:00 Mark Thomas ma...@apache.org: On 22/03/2014 16:17, Cyril Auburtin wrote: Hi, this issue concerns the tomcat-embed server, (likely also the normal tomcat server) after version 8.0.1, websockets can't be estblished like before. I tried from a simple websocket example (standard java websocket implemented in tomcat8 http://www.oracle.com/technetwork/articles/java/jsr356-1937161.html) and noticed it from my project https://github.com/n11/mongo-cli-java, working untill apache version 8.0.0-RC10 (see pom.xml) It seems there's a breaking change between 8.0.0-RC10 and 8.0.1 screenshot: https://issues.apache.org/bugzilla/attachment.cgi?id=31423 Which indicates your WebSocket request received a 404 response so this isn't a WebSocket problem at all. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org