Re: UIMA-AS latest version security issues

2021-06-28 Thread Jaroslaw Cwiklik
; On 18. Jun 2021, at 19:35, Jaroslaw Cwiklik wrote: > > > > Thanks Richard. I took a look today at Ruta and compared its eclipse > > plugins setup to uima-as. Seems like many changes are needed to make them > > work. Actually made some changes to uima-as poms (including one y

Re: UIMA-AS latest version security issues

2021-06-18 Thread Jaroslaw Cwiklik
-org.eclipse.p2.201812-metadata4232512035347814454/1997609141157123 (No such file or directory) -> *[Help 1]* *Regards, Jerry* *I * On Thu, Jun 17, 2021 at 1:55 PM Richard Eckart de Castilho wrote: > Hi Jerry, > > On 17. Jun 2021, at 19:11, Jaroslaw Cwiklik wrote: > > > > The

Re: UIMA-AS latest version security issues

2021-06-17 Thread Jaroslaw Cwiklik
I was able to run UIMA-AS (from https://github.com/apache/uima-async-scaleout) extended tests with AMQ 5.16.2. There is a problem building eclipse plugins though. Not enough free time to address this now. Regards, Jerry Cwiklik 5.16.2 4.3.30.RELEASE 2.25.2 On Wed, Jun 2, 2021 at 2:38 AM

Re: UIMA-AS with ActiveMQ VM Transport

2020-11-04 Thread Jaroslaw Cwiklik
t; > On 3. Nov 2020, at 17:52, Jaroslaw Cwiklik wrote: > > > > My apologies for a late reply to your question. The UIMA-AS client does > not > > support vm protocol between clients and services. Only tcp and http are > > currently supported as you've noted. You can

Re: UIMA-AS with ActiveMQ VM Transport

2020-11-03 Thread Jaroslaw Cwiklik
My apologies for a late reply to your question. The UIMA-AS client does not support vm protocol between clients and services. Only tcp and http are currently supported as you've noted. You can manage broker persistence settings in the broker configuration See http://activemq.apache.org/persistence

Re: Java 11 - UIMA-AS 2.10.3

2020-03-02 Thread Jaroslaw Cwiklik
e critical. Commercial support ended already. > > > > On 2020/02/27 21:43:48, Jaroslaw Cwiklik wrote: > > The UIMA-AS has been tested with Java 8 only. Is it critical for you to > run > > uima-as (and core uima) with Java 11? > > Not sure what else may break

Re: Java 11 - UIMA-AS 2.10.3

2020-02-27 Thread Jaroslaw Cwiklik
The UIMA-AS has been tested with Java 8 only. Is it critical for you to run uima-as (and core uima) with Java 11? Not sure what else may break with uma-as with a newer java. I will take a look tomorrow at the Dd2Spring problem. Looks like SAXTransformerFactory has changed. - Jerry On Wed, Feb

Re: Java 11 - UIMA-AS 2.10.3

2020-02-26 Thread Jaroslaw Cwiklik
Hi, the uima-as release is on my plate. No ETA though. I am still waiting for Apache Infra to make a switch from SVN to GIT. Not sure how long this will take. Also the release takes some time to happen. So you have a few options: 1) If Java 11 is not absolutely necessary you can run with Java 8

Re: Uima-AS 3 ?

2020-01-07 Thread Jaroslaw Cwiklik
ses/builds on UIMA-AS, and there is already > DUCC v3. > > > Best, > > > Peter > > > Am 07.01.2020 um 15:52 schrieb Jaroslaw Cwiklik: > > Hi Matthias, I will start working on v3 release soon. > > Jerry > > > > On Tue, Jan 7, 2020 at 9:28 A

Re: Uima-AS 3 ?

2020-01-07 Thread Jaroslaw Cwiklik
Hi Matthias, I will start working on v3 release soon. Jerry On Tue, Jan 7, 2020 at 9:28 AM koch wrote: > Hi > > Is it planned to release v3 of uima-as ? > > best regards, > > Matthias > > > >

Re: UIMA and ActiveMQ?

2019-02-05 Thread Jaroslaw Cwiklik
Hi, yes UIMA-AS service has multiple async consumers. The GetMeta consumer responds to clients asking for service metadata. The Process consumer handles client's process requests (invoking processing pipelines). And the Target consumer enables clients to target specific service instance.These

Re: Problem in running DUCC Job for Arabic Language

2018-11-06 Thread Jaroslaw Cwiklik
. -jerry On Tue, Nov 6, 2018 at 9:37 AM Jaroslaw Cwiklik wrote: > Can you try setting -Dfile.encoding=ISO-8859-1 for the service (job) > process and -Djavax.servlet.request.encoding=ISO-8859-1 > -Dfile.encoding=ISO-8859-1 for the JD process. > > The JD actually uses Jetty webserver t

Re: Problem in running DUCC Job for Arabic Language

2018-11-06 Thread Jaroslaw Cwiklik
Can you try setting -Dfile.encoding=ISO-8859-1 for the service (job) process and -Djavax.servlet.request.encoding=ISO-8859-1 -Dfile.encoding=ISO-8859-1 for the JD process. The JD actually uses Jetty webserver to serve service requests over HTTP. I went as far as extracting Jetty server code from

Re: UIMA-AS on Kubernetes

2018-10-11 Thread Jaroslaw Cwiklik
Patrick, service monitoring is left to applications. I think Kubernetes has some basic monitoring of pods and if more is needed I am sure there are third party monitoring tools available. The UIMA-AS does provide you with info about which service instance is processing each CAS. If you register a

Re: DUCC services statistics

2018-07-19 Thread Jaroslaw Cwiklik
Daniel, you can monitor AMQ to discover client connections and also monitor queue activity. Jerry On Thu, Jul 19, 2018 at 7:31 AM Daniel Baumartz < bauma...@stud.uni-frankfurt.de> wrote: > Hi, > > we have a DUCC installation with different services that are being used > by jobs and external

Re: UIMA AS deploy: get MessageTimeoutException object

2018-05-29 Thread Jaroslaw Cwiklik
Daniel, looks like UIMA-AS client receives just the ResourceInitializationException and MessageTimeoutException is not available. I will create JIRA for this soon. As a workaround you can try changing delegate's error handling thresholds:

Re: Deploy Async Service without XML

2018-05-15 Thread Jaroslaw Cwiklik
You can generate UIMA-AS deployment descriptor programmatically. You still need AE descriptor though. Please check UIMA-AS documentation: https://uima.apache.org/d/uima-as-2.10.3/uima_async_scaleout.html#ugr.ref.async.api.usage section 4.10 Generating Deployment Descriptor Programmatically Jerry

Re: Apache UIMA Java sdk 3.0.0 released

2018-03-26 Thread Jaroslaw Cwiklik
If I recall Marshall has a branch of UIMA-AS that is compatible with UIMA 3.X I think it is based on an older version of UIMA-AS though. Most likely v.2.9.0. SVN link is here: https://svn.apache.org/repos/asf/uima/uv3/uima-as-v3/trunk I recently released v.2.10.2 and currently 2.10.3 RC1 is

Re: UIMA AS - ResourceInitializationException

2017-11-29 Thread Jaroslaw Cwiklik
Try adding a callback listener to the client via public void addStatusCallbackListener(UimaAsBaseCallbackListener aListener) There is try ... catch block in the client code } catch (ResourceInitializationException e) { state = ClientState.FAILED; notifyOnInitializationFailure(e);

Re: How to have client, service and broker co-located using UIMA-AS

2017-10-05 Thread Jaroslaw Cwiklik
whenever client and service are > co-located irrespective of the position of the broker?" > > Regards, > Manuel > > 2017-10-04 22:23 GMT+02:00 Manuel Fiorelli <manuel.fiore...@gmail.com>: > > > Hi Jaroslaw > > > > Thank you for your answer. Tomorrow,

Re: How to have client, service and broker co-located using UIMA-AS

2017-10-04 Thread Jaroslaw Cwiklik
Hi Manuel, you *can* colocate broker, client and a service in the same process. Here is the code to get this done. Sorry did not test this. You need to create a deployment descriptor (xml file) to be able to deploy a service. // Deploy in-process broker String uri = "tcp://"localhost:61616";

Re: XMl generated by AnalysisEngineDescription.toXML not accepted by UIMA-as

2017-09-19 Thread Jaroslaw Cwiklik
r .so file for C++ implementations." So add the fully class name which implements your AE in the annotatorImplementationName. Jerry On Tue, Sep 19, 2017 at 3:40 PM, Jaroslaw Cwiklik <cwik...@apache.org> wrote: > OK, this is much clearer now. It looks like the NPE comes from the u

Re: XMl generated by AnalysisEngineDescription.toXML not accepted by UIMA-as

2017-09-19 Thread Jaroslaw Cwiklik
hat correct? Because the AE is an > aggregate one. > Before running this test, I ran the uima-as examples and they work fine > > Thanks! > -Robert > > > > > > > > > Оригинално писмо > > >От: Jaroslaw Cwiklik cwik...@apache.org >

Re: XMl generated by AnalysisEngineDescription.toXML not accepted by UIMA-as

2017-09-19 Thread Jaroslaw Cwiklik
nvironment (build 1.8.0_45-b14) > Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) > > Best regards > -Robert > > > > > > > > > Оригинално писмо > > >От: Jaroslaw Cwiklik cwik...@apache.org > > >

