Skip to main content
1-Visitor
August 19, 2014
Question

wvs.properties file

  • August 19, 2014
  • 2 replies
  • 5185 views

This may seem like a simple question but how do I access the wvs.properties file and how do I make changes to it?

2 replies

1-Visitor
August 19, 2014

Which release? In 10.1 it is in <Windchill>/codebase/wvs.properties. In 10.2 it is in <Windchill>/codebase/WEB-INF/conf/wvs.properties.

Use xconfmanager to set it. For example

start a windchill shell

xconfmanager -p -t codebase/wvs.properties -s <somekey>=<somevalue>

or

xconfmanager -p -t codebase/WEB-INF/conf/wvs.properties -s <somekey>=<somevalue>

MSC121-VisitorAuthor
1-Visitor
August 19, 2014

It is 10.2 but neither of your links seem to be working for me. Is there any other way?

1-Visitor
August 19, 2014

It should be the second command. Did you copy/paste? If so, try typing manually because the dash often does not copy/paste correctly.

Can you run "xconfmanager -p" to propagate?

Can you run "xconfmanager -p -t codebase/WEB-INF/conf/wvs.properties -s testkey=testvalue?

Does it give errors or does it write "testkey=testvalue" into the file?

22-Sapphire I
August 19, 2014

Attached may be of interest.

I always put properties files into a spreadsheet to record the OTB values.

Best practice is to add a few columns - OTB value, your current value, comments.