commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: error after running SimpleDaemon
Date Fri, 24 Feb 2006 04:03:47 GMT

"Xin Hua Sun" <xin_hua_sun@yahoo.com> wrote in message 
news:20060224003946.66252.qmail@web33205.mail.mud.yahoo.com...
>   Hi Everyone,
>
> I download the source "daemon-1.0.1.tar.gz" from common daemon web side.
> I did some as follows;
> (1)  run ./configure
> (2)  run make
> (3) move to samples directory to compile SimpleDaemon.java.
> (4) run Native.sh to generate Native.so file
> (5) using ant to compile SimpleDaemon.java.
> (6) run Native.sh
> (7) run SimpleDaemon.sh
>
> I have two questions as follows;
> (1) After using ant to compile by build.xml, it didn't generate 
> "commons-daemon.jar" file. How it generate it? This time, I got this file 
> from
> web by download  binaries code.
>

You need to run 'ant dist' (yeah, yeah, I'm going to get kicked for this :).

> (2) The running will generate a toto.txt file.
> In this file, there is a error as follows;
> 22/02/2006 14:32:34 9369 jsvc.exec error: syscall failed in set_caps
> 22/02/2006 14:32:34 9369 jsvc.exec debug: set_caps(CAPS) failed
>
>    Do you know how to fix above issue?
>    Thanks for your help.
>

You need to run as root for the O/S  to allow the use of set_caps.

>    Regards,
>
>   Xin
>
> ---------------------------------
> Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on 
> new and used cars. 




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message