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

Re: Netweaver AS Java - get license expiry

$
0
0

Hi Julia, sorry for the late reply. It is possible to get the information via the JMX interface. Once you have your connection set up you can do sth like this:

 

//define your Properties object "props" for your JMX connection and create an MBeanServerConnection

MBeanServerConnection mbsc = JmxConnectionFactory.getMBeanServerConnection(JmxConnectionFactory.PROTOCOL_ENGINE_P4, props);

//define your scope

ObjectName scope = new ObjectName("com.sap.default:*,j2eeType=SAP_MonitorPerNode,name=\"/Kernel/Licensing Manager/License Validity Period/J2EE-Engine_ORA\"");

//get the result from the query

Set results = mbsc.queryNames(scope, null);

 

Possible License types are:

 

J2EE-Engine_ORA

J2EE-Engine_ADA

J2EE-Engine_DB6

J2EE-Engine_SYB

J2EE-Engine-MSS

 

Cheers,

 

Jochen


Viewing all articles
Browse latest Browse all 2878

Trending Articles



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