Re: Tomcat path

"Francesco Dipalo" <[email protected]>
Newsgroups gmane.text.xml.soap.user
Message-ID <004501c4d0b6$013b1110$49b61c97@BOBO>
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: http://www.email.it/f
 
 Sponsor:
 La foto che hai sempre vicino a te... Stampala su un nostro gadget!
* Stelle & Strisce stampa quello che vuoi TU .... dove Vuoi Tu!!
* 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid!16&d"-11
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.