----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Generally when the web server starts it runs the child processes
as nobody/nobody. Anything that jserv reads must be world
readable, including the jserv configs, property files, class
files, jar files etc. Sounds like this is the best place to check
first. Make sure the files are in a directory that is at the
least r-x for all other users, and that the files themselves
are readable for all other users.

HTH

sjo wrote:
> 
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> Hello
> 
> I have a little Java servlet that uses some native methods. If I start
> JServ in manual mode everything works fine, if I start JServ in
> automatic mode, then I get an 'UnsatisfiedLinkError' when the method
> is called (interestingly loading the library using System.loadLibrary
> doesn't throw an exception). I suspect that there is a permission problem
> with some files (in automatic mode the JVM runs under the web user,
> in manual mode as root), but I have absolutely no idea what exactly
> is the problem. I have also no idea how to get more information to
> find the cause of the problem.
> 
> I have tried explicitely adding /usr/lib (that's where the library with the
> native methods is located) to LD_LIBRARY_PATH using the wrapper.env
> parameter, no effect.
> 
> Linux SUSE6.4
> Apache Webserver from SUSE6.4 CD
> Apache JServ 1.1.2
> Blackdown JVM 1.1.7
> 
> Thanks in advance for your help
> 
> bye
> 
> Sam Jordan
> 
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]

-- 
Chris Cheshire
Manager of Software Development
bigredwire.com
Phone : +1 805 560 6666 (w)
        +1 805 559 9166 (m)
Fax :   +1 805 560 8901
Email : [EMAIL PROTECTED]

   Real Programmers don't draw flowcharts. 
   Flowcharts are the illiterate's form of 
   documentation. Cavemen drew flowcharts; 
   look at how much good it did for them


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to