--


Hi,

I am trying to get JServ to work on a Linux box.

version info:
        - Jserv 1.0
        - Apache 1.3.4 (apache-mod_ssl-1.3.4-2.1.8.0.rpm)
        - jsdk 2.0
        - jdk-1.1.3 (jdk-1.1.3-3.rpm)

Problem is, when i try out the example (after putting:
Include /tmp/example/jserv.conf in my httpd.conf) and try 
http://localhost/example/Hello, i get an 'Internal Server Error'. The
error_log says:

/usr/lib/jdk-1.1.3/bin/../bin/i686/green_threads/java: can't load library
'libjava.so'

as you may or may not know, the proper way to call 'java' is to call
/usr/lib/jdk-1.1.3/bin/java, which links to .java_wrapper in the same dir.
This sets the env, like LD_LIBRARY_PATH, which is required to be able to
load things like libjava.so. 

In jserv.properties, i have 'wrapper.bin=/usr/lib/jdk-1.1.3/bin/java',
which seems OK. Also, if i look at the access time of .java_wrapper, it is
accessed each time i refresh that URL, so it is called. Then why this
libjava.so problem?

I tried moving libjava.so and other needed libs to /lib. This helps and i
get further. But then it complains about other things which are
incorrectly set: "Unable to initialize threads: cannot find class
java/lang/Thread". I assume this would also be solved if .java_wrapper was
called properly.

Anyone an idea? 

thanks in advance,
Sebastien.

-----------------------------------------------------------------------------
Sebastien Boving                       Departement van Elektrotechniek - ESAT
Kardinaal Mercierlaan 94                             Toegepaste Wetenschappen
B-3001 Heverlee.                               Katholieke Universiteit Leuven
Tel.: +32-16.32.10.80                                   Fax.: +32-16.32.19.86 
[EMAIL PROTECTED]             http://www.esat.kuleuven.ac.be/~boving
-----------------------------------------------------------------------------



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to