Re: UIMA-AS and RabbitMQ

2015-12-21 Thread Sylvain Surcin
That would be great!
No special feature of RabbitMQ that I'm aware of except that I'm trying to
integrate with a pre-existing distributed processing architecture built on
top of it. I was just trying to avoid duplicating MOM layers.
Have a nice day,
Sylvain

2015-12-21 20:37 GMT+01:00 Jaroslaw Cwiklik <uim...@gmail.com>:

> No promises but will think about it. What special features in Rabbit MQ do
> you rely on? Any reason why AMQ is not adequate for your needs? Just
> curious.
> Thanks
> Jerry
>
> On Mon, Dec 21, 2015 at 2:07 PM, Sylvain Surcin <sylvain.sur...@gmail.com>
> wrote:
>
> > Well, if by chance you happen to make that possible, I would be very
> > interested.
> > Sylvain
> >
> > 2015-12-21 19:55 GMT+01:00 Jaroslaw Cwiklik <uim...@gmail.com>:
> >
> > > Hi, the UIMA-AS currently works with ActiveMQ only. Perhaps we should
> > take
> > > a look at refactoring UIMA-AS to make it possible to use a different
> JMS
> > > provider. So far there was no demand for this.
> > > Jerry
> > >
> > >
> > > On Mon, Dec 21, 2015 at 12:26 PM, Sylvain Surcin <
> > sylvain.sur...@gmail.com
> > > >
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > Is it possible to configure UIMA-AS to use another AMQP rather than
> > > > ActiveMQ, let's say RabbitMQ for instance?
> > > >
> > > > Thanks and season's greetings.
> > > > Sylvain
> > > >
> > >
> >
>


Re: UIMA-AS and RabbitMQ

2015-12-21 Thread Sylvain Surcin
Well, if by chance you happen to make that possible, I would be very
interested.
Sylvain

2015-12-21 19:55 GMT+01:00 Jaroslaw Cwiklik <uim...@gmail.com>:

> Hi, the UIMA-AS currently works with ActiveMQ only. Perhaps we should take
> a look at refactoring UIMA-AS to make it possible to use a different JMS
> provider. So far there was no demand for this.
> Jerry
>
>
> On Mon, Dec 21, 2015 at 12:26 PM, Sylvain Surcin <sylvain.sur...@gmail.com
> >
> wrote:
>
> > Hi,
> >
> > Is it possible to configure UIMA-AS to use another AMQP rather than
> > ActiveMQ, let's say RabbitMQ for instance?
> >
> > Thanks and season's greetings.
> > Sylvain
> >
>


Re: UIMA-DUCC installation with multiple machines

2015-12-21 Thread Sylvain Surcin
Hi Eddie,

Indeed, it works much better this way! :-)

Thanks,
Sylvain

2015-11-30 12:32 GMT+01:00 Eddie Epstein <eaepst...@gmail.com>:

> Hi,
>
> Did you confirm that user ducc@ducc-head can do passwordless ssh to
> ducc-node-1?  If so, running ./check_ducc from the admin folder should give
> some useful feedback about ducc-node-1.
>
> Eddie
>
> On Mon, Nov 30, 2015 at 5:14 AM, Sylvain Surcin <sylvain.sur...@gmail.com>
> wrote:
>
> > Hello,
> >
> > Despite experimenting for a few weeks and reading the Ducc 2.0 doc book
> > again and again, I am still unable to make it run on a test cluster of 2
> > machines.
> >
> > I have 2 VMs (ducc-head and ducc-node-1) with a NFS share for /home/ducc
> > and my $DUCC_HOME is /home/ducc/ducc_runtime.
> >
> > I generated and copied ssh keys so that my main user on ducc-head can do
> a
> > passwordless ssh to ducc@ducc-head (that's what I understood from the
> doc,
> > if not, can you be more specific, with Linux commands?).
> >
> > I compiled ducc_runtime on ducc-head and copied it on both machines in
> > /local/ducc/bin with all the appropriate chown and chmod as stated in the
> > doc, for both machines. I also edited site.ducc.properties accordingly.
> >
> > When I launch start_ducc (as ducc on ducc-head) I see both machines on
> the
> > Web monitor but only ducc-head is up, while ducc-node-1 always stays
> > "defined". Of course, when I submit the test job, it is executed on
> > ducc-head, never on ducc-node-1.
> >
> > What am I missing?
> > I have been stuck here for weeks. Please can you help me?
> >
> > Regards.
> >
>


UIMA-AS and RabbitMQ

2015-12-21 Thread Sylvain Surcin
Hi,

Is it possible to configure UIMA-AS to use another AMQP rather than
ActiveMQ, let's say RabbitMQ for instance?

Thanks and season's greetings.
Sylvain


UIMA-DUCC installation with multiple machines

2015-11-30 Thread Sylvain Surcin
Hello,

