Knowing when code is being run in Weblogic or standalone
Hello.
We are using the startup features provided with weblogic, however to test these things we do this outside weblogic, so there is certain hardwire logic to check if we're running with weblogic or without it. Currently we're using weblogic.kernel.KernelStatus.isServer() but this fails sometimes. Is there any way to know for certain if we're running with or without weblogic. Class.forName is not an option.
TIA