From owner-freebsd-java@FreeBSD.ORG Wed Feb 13 22:44:01 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA7D816A419 for ; Wed, 13 Feb 2008 22:44:01 +0000 (UTC) (envelope-from tommyhp2@yahoo.com) Received: from web38210.mail.mud.yahoo.com (web38210.mail.mud.yahoo.com [209.191.124.153]) by mx1.freebsd.org (Postfix) with SMTP id B1DDA13C469 for ; Wed, 13 Feb 2008 22:44:01 +0000 (UTC) (envelope-from tommyhp2@yahoo.com) Received: (qmail 20079 invoked by uid 60001); 13 Feb 2008 22:44:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=4ZhIW1xLx8XvUwyVXqiHoxjr5lyG7rIFuycnr/VmvfSCpQDexirfUtmWl6PEwnce3AcJYWw28giOHuoSjBMj/3W/4O9WHItYQ5FfU7t6l+ulQi9PiTg5IO9E9meJyRyKTW8ixdKYZScvC/W8HGp19606uqtpJM4tibAZRyQ3ZP0=; X-YMail-OSG: JVqLL7cVM1nAe_jeGsvEFMi9t0klDWNwGqP2lALGLBKqXKaNJP.Pyuv9uUUDAcHEAKxdxhCIt.1weiNlO2ulmiQ51qFPoLDMYYmAmfz0ouPNUI8dibl5Zp1c4gTBow-- Received: from [24.227.124.250] by web38210.mail.mud.yahoo.com via HTTP; Wed, 13 Feb 2008 14:44:01 PST Date: Wed, 13 Feb 2008 14:44:01 -0800 (PST) From: Tommy Pham To: freebsd-java@freebsd.org In-Reply-To: <47B2ED96.6060301@polands.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <33461.19663.qm@web38210.mail.mud.yahoo.com> Subject: Re: glassfish v2 on FreBSD 7 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2008 22:44:02 -0000 --- Doug Poland wrote: > Tommy Pham wrote: > > Doug Poland wrote: > >> Tommy Pham wrote: > >>> Hi, > >>> > >>> Has anyone able to build glassfish v2 (any branch FCS or UR1) > >>> successfully FreeBSD 7 (PRERELEASE or RC2)? > >>> > >>> Thanks, > >>> Tommy > >>> > >>> PS: sorry for the previous send. > >>> > >> yup > >> > >> -- > >> Regards, > >> Doug > >> > > Hi Doug, > > > > Thanks for the reply. > > Do you have any problems with starting after initial startup such > as > > delayed start? > > > No, haven't had that issue, starts in 5-10 seconds on my laptop > > > Recording of the PID in > > /domains/domain1/config/.__com_sun_appserv_pid? > > > That's what I have as well > > > Did you build it inside jail environment? > > > nope > > > I've also successfully build it on FreeBSD in both jail and > non-jail > > environment. The initial startup is OK (within 40 seconds) but > every > > other startup there after takes very long (like 5 minutes). Also, > the > > PID is recorded as -1 in pid file... > > > perhaps a DNS issue? I can ping the host name and perform nslookup (both IP and host name) ok which I didn't think it was a DNS issue. > > > I've tried this in both i386 and amd64 platform for a few weeks > now to > > see what's the cause and I can't seem to find the problem. > > > Have you checked the app server log file? Which jdk are you running > it > with? I was only able to build SJSAS91 branches with java/jdk15 port. java/diablo-jdk15 failed because of missing sunpkcs11.jar in the jre/lib/ext. As for java/jdk16 failed at maven build stage. I did check the log file and that's the problem. The delayed process isn't logged to file. When the logging started, everything comes up within 30 seconds or so. After the glassfish startup is completed, I can log into the web console OK. However if I do 'asadmin list-domains' or 'asadmin stop-domain', it saids that no domain is running. When I tried to shutdown from the web console, it doesn't shutdown properly. Thanks, Tommy > > -- > Regards, > Doug > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to > "freebsd-java-unsubscribe@freebsd.org" >