From owner-freebsd-questions Wed Aug 7 9:19:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEE5737B400; Wed, 7 Aug 2002 09:19:27 -0700 (PDT) Received: from swansea.cableinet.net (swansea.cableinet.net [194.117.135.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67CCC43E65; Wed, 7 Aug 2002 09:19:27 -0700 (PDT) (envelope-from bnazir@swansea.cableinet.net) Received: by swansea.cableinet.net (Postfix, from userid 1001) id 1C90511893; Wed, 7 Aug 2002 17:17:03 +0100 (BST) Date: Wed, 7 Aug 2002 17:17:02 +0100 From: Burhan Nazir To: freebsd-java@freebsd.org, freebsd-questions@freebsd.org Subject: Re: JRUN4 installation trouble Message-ID: <20020807161702.GF83493@swansea.cableinet.net> References: <20020807141041.GC83493@swansea.cableinet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jeremy, Many thanks for this, it all works now! -Burhan Jeremy Suo-Anttila wrote: > 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 -- FreeBSD 4.6-STABLE | http://www.freebsd.org 5:14PM up 6:37, 9 users, load averages: 0.25, 0.28, 0.21 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message