----------------------------------------------------------------
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!!!
----------------------------------------------------------------

OK, I've had JServ 1.0 working for some time.  I'm currently doing a refresh
of our environment on a brand new system (so this is *not* an upgrade) using
the latest version of everything:

Sun Ultra Enterprise 3500
Solaris 7 (HW 5/99)
gcc 2.95.1
GNU make 3.78.1
Java 2 [Solaris VM (build Solaris_JDK_1.2.1_03, native threads, sunwjit)]
Apache 1.3.9
JServ 1.1b2

I'm building JServ using the DSO/apxs method.  The first problem I ran into
was that configure insisted on using /usr/java1.1 as my JDK home, despite the
fact that the 1.2 version was the only one in my path.  Even after using
--with-jdk-home=/usr/java1.2, it still claims that the Java platform is 1.
Specifying both the JDK home and platform version got around this, but it's
quite annoying and needs to be fixed.

The build went OK, but the main problem is that the install blows up with a
bunch of these errors:

Making install in conf
make[1]: Entering directory `/var/tmp/ApacheJServ-1.1b2/conf'
make[2]: Entering directory `/var/tmp/ApacheJServ-1.1b2/conf'
/bin/sh ../src/scripts/build/unix/mkinstalldirs /web/apache/conf/jserv
mkdir /web/apache/conf/jserv
 ./save-install.sh -m 644 ./jserv.conf /web/apache/conf/jserv/jserv.conf
install -m 644 ./jserv.conf /web/apache/conf/jserv/jserv.conf.default
find: cannot open /web/apache/conf/jserv/jserv.conf.default: No such file or directory
find: cannot follow symbolic link /bin/jre: No such file or directory
find: cannot follow symbolic link /bin/java_g: No such file or directory
find: cannot follow symbolic link /bin/javakey: No such file or directory
find: cannot follow symbolic link /usr/bin/jre: No such file or directory
find: cannot follow symbolic link /usr/bin/java_g: No such file or directory
find: cannot follow symbolic link /usr/bin/javakey: No such file or directory
install: jserv.conf was not found anywhere!
install -m 644 ./jserv.conf /web/apache/conf/jserv/jserv.conf
find: cannot open /web/apache/conf/jserv/jserv.conf: No such file or directory
find: cannot follow symbolic link /bin/jre: No such file or directory

And so on...

It appears that JServ cannot cope with a standard install of Java 2 on
Solaris.  Solaris 7 comes with Java 1.1 only.  The normal method for
installing Java 2 is to get the packages off of Sun's web site, which installs
everything under /usr/java1.2.  Then you relink /usr/java from java1.1 to
java1.2.  The actual VM appears as /usr/bin/java, but it is a symlink like so:

webserv# which java
/usr/bin/java
webserv# java -version
java version "1.2.1"
Solaris VM (build Solaris_JDK_1.2.1_03, native threads, sunwjit)
webserv# ls -l /usr/bin/java
lrwxrwxrwx   1 root     root          16 Oct 11 14:37 /usr/bin/java -> ../java/bin/java
webserv# ls -l /usr/java
lrwxrwxrwx   1 root     other          7 Oct 14 15:09 /usr/java -> java1.2
webserv# ls -l /usr/java1.2
total 8594
-rw-r--r--   1 root     bin         4001 Jun 17 00:37 COPYRIGHT
drwxr-xr-x   3 root     bin          512 Oct 14 15:08 bin
drwxr-xr-x   3 root     bin          512 Oct 14 15:08 include
drwxr-xr-x   4 root     bin          512 Oct 14 15:08 jre
drwxr-xr-x   2 root     bin          512 Oct 14 15:08 lib
drwxr-xr-x   3 bin      bin          512 Oct 14 15:09 man
-rw-r--r--   1 root     bin      4376461 Jun 17 00:37 src.jar

I realize I could probably fix this by fooling around with symlinks, but it
would be better if it worked right out of the box.

-- 
Steve "Pheran" Snodgrass * [EMAIL PROTECTED] * FORE Systems Unix Administrator
Geek Code: GCS d? s: a- C++ US++++$ P+++ L+ w PS+ 5++ b++ DI+ D++ e++ r++ y+*
"What to do I find it hard to know/The road I walk is not the one I chose" -Yes


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

Reply via email to