Return-Path: X-Original-To: apmail-felix-users-archive@minotaur.apache.org Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3BE461825A for ; Tue, 27 Oct 2015 08:45:12 +0000 (UTC) Received: (qmail 15298 invoked by uid 500); 27 Oct 2015 08:45:11 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 15231 invoked by uid 500); 27 Oct 2015 08:45:11 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 15219 invoked by uid 99); 27 Oct 2015 08:45:11 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Oct 2015 08:45:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D53F3C2C92 for ; Tue, 27 Oct 2015 08:45:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.001 X-Spam-Level: *** X-Spam-Status: No, score=3.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=ds-lab_org.20150623.gappssmtp.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id AgXZxIB-ZNir for ; Tue, 27 Oct 2015 08:44:57 +0000 (UTC) Received: from mail-ig0-f182.google.com (mail-ig0-f182.google.com [209.85.213.182]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id D2EE320F10 for ; Tue, 27 Oct 2015 08:44:56 +0000 (UTC) Received: by igdg1 with SMTP id g1so77486314igd.1 for ; Tue, 27 Oct 2015 01:44:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ds-lab_org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=RCZOKQwM7RbPUX1YHx5MxqXFU7VAW/264KrcKJq71Iw=; b=fdsK9A0zsxlzwpScUTUgK5F2fOlysijNic0p1aiKBJ9t3ETzXnYAeQxaUbBiFX8P8N OddvPf+It3WlUR9QqQm7NCOlesVkTc8h+ZKv2BSVnMiMZGpLpPgKJX9jyouv8paKsL+V sa1oyeQ/Fkzv6U2zIlcgCu83NzYQqQsXLLWNUdJImYed277HMxj5UkM6cQeZz9RQf00j BsQfyqcTx3+iGs/2t6GVLZoRHwxv1Rpc/8ZzUnIvyA6qVzY9qQnvaz0L1MRADY9Fyevz 1LeA0XEGXwxWbhZOdEF+WO6Aljo62ydGJgrbogI7ewj9K1tM2vzTW+fLcyOQGE8AFHKO q1aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=RCZOKQwM7RbPUX1YHx5MxqXFU7VAW/264KrcKJq71Iw=; b=J21+PO9sarJStYJk9YmtffMyHCm1y/DbnwEsZWrYmfEL+RZS/bfEGnhBqnRPabp55g BGnqvsfzsYBXRya+c+ByS3wpN50SrdMAaLdmQBJCm9qf0jcOuWMjecAlGp1wIymCg6zb EXgkWEZIs8fKQLAFDCF+R2n0J7tWXf8X9cMcqon4CmvvDjhVU7yn/56GVpwBcaxQhGyu GhZh99K798TMWL+JF65O4JLm9ADRAKzjmgDMaXixiLPOaniYmju+QmO68ER3JPiB2sRY J/v2xX+k27Q0pAFcWgO6rLTcYqOcQPDvBLmiDcitFICkeBx5SlRWlCsmnB6vvY+7p9Ah 67rA== X-Gm-Message-State: ALoCoQlfphfJUq4EJZaMN4cgIWjImGv8eyedTq04AyDlCvtnqcVDLDpFW6qpGFl8Cyh2g8ol6FDe MIME-Version: 1.0 X-Received: by 10.50.13.6 with SMTP id d6mr6914094igc.18.1445935495651; Tue, 27 Oct 2015 01:44:55 -0700 (PDT) Received: by 10.36.37.78 with HTTP; Tue, 27 Oct 2015 01:44:55 -0700 (PDT) In-Reply-To: References: <1445654518792-5015251.post@n6.nabble.com> <1445860428928-5015303.post@n6.nabble.com> <1445883482871-5015310.post@n6.nabble.com> <1445887144264-5015312.post@n6.nabble.com> Date: Tue, 27 Oct 2015 09:44:55 +0100 Message-ID: Subject: Re: WebSockets usage From: Thomas Driessen To: users@felix.apache.org Content-Type: multipart/mixed; boundary=089e011822f29680480523121739 --089e011822f29680480523121739 Content-Type: multipart/alternative; boundary=089e011822f29680420523121737 --089e011822f29680420523121737 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I checked my setup: I adopted my setup to use the feli-scr annotations for declarative services. Paul is using the felix dependecymanager annotations, which require you to install an extra plugin in bnd-tools. My Servlet is registered and so is the Websocket. I attached the two adopted source files and the .bnd and .bndrun file. In your .bnd file don't forget the line: -dsannotations: * I think this line is needed for the scr annotations to work properly. Thomas 2015-10-26 21:50 GMT+01:00 Thomas Driessen : > I'm currently at home and have no access to my code at work, but I will > check all those things tomorrow at work :) > > Thomas > Am 26.10.2015 20:27 schrieb "factor3" : > >> Thomas: >> >> This is interesting, because I am using the Jetty solution. >> >> Is your servlet actually being registered? If it is, did you have to mak= e >> any changes in the code in order to achieve this? >> >> In particular, is that start() function in the servlet being called at a= ny >> time while you are running Felix? In my project, it is *not* being calle= d, >> so that direct registration is not happening. In other words, when I set >> breakpoints in that function and run Felix in debug mode, the breakpoint= s >> are never reached. Are you seeing the same thing when setting breakpoint= s >> in >> your start() function and runing Felix in the debugger? Or are your >> breakpoints being reached? Are you able to connect to your Websocket >> class? >> >> >> >> -- >> View this message in context: >> http://apache-felix.18485.x6.nabble.com/WebSockets-usage-tp5012240p50153= 12.html >> Sent from the Apache Felix - Users mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org >> For additional commands, e-mail: users-help@felix.apache.org >> >> --=20 M.Sc. Thomas Driessen Software Methodologies for Distributed Systems Institute of Computer Science University of Augsburg Universit=C3=A4tsstr. 6a 86135 Augsburg, Germany Tel: +49 821 598-2486 email: thomas.driessen@informatik.uni-augsburg.de --089e011822f29680420523121737 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I checked my setup:
I adopted my setup to use the feli= -scr annotations for declarative services. Paul is using the felix dependec= ymanager annotations, which require you to install an extra plugin in bnd-t= ools.
My Servlet is registered and so is the Websocket.=C2=A0
I attached the two adopted source files and the .bnd and .bndrun fil= e.