Re: XMl generated by AnalysisEngineDescription.toXML not accepted by UIMA-as

2017-09-19 Thread Jaroslaw Cwiklik
Hi Robert, any chance u can paste the deployment descriptor for a review? Were there any other errors/warnings before? The UIMA-AS deployment descriptor undergoes a transformation under the covers producing Spring Framework compatible file which is fed to Spring Factory for instantiating java

[ANNOUNCE] Apache UIMA DUCC 2.2.1 released

2017-08-31 Thread Jaroslaw Cwiklik
The Apache UIMA team is pleased to announce the release of the Apache UIMA-DUCC version 2.2.1. The Unstructured Information Management Architecture (UIMA) is a component framework supporting development, discovery, composition, and deployment of multi-modal analytics tasked with the analysis of

Re: TypePriorities configured in the descriptor of an aggregate engine are not added in uima-as

2017-08-30 Thread Jaroslaw Cwiklik
e priorities, and the > problem is solved. I tested with uima as service with priority > configuration in the aggregate's descriptor and every things is ok. > thanks for your quick attention > > 2017-08-25 16:47 GMT-04:00, Jaroslaw Cwiklik <cwik...@apache.org>: > > Nelson, I just pus

Re: TypePriorities configured in the descriptor of an aggregate engine are not added in uima-as

