Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Protege server - java.awt.HeadlessException

Tania Tudorache tudorache at stanford.edu
Thu Jun 10 12:01:59 PDT 2010


Forgot to mention one thing:

I recommend that you use Protege 3.4.4.

The classpath in the script should look like:

CLASSPATH=protege.jar:looks.jar:driver.jar:driver0.jar:driver1.jar:driver2.jar

Tania

On 06/10/2010 12:00 PM, Tania Tudorache wrote:
> Hi Brice,
>
> The headless mode is used for machines that do not have a graphical 
> system (e.g. no monitor, no graphic card), or on Unix system, for the 
> cases you do not have a X display.
>
> You can read more about the headless mode here: 
> http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/
>
> The Protege server is usually run on servers that do not have an X 
> display or a graphical system, so that is why the headless flag is 
> enabled by default in the run_protege_server script.
>
> You get the exception because Protege is trying to load the forms of 
> your OWL file from the .forms files (which it doesn't make sense in a 
> server environment). There is a misbehaving piece of code that tries 
> to access the graphical display, when it shouldn't. To fix this 
> problem, remove the "unicode_panel.jar" from the classpath variable in 
> the run_protege_server.sh.
>
> I'll fix the script for the next Protege 3.4 release.
>
> Thanks!
> Tania
>
>
>
> On 06/10/2010 02:50 AM, Brice Sommacal wrote:
>> Hello Tania,
>>
>> You're right. The headless flag is in run_protege_server.sh.
>> But the error still be displayed.
>>
>> Could you please have a look at my script to chek that everything is ok?
>> What is the goal of the headless flag?
>>
>> Thanks again for your support,
>> BR,
>>
>>
>> Brice
>>
>> 2010/6/9 Tania Tudorache <tudorache at stanford.edu 
>> <mailto:tudorache at stanford.edu>>
>>
>>     Yes, indeed, you need the headless flag. The server start script
>>     run_protege_server.sh already contains it.
>>
>>     Tania
>>
>>
>>     On 06/09/2010 02:58 AM, simon wrote:
>>
>>         Hi Brice,
>>
>>         Try playing around with the "-Djava.awt.headless=true"
>>         tomcat/java startup
>>         option.
>>
>>         Cheers
>>         Simon
>>
>>
>>     _______________________________________________
>>     protege-owl mailing list
>>     protege-owl at lists.stanford.edu
>>     <mailto:protege-owl at lists.stanford.edu>
>>     https://mailman.stanford.edu/mailman/listinfo/protege-owl
>>
>>     Instructions for unsubscribing:
>>     http://protege.stanford.edu/doc/faq.html#01a.03
>>
>>
>>
>> _______________________________________________
>> protege-owl mailing list
>> protege-owl at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>>
>> Instructions for unsubscribing:http://protege.stanford.edu/doc/faq.html#01a.03
>>    
>
>
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20100610/2687272a/attachment.html>


More information about the protege-owl mailing list