Thanks Vinod,
it work good!

I now try to fix the race condition on HL7 module.

Regards,
Marco

*Marco Sessa*


*Software Analyst / Developer*
CSP S.p.A.
Napoli - Centro Direzionale,
isola G/1, scala C
Tel: 081.191.38.607
Cel: 340.8689247
Email: [email protected]
www.cspnet.it


2017-12-14 12:07 GMT+01:00 Vinod Kavinda <[email protected]>:

> Hi,
> You can't use the usual feature installer since your jar is not in the
> feature repo. Can you try following,
>
>    1. Copy the jar file to wso2/components/plugins folder.
>    2. Modify the wso2/components/default/configuration/org.eclipse.
>    equinox.simpleconfigurator/bundles.info file's entry related to above
>    jar.
>    3. Restart the server
>
> Regards,
> Vinod
>
> On Thu, Dec 14, 2017 at 3:45 PM, Marco Sessa <[email protected]>
> wrote:
>
>> Hi Dev,
>> I have download the carbon-mediation-release-4.6.40-v775 source code and
>> I made some changes in the code of the HL7 feature (
>> https://github.com/wso2/carbon-mediation/tree/master/compon
>> ents/business-adaptors/hl7). After I have rebuild
>> carbon-mediation-release-4.6.40-v775 (mvn clean install) with succses;
>> in my repository I have: .m2\repository\org\wso2\carbon
>> \mediation\org.wso2.carbon.hl7.feature\4.6.41-SNAPSHOT\
>> [image: Immagine incorporata 1]
>>
>> *How do I add the new HL7 feature(4.6.41-SNAPSHOT) to the WSO2 EI?*
>>
>> I have tried to rebuild(mvn clean install -X) the wso2 using pom (
>> https://docs.wso2.com/display/EI611/Installing+Features+Using+POM+Files)
>> replacing  <version>4.6.6</version> with <version>4.6.41-SNAPSHOT</vers
>> ion>
>> <features>
>>                 <feature>
>>                   <id>org.wso2.carbon.hl7.feature.group</id>
>>                   <version>4.6.41-SNAPSHOT</version>
>>                 </feature>
>> </features>
>>
>> but I have the follow error:
>> *The installable unit org.wso2.carbon.hl7.feature.gr
>> <http://org.wso2.carbon.hl7.feature.gr>oup/4.6.41.SNAPSHOT has not been
>> found*
>> The complete log are in attachment
>>
>> Thank for help
>> Marco
>>
>>
>> *Marco Sessa*
>>
>>
>> *Software Analyst / Developer*
>> CSP S.p.A.
>> Napoli - Centro Direzionale,
>> isola G/1, scala C
>> Tel: 081.191.38.607
>> Cel: 340.8689247
>> Email: [email protected]
>> www.cspnet.it
>>
>>
>> 2017-12-13 12:28 GMT+01:00 Marco Sessa <[email protected]>:
>>
>>> Hi Vinod,
>>> I have found the potential problem:
>>> one instance of the class
>>> *org.wso2.carbon.business.messaging.hl7.common.HL7ProcessingContext*
>>> is shared over multiple threads request for the same proxy and the
>>> blockingQueue *applicationResponses *could contains all the
>>> responses(in any order based on server response time).
>>> When *handleApplicationACK *is called from each thread this method
>>> return *the first *response in the queue(if available, otherwise the
>>> thread wait for any), without making sure it is the answer(ACK) associated
>>> with the current message(*hl7Msg *parameter).
>>> I have observed that the order of the *applicationResponses *queue
>>> could be different of the order of the waiting thread.
>>> This causes the wrong ACK to be sent to the sender.
>>>
>>> How to we proceed to the bug fix?
>>>
>>> Many thanks
>>> Marco
>>>
>>> P.S.: I have already opened this issue:
>>> https://github.com/wso2/carbon-mediation/issues/928
>>>
>>>
>>>
>>> *Marco Sessa*
>>>
>>>
>>> *Software Analyst / Developer*
>>> CSP S.p.A.
>>> Napoli - Centro Direzionale,
>>> isola G/1, scala C
>>> Tel: 081.191.38.607
>>> Cel: 340.8689247
>>> Email: [email protected]
>>> www.cspnet.it
>>>
>>>
>>> 2017-12-02 6:20 GMT+01:00 Vinod Kavinda <[email protected]>:
>>>
>>>> Hi Marco,
>>>> The HL7 related code is in [1] inside carbon-mediation repo.
>>>>
>>>> [1] - https://github.com/wso2/carbon-mediation/tree/master/compo
>>>> nents/business-adaptors/hl7
>>>>
>>>> Regards,
>>>> Vinod
>>>>
>>>> On Sat, Dec 2, 2017 at 10:01 AM, Jason De Silva <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Marco,
>>>>>
>>>>> In order to debug the code you should be able to do so by checking out
>>>>> the code in [1] as mentioned in [2].
>>>>>
>>>>> [1] https://github.com/wso2/product-ei
>>>>> [2] https://github.com/wso2/product-ei#build-from-the-source
>>>>>
>>>>> Regards,
>>>>> Jason
>>>>>
>>>>> Jason De Silva
>>>>> *Software Engineer - QA*
>>>>> Mobile: +94 (0) 772 097 678
>>>>> Email: [email protected]
>>>>> WSO2 Inc. www.wso2.com
>>>>> <http://wso2.com/signature>
>>>>>
>>>>> On Sat, Dec 2, 2017 at 1:54 AM, Marco Sessa <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi Dev,
>>>>>> I am analyzed the ACK interleaving with Wireshark and I have observed
>>>>>> that WSO2 Integrator send back ACK in the wrong channel if receive 
>>>>>> parallel
>>>>>> messages on a HL7 proxy.
>>>>>> I have opened this issue
>>>>>> <https://github.com/wso2/product-ei/issues/1421> on github.
>>>>>> I would try to debug the code, but I not know which source code of
>>>>>> projects other then wso2/product-ei I should download.
>>>>>>
>>>>>> Thanks for help
>>>>>> Marco
>>>>>>
>>>>>> *Marco Sessa*
>>>>>>
>>>>>>
>>>>>> *Software Analyst / Developer*
>>>>>> CSP S.p.A.
>>>>>> Napoli - Centro Direzionale,
>>>>>> isola G/1, scala C
>>>>>> Tel: 081.191.38.607
>>>>>> Cel: 340.8689247
>>>>>> Email: [email protected]
>>>>>> www.cspnet.it
>>>>>>
>>>>>>
>>>>>> 2017-11-29 11:59 GMT+01:00 Marco Sessa <[email protected]>:
>>>>>>
>>>>>>> Hi All,
>>>>>>> I am struggling with an drawback related to ACK interleaving on a
>>>>>>> HL7 proxy (EI 6.1.0).
>>>>>>> In some conditions (parallel request to the same proxy) the system
>>>>>>> sender seems to receive Interleaved ACKs .
>>>>>>> I have no control on sender(and on receiver) system and in the log
>>>>>>> the ACKs come in to the correct sequence.
>>>>>>> In the Analytics profile the messages and relative ACK are paired
>>>>>>> correctly, but the sender receive a wrokg ACKs for some request.
>>>>>>>
>>>>>>> The proxy is in attachment
>>>>>>>
>>>>>>> My problem is know what IP and PORT is used by WSO2 Integrator to
>>>>>>> send back the ACKs for exclude an ESB problem.
>>>>>>>
>>>>>>>
>>>>>>> Thank in advance
>>>>>>> Marco
>>>>>>>
>>>>>>> *Marco Sessa*
>>>>>>>
>>>>>>>
>>>>>>> *Software Analyst / Developer*
>>>>>>> CSP S.p.A.
>>>>>>> Napoli - Centro Direzionale,
>>>>>>> isola G/1, scala C
>>>>>>> Tel: 081.191.38.607
>>>>>>> Cel: 340.8689247
>>>>>>> Email: [email protected]
>>>>>>> www.cspnet.it
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Vinod Kavinda
>>>> Senior Software Engineer
>>>> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
>>>> Mobile : +94 (0) 712 415544
>>>> Blog : http://soatechflicks.blogspot.com/
>>>> [image: http://wso2.com/signature]
>>>> <http://wso2.com/signature>
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Vinod Kavinda
> Senior Software Engineer
> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
> [image: http://wso2.com/signature]
> <http://wso2.com/signature>
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to