Closed arinban closed 14 years ago
@glassfishrobot Commented Reported by amplus@java.net
@glassfishrobot Commented jfarcand@java.net said: Change target
@glassfishrobot Commented amplus@java.net said: I ran into a problem which I could not solve. I submitted a bug report which I think hasn't been resolved. I attached issue 217 as a dependecy.
@glassfishrobot Commented amplus@java.net said: The problem stated before is now resolved (for details see 217). The Jetty client can be run successfully against Grizzly with the modifications mentioned in 217.
@glassfishrobot Commented amplus@java.net said: Created an attachment (id=17) Contains the modified Jetty BayeuxClient along with the Jetty LoadGenerotor
@glassfishrobot Commented amplus@java.net said: Created an attachment (id=18) A description of what was done to port Jetty client to work with Grizzly
@glassfishrobot Commented amplus@java.net said: The Jetty BayeuxClient has been successfully ported to work with Grizzly. The modified code is included in the .jar file. It is based on Jetty 6.1.11. One class was modified in the Jetty framework, the source for it is included in org.mortbay.cometd package (the file is MessagePool.java)inside the cometd-bayeux-6.1-SNAPSHOT.jar.
There are only two files changed, they are BayeuxClient.java and the aformentioned MessagePool file. The load generator has not been modified.
A description of what needed to be done to port the client is attached as an .rtf file. The same benchmarking test can now be run on Grizzly that was run on Jetty.
@glassfishrobot Commented jfarcand@java.net said: Re-open the issue as we need to add the code inside our workspace.
@glassfishrobot Commented jfarcand@java.net said: Fix target.
@glassfishrobot Commented jfarcand@java.net said: Re-assign
@glassfishrobot Commented swchan2@java.net said: svn commit Adding extras/cometd-client Adding extras/cometd-client/LICENCES Adding extras/cometd-client/LICENCES/LICENSE.txt Adding extras/cometd-client/pom.xml Adding extras/cometd-client/src Adding extras/cometd-client/src/main Adding extras/cometd-client/src/main/java Adding extras/cometd-client/src/main/java/dojox Adding extras/cometd-client/src/main/java/dojox/cometd Adding extras/cometd-client/src/main/java/dojox/cometd/Bayeux.java Adding extras/cometd-client/src/main/java/dojox/cometd/Channel.java Adding extras/cometd-client/src/main/java/dojox/cometd/Client.java Adding extras/cometd-client/src/main/java/dojox/cometd/DataFilter.java Adding extras/cometd-client/src/main/java/dojox/cometd/Extension.java Adding extras/cometd-client/src/main/java/dojox/cometd/Listener.java Adding extras/cometd-client/src/main/java/dojox/cometd/Message.java Adding extras/cometd-client/src/main/java/dojox/cometd/MessageListener.java Adding extras/cometd-client/src/main/java/dojox/cometd/RemoveListener.java Adding extras/cometd-client/src/main/java/dojox/cometd/SecurityPolicy.java Adding extras/cometd-client/src/main/java/org Adding extras/cometd-client/src/main/java/org/mortbay Adding extras/cometd-client/src/main/java/org/mortbay/cometd Adding extras/cometd-client/src/main/java/org/mortbay/cometd/MessagePool.java Adding extras/cometd-client/src/main/java/org/mortbay/cometd/client Adding extras/cometd-client/src/main/java/org/mortbay/cometd/client/BayeuxClient.java Adding extras/cometd-client/src/main/java/org/mortbay/cometd/client/BayeuxLoadGenerator.java Sending extras/pom.xml Transmitting file data ................ Committed revision 1889.
@glassfishrobot Commented swchan2@java.net said: svn commit Sending cometd-client/pom.xml Deleting cometd-client/src/main/java/org/mortbay/cometd/MessagePool.java Sending cometd-client/src/main/java/org/mortbay/cometd/client/BayeuxClient.java Transmitting file data .. Committed revision 1904.
@glassfishrobot Commented swchan2@java.net said: svn commit Sending cometd-client/pom.xml Sending cometd-client/src/main/java/org/mortbay/cometd/client/BayeuxClient.java Adding cometd-client/src/test Adding cometd-client/src/test/java Adding cometd-client/src/test/java/com Adding cometd-client/src/test/java/com/sun Adding cometd-client/src/test/java/com/sun/grizzly Adding cometd-client/src/test/java/com/sun/grizzly/cometd Adding cometd-client/src/test/java/com/sun/grizzly/cometd/client Adding cometd-client/src/test/java/com/sun/grizzly/cometd/client/BayeuxClientLoadTest.java Transmitting file data ... Committed revision 1909.
@glassfishrobot Commented File: GrizzlyJettyLoadGenerator.zip Attached By: amplus@java.net
@glassfishrobot Commented File: PortingJettyClientToGrizzly.rtf Attached By: amplus@java.net
@glassfishrobot Commented Issue-Links: depends on GRIZZLY-217
@glassfishrobot Commented Was assigned to swchan2@java.net
@glassfishrobot Commented This issue was imported from java.net JIRA GRIZZLY-174
@glassfishrobot Commented Marked as fixed on Wednesday, December 16th 2009, 6:13:23 pm
There is no java based comet or cometd client. There is one available for Jetty that supports long polling. The javadoc can be found here: http://jetty.mortbay.org/jetty-6/apidocs/org/mortbay/cometd/client/BayeuxClient.html
It would also be nice to expand on it so that streaming is supported as well as long polling.
Environment
Operating System: Windows XP Platform: PC
Affected Versions
[1.9.22]