2017-08-25 Thread Jaroslaw Cwiklik
24 14:27 GMT-04:00, Jaroslaw Cwiklik <cwik...@apache.org>: > > Nelson, I was able to recreate this problem and am working on a fix now. > > Jerry > > > > On Wed, Aug 16, 2017 at 3:39 PM, nelson rivera <nelsonriver...@gmail.com > > > > wrote: > > > &g

Re: TypePriorities configured in the descriptor of an aggregate engine are not added in uima-as

2017-08-24 Thread Jaroslaw Cwiklik
Nelson, I was able to recreate this problem and am working on a fix now. Jerry On Wed, Aug 16, 2017 at 3:39 PM, nelson rivera <nelsonriver...@gmail.com> wrote: > Jerry, i understand and wait. Thanks for your attention. > > 2017-08-16 15:09 GMT-04:00, Jaroslaw Cwiklik <

Re: TypePriorities configured in the descriptor of an aggregate engine are not added in uima-as

2017-08-16 Thread Jaroslaw Cwiklik
Nelson, I need more time to look into this. Quite busy at a moment. Unless someone else wants to jump in here I will address the problem when I am done with current work load, Jerry On Mon, Aug 14, 2017 at 4:36 PM, Jaroslaw Cwiklik <cwik...@apache.org> wrote: > Thanks, I will tr

Re: TypePriorities configured in the descriptor of an aggregate engine are not added in uima-as

2017-08-14 Thread Jaroslaw Cwiklik
Thanks, I will try to test this scenario and get back to ya. Jerry On Mon, Aug 14, 2017 at 4:27 PM, nelson rivera <nelsonriver...@gmail.com> wrote: > Yes, that is happening > > 2017-08-14 15:40 GMT-04:00, Jaroslaw Cwiklik <cwik...@apache.org>: > > Please con

Re: TypePriorities configured in the descriptor of an aggregate engine are not added in uima-as

2017-08-14 Thread Jaroslaw Cwiklik
Please confirm that this is happening: 1) You deploy an aggregate and specify TypePriorities in aggregate analysis engine descriptor. 2) After uima-as client initilizes, you call client's public ProcessingResourceMetaData getMetaData(); 3) You check the returned meta and the type priorities

Re: Overhead in running UIMA Asynchronous Scaleout

2017-08-01 Thread Jaroslaw Cwiklik
Do you deploy both the uima-as client and a service in the same process? How do you get your timing? There is a CAS serialization/deserialization penalty and latency in a broker but should not be huge. The design goal is to support scaleout of analytics across multiple processes on multiple

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-19 Thread Jaroslaw Cwiklik
ackListener.onException(): > INFO: Service:XCharsetDetector JMS unable to Deliver > CAS:6e78005b:15d5be5c629:-7ff6 - > Error:temp-queue://ID:nelson-XPS-8700-39640-1500485371575-1:1:2 > 01:38:50.715 - 1191: > org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl. > UimaAsAsyn

Re: DUCC Security Model for Service Deployment

2017-07-19 Thread Jaroslaw Cwiklik
I am > unfamiliar with AMQ in isolation. It should also allow for comparison > between AS and DUCC. Is this a reasonable approach? > > Thanks for all your help so far, > > -John > > > -Original Message- > From: uim...@gmail.com [mailto:uim...@gmail.com] On Behalf Of

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-19 Thread Jaroslaw Cwiklik
Request. > Releasing CAS Reference Id: 46623412:15d57234659:-7fea > > > and then in my mechanism de timeout in client side, after 10 seconds > without get any notification on onBeforeProcessCAS() metod of uima-as > client's UimaAsBaseCallbackListener y throws timeout exception. > >

Re: DUCC Security Model for Service Deployment

2017-07-18 Thread Jaroslaw Cwiklik
hoping to make a clean migration to DUCC - maybe it would be easier > to get rid of services altogether and just submit jobs? Is this the current > trend or are a lot of folks running secondary brokers and services? > > -John > > > > -Original Message- > Fro

Re: DUCC Security Model for Service Deployment