Despite experimenting for a few weeks and reading the Ducc 2.0 doc book
again and again, I am still unable to make it run on a test cluster of 2
machines.

I have 2 VMs (ducc-head and ducc-node-1) with a NFS share for /home/ducc
and my $DUCC_HOME is /home/ducc/ducc_runtime.

I generated and copied ssh keys so that my main user on ducc-head can do a
passwordless ssh to ducc@ducc-head (that's what I understood from the doc,
if not, can you be more specific, with Linux commands?).

I compiled ducc_runtime on ducc-head and copied it on both machines in
/local/ducc/bin with all the appropriate chown and chmod as stated in the
doc, for both machines. I also edited site.ducc.properties accordingly.

When I launch start_ducc (as ducc on ducc-head) I see both machines on the
Web monitor but only ducc-head is up, while ducc-node-1 always stays
"defined". Of course, when I submit the test job, it is executed on
ducc-head, never on ducc-node-1.

What am I missing?
I have been stuck here for weeks. Please can you help me?

Regards.


UIMAFit and UIMA-AS deployment

2015-04-30 Thread Sylvain Surcin
Hello,

I'm trying to see if I can adapt our UIMA-AS architecture to UIMAFit.

And I'm wondering how to actually do it from the main level where I have a
class

UimaAsynchronousEngine myEngine = new BaseUIMAAsynchronousEngine_impl();
myEngine.addStatusCallbackListener(myListener);
myEngine.deploy(myAsDeploymentDescriptorFile, applicationContext);

The AS deployment descriptor file has a section
topDescriptor
  import location=./MyAggregateChain.xml/
/topDescriptor

Now, if I want to be smart and use UIMAFit's AggregateBuilder, how do I
reconciliate that with the deployment descriptor file?

Is there a way to do that entirely from within the Java code?
Or do I have to use UIMAFit to generate the aggregate descriptor file from
the AnalysisEngine built by the AggregateBuilder?

Thanks for your help,

[+] Add me to your address book
https://ws.writethat.name/kwaga-bin/titan/WEB/me.pl/5075409511380703595/i

Sylvain SURCIN, Ph.D.
*KWAGA*
Senior Software Architect
15, rue Jean-Baptiste Berlier
75013 Paris
France
Tél.: +33 (0)1.55.43.79.20


UIMACpp on Mac OS/X?

2010-12-20 Thread Sylvain Surcin
Hello,

Has anyone been able to successfully install UimaCpp on Mac OS/X?

First I tried to build it, unsuccessfully, but I had the latest version of
ActiveMQ-cpp installed (3.2.2).
Then I found in UimaCpp's configure file that it looks for version
ActiveMQ-cpp 2.1.3 (API is not the same).

Now I cannot build ActiveMQ-cpp 2.1.3 due to a problem running ./autogen.sh
(a missing [ in regex problem).
A quick googling says that it is probably due to cppunit missing, but I have
just installed the latest version and I keep running into the same error.

So my question: who have managed to get through this big marathon, and could
give me some hints about how to do it myself? :-)

Any help appreciated, and thanks a lot in advance!

Sylvain Surcin


Re: UIMACpp on Mac OS/X?

2010-12-20 Thread Sylvain Surcin
Hello and thanks for answering!


On Mon, Dec 20, 2010 at 3:25 PM, Eddie Epstein eaepst...@gmail.com wrote:

 I seem to remember that regex problem. Did you try just applying the patch
 in the 2.1.3 version?

 Where would I find this patch?


 Activemq-cpp is an optional part of uimacpp. All should build except for
 the UIMA AS service wrapper, deployCppService.

 Yes but it is precisely why I need it: I am trying to migrate one of the
annotators in my chain to a pure C++ module.


 I believe Bhavani has done a bit of work to move to the latest versions
 of AMQCPP, but not sure where that is in her commit schedule.

 I would definitely be very interested by an upgrade to AMQCPP 3.2.2.

Sylvain


 Eddie

 On Mon, Dec 20, 2010 at 5:22 AM, Sylvain Surcin sur...@kwaga.com wrote:
  Hello,
 
  Has anyone been able to successfully install UimaCpp on Mac OS/X?
 
  First I tried to build it, unsuccessfully, but I had the latest version
 of
  ActiveMQ-cpp installed (3.2.2).
  Then I found in UimaCpp's configure file that it looks for version
  ActiveMQ-cpp 2.1.3 (API is not the same).
 
  Now I cannot build ActiveMQ-cpp 2.1.3 due to a problem running
 ./autogen.sh
  (a missing [ in regex problem).
  A quick googling says that it is probably due to cppunit missing, but I
 have
  just installed the latest version and I keep running into the same error.
 
  So my question: who have managed to get through this big marathon, and
 could
  give me some hints about how to do it myself? :-)
 
  Any help appreciated, and thanks a lot in advance!
 
  Sylvain Surcin