Re: Tomcat path
"Martin Gainty" <[email protected]>
| Newsgroups | gmane.text.xml.soap.user |
|---|---|
| Message-ID | <[email protected]> |
Glad that works for you Molte Grazie!!! Martin Gainty >From: "Francesco Dipalo" <[email protected]> >Reply-To: [email protected] >To: <[email protected]> >Subject: Re: Tomcat path >Date: Tue, 23 Nov 2004 18:10:05 +0100 >MIME-Version: 1.0 >Received: from mail.apache.org ([209.237.227.199]) by mc3-f35.hotmail.com >with Microsoft SMTPSVC(5.0.2195.6824); Tue, 23 Nov 2004 09:11:44 -0800 >Received: (qmail 71595 invoked by uid 500); 23 Nov 2004 17:10:21 -0000 >Received: (qmail 71577 invoked by uid 99); 23 Nov 2004 17:10:20 -0000 >Received: pass (hermes.apache.org: local policy) >Received: from [80.247.70.7] (HELO smtp-out2.email.it) (80.247.70.7) by >apache.org (qpsmtpd/0.28) with ESMTP; Tue, 23 Nov 2004 09:10:18 -0800 >Received: by smtp-out2.email.it (Email.it, from userid 101)id 6F36C1BC160; >Tue, 23 Nov 2004 18:10:18 +0100 (CET) >Received: from BOBO (ppp-207-189.28-151.libero.it [151.28.189.207])by >smtp-out2.email.it (Email.it) with ESMTP id C12751BC16Afor ><[email protected]>; Tue, 23 Nov 2004 18:10:15 +0100 (CET) >X-Message-Info: JGTYoYF78jFN37pvIBUBxn2mK8NBpcUQ >Mailing-List: contact [email protected]; run by ezmlm >Precedence: bulk >list-help: <mailto:[email protected]> >list-unsubscribe: <mailto:[email protected]> >list-post: <mailto:[email protected]> >Delivered-To: mailing list [email protected] >X-ASF-Spam-Status: No, hits=1.5 required=10.0tests=DNS_FROM_RFC_POST >X-Spam-Check-By: apache.org >References: <[email protected]> >X-MSMail-Priority: Normal >X-Mailer: Microsoft Outlook Express 6.00.2900.2180 >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 >X-Copyrighted-Material: Please visit http://www.email.it/ita/privacy.html >X-Virus-Checked: Checked >Return-Path: [email protected] >X-OriginalArrivalTime: 23 Nov 2004 17:11:44.0257 (UTC) >FILETIME=[81D63F10:01C4D17F] > >I try >Start Java this way: >CATALINA_HOME= c:\somedir\subdir\file >java -Dcatalina.home=%CATALINA_HOME%javafilename > >Then access it by getting system properties: >System.getProperty("catalina.home") >and it is correct >TIA >----- Original Message ----- From: "Martin Gainty" <[email protected]> >To: <[email protected]> >Sent: Tuesday, November 23, 2004 2:12 PM >Subject: Re: Tomcat path > > >>Francesco: >> >>You may also want to try >> >>setting TOMCAT_HOME and CATALINA_HOME environment variable to TOMCAT >>installation folder >> >>Molte Grazie e Ciao, >> >>Martin Gainty >> >> >> >> >>>From: "Francesco Dipalo" <[email protected]> >>>Reply-To: [email protected] >>>To: <[email protected]> >>>Subject: Re: Tomcat path >>>Date: Mon, 22 Nov 2004 21:03:11 +0100 >>>MIME-Version: 1.0 >>>Received: from mail.apache.org ([209.237.227.199]) by mc6-f4.hotmail.com >>>with Microsoft SMTPSVC(5.0.2195.6713); Mon, 22 Nov 2004 12:03:49 -0800 >>>Received: (qmail 30593 invoked by uid 500); 22 Nov 2004 20:03:40 -0000 >>>Received: (qmail 30572 invoked by uid 99); 22 Nov 2004 20:03:39 -0000 >>>Received: pass (hermes.apache.org: local policy) >>>Received: from [80.247.70.7] (HELO smtp-out2.email.it) (80.247.70.7) by >>>apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 12:03:38 -0800 >>>Received: by smtp-out2.email.it (Email.it, from userid 101)id >>>86DDB1BC07B; Mon, 22 Nov 2004 21:03:28 +0100 (CET) >>>Received: from BOBO (ppp-97-178.28-151.libero.it [151.28.178.97])by >>>smtp-out2.email.it (Email.it) with ESMTP id DC7181BC02Bfor >>><[email protected]>; Mon, 22 Nov 2004 21:03:23 +0100 (CET) >>>X-Message-Info: JGTYoYF78jFfjPiR7ZBK+6vl/NrgrXZu >>>Mailing-List: contact [email protected]; run by ezmlm >>>Precedence: bulk >>>list-help: <mailto:[email protected]> >>>list-unsubscribe: <mailto:[email protected]> >>>list-post: <mailto:[email protected]> >>>Delivered-To: mailing list [email protected] >>>X-ASF-Spam-Status: No, hits=1.6 >>>required=10.0tests=DNS_FROM_RFC_POST,HTML_FONT_BIG,HTML_MESSAGE >>>X-Spam-Check-By: apache.org >>>References: <[email protected]> >>><002301c4d0af$63e0af20$49b61c97@BOBO> >>><000f01c4d0b9$8c159b90$0100a8c0@mycomp> >>><004501c4d0b6$013b1110$49b61c97@BOBO> >>><000f01c4d0be$b313a7f0$0100a8c0@mycomp> >>>X-MSMail-Priority: Normal >>>X-Mailer: Microsoft Outlook Express 6.00.2900.2180 >>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 >>>X-Copyrighted-Material: Please visit http://www.email.it/ita/privacy.html >>>X-Virus-Checked: Checked >>>Return-Path: [email protected] >>>X-OriginalArrivalTime: 22 Nov 2004 20:03:50.0592 (UTC) >>>FILETIME=[62662C00:01C4D0CE] >>> >>>thanks a lot >>>TIA >>> ----- Original Message ----- >>> From: Felipe Furtado Palma Dias >>> To: [email protected] >>> Sent: Monday, November 22, 2004 7:11 PM >>> Subject: Re: Tomcat path >>> >>> >>> I know, try >>> >>> Start Java this way: >>> CATALINA_HOME= c:\somedir\subdir\file >>> java -Dcatalina.home=%CATALINA_HOME% javafilename >>> >>> Then access it by getting system properties: >>> System.getProperty("catalina.home") >>> ----- Original Message ----- >>> From: Francesco Dipalo >>> To: [email protected] >>> Sent: Monday, November 22, 2004 2:09 PM >>> Subject: Re: Tomcat path >>> >>> >>> returns null >>> TIA >>> ----- Original Message ----- >>> From: Felipe Furtado Palma Dias >>> To: [email protected] >>> Sent: Monday, November 22, 2004 6:34 PM >>> Subject: Re: Tomcat path >>> >>> >>> System.getProperty("catalina.home") >>> ----- Original Message ----- >>> From: Francesco Dipalo >>> To: [email protected] >>> Sent: Monday, November 22, 2004 1:21 PM >>> Subject: Re: Tomcat path >>> >>> >>> I need to insert this thing in a java code >>> TIA >>> ----- Original Message ----- >>> From: Tommy Kalafut >>> To: [email protected] >>> Sent: Monday, November 22, 2004 4:46 PM >>> Subject: RE: Tomcat path >>> >>> >>> Look at the java command line option -D >>> >>> >>> >>> H:\>java -help >>> >>> Usage: java [-options] class [args...] >>> >>> (to execute a class) >>> >>> or java [-options] -jar jarfile [args...] >>> >>> (to execute a jar file) >>> >>> >>> >>> where options include: >>> >>> -client to select the "client" VM >>> >>> -server to select the "server" VM >>> >>> -hotspot is a synonym for the "client" VM >>>[deprecated] >>> >>> The default VM is client. >>> >>> >>> >>> -cp <class search path of directories and zip/jar files> >>> >>> -classpath <class search path of directories and zip/jar >>>files> >>> >>> A ; separated list of directories, JAR >>>archives, >>> >>> and ZIP archives to search for class files. >>> >>> -D<name>=<value> >>> >>> set a system property >>> >>> -verbose[:class|gc|jni] >>> >>> enable verbose output >>> >>> -version print product version and exit >>> >>> -showversion print product version and continue >>> >>> -? -help print this help message >>> >>> -X print help on non-standard options >>> >>> -ea[:<packagename>...|:<classname>] >>> >>> -enableassertions[:<packagename>...|:<classname>] >>> >>> enable assertions >>> >>> -da[:<packagename>...|:<classname>] >>> >>> -disableassertions[:<packagename>...|:<classname>] >>> >>> disable assertions >>> >>> -esa | -enablesystemassertions >>> >>> enable system assertions >>> >>> -dsa | -disablesystemassertions >>> >>> disable system assertions >>> >>> >>> >>> Tom >>> >>> >>> >>> Tom Kalafut >>> Interchange Crew Member >>> Trident Systems, Inc. >>> [email protected] >>> (703)691-7798 >>> >>> >>> >>> ------------------------- >>> >>> The opinions expressed in this email may not necessarily >>>reflect the opinions of Trident Systems, Inc. >>> >>> size=2 width="100%" align=center tabindex=-1> >>> From: Francesco Dipalo [mailto:[email protected]] >>> Sent: Monday, November 22, 2004 10:44 AM >>> To: [email protected] >>> Subject: Tomcat path >>> >>> >>> >>> I need a java command to take the CATALINA_HOME environment >>>variable in a string. How can I do? >>> >>> TIA >>> >>> >>> >>> >>> >>> >>> >>> ---- >>> Email.it, the professional e-mail, gratis per te:clicca qui >>> >>> Sponsor: >>> E' PROduttiva, PROfessionale, PROtetta...è Email.it Pro15, Pro >>>50, Pro100 la casella più efficiente che puoi trovare. >>> Clicca qui >>> >>> >>> >>> >>> >>> >>> >>> ---- >>> Email.it, the professional e-mail, gratis per te:clicca qui >>> >>> Sponsor: >>> Vuoi ricevere gratuitamente, ogni giorno, un trucco per imparare a >>>smanettare con il tuo PC? >>> Iscriviti ad Untruccoalgiorno, è FREE, è per tutti! Clicca qui >>> Clicca qui >>> >>> >>> >> >> > >