Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81B796438 for ; Fri, 29 Jul 2011 22:51:41 +0000 (UTC) Received: (qmail 65606 invoked by uid 500); 29 Jul 2011 22:51:40 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 65511 invoked by uid 500); 29 Jul 2011 22:51:39 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 65502 invoked by uid 99); 29 Jul 2011 22:51:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2011 22:51:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2011 22:51:36 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 69BBAA31 for ; Fri, 29 Jul 2011 22:51:15 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Fri, 29 Jul 2011 22:51:14 -0000 Message-ID: <20110729225114.74249.24493@eos.apache.org> Subject: =?utf-8?q?=5BTomcat_Wiki=5D_Update_of_=22TomcatOnSolaris10=22_by_Konstant?= =?utf-8?q?inKolinko?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for ch= ange notification. The "TomcatOnSolaris10" page has been changed by KonstantinKolinko: http://wiki.apache.org/tomcat/TomcatOnSolaris10?action=3Ddiff&rev1=3D19&rev= 2=3D20 Comment: Add category link. Correct some typos. =3D Running Tomcat on Sun Solaris 10 =3D Solaris 10 comes pre installed with a Tomcat 5.5 installation. = - Having found little information on the setup I decided to contribute what= little usefull things I found here + Having found little information on the setup I decided to contribute what= little useful things I found here = =3D=3D=3D=3D THE ENVIRONMENT =3D=3D=3D=3D - The following assumes you have Java already installed. java is usally ins= talled in /usr/java. This is a symbolic link from the actuall installation = in /usr/jdk/jdk1.6.0_[Update] + The following assumes you have Java already installed. java is usually in= stalled in /usr/java. This is a symbolic link from the actual installation = in /usr/jdk/jdk1.6.0_[Update] = '''THE PROBLEM''' = - Solaris comes with apache and tomcat preinstalled, just not in the locati= ons you would expect unless your familar with Solaris. Solaris 10 comes wit= h a new method for starting and stopping services on system startup, called= SMF(Service Management Facility). + Solaris comes with apache and tomcat preinstalled, just not in the locati= ons you would expect unless your are familiar with Solaris. Solaris 10 come= s with a new method for starting and stopping services on system startup, c= alled SMF(Service Management Facility). = Software installation directory = @@ -21, +21 @@ = ''/var/apache/tomcat55'' = - If you where to run multiple instances of tomcat your would want to dupli= cate the whole ''/var/apache/tomcat55'' directory, create new startup.sh sh= utdown.sh scripts setting a CATALINA_BASE enviroment variable pointing to y= our new instance. + If you where to run multiple instances of tomcat your would want to dupli= cate the whole ''/var/apache/tomcat55'' directory, create new startup.sh sh= utdown.sh scripts setting a CATALINA_BASE environment variable pointing to = your new instance. = =3D=3D Configuring SMF to start and stop tomcat =3D=3D Create file in the following location. (The location does not really matt= er but the convention says so.) @@ -100, +100 @@ process 8303 /usr/jdk/jdk1.6.0_18/bin/sparcv9/java -Djava.util.loggi= ng.config.file=3D/var/apac }}} = - You can see the log output from SMF in the filereferences as logfile in t= eh above output for any troubleshooting + You can see the log output from SMF in the filereferences as logfile in t= he above output for any troubleshooting. = Running tomcat through SMF negates the need to run tomcat using nohup on = Solaris. = + ---- + [[CategoryFAQ]] +=20 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org