Search code examples
webspherewebsphere-libertywebsphere-portalwsadmin

If it possible to access AdminConfig in the Liberty Profile (non ND)


Is it possible to access AdminConfig.getid inside the WebSphere Liberty Profile (non ND), just pure Liberty profile, or even Base version?

Any particular jars needed?


Solution

  • The AdminConfig object is related to the wsadmin tool. According to IBM Documentation for wsadmin, it cannot be used with the Liberty profile. The wsadmin tool should be available with a full profile created under the Base version.

    You can refer to this link for more information on using wsadmin. You can use the Java Management Extensions (JMX) framework to make use of the wsadmin objects using Java MBeans. Alternatively, you can use the Administration Thin Client to write your own standalone program to remotely connect to and manage WebSphere Application Servers.