Return-Path: Delivered-To: apmail-incubator-uima-user-archive@minotaur.apache.org Received: (qmail 43314 invoked from network); 17 Jun 2009 11:28:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jun 2009 11:28:38 -0000 Received: (qmail 24134 invoked by uid 500); 17 Jun 2009 11:28:50 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 24101 invoked by uid 500); 17 Jun 2009 11:28:49 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 24061 invoked by uid 99); 17 Jun 2009 11:28:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 11:28:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of twgoetz@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 17 Jun 2009 11:28:35 +0000 Received: (qmail invoked by alias); 17 Jun 2009 11:28:13 -0000 Received: from blueice2n1.de.ibm.com (EHLO [9.152.14.84]) [195.212.29.171] by mail.gmx.net (mp006) with SMTP; 17 Jun 2009 13:28:13 +0200 X-Authenticated: #25330878 X-Provags-ID: V01U2FsdGVkX1/3BBRSUBn3iBRI4tU0a/BvlihAW4FRNh7+hvUfGg FPuvOHzWoIH9pX Message-ID: <4A38D34D.30105@gmx.de> Date: Wed, 17 Jun 2009 13:28:13 +0200 From: Thilo Goetz User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: uima-user@incubator.apache.org Subject: Re: Simple Rest Server References: <636d44ae0906150953w7e40a7ach17db53b5d1185771@mail.gmail.com> <4A376C26.9080909@gmx.de> <636d44ae0906170126t289bf7e2hc5775acac5889e84@mail.gmail.com> In-Reply-To: <636d44ae0906170126t289bf7e2hc5775acac5889e84@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.61 X-Virus-Checked: Checked by ClamAV on apache.org Stergos D. Afantenos wrote: > Dear Thilo, > > thank you very much for this reply. I have downloaded the code of the > Simple Rest Server from the sandbox > (http://svn.apache.org/repos/asf/incubator/uima/sandbox/trunk/SimpleServer/) > but I have not managed to find the mine to which you are referring. I > wonder if this line is in the code of the UIMA core. I owuld greatly > appreciate it if you could confirm this and even better provide the > name of the actual java file that contains this line. This is from UIMA core, in org.apache.uima.impl.UIMAFramework_impl. However, I think you should follow Roberto's advice. If a security manager is used, your troubles will not end here. You may also run into class loading issues. --Thilo > > Once again, thanks very much for your reply and all the wonderful work > that you are doing for UIMA. > > > Kind regards, > > Stergos D. Afantenos > > > On Tue, Jun 16, 2009 at 11:55 AM, Thilo Goetz wrote: >> The code is trying to ascertain that it can set system >> properties. This line is the culprit: >> >> // attempt to improve initialization performance >> Introspector.setBeanInfoSearchPath(new String[0]); >> >> See if you can allow setting system properties in >> your Tomcat's policy file. Note: I'm not a Tomcat >> expert, and I've never seen this issue before with >> UIMA and Tomcat 5.5.