Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3CDAD084 for ; Wed, 10 Oct 2012 11:50:29 +0000 (UTC) Received: (qmail 99203 invoked by uid 500); 10 Oct 2012 11:50:26 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 98533 invoked by uid 500); 10 Oct 2012 11:50:20 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 98509 invoked by uid 99); 10 Oct 2012 11:50:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 11:50:19 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mouradk78@gmail.com designates 209.85.212.169 as permitted sender) Received: from [209.85.212.169] (HELO mail-wi0-f169.google.com) (209.85.212.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 11:50:12 +0000 Received: by mail-wi0-f169.google.com with SMTP id hq4so5418194wib.0 for ; Wed, 10 Oct 2012 04:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:message-id:date:to:mime-version:x-mailer; bh=rT9hqu5v1g9LYxpJhBXd4nKeJ42dxJPl6Y9mdhsREAg=; b=e+U3bHUEiscw2EkwzFc6jpOjWtj+qiSq6b+Mq3IAYkpVPQw9pkxmfX0NGS3qLcNMwm d3OHEORF78j/2wr2LUxtMVbB2szEQIjQiG7ATvq3IeNH2M9wUKTK+ULq4d5Wto68H1+6 1k7dPdNSYoIADVD1o+THFXIHoWqu1QWLDWcJoko8RoC6DRXI8PyvUJA+JsSyIhl1dR3E WpM6ZYJmJ8mDTMfqNP0IpA2E779+pHCQCZlgR1bPN4uGm3J6T7Z7p22LFj3ki4oA0UDo VrI3fCwLDPcF1qUww9vnPTT0SMs2fyL4tm0JWUrfOcugb2V/aMi/Nf5YFD2DdbQ09NvD IugQ== Received: by 10.180.101.230 with SMTP id fj6mr12322114wib.16.1349869791648; Wed, 10 Oct 2012 04:49:51 -0700 (PDT) Received: from [192.168.1.13] ([31.24.220.3]) by mx.google.com with ESMTPS id cn6sm2402805wib.9.2012.10.10.04.49.51 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Oct 2012 04:49:51 -0700 (PDT) From: Mouradk Content-Type: multipart/alternative; boundary="Apple-Mail=_D230AB33-1908-4577-84C7-1A4701CDE5A3" Subject: Tomcat Security Limitation Message-Id: <52088585-3F02-4F07-88A1-069CE229F11B@googlemail.com> Date: Wed, 10 Oct 2012 12:49:50 +0100 To: users@tomcat.apache.org Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) X-Mailer: Apple Mail (2.1498) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_D230AB33-1908-4577-84C7-1A4701CDE5A3 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Hello, I am running a servlet that reads and writes to an remote instance of = Hbase/Hadoop on ec2. When the security manager is off, all is fine. But = when the manager is on, write and read operations fail. I have the following permissions on my 04webapps.policy file: permission java.net.SocketPermission = "ip-10-234-X-X.eu-west-1.compute.internal:*", "connect,resolve"; permission java.net.SocketPermission "10.234.X.X:*", = "connect,resolve"; =20 (10.234.X.X) being the address of the remote instance with Hbase. I cannot track anything in the logs. No error or exception,the app just = freezes. Your help is much appreciated, Mourad --Apple-Mail=_D230AB33-1908-4577-84C7-1A4701CDE5A3--