Please ignore my last mail, which past a wrong url.
cometd-jetty component is broken into cometd-server and cometd-client.
And lots of package name is change, it may take us some time to upgrade
it. So I filled a JIRA for it[1].
[1]https://issues.apache.org/activemq/browse/CAMEL-2513
Willem
Willem Jiang wrote:
It's looks like camel cometd component's dependency is out of date.
After google a while, I found the Jetty changed the cometd artifact ID[1].
So we need to update this on camel-cometd component to fill the jetty
version gap :)
[1]http://groups.google.com/group/cometd-dev/browse_thread/thread/fd7dc2469c3826cf?pli=1
Willem
Charles Moulliard wrote:
Hi,
I have adapted the camel Cometd example generating randomly GPS coord
which are displayed in a Google Map HTML page
The producer generating the coord is started but the following error
is reported on the console :
ka...@root> >>> Produce coord.
Exception in thread "ContinuationBayeux-0"
java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.setNow()V
at
org.mortbay.cometd.continuation.ContinuationBayeux$1.run(ContinuationBayeux.java:68)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Maybe we should use the same version between jetty-cometd and jetty
(http://groups.google.com/group/cometd-dev/browse_thread/thread/fd7dc2469c3826cf?pli=1)
?
For the moment :jetty-cometd (bundled by SMX) is
[ 177] [Active ] [ ] [ ] [ 60] Apache
ServiceMix Bundles: cometd-bayeux-6.1.11 (6.1.11.3)
and jetty is
[ 140] [Active ] [ ] [ ] [ 60] Apache
ServiceMix Bundles: jetty-6.1.22 (6.1.22.1)
Here are the bundles installed :
Here is the config :
[ 177] [Active ] [ ] [ ] [ 60] Apache
ServiceMix Bundles: cometd-bayeux-6.1.11 (6.1.11.3)
[ 178] [Active ] [ ] [ ] [ 60] camel-cometd
(2.2.0)
[ 187] [Active ] [ ] [ ] [ 60] jettison (1.2)
[ 188] [Active ] [ ] [ ] [ 60] Apache
ServiceMix Bundles: xpp3-1.1.4c (1.1.0.4c_3)
[ 189] [Active ] [ ] [ ] [ 60] Apache
ServiceMix Bundles: joda-time-1.5.2 (1.5.2.2)
[ 190] [Active ] [ ] [ ] [ 60] Apache
ServiceMix Bundles: jdom-1.1 (1.1.0.2)
[ 191] [Active ] [ ] [ ] [ 60] Apache
ServiceMix Bundles: dom4j-1.6.1 (1.6.1.2)
[ 192] [Active ] [ ] [ ] [ 60] Apache
ServiceMix Bundles: xstream-1.3 (1.3.0.3)
[ 193] [Active ] [ ] [ ] [ 60] camel-xstream
(2.2.0)
[ 195] [Active ] [ ] [Started] [ 60] A Camel COMETD
Route Example (1.0)
Kind regards,
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard
Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm