logo       

RE: Re: Running Jetty as Root under Linux: msg#00007

java.jetty.general

Subject: RE: Re: Running Jetty as Root under Linux



> -----Original Message-----
> From: jetty-discuss-admin@xxxxxxxxxxxxxxxxxxxxx
> [mailto:jetty-discuss-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf
> Of Martin Roos
>
> i would strongly recommend you dump the idea of running jetty
> as the root, just create a bridge between jetty and a custom
> application (which is being run with root rights and can
> access the devices).
>
> the bridge can be anything from a simple socket based
> command/response interface up to javas rmi , but as the first
> one is far more simple to create & implement, i would
> encourage you to choose it.

Correct, maybe a light UDP bridge.

Andrea, I would investigate on serial devices:
You are probably using IBM comm-api for linux. That libraries, like SUN
version, are very old and they were never upgraded (such a shame).
Try to run (if possible) only the application layer that uses the serial
ports without the web server and see if you are still experiencing the
freezing.
Good luck, you owe me a beer ;-)

--
Davide



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise