How can I pass a system property to jetty startup something like -DSERVER=”localhost”
if it is in start.config what is the exact syntax ?
and will it be available to my deployed war with this System.getProperty("SERVER") ?
thnx in advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Edit the /etc/jetty/start.config
and add SERVER=”127.0.0.1″ in the start if the file.