uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thilo Goetz <twgo...@gmx.de>
Subject Re: Simple Rest Server
Date Wed, 17 Jun 2009 11:28:13 GMT
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<twgoetz@gmx.de> 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.

Mime
View raw message