Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 05E85DABD for ; Tue, 28 Aug 2012 07:40:53 +0000 (UTC) Received: (qmail 63938 invoked by uid 500); 28 Aug 2012 07:40:52 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 63772 invoked by uid 500); 28 Aug 2012 07:40:52 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 63750 invoked by uid 99); 28 Aug 2012 07:40:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2012 07:40:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of xhhsld@gmail.com designates 209.85.212.172 as permitted sender) Received: from [209.85.212.172] (HELO mail-wi0-f172.google.com) (209.85.212.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2012 07:40:45 +0000 Received: by wicr5 with SMTP id r5so3364951wic.13 for ; Tue, 28 Aug 2012 00:40:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=QYb6myvp+YpF6yjTZ5kRjWBbrDAVHKZDRk7WzE5+Plo=; b=UjCzBgC8CHuh+2rHm5vYndNkq/WC3wWW9GMhCrpnD1/1XcRQN9P88kN4otCDWLLKYv kZbCoWjVSODlSFNvD/7cg1r1GR91BfLnybGH+9neZIKrWFDWzRjndjh6Boe9yJVvjl2m lu+JPJJWoFwD27V1w+omYgviV/suqJT9ML4Wl/H8vNcEKr8dtMpYE8rd0/ItRxWbRAmR j3SfyIleFmo5iAENm0BjJ0eQjj3/aZMeP7Cm/gKTXkkV9EFdp5YQiQFDSYEOW3nbXZfO wlh0Cj0ouZXV+r5H/m3AC+vJ2ke9IYmhiSkx+SROCI+DIntIYXf1xskEGzV5eHSmF7s0 gvoA== MIME-Version: 1.0 Received: by 10.180.102.136 with SMTP id fo8mr30973574wib.19.1346139625139; Tue, 28 Aug 2012 00:40:25 -0700 (PDT) Received: by 10.227.201.136 with HTTP; Tue, 28 Aug 2012 00:40:24 -0700 (PDT) In-Reply-To: References: Date: Tue, 28 Aug 2012 15:40:24 +0800 Message-ID: Subject: Re: How to use OSGi http service in Geronimo? From: Ivan To: dev@geronimo.apache.org Content-Type: multipart/alternative; boundary=f46d044481d72cacd504c84e8e3c --f46d044481d72cacd504c84e8e3c Content-Type: text/plain; charset=ISO-8859-1 Yes, Tomcat is the sevlet container provider if you are using geronimo tomcat assembly. 2012/8/28 Dileepa Jayakody > Hi Ivan, > > On Mon, Aug 27, 2012 at 9:31 PM, Ivan wrote: > >> After having a glance at the jar file, it is required to involve a >> servlet container to serve the http service function. Think the link below >> should be helpful. > > > Geronimo provides tomcat as the servlet container under the hood isn't it? > > Thanks, > Dileepa > > >> [1] http://www.eclipse.org/equinox/server/http_in_container.php >> >> >> 2012/8/27 Dileepa Jayakody >> >>> >>> >>> On Mon, Aug 27, 2012 at 6:56 PM, Ivan wrote: >>> >>>> If the bundle is really installed, all the things will be taken over by >>>> OSGi environment. Is the bundle in active status ? >>>> >>>> Yes Ivan, it is in active state but there's no services registered by >>> the org.eclipse.equinox.http.servlet bundle. >>> Does Geronimo support osgi http service by default? >>> >>> Thanks, >>> Dileepa >>> >>>> >>>> 2012/8/27 Dileepa Jayakody >>>> >>>>> Hi All, >>>>> >>>>> I have a set of bundles deployed in Geronimo >>>>> (geronimo-tomcat7-javaee6-web-3.0.0) which need to use OSGi http service. >>>>> I couldn't find a default bundle in Geronimo which registers >>>>> org.osgi.service.http.HttpService so I installed >>>>> org.eclipse.equinox.http.servlet.1.0.0.200704022148 and started the bundle. >>>>> However it seems the bundle doesn't register the httpService (After >>>>> the bundle starts, there's no registered services listed under the bundle) >>>>> >>>>> Can someone please help me to get osgi httpService up and running so >>>>> that my bundles can use it to register servlets and resources? >>>>> >>>>> Thanks, >>>>> Dileepa >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Ivan >>>> >>> >>> >>> >>> >> >> >> -- >> Ivan >> > > > > -- > Dileepa Jayakody, > Software Engineer, WSO2 Inc. > Lean . Enterprise . Middleware > > Mobile : +94777-857616 > > -- Ivan --f46d044481d72cacd504c84e8e3c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Yes, Tomcat is the sevlet container provider if you are using geronimo tomc= at assembly.

2012/8/28 Dileepa Jayakody <= span dir=3D"ltr"><= dileepa@wso2.com>
Hi Ivan,

[1]=A0 http://www.eclipse.org/equinox/server/http_in_container.php<= /a>=A0


2012/8/27 Dileepa Jayako= dy <dileepa@wso2.com>


On M= on, Aug 27, 2012 at 6:56 PM, Ivan <xhhsld@gmail.com> wrote:
If the bundle is really installed, all the things will be taken over by OSG= i environment. Is the bundle in active status ?

Yes Ivan, it is in active state but there's no se= rvices registered by the org.eclipse.equinox.http.servlet bundle.
Does Geronimo support osgi http service by default?

Thanks,
Dilee= pa

2012/8/27 Dileepa Jayakody <dileepa@wso= 2.com>
Hi All,

I have a set of bundles deplo= yed in Geronimo (geronimo-tomcat7-javaee6-web-3.0.0) which need to use OSGi= http service.
I couldn't find a default bundle in Geronimo which registers org.osgi.s= ervice.http.HttpService so I installed org.eclipse.equinox.http.servlet.1.0= .0.200704022148 and started the bundle.
However it seems the bundle doesn't register the httpService (After the= bundle starts, there's no registered services listed under the bundle)=

Can someone please help me to get osgi httpService up and running = so that my bundles can use it to register servlets and resources?

Thanks,
Dileepa





<= font color=3D"#888888">--
Ivan






<= font color=3D"#888888">--
Ivan


--
Dileepa Jayakody,
Software Engineer, WSO2 = Inc.
Lean . Enterprise . Middleware

Mobile : +94777-857616



-- Ivan
--f46d044481d72cacd504c84e8e3c--