Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BD82B9ED8 for ; Wed, 2 May 2012 02:13:01 +0000 (UTC) Received: (qmail 13555 invoked by uid 500); 2 May 2012 02:12:58 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 13321 invoked by uid 500); 2 May 2012 02:12:58 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 13310 invoked by uid 99); 2 May 2012 02:12:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 02:12:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.138.91.176] (HELO nm16-vm4.bullet.mail.ne1.yahoo.com) (98.138.91.176) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 02 May 2012 02:12:49 +0000 Received: from [98.138.90.52] by nm16.bullet.mail.ne1.yahoo.com with NNFMP; 02 May 2012 02:12:29 -0000 Received: from [98.138.87.3] by tm5.bullet.mail.ne1.yahoo.com with NNFMP; 02 May 2012 02:12:29 -0000 Received: from [127.0.0.1] by omp1003.mail.ne1.yahoo.com with NNFMP; 02 May 2012 02:12:29 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 90244.74967.bm@omp1003.mail.ne1.yahoo.com Received: (qmail 9450 invoked by uid 60001); 2 May 2012 02:12:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1335924749; bh=yqX2uIGCDuH0AId8+0NwPUdLPHREXhfpXEgz+AnevaQ=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=flgFtsp0e69xNBthBgBKotGIUltj2yn5j1Ms4Xb1nLnedS3ZmQxrnFGDd/haavbbAWqZ3Gj6CUYR3BaZHzNnXOGnzifvNvoZfCKmxZSIvualKq/wXmJbNHcXpNK6YCqLfHeVMPOeK+oKlDtP9qeyTulpImSrFvySY3Vcz0l8E9E= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=r0gtmB5jjoNZRPkTIjpX+/VJNTmpv5xVlS9Ng8zhbNZ04GJV5A2mGEhi72urIdhxBv30N7X2tDJTw78Fn/HzgP6jPDexL+KoXwavcdV7ciDzKteYK1PIK//cRVgp0HhCVZhBJ5ZghDrDZ8wT0m2x9hmVNODmDbyw+kKuSI2GpEQ=; X-YMail-OSG: 4od0.4UVM1nZiPxiYOvE1Opld.TbRUN10Xo_VQ59xalyaQx Kmw6V.NfgwsxaI6TLQBgDcmdsBUKboLnN6DamkQOsh33dgpOr9odrMkCtWvy OW.k5H4XPN9wS3A.Zso4zGUdUj2LmAJJy05qi.VGSR4VzxqmiLSkMCm4Vb77 RyYaKdMSnwIc4.9pbSpB7_CmL9Xs3eZgTzrD.7O8YRzR5E0gV1hRbG.5DA8N ZeCV1C3rlks3lYj4lSWNN6bspNF3uRBZFIcWrspNB4OfRrbJxKRi8Z5oCd3M SUIsCq9yzB0Dl87pqG7imu5I4LC6aFIDsFLJS6111dUM9KJoBVool3x_2mPx o.cBdA52EVJC5V8ZaKep0mEWwa0DMOTUysgwxO3NuCgD5mNudqqdx_AATOQo QAMojZTDTCeFsCY5H76TTXFsqzA43KL4rtepc7iH09wTWTPCeBeze_hsXxUF F5OtzQuCK8xp_YjMNawDnpcLxH9x0m.yV9o0GXJN6JqhUHnOTQ3zblJabY9q xPXs1s95SbZ8GDof0H1E- Received: from [71.134.9.186] by web125501.mail.ne1.yahoo.com via HTTP; Tue, 01 May 2012 19:12:28 PDT X-Mailer: YahooMailWebService/0.8.118.349524 References: <1335759837.69775.YahooMailNeo@web125505.mail.ne1.yahoo.com> <83338720.277030.1335893947208.JavaMail.root@sz0170a.emeryville.ca.mail.comcast.net> Message-ID: <1335924748.5248.YahooMailNeo@web125501.mail.ne1.yahoo.com> Date: Tue, 1 May 2012 19:12:28 -0700 (PDT) From: Mark Eggers Reply-To: Mark Eggers Subject: Re: Running Swing app under Tomcat 6 on Linux To: Tomcat Users List In-Reply-To: <83338720.277030.1335893947208.JavaMail.root@sz0170a.emeryville.ca.mail.comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org ----- Original Message -----=0A=0A> From: "dgchristensen@comcast.net" =0A> To: Tomcat Users List ;= Mark Eggers =0A> Cc: =0A> Sent: Tuesday, May 1, 201= 2 10:39 AM=0A> Subject: Re: Running Swing app under Tomcat 6 on Linux=0A> = =0A> =0A> ----- Original Message -----=0A>> From: "Mark Eggers" =0A>> To: "Tomcat Users List" =0A>> = Sent: Monday, April 30, 2012 12:23:57 AM=0A>> Subject: Re: Running Swing = app under Tomcat 6 on Linux=0A>> Comment inline.=0A>> =3D=3D=3D=3D=3D=3D = Comment =3D=3D=3D=3D=3D=3D=0A>> =0A>> =0A>> I don't know what magic the Ub= untu repackaging does. If it's =0A> anything=0A>> like the CentOS repackag= ing, it's pretty involved.=0A>> =0A>> One thing you might try is the follo= wing:=0A>> =0A>> 1. sudo service tomcat6 stop=0A>> 2. Download a copy of = Tomcat from Apache=0A>> 3. Unpack it in your home directory=0A>> 4. Edit = $CATALINA_HOME/conf/tomcat-users.xml=0A>> 5. Add your application to $CATA= LINA_HOME/webapps=0A>> 6. export JRE_HOME=3D[your Java JRE installation]= =0A>> 7. cd $CATALINA_HOME/bin=0A>> 8. Make sure startup.sh is executable= =0A>> 9. ./startup.sh=0A>> =0A>> And see what happens.=0A> =0A> Mark, you= are a genius.=A0 I followed the above and the Swing app starts without a = =0A> problem.=A0 If anybody's willing to explain it, I'd like to understand= =0A> what the difference is between starting Tomcat via startup.sh and sta= rting it as =0A> a service.=0A=0A=0AYou're welcome. I'm glad it worked. See= my response to Christopher's message concerning what I think is going on a= nd one way maybe to get around it.=0A=0A. . . . just my two cents.=0A/mde/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org