Where should suncertify.properties file be located
Chih-Wei Lee
Ranch Hand
Joined: Feb 20, 2008
Posts: 129
posted
0
The instruction said "suncertify.properties file must be located in the current working directory"
Where is the current working directory? If my server is under /suncertify/server, is this where I should put suncertify.properties in?
Thanks
Lee
SCEA, SCJD, SCDJWS, SCWCD, SCJP
mohamed sulibi
Ranch Hand
Joined: Sep 04, 2005
Posts: 169
posted
0
hi;
it must be located in the current working directory, so in the same folder where the runme.jar file reside. because the app will run with out any classpath list so the current working directory is the same folder.
Regards. Mohamed Darim.
John Mattman
Ranch Hand
Joined: Feb 18, 2008
Posts: 45
posted
0
Just wondering! Shouldn't it be in the class directory
Chih-Wei Lee
Ranch Hand
Joined: Feb 20, 2008
Posts: 129
posted
0
Hi: Do you mean suncertify.properties is supposed to be located in the same folder with runme.jar?
But it seems client and server GUI both need suncertify.properties. but it doesn't make sense that put all client and server settings in the same file becuase client and server should be different machine.
Thanks
Lee
Alex Belisle Turcot
Ranch Hand
Joined: Apr 26, 2005
Posts: 516
posted
0
Originally posted by Chih-Wei Lee: [QB]Hi: Do you mean suncertify.properties is supposed to be located in the same folder with runme.jar?
Yes, the file should be created at the same level as runme.jar (which is your current directory).
But it seems client and server GUI both need suncertify.properties. but it doesn't make sense that put all client and server settings in the same file becuase client and server should be different machine.
When executing on different machine, both applications are accessing 2 distinct files (that happen to have the same name).
Since your application can be launched in multiple mode, you could consider using multiple keywords to distinguish them :
- server.ip=locahost - client.ip=127.0.0.1 - ... [ March 16, 2008: Message edited by: Alex Belisle Turcot ]
Chih-Wei Lee
Ranch Hand
Joined: Feb 20, 2008
Posts: 129
posted
0
Thanks a lot Very useful response
mohamed sulibi
Ranch Hand
Joined: Sep 04, 2005
Posts: 169
posted
0
hi;
in the properties file i think we can use just one key for server host address