2017-07-18 Thread Jaroslaw Cwiklik
Hi, as Lou stated its recommended to use a secondary broker for services to keep this separate from a DUCC broker. The DUCC broker is protected by default as it is used for internal communication. If you want to run without broker credentials change this setting in default.ducc.properties

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-17 Thread Jaroslaw Cwiklik
w. > > I can build the snapshot from > https://svn.apache.org/repos/asf/uima/uima-as/trunk?, the change is > there? > > 2017-07-14 9:28 GMT-04:00, Jaroslaw Cwiklik <cwik...@apache.org>: > > Hi, please download a new snapshot > > > > https://repository.apache

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-11 Thread Jaroslaw Cwiklik
m>: > > My client application not receive any exception in any time. I use > > both, in some uima-as client use sendAndReceive() and in others use > > send(), each uima-as client has try-catch and none of them receive a > > exception, the following lines are printed in the

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-10 Thread Jaroslaw Cwiklik
, Jaroslaw Cwiklik <cwik...@apache.org> wrote: > Hmm, this is a different exception from Session closed. This time it is a > Connection is closed. Seems like a race condition. How many UIMA-AS clients > do you have running in this process? > > Jerry > > On Mon, Jul 10, 201

Re: How know when "Session is closed" after establish connections between uima-as client and ActiveMQ?

2017-07-05 Thread Jaroslaw Cwiklik
Just delivered a few changes to deal with a stale Session. Can you build from source and test. Jerry On Wed, Jul 5, 2017 at 2:21 PM, Jaroslaw Cwiklik <cwik...@apache.org> wrote: > Thanks. Will check the code and work on a fix > > Jerry > > On Wed, Jul 5, 2017 at 2

Re: Broken conections after ACTIVEMQ restart with service uima-as CasMultiplier and delegate remote

2017-07-05 Thread Jaroslaw Cwiklik
Hi, the above problem is a different issue from the Session Closed reported earlier which occurs in the uima-as client. Please provide a stack trace for that. The issue you are reporting above is an expected behavior. The remote is trying to deliver msgs to a temp reply queue which no longer

Re: Synchonizing Batches AE and StatusCallbackListener

2017-04-21 Thread Jaroslaw Cwiklik
gt; Or perhaps I got it wrong to begin with, that’s possible. But I read the > documentation back then and couldn’t see how to do things much simpler. > > BUT if CPEs can’t solve my issue and UIMA-AS can, then perhaps I will try > it again. > > Another question: You said “CPE

Re: Synchonizing Batches AE and StatusCallbackListener

2017-04-20 Thread Jaroslaw Cwiklik
Hi Erik, sorry for a delay responding to your question. This seems like a CPE question is this right? I am not quite following what is the issue you are running into. Could you explain this better? With a clearer problem description perhaps others will jump in with an answer :) Just FYI, the CPE

Re: Reordering Analysis Engines

2017-02-27 Thread Jaroslaw Cwiklik
Take a look at UIMA-AS: "UIMA Asynchronous Scaleout (AS) is a set of capabilities supported in the UIMA Framework for achieving scaleout that is more general than the approaches provided for in the Collection Processing Manager (CPM). AS is a second generation design, replacing the CPM and Vinci

[ANNOUNCE] Apache UIMA DUCC 2.2.0 released

2017-02-23 Thread Jaroslaw Cwiklik
The Apache UIMA team is pleased to announce the release of the Apache UIMA-DUCC version 2.2.0. The Unstructured Information Management Architecture (UIMA) is a component framework supporting development, discovery, composition, and deployment of multi-modal analytics tasked with the analysis of

Re: Many views in the cas to serialize cause java.lang.NullPointerException in service uima-as

2017-02-22 Thread Jaroslaw Cwiklik
e accessed in two separate > > threads, but i not have idea,because the cas generated in the second > > cas multipler is composed of all views and then this cas go to the end > > annotator that have only 1 instance, and here finish the flow. > > > > 2017-02-15 16:31 GMT-05:0

Re: Passing object from cpe to collection reader

2017-02-22 Thread Jaroslaw Cwiklik
Oops, by mistake I included a link to very old uima documentation. Sorry about that. The Java Docs can be found here: https://uima.apache.org/d/uimaj-current/apidocs/index.html Looks for UimaFramework and produceCollectionReader(...) -jerry On Wed, Feb 22, 2017 at 1:40 PM, Jaroslaw Cwiklik

Re: Passing object from cpe to collection reader

2017-02-22 Thread Jaroslaw Cwiklik
Not sure if this is the best way to do it but can you first instantiate and initialize your CR and plug it in to the CPM? Something like this: Map additionalParams = new HashMap(); additionalParams.put("object1", object1); BaseCollectionReader colreader =

Re: Many views in the cas to serialize cause java.lang.NullPointerException in service uima-as

