facebook

Passing system parameters to Tomcat [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #196929 Reply

    Wuntang
    Member

    I have some system properties I need to pass to Tomcat when I start it via MyEclipse. How do I do that? When I pass them as

    -Dproperty=value

    on the Optional Program Arguments in the Tomcat server configuration, they do not get seen.

    I am using Tomcat 5 by the way.

    Thanks.

    #196930 Reply

    Scott Anderson
    Participant

    Well, placing them on the Tomcat > JDK preference page in the Optional VM Arguments box, one per line like:
    -Dprop1=value
    -Dprop2=value2

    Should do the trick. I was unable to reproduce any problem with this behavior. However, I’m testing on the candidate GA release build which will be available on the website tomorrow. In any event, I highly recommend upgrading the the new release when it becomes available.

    –Scott
    MyEclipse Support

    #196982 Reply

    Wuntang
    Member

    Thanks for the reply Scott; works very well with the latest release. 😀

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Passing system parameters to Tomcat [Closed]

You must be logged in to post in the forum log in