From user-return-7968-archive-asf-public=cust-asf.ponee.io@uima.apache.org Fri Sep 7 23:20:32 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0B463180672 for ; Fri, 7 Sep 2018 23:20:31 +0200 (CEST) Received: (qmail 4897 invoked by uid 500); 7 Sep 2018 21:20:31 -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 4876 invoked by uid 99); 7 Sep 2018 21:20:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2018 21:20:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id F154C18A9DF for ; Fri, 7 Sep 2018 21:20:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id W3eCtkugUI43 for ; Fri, 7 Sep 2018 21:20:28 +0000 (UTC) Received: from gateway23.websitewelcome.com (gateway23.websitewelcome.com [192.185.50.120]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id DE9625F16A for ; Fri, 7 Sep 2018 21:20:27 +0000 (UTC) Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway23.websitewelcome.com (Postfix) with ESMTP id B4F8999F for ; Fri, 7 Sep 2018 16:20:17 -0500 (CDT) Received: from gator3253.hostgator.com ([198.57.247.217]) by cmsmtp with SMTP id yOAEfyMUobXuJyOAbfI8wQ; Fri, 07 Sep 2018 16:20:17 -0500 X-Authority-Reason: nr=8 Received: from [129.34.9.50] (port=18002 helo=[9.31.100.39]) by gator3253.hostgator.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1fyOAC-001DBx-Dn for user@uima.apache.org; Fri, 07 Sep 2018 16:19:36 -0500 Subject: Re: CAS and Serialization on Emoji codes To: user@uima.apache.org References: From: Marshall Schor Openpgp: preference=signencrypt Autocrypt: addr=msa@schor.com; prefer-encrypt=mutual; keydata= xsFNBFjyRhwBEADCmBAgPZHFtpGBlNCwYhwjrgXnJEkETZe4Y9h3b/zfg4F8VFeQsR4Ju17V I63cYIaVNisWoURVOVFyia9/C2nK5q8u5qhb4mBEQIZ8zqpcm9qUOfoM21XwK/SireOQrNQn cxAsWoC5znEuFM/UtYQFygSfGKOs/pVliGkpbvwByUugJvwKsDaWeoDYeC1Qfv3NWyJhGf0A HMHZAv0hlry6n9bxkrPHWrHMH/Pev5pPAogVf5dGAFhEQ0fYIgKJBlqe0OruKGD+ZU657bIL r/MZDnE6RTEH8OMow1Hm8yC8KQUgmKjpwx4nqe1Doyn4nvjyHXWIO9zyjA0lgP4FkpVURaYj AnlyMV3+swu5NbA7+FuonkGuMXRMFJiGDJIHqgrfvbRHM6zqlGNXzHpd7xuZnrtr4moXJidy hB9nCERfzXPq1+qTZy7Rnvf8l5b8GsVK7b4fR59QiQvmqn9UrXRUUsVga6jN/pXUB0liNZjn ufe+wNlVmQht4JxXzafy3PAVoZgbBil83HACPxtotMAJxY/x+OeBB1xU3KfukygmjXiVZYiQ EoOztn/3zp7dPEsAR0fWJa/Bxosh1JPIIZLqF1um9VIXKxGG+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4Y61u7cvCail8pEHijihV8L0wqRFonYZliiaWPQrSn4 DK/1wG+YG4rP/G1PQEtT4pk7tEfVSihV4tx6PsC+Um+gJEFtlipQf4V6ANjU8vFlyTgaHPJG iiCGe2lQkeChXIWP2a+fTntbidGEG/+FpYmQdIawuTBbN8vPq0QPdQapJG2NAbenB5k4eHQb /+9ttfYIRlz6kRhiNFdMbw== Message-ID: <93c7cec4-2c79-d180-bd00-e752806a6763@schor.com> Date: Fri, 7 Sep 2018 17:19:34 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3253.hostgator.com X-AntiAbuse: Original Domain - uima.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - schor.com X-BWhitelist: no X-Source-IP: 129.34.9.50 X-Source-L: No X-Exim-ID: 1fyOAC-001DBx-Dn X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([9.31.100.39]) [129.34.9.50]:18002 X-Source-Auth: msa+schor.com X-Email-Count: 1 X-Source-Cap: bWlzY2hvcjttaXNjaG9yO2dhdG9yMzI1My5ob3N0Z2F0b3IuY29t X-Local-Domain: yes This sounds like a configuration issue around JMS messaging.  An internet search turned up this, which might have an idea for the solution: https://stackoverflow.com/questions/36619432/springboot-activemq-how-to-set-trusted-packages -Marshall Schor On 9/5/2018 9:50 AM, Yuqi Zhang wrote: > Dear UIMA experts, > > I need process a String including an emoji 😊( > https://www.iemoji.com/view/emoji/2/smileys-people/smiling-face-with-smiling-eyes > ). > I put the string "This is a 😊" in a CAS, and sendCAS(cas) to a remote > server. > But it failed at addMessage(msg) at line 971 in class > BaseUIMAAsynchronousEngineCommon_impl with the error message: > > javax.jms.JMSException: Failed to build body from content. Serializable > class not available to broker. Reason: java.lang.ClassNotFoundException: > Forbidden class org.xml.sax.SAXParseException! This class is not trusted to > be serialized as ObjectMessage payload. > > > When I check the serialization result of the cas in the msg, I see the 😊 > is encoded as "��". > Is that the reason this CAS sent failed? > Because this emoji 😊 can be processed without any problem in my another > codes where calls the sendAndReceiveCAS(). The serialization result there > is "😊". > How does it happen? > Besides the sofa content, is there any other factors to affect the > serialization result? > > I am a newer to UIMA. And I have read the UIMA references about the > serialization and cas sections. But still have no idea how I could make 😊 > surely serialized into "😊" > > Many thanks for any feedback! > Best regards, > Yuqi Zhang >