2017-02-15 Thread Jaroslaw Cwiklik
ur code which allows a CAS to be accessed in two separate threads. -jerry On Wed, Feb 15, 2017 at 12:43 PM, Jaroslaw Cwiklik <uim...@gmail.com> wrote: > Nelson, I can try to setup a simple pipeline with one AE which will add 20 > views and than test serialization. Not sure if I get to i

Re: Many views in the cas to serialize cause java.lang.NullPointerException in service uima-as

2017-02-15 Thread Jaroslaw Cwiklik
-In CAS-out. A CAS instance can only be operated on by one AE at a time. -jerry On Wed, Feb 15, 2017 at 11:06 AM, Marshall Schor <m...@schor.com> wrote: > On 2/15/2017 9:51 AM, Jaroslaw Cwiklik wrote: > > Not exactly sure how to debug this. > > a small-ish test case we c

Re: Many views in the cas to serialize cause java.lang.NullPointerException in service uima-as

2017-02-15 Thread Jaroslaw Cwiklik
continueOnRetryFailure="true"/> > > > > > > continueOnRetryFailure="true"/> > > > > > > > > >

Re: Many views in the cas to serialize cause java.lang.NullPointerException in service uima-as

2017-02-10 Thread Jaroslaw Cwiklik
Num++) { FSIndexRepositoryImpl loopIR = (FSIndexRepositoryImpl) cas.getBaseCAS().getSofaIndexRepository(sofaNum); final int sofaAddr = getSofaAddr(sofaNum); Not an expert of this code, but it smells like another thread is changing a CAS which is being serialized. -jerry On Fri, Feb 10, 2017 at 4:31 PM, Jaros

Re: Many views in the cas to serialize cause java.lang.NullPointerException in service uima-as

2017-02-10 Thread Jaroslaw Cwiklik
Is this a primitive (single-threaded) aggregate or async (multi-threaded)? If async, try to simplify and run primitive aggregate with scaleout=1. The CAS does not seem to be null in this case. The caller of the getSerializedCas() checks for null. The code dies here: Caused by:

Re: Using optional argument -Duima.as.enable.jmx=false

2016-12-23 Thread Jaroslaw Cwiklik
Nelson, thanks for pointing this out. This parameter (-Duima.as.enable.jmx=false) disables ActiveMQ JMX port when running UIMA-AS extended tests. Per JIRA https://issues.apache.org/jira/browse/UIMA-5166 the fix addresses this scenario only. The fix was motivated by a complaint from Apache infra

[ANNOUNCE] Apache UIMA AS 2.9.0 released

2016-12-16 Thread Jaroslaw Cwiklik
The Apache UIMA team is pleased to announce the release of the Apache UIMA-AS version 2.9.0, which includes asynchronous scaleout capabilities for the UIMA annotators. UIMA-AS includes the base UIMA SDK and augments it with scaleout capability; it is a next-generation replacement for the original

Re: Possible cause of nullPointerException in casmultiplier?

2016-11-28 Thread Jaroslaw Cwiklik
other request, it is correct?. > > > > 2016-11-28 12:00 GMT-05:00, Jaroslaw Cwiklik <uim...@gmail.com>: > > Nelson, this error: > > > > "The system tried to return a common analysis structure to the pool from > > which it was not checked out." >

Re: Possible cause of nullPointerException in casmultiplier?

2016-11-28 Thread Jaroslaw Cwiklik
Nelson, this error: "The system tried to return a common analysis structure to the pool from which it was not checked out." I think this is caused if you try to release a CAS that has been previously released. Sure you are not trying to release it twice? I think releasing an input CAS in AE code

Re: No service reply, after org.xml.sax.SAXParseException; Trying to serialize non-XML 1.0 character:

2016-11-28 Thread Jaroslaw Cwiklik
lizer throws an exception. > > 2016-11-21 16:32 GMT-05:00, Jaroslaw Cwiklik <uim...@gmail.com>: > > Nelson, a fix for this is part of JIRA UIMA-5189 which addresses error > > handing when a serializer throws an exception. > > I will post UIMA-AS 2.9.0 release candidate

Re: What should happen with the original input cas and child cas when a excption occurs

2016-11-22 Thread Jaroslaw Cwiklik
Nelson, in a scenario where there is a CM failure all child CASes are auto released back to a pool and an input CAS is returned with an exception. Are you observing a hang due to depleted cas pool on subsequent input CAS? Jerry On Tue, Nov 22, 2016 at 4:15 PM, nelson rivera

Re: TERMINATE Action with org.xml.sax.SAXParseException in deserializeCasFromXmi function

2016-11-21 Thread Jaroslaw Cwiklik
Nelson, I've created a JIRA for this bug: https://issues.apache.org/jira/browse/UIMA-5189 This will be fixed soon and will be part of the next UIMA-AS release (2.9.0). Thanks for finding the bug. Jerry On Fri, Nov 18, 2016 at 3:39 PM, Jaroslaw Cwiklik <uim...@gmail.com> wrote: > Hi, l

Re: TERMINATE Action with org.xml.sax.SAXParseException in deserializeCasFromXmi function

2016-11-18 Thread Jaroslaw Cwiklik
Hi, looks like a bug. Will take a look on Monday. Thanks Jerry On Fri, Nov 18, 2016 at 11:12 AM, nelson rivera wrote: > I have a service aggregate deploys in uima-as. When i send a input cas > with a text that contains apparently invalid character, occurs an > error

Re: Broken conections after ACTIVEMQ restart

2016-11-01 Thread Jaroslaw Cwiklik
09 - 14: > org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerContainer. > handleListenerSetupFailure: > WARNING: Uima AS Service:XClusterAnalyzerAggregate Listener > Established Connection to Broker: tcp://localhost:61616 > > > > And in the console output of service: >

Re: Removed Mbeans

2016-10-27 Thread Jaroslaw Cwiklik
at 9:29 AM, Jaroslaw Cwiklik <uim...@gmail.com> wrote: > Matthias, I will take a look at this soon. The undeploy should only > remove MBeans related to a pipeline being undeployed. Not sure how > involved a fix for this will be yet. Just created JIRA for this: > https://issu

Re: UIMA DUCC java.lang.SecurityException

2016-10-10 Thread Jaroslaw Cwiklik
at 9:38 AM, Jaroslaw Cwiklik <uim...@gmail.com> wrote: > Wahed, actually this is not a bug. Ducc by default runs with a secure > broker. Meaning that all destinations (queues, topics) are password > protected. The exception you are seeing is coming from a service unable to >

Re: UIMA DUCC java.lang.SecurityException

2016-10-10 Thread Jaroslaw Cwiklik
Wahed, actually this is not a bug. Ducc by default runs with a secure broker. Meaning that all destinations (queues, topics) are password protected. The exception you are seeing is coming from a service unable to authenticate. I am not sure if this is documented, but to use services you need to

Re: UIMA DUCC java.lang.SecurityException

2016-10-07 Thread Jaroslaw Cwiklik
Looks like a bug in Ducc. Just rebuilt Ducc from trunk and am seeing this in the sm.log: 07 Oct 2016 11:47:59,477 INFO SM.PingDriver - 0 run Starting INTERNAL ping. 07 Oct 2016 11:47:59,655 ERROR SM.PingDriver - 0 handleStatistics Missed_pings 1 endpoint

Re: Removed Mbeans

2016-10-07 Thread Jaroslaw Cwiklik
Matthias, I will take a look at this soon. The undeploy should only remove MBeans related to a pipeline being undeployed. Not sure how involved a fix for this will be yet. Just created JIRA for this: https://issues.apache.org/jira/browse/UIMA-5136 Jerry On Fri, Oct 7, 2016 at 3:28 AM, Matthias

Re: Broken conections after ACTIVEMQ restart

2016-09-28 Thread Jaroslaw Cwiklik
d: > >> Listeners reconnect: > >> INFO | Successfully refreshed JMS Connection > >> INFO | Successfully refreshed JMS Connection > >> In my case (uima-as 2.8.1) seems to be a problem with reestablishing > >> the connection to the broker after restart. > >> >

Re: Broken conections after ACTIVEMQ restart

2016-09-28 Thread Jaroslaw Cwiklik
client receive the parent CAS, but not child CAS. > > In this moment i will trys with uima-as-2.9.0 snapshot > > > 2016-09-27 15:33 GMT-04:00, Jaroslaw Cwiklik <uim...@gmail.com>: > > Nelson, in my scenario I do have a Cas Multiplier which produces a child > > CAS

Re: Broken conections after ACTIVEMQ restart

2016-09-27 Thread Jaroslaw Cwiklik
ee how it behaves > > 2016-09-27 14:27 GMT-04:00, Jaroslaw Cwiklik <uim...@gmail.com>: > > I was able to stage this scenario in which an aggregate service cas > > multiplier receives a single input CAS and > > produces a child CAS. > > > > Scenario: >

Re: Broken conections after ACTIVEMQ restart

2016-09-27 Thread Jaroslaw Cwiklik
I am still investigating that part. I just am confused how you are able to see a reply in the client. -Jerry On Tue, Sep 27, 2016 at 1:13 PM, Jaroslaw Cwiklik <uim...@gmail.com> wrote: > From what I understand there are two issues: > > 1) Why service JMS listeners are not reconnecting w

