Hello,
I have a
Java application running on
JBoss application server. The JBoss instance name is different in development, UAT and production regions.
jboss\server\app_d\KPMapp
jboss\server\app_uat\KPMapp
jboss\server\app_p\KPMapp
Is it possible to get the current isntance name or path using Java code within the application? I need to know the path for some special logic but I don't want to hardcode the path for each environment. Appreciate any suggesions.
Thanks much.