设置环境变量: ?
set classpath=D:ptcPartsLinksrclibjmxcoreWtLogR.jar;D:ptcPartsLinksrcliblog4j.jar;D:ptcPartsLinkcodebaseWEB-INFlibinstall.jar
?使用以下命令来更新 <PartsLink_Home>confmain.properties里的PartsLink应用/数据库帐户?C:ptcWindchill_10.0PartsLinkin>java com.ptc.windchill.structconf.StructConfManager -r C:ptcWindchill_10.0PartsLink -s nitidus.sqlcache.db.app.password=<password> -t C:ptcWindchill_10.0PartsLinkconfmain.properties -p
?C:ptcWindchill_10.0PartsLink bin >java com.ptc.windchill.structconf.StructConfManager -r C:ptcWindchill_10.0PartsLink -s nitidus.sqlcache.db.app.user=<username> -t C:ptcWindchill_10.0PartsLinkconfmain.properties -p
注意:ParksLink不能手动修改密码,需要执行命令进行修改密码,否则会提示密码错误,灯录失败
--1.
set classpath=D:ptcPartsLinksrclibjmxcoreWtLogR.jar;D:ptcPartsLinksrcliblog4j.jar;D:ptcPartsLinkcodebaseWEB-INFlibinstall.jar
--2.
java com.ptc.windchill.structconf.StructConfManager -r D:ptcPartsLink -s nitidus.sqlcache.db.app.password=wcadmin_20_15 -t D:ptcPartsLinkconfmain.properties -p
--3.
java com.ptc.windchill.structconf.StructConfManager -r D:ptcPartsLink -s nitidus.sqlcache.db.app.user=wcadmin -t D:ptcPartsLinkconfmain.properties -p
set classpath=D:ptcPartsLinksrclibjmxcoreWtLogR.jar;D:ptcPartsLinksrcliblog4j.jar;D:ptcPartsLinkcodebaseWEB-INFlibinstall.jar
--2.
java com.ptc.windchill.structconf.StructConfManager -r D:ptcPartsLink -s nitidus.sqlcache.db.app.password=wcadmin_20_15 -t D:ptcPartsLinkconfmain.properties -p
--3.
java com.ptc.windchill.structconf.StructConfManager -r D:ptcPartsLink -s nitidus.sqlcache.db.app.user=wcadmin -t D:ptcPartsLinkconfmain.properties -p