Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D0C47200BEF for ; Wed, 4 Jan 2017 15:35:25 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CF413160B3A; Wed, 4 Jan 2017 14:35:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 24C32160B39 for ; Wed, 4 Jan 2017 15:35:24 +0100 (CET) Received: (qmail 60947 invoked by uid 500); 4 Jan 2017 14:35:23 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 60932 invoked by uid 99); 4 Jan 2017 14:35:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2017 14:35:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 09A58C023E for ; Wed, 4 Jan 2017 14:35:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.429 X-Spam-Level: * X-Spam-Status: No, score=1.429 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id qw5LLaztm5dk for ; Wed, 4 Jan 2017 14:35:22 +0000 (UTC) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id B421A5F47A for ; Wed, 4 Jan 2017 14:35:21 +0000 (UTC) Received: by mail-lf0-f48.google.com with SMTP id k86so16318335lfi.0 for ; Wed, 04 Jan 2017 06:35:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=EmoMbQQzKAGHN51LK4AWNaBde129a6W6U6HubcKSss4=; b=IIcDlDuH1fF3QjrJ5rA+OiVfsZC7Lf9ock4AXNtWgJPIm7mitoVaOcpf8Fs1/h9vXj f/vdfnuNVLxWRVrIei1QOWeMlnw0wmFldwKkkdACLtd6Keiz20LcIp55dl/3XQTge54x QLXSbC7J6fW3WrQJwlvLyWTC5SK8MYB/xLD3yx1iIdaUzBgkaBzKfy1AiKPzBdVl4Ntt WnfUJzl5KWlkHTKhjjjQICEXxSZ3PusDizVb8LKoktNNeAqkjf+Cyfk2q2mou9YEanVW bs2MZhejHf/Q+k3T0ZHHJtM7Gfgazv7/NyapMMjDDFYRDIF6HFX8vceQgi1Pmb8EqmLD UgWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EmoMbQQzKAGHN51LK4AWNaBde129a6W6U6HubcKSss4=; b=ejRpGDeK6iQgcGx/599OpwNU6zL/gsZ99r9Ih1bQnbx0pRODNcpQ03WdwrjWRTVCBq 1nMCxofvpvgFExekN+S2PSoEl8Y6yDD1JU4ygMRyXDiRI7h+9Ha1fVq1ZkM0ROtZ/7LP w/f8vbI5LJfBIVPr2f2fQlW3+s/X+CHW5sv78q2+m+zupc5FeUIo3+p9hdDrGSVT94Dj rcpeGlAvQSS/kR3IOg2nlsLQ6L5btg2mzu4A69Q+C8L3CA9ZxrMxaI2QWrEotD9+kbF+ 4llSJDL3yRH9Af0vY0cB0Xc8dlMgWHgxPMaZYJi4iqzXkCXCJKBtr/WRAdDaJIFODZhv TM2A== X-Gm-Message-State: AIkVDXL/ZZ4AZxqYqGECi4KLbsWl3TjW1vA4xkx/qHoRv5iLcPXqh8X5wdPHiwQMugPmU4BqRrUEoPSNGacPyg== X-Received: by 10.25.199.198 with SMTP id x189mr24632127lff.164.1483540520958; Wed, 04 Jan 2017 06:35:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.204.17 with HTTP; Wed, 4 Jan 2017 06:35:20 -0800 (PST) From: Asher Stern Date: Wed, 4 Jan 2017 16:35:20 +0200 Message-ID: Subject: External resource shared among AEs To: user@uima.apache.org Content-Type: multipart/alternative; boundary=94eb2c1a1b6cc30110054545b10a archived-at: Wed, 04 Jan 2017 14:35:26 -0000 --94eb2c1a1b6cc30110054545b10a Content-Type: text/plain; charset=UTF-8 Hi. Using UIMAFit, is it possible to create a single instance of an external-resource, and use it in several AEs, that are not connected to each other? They are *not* combined in an aggregate AE. They are totally independent. Each AE runs in a different thread, and processes different document. But they both need the same resource. What I've realized is that every call to AnalysisEngineFactory.createEngine(), with the analysis engine description creates new instances of the external resources, even though the resources descriptions is shared among the AEs when created by AnalysisEngineFactory.createEngineDescription(). Thanks in advance, Asher --94eb2c1a1b6cc30110054545b10a--