Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2002 11:18:06 -0500
From:      "Jeremy Suo-Anttila" <jps@funeralexchange.com>
To:        "Burhan Nazir" <burhan@blueyonder.co.uk>, <freebsd-java@freebsd.org>, <freebsd-questions@freebsd.org>
Subject:   RE: JRUN4 installation trouble
Message-ID:  <OAEOLDPOMIMMJMKEBFHCKEGKCPAA.jps@funeralexchange.com>
In-Reply-To: <20020807141041.GC83493@swansea.cableinet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I am running JRUN 4 under the native jdk1.3.1 and its great the only problem
i had is whenever i would try and execute any of the binaries located in the
/bin dir of Jrun it would send my jdk/jrun processes to 99% and hang so my
work around was to cd to the jrun/lib/ dir and start the servers manually.


java -jar jrun.jar -start admin &
java -jar jrun.jar -start default &
java -jar jrun.jar -start samples &
java -jar jrun.jar -start yourservername &

you can also run

java -jar jrun.jar -stop admin &

to stop the admin server. The rest should be pretty obvious from there. I
would love to know if anyone has been able to get Jrun to work with
jdk1.4.01 under linux emulation.  Also if you want to build your own
binaries for the jrun to start and stop with i would suggest you download
the jrun-sdk.zip and docs. This will allow you build all your own binaries
and also your own custom mod_jrun.so for use with apache. The ones that are
included with the jrun installer are for linux only and do not work with the
native jdk1.3.1. Or you can hack it and just create some simple wrapper
scripts to start and stop jrun and then replace the binaires with the
wrappers to allow you use the web admin without any hassles.


Thanks

Jeremy Suo-Anttila
jps@funeralexchange.com
ALLNEO Network Operations






-----Original Message-----
From: owner-freebsd-java@FreeBSD.ORG
[mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of Burhan Nazir
Sent: Wednesday, August 07, 2002 9:11 AM
To: freebsd-java@freebsd.org; freebsd-questions@freebsd.org
Subject: JRUN4 installation trouble


Hello chaps,

I have this wish to run everything on FreeBSD, however, I'm having
difficulty
getting JRun4 to work.

When using the linux binary of JRun4 and linux-sun-jdk1.3, I get the
following error when I try and start the server:

swansea$ ./jrun -start admin &
[1] 83705
swansea$ Error: failed
/usr/local/linux-jdk1.3.1/jre/lib/i386/classic/libjvm.so, because
/usr/local/linux-jdk1.3.1/jre/lib/i386/classic/libjvm.so: undefined symbol:
jdk_sem_post

When using the linux binary of JRun4 and the native FreeBSD jdk1.3, I get
the
following error:

swansea$ ./jrun -start admin &
[1] 83711
swansea$ Error: failed /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so,
because /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so: ELF file OS ABI
invalid

I'm using linux-base-7 and the linux module is loaded.

I am a bit new to all of this.  What can I do to progress this?

Many thanks
-Burhan

--
 FreeBSD 4.6-STABLE | http://www.freebsd.org
 3:05PM  up  4:28, 5 users, load averages: 0.00, 0.00, 0.00

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OAEOLDPOMIMMJMKEBFHCKEGKCPAA.jps>