Re: Broken conections after ACTIVEMQ restart

2016-09-27 Thread Jaroslaw Cwiklik
up a test to see if I can create the scenario.It will take me a bit of time to set this up but I will let you know what happens. -jerry On Tue, Sep 27, 2016 at 12:42 PM, Jaroslaw Cwiklik <uim...@gmail.com> wrote: > Here is the uima-as 2.9.0-SNAPSHOT to try: > https://repository.apa

Re: Broken conections after ACTIVEMQ restart

2016-09-27 Thread Jaroslaw Cwiklik
-as issues. Any other idea, i am stagnant at work > > 2016-09-22 13:04 GMT-04:00, Jaroslaw Cwiklik <uim...@gmail.com>: > > Can you install AMQ broker 5.14.0 to see if this is related to broker > > issues. > > > > -jerry > > > > On Thu, Sep 22, 2016 at

Re: Debugging a NullPointerException in UIMA AS / processing timeouts

2016-09-26 Thread Jaroslaw Cwiklik
results in time. > > However, in this situation I would expect a exception that the annotator > doesn't respond in time, rather than these messages, so that I would know > where to look right away. Have I misconfigured some debugging / pipeline > settings or is this something for th

Re: NullPointerException when RunRemoteAsyncAE tries to unload (UIMA AS and UIMA C++)

