Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3364187C2 for ; Mon, 23 Nov 2015 19:47:49 +0000 (UTC) Received: (qmail 80491 invoked by uid 500); 23 Nov 2015 19:47:49 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 80440 invoked by uid 500); 23 Nov 2015 19:47:49 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 80428 invoked by uid 99); 23 Nov 2015 19:47:48 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2015 19:47:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9058FC24EB for ; Mon, 23 Nov 2015 19:47:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.099 X-Spam-Level: X-Spam-Status: No, score=-0.099 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id A9NarmY1hpo1 for ; Mon, 23 Nov 2015 19:47:34 +0000 (UTC) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 5451C2064F for ; Mon, 23 Nov 2015 19:47:34 +0000 (UTC) Received: by lfs39 with SMTP id 39so117247422lfs.3 for ; Mon, 23 Nov 2015 11:47:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=bXrExSfR7bIr+iCYX6jZF90K2tNS1g8Gfu9eF/3Howk=; b=qKuPXR6A5d16vOUs0Mdr4FUxEs8iGbzqIS4MRCRfCDPSugfIFDhzfj+5yqqnBE8dBw cXUi6pWPwoWp2L+64xUUzmGBa6tea5QmWRW1ymrbptoEmBQtQRW2c7UzTZ/xt2Xa3THp QpUCyex8DJnBSjVCR7OrCNrfNpUcLzLcUQgvXvZQKA0i8WhqOQFsJdPTtuOvtSqOIEKj LAHzXc2xbr4qhrqB25rFsuqPLD45E7LKnKIdlr4FH4LOB5Vp2Ipxxxov/5vO3NTPrgfi hu8AH/3P9h1S3zNgNDYNd9Hbh6rD2WDLyXXnzLlFM+099lCnSQLCndYPy4hljQaKzK0m Z43g== X-Received: by 10.25.144.5 with SMTP id s5mr11776797lfd.154.1448308053564; Mon, 23 Nov 2015 11:47:33 -0800 (PST) Received: from [192.168.0.12] (088156130093.dynamic-ww-2.vectranet.pl. [88.156.130.93]) by smtp.googlemail.com with ESMTPSA id 88sm2131634lfq.3.2015.11.23.11.47.31 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Nov 2015 11:47:32 -0800 (PST) To: dev@camel.apache.org From: Krzysztof Sobkowiak Subject: XStream unmarshalling requires explicit type permissions X-Enigmail-Draft-Status: N1110 Message-ID: <56536D52.30108@gmail.com> Date: Mon, 23 Nov 2015 20:47:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi After upgrade of ServiceMix to Camel 2.16.1 I had a problem with unmarhaling, caused by following error |Caused by: com.thoughtworks.xstream.security.ForbiddenClassException: | It happend for 3 classes - 2 from package org.drools.core.command. and 1 from package org.apache.servicemix.examples.drools.* (something similar described here (https://github.com/wildfly-extras/wildfly-camel/issues/979). We use blueprint in this sample. I have corrected this like in this commit (see camel-server.xml): https://git1-us-west.apache.org/repos/asf?p=servicemix.git;a=commit;h=7110dec0 Is it a correct solution of this problem when using blueprint or should I solve this in another way? Regards Krzysztof -- Krzysztof Sobkowiak JEE & OSS Architect, Integration Architect Apache Software Foundation Member (http://apache.org/) Apache ServiceMix Committer & PMC Member (http://servicemix.apache.org/) Senior Solution Architect @ Capgemini SSC (http://www.capgeminisoftware.pl/) 33rd Degree 4charity (http://2015.33degree.org/)