Forum OpenACS Q&A: OACS 4.5 install : cannot execute loadjava : no such file or directory

Hello,

I'm trying to install OACS4.5 on Oracle8.1.6, Linux 2.1.16, AOLServer3.3ad13oacs1

Everything goes fine until the "OpenACS Installation: Installing OpenACS Core Services" page, where i have this error :

Loading SQLJ code /web/akoor2/packages/acs-content-repository/java/Regexp-oracle.sqlj... 
Acs-content-repository not installed.
 Error:
couldn't execute "/u01/app/oracle/product/8.1.6/bin/loadjava": no such file or directoryInstalled ACS Tcl, version 4.5

I run the aolserver in a chroot where I duplicated some files, bin and lib.

Loadjava is present at /chroot/u01/app/oracle/product/8.1.6/bin, where is also sqlplus. Sqlplus is found, but not loadjava.

Why ?

Another question : as I use a 2.1.16 linux Kernel, should I use LD_ASSUME_KERNEL=2.2.5 in my nsd_oracle script ?

Thank you.

Ok,

I was far away.

First I had to manually install Javam in oracle, because I hadn't done it at Oracle installation (2 years ago). And so I found out what javasys... role was.

Then I had to download from technet.oracle the xmlparser2.jar and load it using loadjava.

And now, I just found out that loadjava is a shell script setting a BIG classpath and calling jre, which none of it is in my chroot jail.

I'm now trying to decide wether to duplicate the java environment in the jail or running the server outside the jail for installation.

I let you know if I succeed.

bye