2016-09-23 Thread Jaroslaw Cwiklik
David, here is the next snapshot: https://repository.apache.org/content/repositories/snapshots/org/apache/uima/uima-as/2.9.0-SNAPSHOT/uima-as-2.9.0-20160923.195233-6.tar.gz -jerry On Fri, Sep 23, 2016 at 3:35 PM, Jaroslaw Cwiklik <uim...@gmail.com> wrote: > David, like I said not m

Re: NullPointerException when RunRemoteAsyncAE tries to unload (UIMA AS and UIMA C++)

2016-09-23 Thread Jaroslaw Cwiklik
. > quiesceAndShutdown( > UimacppServiceManagement.java:409) > at > org.apache.uima.aae.controller.UimacppShutdownHook.run( > UimacppServiceContro > ller.java:1105) > UimacppShutdownHook destroy C++ process > > > > > On 9/23/16, 11:31 AM, "Jaroslaw Cwikl

Re: NullPointerException when RunRemoteAsyncAE tries to unload (UIMA AS and UIMA C++)

2016-09-23 Thread Jaroslaw Cwiklik
macppServiceManagement. > quiesceAndStop(Uima > cppServiceManagement.java:88) > at > org.apache.uima.aae.controller.UimacppServiceManagement. > quiesceAndShutdown( > UimacppServiceManagement.java:397) > at > org.apache.uima.aae.controller.UimacppShutdownHook.run( > UimacppServ

Re: NullPointerException when RunRemoteAsyncAE tries to unload (UIMA AS and UIMA C++)

2016-09-22 Thread Jaroslaw Cwiklik
thoroughly tested or vetted yet. It has some fixes and improvements since 2.8.1. It includes a new AMQ broker version 5.14.0. It also has a fix for the problem you've reported. -jerry On Thu, Sep 22, 2016 at 3:15 PM, Jaroslaw Cwiklik <uim...@gmail.com> wrote: > Another possibility is

Re: Broken conections after ACTIVEMQ restart

2016-09-22 Thread Jaroslaw Cwiklik
UIMA-AS aggregate service.(not comes > back parent CAS or child CAS , to the uima-as client) > 5- Client sends another CAS to UIMA-AS aggregate service.(not comes > back parent CAS or child CAS , to the uima-as client) > If i try quiesce the Aggregate Service console shows: "Qu

Re: NullPointerException when RunRemoteAsyncAE tries to unload (UIMA AS and UIMA C++)

2016-09-22 Thread Jaroslaw Cwiklik
This warning WARN Transport - Transport Connection to: tcp:// 127.0.0.1:56261 failed: java.io.EOFException is from brokers log or console I suspect. It just means that the broker lost a connection to a client. Looks like the client went away without closing a connection.

Re: Broken conections after ACTIVEMQ restart

2016-09-22 Thread Jaroslaw Cwiklik
is stale -jerry On Thu, Sep 22, 2016 at 10:38 AM, Jaroslaw Cwiklik <uim...@gmail.com> wrote: > Strange. You say that the parent CAS comes back but the child CAS doesnt. > Are there any exceptions in the service log? Perhaps the service is unable > to send the child CAS due to

Re: Broken conections after ACTIVEMQ restart

2016-09-21 Thread Jaroslaw Cwiklik
Which version of UIMA-AS are you using? -Jerry On Wed, Sep 21, 2016 at 3:42 PM, nelson rivera wrote: > When start ActiveMQ and deploys an annotator as service, processing is > executed correctly, but when the broker is stopped and subsequently > restarted. UIMA-AS

Re: initiating CpeComponentDescriptor from String or InputStream

2016-09-09 Thread Jaroslaw Cwiklik
Can you just write out the component descriptor to a file and pass that to the factory? I think you need a path since the underlying code needs uima-style include which supports import by name or location. Perhaps CPE can do this for you with a new API you are suggesting but I the quickest path

Re: Debugging a NullPointerException in UIMA AS / processing timeouts

2016-08-29 Thread Jaroslaw Cwiklik
ll try to get more information with a increased > log level, and get back to you. > > Thanks again! > > Regards, > > Egbert > > > Op 25-8-2016 om 17:17 schreef Jaroslaw Cwiklik: > > Hi, I have a feeling that there might be a race condition here. In the >> client

Re: Debugging a NullPointerException in UIMA AS / processing timeouts

2016-08-25 Thread Jaroslaw Cwiklik
Hi, I have a feeling that there might be a race condition here. In the client, the timer pops and at the same time a reply is received. The timout logic is resetting the CAS while its being deserialized which may lead to NPE. Not 100% certain but this might be the problem. Any chance you can

[ANNOUNCE] Apache UIMA DUCC 2.1.0 released

2016-08-08 Thread Jaroslaw Cwiklik
The Apache UIMA team is pleased to announce the release of the UIMA DUCC, version 2.1.0. DUCC stands for Distributed UIMA Cluster Computing. DUCC is a cluster management system providing tooling, management, and scheduling facilities to automate the scale-out of applications written to the UIMA

Re: SaxParse Exception

2016-08-05 Thread Jaroslaw Cwiklik
Matthias, I will create a JIRA for this so that it can be addressed for the next UIMA-AS release For some reason I have not seen this type of problem when running regression tests. Thank you for discovering this and finding the fix. Jerry On Fri, Aug 5, 2016 at 3:16 AM, Matthias Koch

Re: Basic question about UIMA as service deployment

2016-07-08 Thread Jaroslaw Cwiklik
Hello Yamen, you can deploy uima-as service on a node which does not have a broker. One of the benefits of JMS is location transparency. The broker can run on any node in a cluster and mediates messages between client(s) and service(s). A service connects to a broker and registers its queue.

[ANNOUNCE] Apache UIMA-AS 2.8.1 released

2016-05-20 Thread Jaroslaw Cwiklik
The Apache UIMA team is pleased to announce the release of the Apache UIMA-AS version 2.8.1, which includes asynchronous scaleout capabilities for the UIMA annotators. UIMA-AS includes the base UIMA SDK and augments it with scaleout capability; it is a next-generation replacement for the original

Re: UIMAfit - cannot find type system

2016-05-04 Thread Jaroslaw Cwiklik
I think this is import by name so no need for .xml at the end. Try: classpath*:Users/anni/ /typesystem Jerry On Thu, Apr 28, 2016 at 5:06 PM, Anni R Coden wrote: > Hi - > > I am using UIMAfit > > I created a a file: META-INF/org.apache.uima.fit/types.txt > > in

Re: UIMA-AS and RabbitMQ

2015-12-21 Thread Jaroslaw Cwiklik
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 wrote: > Hi, > >

Re: UIMA-AS and RabbitMQ

2015-12-21 Thread Jaroslaw Cwiklik
n 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 possibl

Re: UIMA AS roadmap

2015-12-08 Thread Jaroslaw Cwiklik
> > Am 08.12.2015 um 16:31 schrieb Jaroslaw Cwiklik: > > Mihaela, I am working on the new UIMA-AS release right now. It will > include > > the UIMA SDK 2.8.1, ActiveMQ 5.12.1, and a few fixes and features like: > > > > - Fixed Performance Metrics for Async Aggregates &

Re: UIMA AS roadmap

2015-12-08 Thread Jaroslaw Cwiklik
Mihaela, I am working on the new UIMA-AS release right now. It will include the UIMA SDK 2.8.1, ActiveMQ 5.12.1, and a few fixes and features like: - Fixed Performance Metrics for Async Aggregates - Prime AEs before processing - Fixed Eclipse Runtime Configurations The new release should be

[ANNOUNCE] Apache UIMA DUCC 2.0.1 released

2015-10-26 Thread Jaroslaw Cwiklik
The Apache UIMA team is pleased to announce the release of the UIMA DUCC, version 2.0.1. DUCC stands for Distributed UIMA Cluster Computing. DUCC is a cluster management system providing tooling, management, and scheduling facilities to automate the scale-out of applications written to the UIMA

Re: DUCC - Work Item Queue Time Management

2015-09-17 Thread Jaroslaw Cwiklik
Hi, can you try Ducc 2.0.0? It was recently released into Apache. One of the key changes was to remove queues as means of transport between JD (Job Driver) and JP (Job Process). Instead, each JP uses HTTP to request a Work Item (CAS) from a JD. DUCC 1.1.0 has a concept of a WI timeout which I

[ANNOUNCE] Apache UIMA DUCC 2.0.0 released

2015-08-12 Thread Jaroslaw Cwiklik
The Apache Maven team is pleased to announce the release of the UIMA DUCC, version 2.0.0. DUCC stands for Distributed UIMA Cluster Computing. DUCC is a cluster management system providing tooling, management, and scheduling facilities to automate the scale-out of applications written to the UIMA

Re: UIMAj3 ideas

2015-07-16 Thread Jaroslaw Cwiklik
The UIMA-AS *does* have an API to generate deployment descriptors although its not documented. Its an internal API for now and most likely will be documented in the next release of UIMA-AS. The API is implemented by DeploymentDescriptorFactory.java. in the uimaj-as-core project. Jerry On Thu,

  1   2   >