In your .bnd file don't forget the line:
-dsannotations: *
I think this line is needed for the scr= annotations to work properly.

Thomas

201= 5-10-26 21:50 GMT+01:00 Thomas Driessen <thomas.driessen@ds-lab.o= rg>:

I'm= currently at home and have no access to my code at work, but I will check = all those things tomorrow at work :)

Thomas

Am 26.10.2015 20:27 schrieb "factor3" = <rbrown3@blu= ebottle.com>:
Thomas:

This is interesting, because I am using the Jetty solution.

Is your servlet actually being registered? If it is, did you have to make any changes in the code in order to achieve this?

In particular, is that start() function in the servlet being called at any<= br> time while you are running Felix? In my project, it is *not* being called,<= br> so that direct registration is not happening. In other words, when I set breakpoints in that function and run Felix in debug mode, the breakpoints are never reached. Are you seeing the same thing when setting breakpoints i= n
your start() function and runing Felix in the debugger? Or are your
breakpoints being reached? Are you able to connect to your Websocket class?=



--
View this message in context: http://apache-felix.18485.x6.nabble.com/WebSockets-usage-tp5012240= p5015312.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org




--
=
M.= Sc. Thomas Driessen
Software Methodologies for Distributed Sys= tems
Institute of Computer Science
University of = Augsburg
Universit=C3=A4tsstr. 6a
86135 Augsburg,= Germany

Tel: =C2=A0 = =C2=A0+= 49 821 598-2486
email:=C2=A0thomas.driessen@informatik.uni-a= ugsburg.de
--089e011822f29680420523121737-- --089e011822f29680480523121739 Content-Type: application/zip; name="EchoTestSources.zip" Content-Disposition: attachment; filename="EchoTestSources.zip" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ig94k0xs0 UEsDBBQAAAAIAGRMW0fWDJRjqAAAAPQAAAAXAAAARWNob1Rlc3RTb3VyY2VzL2JuZC5ibmRdjT0P gkAQRGv5FRRWxttATCwwNib2FMbKZjlWOD7uLncLYoz/XQwGjZlu3suMyDrV5Ba5TMJLsKiwxwFu lHkja2KBVu16cl4ZvY8hXo+KcQWgRVkSXKlRA5TMFipivs/q5qP6QoE0jmawhegLWqv/wfTvyfUN 8e9cIHKPWhtGHhufhKvg0Om8IXGepCSM4J3lgz1ja59B6lSPTCJFWWNBSXiUpTmR5xdQSwMEFAAA AAgA8UtbR7//D/jfAgAAEggAACAAAABFY2hvVGVzdFNvdXJjZXMvRWNob1NlcnZsZXQuamF2YaVV yW7bMBA924D/gfClEpAy7TlIkdRINwRtERnwsaCpscWEJlWSciy0/veOSMqRFCdpUcPQxnlv5s1C lozfsTWQK17oOVh3NhlPxmJTauPILdsyWjkh6aUxrLbDtR21YLYSHM3C/WrHoXRCq66lNmsKXIrS Ar0F52p6D0ur+R3iWvwClpn/EonO/gv9gXGnTd0n0XYt6MqwDdxrc0ffVyqX8BcmM60c7NyzlvfC CLWOgIV/OWLfhCs4UK5xQYFydNY+Pe3kMYgppR1rsmzpJXdiy9wxHc8DD57/GXkDKzCg+HM+C+dK +gkvWfjwkulXTKQtGYd+A11kVVkasHbBjMKc2mSKMMHkNMXFg4TJuKyWUnDCJbPWd3JsBII5BZVb MuwQ8msyHuG/ND59pFdqsvmxHJS+sb04KO8AO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gAAAA6AUAAEVjaG9U ZXN0U291cmNlcy9sYXVuY2guYm5kcnVuUEsFBgAAAAAEAAQAKwEAAJwHAAAAAA== --089e011822f29680480523121739 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org --089e011822f29680480523121739--