Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8695

Server awareness in Java Scheduler job - or - Where Am I?

$
0
0

What's the best way for me to make the Java Scheduler tell me what server it is running on? My application logic requires this information to create valid links in E-mail messages. The environment changes, of course, as my application navigates from development to test to production, so obviously hard coding is not an option. I don't like the way I am doing it now, passing it from NWA Java Scheduler as a text string job parameter. Requiring the portal system administrator in each environment to type the server path when they schedule the job doesn't seem like a very elegant solution.

 

Any better ideas?


Viewing all articles
Browse latest Browse all 8695

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>