Skip to main content

Reading "Additional Properties" From Web App

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2014-04-14


How do I read the "Additional Properties" from within an application?

I have three installations of my application on one Glassfish server: dev, test and prod. I have set up three separate virtual servers, and I've added "Additional Properties" through the web GUI to each virtual server, but I can't seem to find any way to access these properties from within my application, so I can't use them to set different database credentials (for example) for each of the three different instances to use.

Is there no way to set up some sort of custom configuration options on a per-virtual-server basis?