Yes you can add the libthrift to jboss, either as a jar included in one of your 
own bundles (export org.apache.thrift to make it available to other bundles) or 
as a standalone jar (requires osgi patch).  You can then use thrift with a 
generated client or use TServlet to create your own service. Here is the 
documentation on JBoss osgi. Also found felix in jboss 7, its included in the 
bundle folder https://docs.jboss.org/author/display/JBOSGI/Standalone+Runtime

- Jake


On Oct 28, 2011, at 11:14 AM, Jignesh Patel wrote:

> Jake,
> 
> Can I install thrift on JBoss 7?
> 
> -Jignesh
> 
> On Fri, Oct 28, 2011 at 10:49 AM, Jake Farrell <[email protected]> wrote:
> 
>> Taking a quick look at the JBoss 7 docs and looking in the download it
>> appears that jboss has its own jboss-osgi so you shouldnt need felix. Take a
>> look in modules/org/jboss/osgi
>> 
>> - Jake
>> 
>> On Oct 28, 2011, at 9:36 AM, Jignesh Patel wrote:
>> 
>>> Thanks Jake,
>>> But can I deploy the apache felix and thrift together on JBoss and will
>> that
>>> work?
>>> 
>>> -Jignesh
>>> 
>>> On Fri, Oct 28, 2011 at 9:58 AM, Jake Farrell <[email protected]>
>> wrote:
>>> 
>>>> Yes its possible to embed thrift inside of apache felix, if you wrote an
>>>> activator that started a thrift server and then had a handler that used
>>>> internally available items from other bundles then you would be able to.
>> You
>>>> can either add the libthrift as a locally included jar within your
>> bundle or
>>>> it can be included as a bundle on its own, see THRIFT-184
>>>> 
>>>> -Jake
>>>> 
>>>> 
>>>> On Oct 28, 2011, at 4:08 AM, Jignesh Patel wrote:
>>>> 
>>>>> Updated
>>>>> 
>>>>> On Fri, Oct 28, 2011 at 5:03 AM, Jignesh Patel <
>> [email protected]
>>>>> wrote:
>>>>> 
>>>>>> Is there any documentation to embed thrift server inside JBoss 7?
>>>>> 
>>>>> Can we also embed the thrift server inside apache felix?
>>>>> 
>>>>>> 
>>>>>> -Jignesh
>>>>>> 
>>>>>> 
>>>>>> On Fri, Oct 28, 2011 at 4:53 AM, <[email protected]> wrote:
>>>>>> 
>>>>>>> Hi! This is the ezmlm program. I'm managing the
>>>>>>> [email protected] mailing list.
>>>>>>> 
>>>>>>> I'm working for my owner, who can be reached
>>>>>>> at [email protected].
>>>>>>> 
>>>>>>> Acknowledgment: I have added the address
>>>>>>> 
>>>>>>> [email protected]
>>>>>>> 
>>>>>>> to the user mailing list.
>>>>>>> 
>>>>>>> Welcome to [email protected]!
>>>>>>> 
>>>>>>> Please save this message so that you know the address you are
>>>>>>> subscribed under, in case you later want to unsubscribe or change
>> your
>>>>>>> subscription address.
>>>>>>> 
>>>>>>> 
>>>>>>> --- Administrative commands for the user list ---
>>>>>>> 
>>>>>>> I can handle administrative requests automatically. Please
>>>>>>> do not send them to the list address! Instead, send
>>>>>>> your message to the correct command address:
>>>>>>> 
>>>>>>> To subscribe to the list, send a message to:
>>>>>>> <[email protected]>
>>>>>>> 
>>>>>>> To remove your address from the list, send a message to:
>>>>>>> <[email protected]>
>>>>>>> 
>>>>>>> Send mail to the following for info and FAQ for this list:
>>>>>>> <[email protected]>
>>>>>>> <[email protected]>
>>>>>>> 
>>>>>>> Similar addresses exist for the digest list:
>>>>>>> <[email protected]>
>>>>>>> <[email protected]>
>>>>>>> 
>>>>>>> To get messages 123 through 145 (a maximum of 100 per request), mail:
>>>>>>> <[email protected]>
>>>>>>> 
>>>>>>> To get an index with subject and author for messages 123-456 , mail:
>>>>>>> <[email protected]>
>>>>>>> 
>>>>>>> They are always returned as sets of 100, max 2000 per request,
>>>>>>> so you'll actually get 100-499.
>>>>>>> 
>>>>>>> To receive all messages with the same subject as message 12345,
>>>>>>> send a short message to:
>>>>>>> <[email protected]>
>>>>>>> 
>>>>>>> The messages should contain one line or word of text to avoid being
>>>>>>> treated as sp@m, but I will ignore their content.
>>>>>>> Only the ADDRESS you send to is important.
>>>>>>> 
>>>>>>> You can start a subscription for an alternate address,
>>>>>>> for example "[email protected]", just add a hyphen and your
>>>>>>> address (with '=' instead of '@') after the command word:
>>>>>>> <[email protected]>
>>>>>>> 
>>>>>>> To stop subscription for this address, mail:
>>>>>>> <[email protected]>
>>>>>>> 
>>>>>>> In both cases, I'll send a confirmation message to that address. When
>>>>>>> you receive it, simply reply to it to complete your subscription.
>>>>>>> 
>>>>>>> If despite following these instructions, you do not get the
>>>>>>> desired results, please contact my owner at
>>>>>>> [email protected]. Please be patient, my owner is a
>>>>>>> lot slower than I am ;-)
>>>>>>> 
>>>>>>> --- Enclosed is a copy of the request I received.
>>>>>>> 
>>>>>>> Return-Path: <[email protected]>
>>>>>>> Received: (qmail 95631 invoked by uid 99); 28 Oct 2011 08:53:46 -0000
>>>>>>> Received: from nike.apache.org (HELO nike.apache.org)
>> (192.87.106.230)
>>>>>>> by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2011 08:53:46
>>>>>>> +0000
>>>>>>> X-ASF-Spam-Status: No, hits=3.9 required=5.0
>>>>>>> 
>>>>>>> 
>>>> 
>> tests=EMPTY_MESSAGE,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL
>>>>>>> X-Spam-Check-By: apache.org
>>>>>>> Received-SPF: pass (nike.apache.org: domain of
>>>> [email protected] 74.125.82.170 as permitted sender)
>>>>>>> Received: from [74.125.82.170] (HELO mail-wy0-f170.google.com)
>>>>>>> (74.125.82.170)
>>>>>>> by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2011 08:53:38
>>>>>>> +0000
>>>>>>> Received: by wyf23 with SMTP id 23so8312958wyf.1
>>>>>>>     for <user-sc.1319791825.bigjlgccoeeggjfjgnke-jigneshmpatel=
>>>>>>> [email protected]>; Fri, 28 Oct 2011 01:53:18 -0700 (PDT)
>>>>>>> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
>>>>>>>     d=gmail.com; s=gamma;
>>>>>>>     h=mime-version:date:message-id:subject:from:to:content-type;
>>>>>>>     bh=knm12Jr4TsclT0dqguksTMcjSWjqm2OR78pyQH8hui8=;
>>>>>>> 
>>>>>>> b=N/RJrOiwFgVyBAvK8N3yYld7zjU1HbhdYPOh9J2yDK5w79ihLSKe2STYYXnOdIr2Me
>>>>>>> 
>>>>>>> cafY82abAr4BNLvuD0xae8NoAGR9YTBtMEfL9cZ2848G13iVhhSR0U2+wpa2hTaLovTD
>>>>>>>      X+SUjEbF2ew8VGvwwW91jV0uN/3fjvOrN6+5c=
>>>>>>> MIME-Version: 1.0
>>>>>>> Received: by 10.216.163.202 with SMTP id
>>>> a52mr598281wel.91.1319791998658;
>>>>>>> Fri,
>>>>>>> 28 Oct 2011 01:53:18 -0700 (PDT)
>>>>>>> Received: by 10.216.51.83 with HTTP; Fri, 28 Oct 2011 01:53:18 -0700
>>>> (PDT)
>>>>>>> Date: Fri, 28 Oct 2011 04:53:18 -0400
>>>>>>> Message-ID: <CAHTx_0wxS=
>>>>>>> [email protected]>
>>>>>>> Subject:
>>>>>>> From: Jignesh Patel <[email protected]>
>>>>>>> To: user-sc.1319791825.bigjlgccoeeggjfjgnke-jigneshmpatel=
>>>>>>> [email protected]
>>>>>>> Content-Type: multipart/alternative;
>>>> boundary=0016e654264641ea2304b0580591
>>>>>>> X-Virus-Checked: Checked by ClamAV on apache.org
>>>>>>> 
>>>>>>> --0016e654264641ea2304b0580591
>>>>>>> Content-Type: text/plain; charset=ISO-8859-1
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> --0016e654264641ea2304b0580591
>>>>>>> Content-Type: text/html; charset=ISO-8859-1
>>>>>>> 
>>>>>>> <br>
>>>>>>> 
>>>>>>> --0016e654264641ea2304b0580591--
>>>>>>> 
>>>>>> 
>>>>>> 
>>>> 
>>>> 
>> 
>> 

Reply via email to