Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is this statement necessary ?

 
Zhou Can
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use these two command line to start the server :
java -Djava.rmi.hostname=localhost -Djava.security.policy=suncertify.policy server.jar
java -Djava.security.policy=suncertify.policy server.jar
Both results are correct . Which one should i take ?
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

java -Djava.rmi.hostname=localhost -Djava.security.policy=suncertify.policy server.jar

There is absolutely no need to specify the dns when you start the server, -- it already knows who it is!
Eugene.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic