Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 32025 invoked from network); 25 Nov 2009 11:14:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Nov 2009 11:14:25 -0000 Received: (qmail 33856 invoked by uid 500); 25 Nov 2009 11:14:24 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 33749 invoked by uid 500); 25 Nov 2009 11:14:23 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 33741 invoked by uid 99); 25 Nov 2009 11:14:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2009 11:14:23 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chirunhua@gmail.com designates 209.85.216.178 as permitted sender) Received: from [209.85.216.178] (HELO mail-px0-f178.google.com) (209.85.216.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2009 11:14:15 +0000 Received: by pxi8 with SMTP id 8so5928877pxi.27 for ; Wed, 25 Nov 2009 03:13:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=7Y8bWQtm+2wtupOsvvR98wQ6ysAncft8x3wqIo5S6zw=; b=UDZCbot7WRWOJ4ifjkLm+iPwlV8fsV/mFcOfPZRUro0N+JWxgjFch0KBvQG1impKyS kgGljREWMf76JrwHVV56bkz9HLSApVNKKNq7bNw85eBRfILs9+gIreaJRw04pF9ZTpnU UVY2JAfnudYECFPpV+n3iwj+FdwwXl2r95s70= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Vm5WiPYRTdxy4w2P4gkeYyhqrWWt08alNPMgN0TfVnQ+WDCPLVaN6TGFYjbAZvdgJK HwwZN/wqi0UljLgtQIs3CyBVTNcKWI1+P98roCVWTHv7R1PmjpxYq8ziSteu6yydyjhq F/+ihCWy3yKLT7YneOshnirGG+MQ0ucugdw5U= MIME-Version: 1.0 Received: by 10.141.41.10 with SMTP id t10mr473320rvj.221.1259147634320; Wed, 25 Nov 2009 03:13:54 -0800 (PST) In-Reply-To: References: Date: Wed, 25 Nov 2009 19:13:54 +0800 Message-ID: <98a659de0911250313l7e7e7656m34d54a87dcbe7054@mail.gmail.com> Subject: Re: A wierd problem when deploying applications to Geronimo on Lotus Foundation From: chi runhua To: dev@geronimo.apache.org Content-Type: multipart/alternative; boundary=001517503d6276a58a0479302741 X-Virus-Checked: Checked by ClamAV on apache.org --001517503d6276a58a0479302741 Content-Type: text/plain; charset=ISO-8859-1 Thanks Shawn for the sharing. I'll collect this info into G doc. Could you specify the G version you are using, or is it a general problem in all G servers with a GShell environment? Jeff C On Wed, Nov 25, 2009 at 5:29 PM, Shawn Jiang wrote: > Lotus Foundation(LF) is a customized linux OS. We met a wierd problem when > deploying applications to a running Geronimo on LF. > > The deploy process is not successful and never return. I remote debug to > it and found that it's caused by some native code execution when doing the > JLine UnixTerminal init. Seems LF does not support some native code used > in UnixTerminal. > > To resolve this problem, We have to set a system property in JAVA_OPTS > > *-Djline.terminal=jline.UnsupportedTerminal* > > to force the JLine use UnsupportedTerminal instead of UnixTerminal. I'm > sending this mail to log it in case someone else might meet similar problems > on other platforms, > > -- > Shawn > --001517503d6276a58a0479302741 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Shawn for the sharing.

I'll collect this info into G doc= .=A0 Could you specify the G version you are using, or is it a general prob= lem in all G servers with a GShell environment?

Jeff C

On Wed, Nov 25, 2009 at 5:29 PM, Shawn Jiang <genspring@gmail.com> wrote:
Lotus Foundation(LF) is a customized linux OS.=A0 We met a wierd problem wh= en deploying applications to a running Geronimo on LF.

The deploy pr= ocess is not successful and never return.=A0=A0 I remote debug to it and fo= und that it's caused by some native code execution when doing the JLine= UnixTerminal init.=A0=A0 Seems LF does not support some native code used i= n UnixTerminal.=A0

To resolve this problem,=A0 We have to set a system property in JAVA_OP= TS

-Djline.terminal=3Djline.UnsupportedTerminal

to for= ce the JLine use UnsupportedTerminal instead of UnixTerminal.=A0 I'm se= nding this mail to log it in case someone else might meet similar problems = on other platforms,

--
Shawn

--001517503d6276a58a0479302741--