custom properties for an advisor in WAS
![]() RTC 4.0.5 We have developed a custom advisor that requires its own property file. We have put the property file at INSTALLDIR/server/conf (ideally it would be at INSTALLDIR/server/conf/jazz). In our advisor dev env with tomcat, finding that file via String propFile = System.getProperty("user.dir")+ File.separatorChar + "conf" + File.separatorChar + envFileName; works just fine, but when we deploy it to the "real" RTC dev env that runs on WAS, we get an error that /somedir/configs/WebSphereD01/AppServer/conf/ourf.properties cannot be found. Is there some default or standard property that we can read to find the server/conf/jazz (or server/conf/ccm) directory from an advisor or do we need to get the WAS admin to create a custom property for us or ...... ?
|
3 answers
![]()
Ralph Schoon (62.0k●3●36●43)
| answered Jan 25 '16, 1:08 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Follow https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ and do the Extensions Workshop to see how that works.
|