JMX.management package with WL 81. jdk 14

Hi Jaysheen,
Can you please help on this ?
pfa the code that i have for my WL 9.1 JDK 1.5 and the same is failing to compli itself when i am trying withpfa the code that i have for my WL 9.1 JDK 1.5 and the same is failing to compli itself when i am trying with WL 81. jdk 14. so can you please review and let help me out to sort out the issue please.
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.Hashtable;
import java.rmi.Remote
import javax.management.MBeanServer
import javax.management.MBeanServerConnection;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
import javax.management.remote.JMXConnector;
import javax.management.remote.JMXConnectorFactory;
import javax.management.remote.JMXServiceURL;
import javax.naming.Context;
public class EnvDetail {
public static String username = "system";
public static String password = "password";
public static int chkValue;
public static String hostname = null;
public static String port = null;
private static MBeanServerConnection connection;
private static JMXConnector connector;
private static final ObjectName service; // Initializing the object name for DomainRuntimeServiceMBean
// so it can be used throughout the class.
static {
try {
service = new ObjectName("com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean");
}catch (MalformedObjectNameException e)
throw new AssertionError(e.getMessage());
/* * Initialize connection to the Domain Runtime MBean Server */
public static void initConnection(String hostname, String portString, String username, String password)
throws IOException, MalformedURLException {
String protocol = "t3";
Integer portInteger = Integer.valueOf(portString);
int port = portInteger.intValue();
String jndiroot = "/jndi/";
String mserver = "weblogic.management.mbeanservers.domainruntime";
JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, port, jndiroot + mserver);
Hashtable h = new Hashtable();
h.put(Context.SECURITY_PRINCIPAL, username);
h.put(Context.SECURITY_CREDENTIALS, password);
h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "weblogic.management.remote");
connector = JMXConnectorFactory.connect(serviceURL, h);
connection = connector.getMBeanServerConnection();
} /* * Print an array of ServerRuntimeMBeans. * This MBean is the root of the runtime MBean hierarchy, and * each server in the domain hosts its own instance. */
public static ObjectName[] getServerRuntimes() throws Exception {
return (ObjectName[]) connection.getAttribute(service, "ServerRuntimes");
public void getJvmRuntime() throws Exception {
ObjectName[] serverRT = getServerRuntimes();
int length = (int) serverRT.length;
for (int i = 0; i < length; i++) {
String name = (String) connection.getAttribute(serverRT,"Name");
ObjectName jvmRT = (ObjectName) connection.getAttribute(serverRT,"JVMRuntime");
System.out.println("\n..<" : .JVMRuntime>");
Long heapSMX =(Long)connection.getAttribute(jvmRT, "HeapSizeMax");
System.out.println("HeapSizeMax :" Math.round((heapSMX.longValue()/1048576*100000)/100000) " MB ("connection.getAttribute(jvmRT, "HeapSizeMax")")" );
Long heapSC =(Long)connection.getAttribute(jvmRT, "HeapSizeCurrent");
System.out.println("HeapSizeCurrent :" Math.round((heapSC.longValue()/1048576*100000)/100000) " MB ("connection.getAttribute(jvmRT, "HeapSizeCurrent")" bytes)");
Long heapFC =(Long)connection.getAttribute(jvmRT, "HeapFreeCurrent");
System.out.println("HeapFreeCurrent :" Math.round((heapFC.longValue()/1048576*100000)/100000) " MB ("connection.getAttribute(jvmRT, "HeapFreeCurrent")" bytes)");
System.out.println("HeapFreePercent :" + connection.getAttribute(jvmRT, "HeapFreePercent")+"%");
System.out.println("JavaVendor :" + connection.getAttribute(jvmRT, "JavaVendor"));
System.out.println("JavaVersion :" + connection.getAttribute(jvmRT, "JavaVersion"));
Long uptime =(Long)connection.getAttribute(jvmRT, "Uptime");
System.out.println("Uptime :" + connection.getAttribute(jvmRT, "Uptime")+" milliseconds (" + (uptime*.001)+" Seconds)");
System.out.println("******************\n");
public void getJdbcRuntime() throws Exception {
ObjectName[] serverRT = getServerRuntimes();
int length = (int) serverRT.length;
for (int i = 0; i < length; i++) {
String name = (String) connection.getAttribute(serverRT,"Name");
ObjectName[] appRT =
(ObjectName[]) connection.getAttribute(new ObjectName("com.bea:Name="name",ServerRuntime="name",Location="name",Type=JDBCServiceRuntime"),"JDBCDataSourceRuntimeMBeans");
int appLength = (int) appRT.length;
for (int x = 0; x < appLength; x++) {
System.out.println("\n.. .<"name" : JDBCDataSourceRuntimeMBeans>" + (String)connection.getAttribute(appRT[x], "Name")+"");
System.out.println("ActiveConnectionsCurrentCount : " + connection.getAttribute(appRT[x], "ActiveConnectionsCurrentCount"));
System.out.println("ActiveConnectionsAverageCount : " + connection.getAttribute(appRT[x], "ActiveConnectionsAverageCount"));
System.out.println("ActiveConnectionsAverageCount : " + connection.getAttribute(appRT[x], "ActiveConnectionsAverageCount"));
System.out.println("ConnectionsTotalCount : " + connection.getAttribute(appRT[x], "ConnectionsTotalCount"));
System.out.println("CurrCapacity : " + connection.getAttribute(appRT[x], "CurrCapacity"));
System.out.println("CurrCapacityHighCount : " + connection.getAttribute(appRT[x], "CurrCapacityHighCount"));
System.out.println("HighestNumAvailable : " + connection.getAttribute(appRT[x], "HighestNumAvailable"));
System.out.println("HighestNumAvailable : " + connection.getAttribute(appRT[x], "HighestNumAvailable"));
System.out.println("LeakedConnectionCount : " + connection.getAttribute(appRT[x], "LeakedConnectionCount"));
System.out.println("WaitSecondsHighCount : " + connection.getAttribute(appRT[x], "WaitSecondsHighCount"));
System.out.println("WaitingForConnectionCurrentCount: " + connection.getAttribute(appRT[x], "WaitingForConnectionCurrentCount"));
System.out.println("WaitingForConnectionFailureTotal: " + connection.getAttribute(appRT[x], "WaitingForConnectionFailureTotal"));
System.out.println("WaitingForConnectionTotal : " + connection.getAttribute(appRT[x], "WaitingForConnectionTotal"));
System.out.println("WaitingForConnectionHighCount : " + connection.getAttribute(appRT[x], "WaitingForConnectionHighCount"));
System.out.println(".\n");
public void getThreadStateandName() throws Exception {
ObjectName[] serverRT = getServerRuntimes();
//System.out.println("got server runtimes");
int length = (int) serverRT.length;
for (int i = 0; i < length; i++) {
String name = (String) connection.getAttribute(serverRT, "Name");
String state = (String) connection.getAttribute(serverRT,"State");
System.out.println("Server name: " + name + ". Server state: " + state);
ObjectName ThreadRT =(ObjectName) connection.getAttribute(serverRT, "ThreadPoolRuntime");
System.out.println("ExecuteThreadTotalCount :"+ (Object)connection. getAttribute(ThreadRT,"ExecuteThreadTotalCount"));
System.out.println("StandbyThreadCount:"+ (Object)connection.getAttribute(ThreadRT, "StandbyThreadCount"));
Integer e_ThreadTotal =(Integer)(Object)connection. getAttribute(ThreadRT,"ExecuteThreadTotalCount");
Integer e_standbyCount = (Integer)connection.getAttribute(ThreadRT, "StandbyThreadCount");
int eThreadTotal = e_ThreadTotal.intValue();
int estandbyCount = e_standbyCount.intValue();
System.out.println("ExecuteActiveThreadCount:"+(eThreadTotal-estandbyCount));
System.out.println("ExecuteThreadIdleCount :"+ (Object)connection. getAttribute(ThreadRT,"ExecuteThreadIdleCount"));
System.out.println("ExecuteHoggingThreadCount:"+ (Object)connection.getAttribute(ThreadRT, "HoggingThreadCount"));
System.out.println("Throughput :"+ (Object)connection.getAttribute(ThreadRT, "Throughput"));
System.out.println("HealthState :"+ (Object)connection.getAttribute(ThreadRT, "HealthState"));
//System.out.println("QueueLength:"+ (Object)connection.getAttribute(ThreadRT, "QueueLength"));
//System.out.println("StandbyThreadCount:"+ (Object)connection.getAttribute(ThreadRT, "StandbyThreadCount"));
//System.out.println("ExecuteActiveThreadCount:"+ (Object[])connection.getAttribute(ThreadRT, "ExecuteThreads"));
//System.out.println("ExecuteActiveThreadCount:"+ ((Object[])connection.getAttribute(ThreadRT, "ExecuteThreads")).size());
//System.out.println("ExecuteActiveThreadCount:"+ ((Object[])connection.getAttribute(ThreadRT, "ExecuteThreads")).length);
public void getExecuteAll() throws Exception {
System.out.println("*****************-Heap-****************");
getJvmRuntime();
System.out.println("*****************-JDBC-****************");
getJdbcRuntime();
System.out.println("*****************-Thread-****************");
getThreadStateandName();
public static void main(String[] args) throws Exception {
if (args.length != 5) {
System.out.println("\n CheckValue ------> HeapCheck : 1\n");
System.out.println(" CheckValue ------> DBCConnectionCheck : 2\n");
System.out.println(" CheckValue ------> ThreadStatusCheck : 3\n");
System.out.println(" CheckValue ------> All : 0\n");
System.out.println("Usage: java EnvDetail HostName Port CheckValue\n");
//System.out.println(args[0]);
String hostname =args[0];
//System.out.println(args[1]);
String port= args[1];
//System.out.println(args[2]);
chkValue = Integer.parseInt(args[2]);
EnvDetail ts = new EnvDetail();
initConnection(hostname,port, username, password);
switch (chkValue) {
case 1: ts.getJvmRuntime(); break;
case 2: ts.getJdbcRuntime(); break;
case 3: ts.getThreadStateandName(); break;
case 0: ts.getExecuteAll(); break;
case 5: System.out.println("CheckValue5"); break;
return;
}//main method
}// class
. so can you please review and let help me out to sort out the issue please.
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.Hashtable;
import java.rmi.Remote
import javax.management.MBeanServer
import javax.management.MBeanServerConnection;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
import javax.management.remote.JMXConnector;
import javax.management.remote.JMXConnectorFactory;
import javax.management.remote.JMXServiceURL;
import javax.naming.Context;
public class EnvDetail {
public static String username = "system";
public static String password = "password";
public static int chkValue;
public static String hostname = null;
public static String port = null;
private static MBeanServerConnection connection;
private static JMXConnector connector;
private static final ObjectName service; // Initializing the object name for DomainRuntimeServiceMBean
// so it can be used throughout the class.
static {
try {
service = new ObjectName("com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean");
}catch (MalformedObjectNameException e)
throw new AssertionError(e.getMessage());
/* * Initialize connection to the Domain Runtime MBean Server */
public static void initConnection(String hostname, String portString, String username, String password)
throws IOException, MalformedURLException {
String protocol = "t3";
Integer portInteger = Integer.valueOf(portString);
int port = portInteger.intValue();
String jndiroot = "/jndi/";
String mserver = "weblogic.management.mbeanservers.domainruntime";
JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, port, jndiroot + mserver);
Hashtable h = new Hashtable();
h.put(Context.SECURITY_PRINCIPAL, username);
h.put(Context.SECURITY_CREDENTIALS, password);
h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "weblogic.management.remote");
connector = JMXConnectorFactory.connect(serviceURL, h);
connection = connector.getMBeanServerConnection();
} /* * Print an array of ServerRuntimeMBeans. * This MBean is the root of the runtime MBean hierarchy, and * each server in the domain hosts its own instance. */
public static ObjectName[] getServerRuntimes() throws Exception {
return (ObjectName[]) connection.getAttribute(service, "ServerRuntimes");
public void getJvmRuntime() throws Exception {
ObjectName[] serverRT = getServerRuntimes();
int length = (int) serverRT.length;
for (int i = 0; i < length; i++) {
String name = (String) connection.getAttribute(serverRT,"Name");
ObjectName jvmRT = (ObjectName) connection.getAttribute(serverRT,"JVMRuntime");
System.out.println("\n..<" : .JVMRuntime>");
Long heapSMX =(Long)connection.getAttribute(jvmRT, "HeapSizeMax");
System.out.println("HeapSizeMax :" Math.round((heapSMX.longValue()/1048576*100000)/100000) " MB ("connection.getAttribute(jvmRT, "HeapSizeMax")")" );
Long heapSC =(Long)connection.getAttribute(jvmRT, "HeapSizeCurrent");
System.out.println("HeapSizeCurrent :" Math.round((heapSC.longValue()/1048576*100000)/100000) " MB ("connection.getAttribute(jvmRT, "HeapSizeCurrent")" bytes)");
Long heapFC =(Long)connection.getAttribute(jvmRT, "HeapFreeCurrent");
System.out.println("HeapFreeCurrent :" Math.round((heapFC.longValue()/1048576*100000)/100000) " MB ("connection.getAttribute(jvmRT, "HeapFreeCurrent")" bytes)");
System.out.println("HeapFreePercent :" + connection.getAttribute(jvmRT, "HeapFreePercent")+"%");
System.out.println("JavaVendor :" + connection.getAttribute(jvmRT, "JavaVendor"));
System.out.println("JavaVersion :" + connection.getAttribute(jvmRT, "JavaVersion"));
Long uptime =(Long)connection.getAttribute(jvmRT, "Uptime");
System.out.println("Uptime :" + connection.getAttribute(jvmRT, "Uptime")+" milliseconds (" + (uptime*.001)+" Seconds)");
System.out.println("******************\n");
public void getJdbcRuntime() throws Exception {
ObjectName[] serverRT = getServerRuntimes();
int length = (int) serverRT.length;
for (int i = 0; i < length; i++) {
String name = (String) connection.getAttribute(serverRT,"Name");
ObjectName[] appRT =
(ObjectName[]) connection.getAttribute(new ObjectName("com.bea:Name="name",ServerRuntime="name",Location="name",Type=JDBCServiceRuntime"),"JDBCDataSourceRuntimeMBeans");
int appLength = (int) appRT.length;
for (int x = 0; x < appLength; x++) {
System.out.println("\n.. .<"name" : JDBCDataSourceRuntimeMBeans>" + (String)connection.getAttribute(appRT[x], "Name")+"");
System.out.println("ActiveConnectionsCurrentCount : " + connection.getAttribute(appRT[x], "ActiveConnectionsCurrentCount"));
System.out.println("ActiveConnectionsAverageCount : " + connection.getAttribute(appRT[x], "ActiveConnectionsAverageCount"));
System.out.println("ActiveConnectionsAverageCount : " + connection.getAttribute(appRT[x], "ActiveConnectionsAverageCount"));
System.out.println("ConnectionsTotalCount : " + connection.getAttribute(appRT[x], "ConnectionsTotalCount"));
System.out.println("CurrCapacity : " + connection.getAttribute(appRT[x], "CurrCapacity"));
System.out.println("CurrCapacityHighCount : " + connection.getAttribute(appRT[x], "CurrCapacityHighCount"));
System.out.println("HighestNumAvailable : " + connection.getAttribute(appRT[x], "HighestNumAvailable"));
System.out.println("HighestNumAvailable : " + connection.getAttribute(appRT[x], "HighestNumAvailable"));
System.out.println("LeakedConnectionCount : " + connection.getAttribute(appRT[x], "LeakedConnectionCount"));
System.out.println("WaitSecondsHighCount : " + connection.getAttribute(appRT[x], "WaitSecondsHighCount"));
System.out.println("WaitingForConnectionCurrentCount: " + connection.getAttribute(appRT[x], "WaitingForConnectionCurrentCount"));
System.out.println("WaitingForConnectionFailureTotal: " + connection.getAttribute(appRT[x], "WaitingForConnectionFailureTotal"));
System.out.println("WaitingForConnectionTotal : " + connection.getAttribute(appRT[x], "WaitingForConnectionTotal"));
System.out.println("WaitingForConnectionHighCount : " + connection.getAttribute(appRT[x], "WaitingForConnectionHighCount"));
System.out.println(".\n");
public void getThreadStateandName() throws Exception {
ObjectName[] serverRT = getServerRuntimes();
//System.out.println("got server runtimes");
int length = (int) serverRT.length;
for (int i = 0; i < length; i++) {
String name = (String) connection.getAttribute(serverRT, "Name");
String state = (String) connection.getAttribute(serverRT,"State");
System.out.println("Server name: " + name + ". Server state: " + state);
ObjectName ThreadRT =(ObjectName) connection.getAttribute(serverRT, "ThreadPoolRuntime");
System.out.println("ExecuteThreadTotalCount :"+ (Object)connection. getAttribute(ThreadRT,"ExecuteThreadTotalCount"));
System.out.println("StandbyThreadCount:"+ (Object)connection.getAttribute(ThreadRT, "StandbyThreadCount"));
Integer e_ThreadTotal =(Integer)(Object)connection. getAttribute(ThreadRT,"ExecuteThreadTotalCount");
Integer e_standbyCount = (Integer)connection.getAttribute(ThreadRT, "StandbyThreadCount");
int eThreadTotal = e_ThreadTotal.intValue();
int estandbyCount = e_standbyCount.intValue();
System.out.println("ExecuteActiveThreadCount:"+(eThreadTotal-estandbyCount));
System.out.println("ExecuteThreadIdleCount :"+ (Object)connection. getAttribute(ThreadRT,"ExecuteThreadIdleCount"));
System.out.println("ExecuteHoggingThreadCount:"+ (Object)connection.getAttribute(ThreadRT, "HoggingThreadCount"));
System.out.println("Throughput :"+ (Object)connection.getAttribute(ThreadRT, "Throughput"));
System.out.println("HealthState :"+ (Object)connection.getAttribute(ThreadRT, "HealthState"));
//System.out.println("QueueLength:"+ (Object)connection.getAttribute(ThreadRT, "QueueLength"));
//System.out.println("StandbyThreadCount:"+ (Object)connection.getAttribute(ThreadRT, "StandbyThreadCount"));
//System.out.println("ExecuteActiveThreadCount:"+ (Object[])connection.getAttribute(ThreadRT, "ExecuteThreads"));
//System.out.println("ExecuteActiveThreadCount:"+ ((Object[])connection.getAttribute(ThreadRT, "ExecuteThreads")).size());
//System.out.println("ExecuteActiveThreadCount:"+ ((Object[])connection.getAttribute(ThreadRT, "ExecuteThreads")).length);
public void getExecuteAll() throws Exception {
System.out.println("*****************-Heap-****************");
getJvmRuntime();
System.out.println("*****************-JDBC-****************");
getJdbcRuntime();
System.out.println("*****************-Thread-****************");
getThreadStateandName();
public static void main(String[] args) throws Exception {
if (args.length != 5) {
System.out.println("\n CheckValue ------> HeapCheck : 1\n");
System.out.println(" CheckValue ------> DBCConnectionCheck : 2\n");
System.out.println(" CheckValue ------> ThreadStatusCheck : 3\n");
System.out.println(" CheckValue ------> All : 0\n");
System.out.println("Usage: java EnvDetail HostName Port CheckValue\n");
//System.out.println(args[0]);
String hostname =args[0];
//System.out.println(args[1]);
String port= args[1];
//System.out.println(args[2]);
chkValue = Integer.parseInt(args[2]);
EnvDetail ts = new EnvDetail();
initConnection(hostname,port, username, password);
switch (chkValue) {
case 1: ts.getJvmRuntime(); break;
case 2: ts.getJdbcRuntime(); break;
case 3: ts.getThreadStateandName(); break;
case 0: ts.getExecuteAll(); break;
case 5: System.out.println("CheckValue5"); break;
return;
}//main method
}// class

Hi Jaysheen,
Can you please help on this ?
pfa the code that i have for my WL 9.1 JDK 1.5 and the same is failing to compli itself when i am trying withpfa the code that i have for my WL 9.1 JDK 1.5 and the same is failing to compli itself when i am trying with WL 81. jdk 14. so can you please review and let help me out to sort out the issue please.
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.Hashtable;
import java.rmi.Remote
import javax.management.MBeanServer
import javax.management.MBeanServerConnection;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
import javax.management.remote.JMXConnector;
import javax.management.remote.JMXConnectorFactory;
import javax.management.remote.JMXServiceURL;
import javax.naming.Context;
public class EnvDetail {
public static String username = "system";
public static String password = "password";
public static int chkValue;
public static String hostname = null;
public static String port = null;
private static MBeanServerConnection connection;
private static JMXConnector connector;
private static final ObjectName service; // Initializing the object name for DomainRuntimeServiceMBean
// so it can be used throughout the class.
static {
try {
service = new ObjectName("com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean");
}catch (MalformedObjectNameException e)
throw new AssertionError(e.getMessage());
/* * Initialize connection to the Domain Runtime MBean Server */
public static void initConnection(String hostname, String portString, String username, String password)
throws IOException, MalformedURLException {
String protocol = "t3";
Integer portInteger = Integer.valueOf(portString);
int port = portInteger.intValue();
String jndiroot = "/jndi/";
String mserver = "weblogic.management.mbeanservers.domainruntime";
JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, port, jndiroot + mserver);
Hashtable h = new Hashtable();
h.put(Context.SECURITY_PRINCIPAL, username);
h.put(Context.SECURITY_CREDENTIALS, password);
h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "weblogic.management.remote");
connector = JMXConnectorFactory.connect(serviceURL, h);
connection = connector.getMBeanServerConnection();
} /* * Print an array of ServerRuntimeMBeans. * This MBean is the root of the runtime MBean hierarchy, and * each server in the domain hosts its own instance. */
public static ObjectName[] getServerRuntimes() throws Exception {
return (ObjectName[]) connection.getAttribute(service, "ServerRuntimes");
public void getJvmRuntime() throws Exception {
ObjectName[] serverRT = getServerRuntimes();
int length = (int) serverRT.length;
for (int i = 0; i < length; i++) {
String name = (String) connection.getAttribute(serverRT,"Name");
ObjectName jvmRT = (ObjectName) connection.getAttribute(serverRT,"JVMRuntime");
System.out.println("\n..<" : .JVMRuntime>");
Long heapSMX =(Long)connection.getAttribute(jvmRT, "HeapSizeMax");
System.out.println("HeapSizeMax :" Math.round((heapSMX.longValue()/1048576*100000)/100000) " MB ("connection.getAttribute(jvmRT, "HeapSizeMax")")" );
Long heapSC =(Long)connection.getAttribute(jvmRT, "HeapSizeCurrent");
System.out.println("HeapSizeCurrent :" Math.round((heapSC.longValue()/1048576*100000)/100000) " MB ("connection.getAttribute(jvmRT, "HeapSizeCurrent")" bytes)");
Long heapFC =(Long)connection.getAttribute(jvmRT, "HeapFreeCurrent");
System.out.println("HeapFreeCurrent :" Math.round((heapFC.longValue()/1048576*100000)/100000) " MB ("connection.getAttribute(jvmRT, "HeapFreeCurrent")" bytes)");
System.out.println("HeapFreePercent :" + connection.getAttribute(jvmRT, "HeapFreePercent")+"%");
System.out.println("JavaVendor :" + connection.getAttribute(jvmRT, "JavaVendor"));
System.out.println("JavaVersion :" + connection.getAttribute(jvmRT, "JavaVersion"));
Long uptime =(Long)connection.getAttribute(jvmRT, "Uptime");
System.out.println("Uptime :" + connection.getAttribute(jvmRT, "Uptime")+" milliseconds (" + (uptime*.001)+" Seconds)");
System.out.println("******************\n");
public void getJdbcRuntime() throws Exception {
ObjectName[] serverRT = getServerRuntimes();
int length = (int) serverRT.length;
for (int i = 0; i < length; i++) {
String name = (String) connection.getAttribute(serverRT,"Name");
ObjectName[] appRT =
(ObjectName[]) connection.getAttribute(new ObjectName("com.bea:Name="name",ServerRuntime="name",Location="name",Type=JDBCServiceRuntime"),"JDBCDataSourceRuntimeMBeans");
int appLength = (int) appRT.length;
for (int x = 0; x < appLength; x++) {
System.out.println("\n.. .<"name" : JDBCDataSourceRuntimeMBeans>" + (String)connection.getAttribute(appRT[x], "Name")+"");
System.out.println("ActiveConnectionsCurrentCount : " + connection.getAttribute(appRT[x], "ActiveConnectionsCurrentCount"));
System.out.println("ActiveConnectionsAverageCount : " + connection.getAttribute(appRT[x], "ActiveConnectionsAverageCount"));
System.out.println("ActiveConnectionsAverageCount : " + connection.getAttribute(appRT[x], "ActiveConnectionsAverageCount"));
System.out.println("ConnectionsTotalCount : " + connection.getAttribute(appRT[x], "ConnectionsTotalCount"));
System.out.println("CurrCapacity : " + connection.getAttribute(appRT[x], "CurrCapacity"));
System.out.println("CurrCapacityHighCount : " + connection.getAttribute(appRT[x], "CurrCapacityHighCount"));
System.out.println("HighestNumAvailable : " + connection.getAttribute(appRT[x], "HighestNumAvailable"));
System.out.println("HighestNumAvailable : " + connection.getAttribute(appRT[x], "HighestNumAvailable"));
System.out.println("LeakedConnectionCount : " + connection.getAttribute(appRT[x], "LeakedConnectionCount"));
System.out.println("WaitSecondsHighCount : " + connection.getAttribute(appRT[x], "WaitSecondsHighCount"));
System.out.println("WaitingForConnectionCurrentCount: " + connection.getAttribute(appRT[x], "WaitingForConnectionCurrentCount"));
System.out.println("WaitingForConnectionFailureTotal: " + connection.getAttribute(appRT[x], "WaitingForConnectionFailureTotal"));
System.out.println("WaitingForConnectionTotal : " + connection.getAttribute(appRT[x], "WaitingForConnectionTotal"));
System.out.println("WaitingForConnectionHighCount : " + connection.getAttribute(appRT[x], "WaitingForConnectionHighCount"));
System.out.println(".\n");
public void getThreadStateandName() throws Exception {
ObjectName[] serverRT = getServerRuntimes();
//System.out.println("got server runtimes");
int length = (int) serverRT.length;
for (int i = 0; i < length; i++) {
String name = (String) connection.getAttribute(serverRT, "Name");
String state = (String) connection.getAttribute(serverRT,"State");
System.out.println("Server name: " + name + ". Server state: " + state);
ObjectName ThreadRT =(ObjectName) connection.getAttribute(serverRT, "ThreadPoolRuntime");
System.out.println("ExecuteThreadTotalCount :"+ (Object)connection. getAttribute(ThreadRT,"ExecuteThreadTotalCount"));
System.out.println("StandbyThreadCount:"+ (Object)connection.getAttribute(ThreadRT, "StandbyThreadCount"));
Integer e_ThreadTotal =(Integer)(Object)connection. getAttribute(ThreadRT,"ExecuteThreadTotalCount");
Integer e_standbyCount = (Integer)connection.getAttribute(ThreadRT, "StandbyThreadCount");
int eThreadTotal = e_ThreadTotal.intValue();
int estandbyCount = e_standbyCount.intValue();
System.out.println("ExecuteActiveThreadCount:"+(eThreadTotal-estandbyCount));
System.out.println("ExecuteThreadIdleCount :"+ (Object)connection. getAttribute(ThreadRT,"ExecuteThreadIdleCount"));
System.out.println("ExecuteHoggingThreadCount:"+ (Object)connection.getAttribute(ThreadRT, "HoggingThreadCount"));
System.out.println("Throughput :"+ (Object)connection.getAttribute(ThreadRT, "Throughput"));
System.out.println("HealthState :"+ (Object)connection.getAttribute(ThreadRT, "HealthState"));
//System.out.println("QueueLength:"+ (Object)connection.getAttribute(ThreadRT, "QueueLength"));
//System.out.println("StandbyThreadCount:"+ (Object)connection.getAttribute(ThreadRT, "StandbyThreadCount"));
//System.out.println("ExecuteActiveThreadCount:"+ (Object[])connection.getAttribute(ThreadRT, "ExecuteThreads"));
//System.out.println("ExecuteActiveThreadCount:"+ ((Object[])connection.getAttribute(ThreadRT, "ExecuteThreads")).size());
//System.out.println("ExecuteActiveThreadCount:"+ ((Object[])connection.getAttribute(ThreadRT, "ExecuteThreads")).length);
public void getExecuteAll() throws Exception {
System.out.println("*****************-Heap-****************");
getJvmRuntime();
System.out.println("*****************-JDBC-****************");
getJdbcRuntime();
System.out.println("*****************-Thread-****************");
getThreadStateandName();
public static void main(String[] args) throws Exception {
if (args.length != 5) {
System.out.println("\n CheckValue ------> HeapCheck : 1\n");
System.out.println(" CheckValue ------> DBCConnectionCheck : 2\n");
System.out.println(" CheckValue ------> ThreadStatusCheck : 3\n");
System.out.println(" CheckValue ------> All : 0\n");
System.out.println("Usage: java EnvDetail HostName Port CheckValue\n");
//System.out.println(args[0]);
String hostname =args[0];
//System.out.println(args[1]);
String port= args[1];
//System.out.println(args[2]);
chkValue = Integer.parseInt(args[2]);
EnvDetail ts = new EnvDetail();
initConnection(hostname,port, username, password);
switch (chkValue) {
case 1: ts.getJvmRuntime(); break;
case 2: ts.getJdbcRuntime(); break;
case 3: ts.getThreadStateandName(); break;
case 0: ts.getExecuteAll(); break;
case 5: System.out.println("CheckValue5"); break;
return;
}//main method
}// class
. so can you please review and let help me out to sort out the issue please.
import java.io.IOException;
import java.net.MalformedURLException;
import java.util.Hashtable;
import java.rmi.Remote
import javax.management.MBeanServer
import javax.management.MBeanServerConnection;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
import javax.management.remote.JMXConnector;
import javax.management.remote.JMXConnectorFactory;
import javax.management.remote.JMXServiceURL;
import javax.naming.Context;
public class EnvDetail {
public static String username = "system";
public static String password = "password";
public static int chkValue;
public static String hostname = null;
public static String port = null;
private static MBeanServerConnection connection;
private static JMXConnector connector;
private static final ObjectName service; // Initializing the object name for DomainRuntimeServiceMBean
// so it can be used throughout the class.
static {
try {
service = new ObjectName("com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean");
}catch (MalformedObjectNameException e)
throw new AssertionError(e.getMessage());
/* * Initialize connection to the Domain Runtime MBean Server */
public static void initConnection(String hostname, String portString, String username, String password)
throws IOException, MalformedURLException {
String protocol = "t3";
Integer portInteger = Integer.valueOf(portString);
int port = portInteger.intValue();
String jndiroot = "/jndi/";
String mserver = "weblogic.management.mbeanservers.domainruntime";
JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, port, jndiroot + mserver);
Hashtable h = new Hashtable();
h.put(Context.SECURITY_PRINCIPAL, username);
h.put(Context.SECURITY_CREDENTIALS, password);
h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "weblogic.management.remote");
connector = JMXConnectorFactory.connect(serviceURL, h);
connection = connector.getMBeanServerConnection();
} /* * Print an array of ServerRuntimeMBeans. * This MBean is the root of the runtime MBean hierarchy, and * each server in the domain hosts its own instance. */
public static ObjectName[] getServerRuntimes() throws Exception {
return (ObjectName[]) connection.getAttribute(service, "ServerRuntimes");
public void getJvmRuntime() throws Exception {
ObjectName[] serverRT = getServerRuntimes();
int length = (int) serverRT.length;
for (int i = 0; i < length; i++) {
String name = (String) connection.getAttribute(serverRT,"Name");
ObjectName jvmRT = (ObjectName) connection.getAttribute(serverRT,"JVMRuntime");
System.out.println("\n..<" : .JVMRuntime>");
Long heapSMX =(Long)connection.getAttribute(jvmRT, "HeapSizeMax");
System.out.println("HeapSizeMax :" Math.round((heapSMX.longValue()/1048576*100000)/100000) " MB ("connection.getAttribute(jvmRT, "HeapSizeMax")")" );
Long heapSC =(Long)connection.getAttribute(jvmRT, "HeapSizeCurrent");
System.out.println("HeapSizeCurrent :" Math.round((heapSC.longValue()/1048576*100000)/100000) " MB ("connection.getAttribute(jvmRT, "HeapSizeCurrent")" bytes)");
Long heapFC =(Long)connection.getAttribute(jvmRT, "HeapFreeCurrent");
System.out.println("HeapFreeCurrent :" Math.round((heapFC.longValue()/1048576*100000)/100000) " MB ("connection.getAttribute(jvmRT, "HeapFreeCurrent")" bytes)");
System.out.println("HeapFreePercent :" + connection.getAttribute(jvmRT, "HeapFreePercent")+"%");
System.out.println("JavaVendor :" + connection.getAttribute(jvmRT, "JavaVendor"));
System.out.println("JavaVersion :" + connection.getAttribute(jvmRT, "JavaVersion"));
Long uptime =(Long)connection.getAttribute(jvmRT, "Uptime");
System.out.println("Uptime :" + connection.getAttribute(jvmRT, "Uptime")+" milliseconds (" + (uptime*.001)+" Seconds)");
System.out.println("******************\n");
public void getJdbcRuntime() throws Exception {
ObjectName[] serverRT = getServerRuntimes();
int length = (int) serverRT.length;
for (int i = 0; i < length; i++) {
String name = (String) connection.getAttribute(serverRT,"Name");
ObjectName[] appRT =
(ObjectName[]) connection.getAttribute(new ObjectName("com.bea:Name="name",ServerRuntime="name",Location="name",Type=JDBCServiceRuntime"),"JDBCDataSourceRuntimeMBeans");
int appLength = (int) appRT.length;
for (int x = 0; x < appLength; x++) {
System.out.println("\n.. .<"name" : JDBCDataSourceRuntimeMBeans>" + (String)connection.getAttribute(appRT[x], "Name")+"");
System.out.println("ActiveConnectionsCurrentCount : " + connection.getAttribute(appRT[x], "ActiveConnectionsCurrentCount"));
System.out.println("ActiveConnectionsAverageCount : " + connection.getAttribute(appRT[x], "ActiveConnectionsAverageCount"));
System.out.println("ActiveConnectionsAverageCount : " + connection.getAttribute(appRT[x], "ActiveConnectionsAverageCount"));
System.out.println("ConnectionsTotalCount : " + connection.getAttribute(appRT[x], "ConnectionsTotalCount"));
System.out.println("CurrCapacity : " + connection.getAttribute(appRT[x], "CurrCapacity"));
System.out.println("CurrCapacityHighCount : " + connection.getAttribute(appRT[x], "CurrCapacityHighCount"));
System.out.println("HighestNumAvailable : " + connection.getAttribute(appRT[x], "HighestNumAvailable"));
System.out.println("HighestNumAvailable : " + connection.getAttribute(appRT[x], "HighestNumAvailable"));
System.out.println("LeakedConnectionCount : " + connection.getAttribute(appRT[x], "LeakedConnectionCount"));
System.out.println("WaitSecondsHighCount : " + connection.getAttribute(appRT[x], "WaitSecondsHighCount"));
System.out.println("WaitingForConnectionCurrentCount: " + connection.getAttribute(appRT[x], "WaitingForConnectionCurrentCount"));
System.out.println("WaitingForConnectionFailureTotal: " + connection.getAttribute(appRT[x], "WaitingForConnectionFailureTotal"));
System.out.println("WaitingForConnectionTotal : " + connection.getAttribute(appRT[x], "WaitingForConnectionTotal"));
System.out.println("WaitingForConnectionHighCount : " + connection.getAttribute(appRT[x], "WaitingForConnectionHighCount"));
System.out.println(".\n");
public void getThreadStateandName() throws Exception {
ObjectName[] serverRT = getServerRuntimes();
//System.out.println("got server runtimes");
int length = (int) serverRT.length;
for (int i = 0; i < length; i++) {
String name = (String) connection.getAttribute(serverRT, "Name");
String state = (String) connection.getAttribute(serverRT,"State");
System.out.println("Server name: " + name + ". Server state: " + state);
ObjectName ThreadRT =(ObjectName) connection.getAttribute(serverRT, "ThreadPoolRuntime");
System.out.println("ExecuteThreadTotalCount :"+ (Object)connection. getAttribute(ThreadRT,"ExecuteThreadTotalCount"));
System.out.println("StandbyThreadCount:"+ (Object)connection.getAttribute(ThreadRT, "StandbyThreadCount"));
Integer e_ThreadTotal =(Integer)(Object)connection. getAttribute(ThreadRT,"ExecuteThreadTotalCount");
Integer e_standbyCount = (Integer)connection.getAttribute(ThreadRT, "StandbyThreadCount");
int eThreadTotal = e_ThreadTotal.intValue();
int estandbyCount = e_standbyCount.intValue();
System.out.println("ExecuteActiveThreadCount:"+(eThreadTotal-estandbyCount));
System.out.println("ExecuteThreadIdleCount :"+ (Object)connection. getAttribute(ThreadRT,"ExecuteThreadIdleCount"));
System.out.println("ExecuteHoggingThreadCount:"+ (Object)connection.getAttribute(ThreadRT, "HoggingThreadCount"));
System.out.println("Throughput :"+ (Object)connection.getAttribute(ThreadRT, "Throughput"));
System.out.println("HealthState :"+ (Object)connection.getAttribute(ThreadRT, "HealthState"));
//System.out.println("QueueLength:"+ (Object)connection.getAttribute(ThreadRT, "QueueLength"));
//System.out.println("StandbyThreadCount:"+ (Object)connection.getAttribute(ThreadRT, "StandbyThreadCount"));
//System.out.println("ExecuteActiveThreadCount:"+ (Object[])connection.getAttribute(ThreadRT, "ExecuteThreads"));
//System.out.println("ExecuteActiveThreadCount:"+ ((Object[])connection.getAttribute(ThreadRT, "ExecuteThreads")).size());
//System.out.println("ExecuteActiveThreadCount:"+ ((Object[])connection.getAttribute(ThreadRT, "ExecuteThreads")).length);
public void getExecuteAll() throws Exception {
System.out.println("*****************-Heap-****************");
getJvmRuntime();
System.out.println("*****************-JDBC-****************");
getJdbcRuntime();
System.out.println("*****************-Thread-****************");
getThreadStateandName();
public static void main(String[] args) throws Exception {
if (args.length != 5) {
System.out.println("\n CheckValue ------> HeapCheck : 1\n");
System.out.println(" CheckValue ------> DBCConnectionCheck : 2\n");
System.out.println(" CheckValue ------> ThreadStatusCheck : 3\n");
System.out.println(" CheckValue ------> All : 0\n");
System.out.println("Usage: java EnvDetail HostName Port CheckValue\n");
//System.out.println(args[0]);
String hostname =args[0];
//System.out.println(args[1]);
String port= args[1];
//System.out.println(args[2]);
chkValue = Integer.parseInt(args[2]);
EnvDetail ts = new EnvDetail();
initConnection(hostname,port, username, password);
switch (chkValue) {
case 1: ts.getJvmRuntime(); break;
case 2: ts.getJdbcRuntime(); break;
case 3: ts.getThreadStateandName(); break;
case 0: ts.getExecuteAll(); break;
case 5: System.out.println("CheckValue5"); break;
return;
}//main method
}// class

Similar Messages

  • 'Merge Data Values' on data manager package

    Hi there
    I have a query with the 'Copy' data manager package.  We are currently selecting 'Merge Data Values' which appears to be finding anything where the key already exists and replacing it with the new data.  That's fine.
    However, our user is wanting to consolidate various different category members into a single category member.  Therefore, we would like to run a package to SUM new values with what is already in the cube rather than first delete and replace with the latest value.
    Is there a way to do this ?
    Thanks
    Ian

    Hi Ian,
    Please read this: BPC 7.5/10.0 : MOVE Data manager Package with keyfigure additions on move
    Or you can use script logic to add values like:
    *REC(EXPRESSION=%VALUE%+[CATEGORY].[DESTINATION],CATEGORY=DESTINATION)
    B.R. Vadim

  • DM Package with security check

    Hello Experts,
    we have a data manager package with a selection for the entity. So the users could select one of the entities and run the package.
    in the standard BO PC Packages like clear the package would fail if the user has not sufficient rights for this entity.
    Our package is running "fine" which of course should not happen.
    Is there a way to check the security in the package during runtime or in the NW Backend and cancel the task?
    Thanks for you help.
    Daniel

    Hi,
    The user will be able to select only the specific entities they have access to. (Which is specified in Member access profiles assigned to them).
    So if the user is given right set of access and assigned to right member access profile, they will not be able to run the data manager package for other members out of their scope.
    This is common for all packages, both custom and Standard.
    So Please check the member access profiles assigned to the users.
    Hope this helps,
    Regards,
    G.Vijaya Kumar

  • How to include an enhancement package with upgrade without Solution Manager

    Hello,
    I have been trying to do an upgrade from SAP R3 46C to ERP6 in my sandbox.  I want to include Enhancment package 3 with the upgrade.  I have tried using the Solution Manager to download the Enhancement package and it work fine except that it did not create the XML Stack configuration file that the upgrade is looking for.  Therefore I downloaded the DVD for Enhancement package 3 and included that in the mounted CDs in the PREPARE portion of the upgrade and it does not recognize it.
    Now for my question, is there a way to include the Enhancement package with the upgrade without using Solution Manager? If so, could someone please let me know where to find the information or share the procedure with me?
    Thank you in advance,
    Ron

    The EPs are just like support packages (optional); if the upgrade is not letting you put it during upgrade then just do it once the upgrade is completed.

  • Problem with Xalan and JDK and Tomcat

    hi all,
    i have a webapplication under Apache Tomcat 4.1.30/Linux which use an XML/XSL transformation.
    I got the following error:
    org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xalan}content-handler' property!
         at org.apache.xalan.serialize.SerializerFactory.getSerializer(SerializerFactory.java:142)
         at org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:1048)
         at
    Any suggestion ?
    Cheers.
    Stefano

    Here is an anwser for you
    http://testdrive.mapinfo.com/TECHSUPP/MIPROD.NSF/0/4a9bc2a8f684237f85256e63006f9ad4?OpenDocument
    JDK 1.4 and above, I believe, is packaged with an old version of Xalan jar. So sometimes, like when trying to run XSLTC, you have to override the JDK 1.4 Xalan version with the newer Xalan.jar. Or else your newer Xalan.jar classes are not looked at. You do this by putting your Xalan.jar in the /lib/endorsed directory. or /common/endorsed in this case.
    http://xml.apache.org/xalan-j/faq.html#faq-N100CC
    Hope this helps

  • SSIS 2012: SSIS Error Code "Excel Connection Manager" failed with error code 0xC0202009.

    Hi,
    This is kind of weird issue that I am experiencing with excel connection manager in SSIS 2012. This issue occurs sometimes but when I close and re-open SSDT (SQL Server Data Tools - newer BIDS) then this issues goes off temporarily.
    Just FYI, through SSDT environment I executed the package successfully with both settings Run64bit runtime setting to Yes and No when error does not occur.
    So far I have installed
    http://www.microsoft.com/en-us/download/details.aspx?id=13255 (Microsoft Access Database Engine 2010 Redistributable).
    I still remember for older versions of SQL Server (2005 & 2008) that I have executed Excel connection SSIS packages with Run64bit runtime = false i.e. in 32-bit mode. As far as I know I think Excel 64-bit issue has been resolved with SQL Server
    2012 release.
    Here is the detail of error message:
    TITLE: Package Validation Error
    Package Validation Error
    ADDITIONAL INFORMATION:
    Error at Data Flow Task [Excel Source [2]]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection
    Manager" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    Error at Data Flow Task [SSIS.Pipeline]: Excel Source failed validation and returned error code 0xC020801C.
    Error at Data Flow Task [SSIS.Pipeline]: One or more component failed validation.
    Error at Data Flow Task: There were errors during task validation.
    Error at Package [Connection manager "Excel Connection Manager"]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft Access Database Engine"  Hresult: 0x80004005  Description: "Unspecified error".
     (Microsoft.DataTransformationServices.VsIntegration)
    Here are my environment details:
    SQL Server 2012 {Microsoft SQL Server 2012 (SP1) - 11.0.3368.0 (X64) } , Excel 2010 (32-bit). I am developing SSIS code on Virtual desktops with Windows 7 32-bit OS.
    Also it occurred to me that since Virtual Desktops are on Shared Infrastructure, the source files and SSIS packages (code) can be on Shared drives for e.g. \\<Corpnet>\userdata\<Corp_Users_Grp>\<Username>\Visual Studio 2010\Projects\Integration
    Services Project2\Integration Services Project2\Package.dtsx.
    Does this kind of Shared drives have any impact to give this issue?
    Thanks in advance!
    Ketan
    P.S.: I had look at this forum question -->
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/903bbe1d-e070-4c43-9d3b-0a5193550029/64bit-error-in-excel-connection-manager-in-ssis

    Hi Arthur,
    Thanks for your response.
    Yes, it looks like SSIS still has bunch of issues with Excel files like as follows:
    1) Some times excel source files cannot be parsed by excel source connection manager.
    2) For derive column conversion, we can't replace the existing column. rather, we have to add the derived column as " add as new column" which is tough to manage  while destination mapping.
    3) If an column in excel contains a data which is not of the data type assigned for the column in excel, the excel source reads that data as "null". For the same, we can't validate the data and redirect the erroneous data in reject file.  <-- For
    this we tried IMEX setting also
    4) In multi-tab/sheet excel file, excel source is unable to detect a tab and identify the metadata of the excel.
    I am also checking Microsoft connect for Excel issues with SSIS 2012(https://connect.microsoft.com/SQLServer/SearchResults.aspx?SearchQuery=excel#&&PageIndex=22
    As worst case scenario, I am thinking of converting Excel to CSV file or Flat text file. (http://www.mssqltips.com/sqlservertip/2772/importing-data-from-excel-using-ssis--part-2/).
    Do you think it is advisable to convert Excel into CSV or Flat file.
    Thanks,
    Ketan

  • [Load data from excel file [1]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There may be error messa

    Error
    [Load data from excel file [1]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009.  There
    may be error message
    I am using BIDS Microsoft Visual Studio 2008 and running the package to load the data from excel .
    My machine has 32 bit excel hence have set property to RUN64BITRUNTIME AS FALSE.
    But the error still occurs .
    I checked on Google and  many have used Delay validation property at Data flow task level to true but even using it at both excel connection manager and DFT level it doesnt work
    Mudassar

    Thats my connection string
    Provider=Microsoft.ACE.OLEDB.12.0;Data Source=E:\SrcData\Feeds\Utilization.xlsx;Extended Properties="Excel 12.0;HDR=NO";
    Excel 2010 installed and its 32 bit edition
    Are you referring to install this component -AccessDatabaseEngine_x64.exe?
    http://www.microsoft.com/en-us/download/details.aspx?id=13255
    Mudassar
    You can try an OLEDB provider in that case
    see
    http://dataintegrity.wordpress.com/2009/10/16/xlsx/
    you might need to download and install ms access redistributable
    http://www.microsoft.com/en-in/download/details.aspx?id=13255
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Error while running data manager package

    Hi All,
    when i am running data manager package for currency conversion i am getting the following error
    "An exception with the type CX_SY_CREATE_DATA_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause
    The data object could not be created: The type /B28/MHED7W9U does not exist."
    Plase suggest where i am making mistake.
    Thanks

    Below are our BPC versions:
    BPC on Server Manager: 5.0.486
    Data Manager from eData: 5.0.484
    BPC from eTool: 5.0.486
    Below is the total error message as per your suggestion to run Export package. (even with service account which we used to install the software we are getting same error message.)
    TOTAL STEPS  2
    1. Dump Data:     Failed  in 0 sec.
    [Selection]
    FILE=\ApShell_SK\FINANCE\DataManager\DataFiles\SKTEST.TXT
    TRANSFORMATION=\ApShell_SK\FINANCE\DataManager\TransformationFiles\System Files\Export.xls
    MEASURENAME=PERIODIC
    (Member Selection)
    Category: ACTUAL
    Time: 2006.JAN
    Entity:
    Account:
    DataSrc:
    IntCo:
    RptCurrency: 
    [Messages]
    An error occurred while executing a package.
    Package Error Events:
    ErrorCode = -1073668060
    Source = Dump Data
    SubComponent=
    Description = The task "Dump Data" cannot run on this edition of Integration Services. It requires a higher level edition.
    IDOfInterfaceWithError= {8BDFE889-E9D8-4D23-9739-DA807BCDC2AC}

  • The Full Optimization & Lite Optimization Data Manager packages are failing

    Hi,
    The Full Optimization and Lite Optimization Data Manager packages are failing with the following message "An Error occured while querying for the webfolders path".
    Can anyone had similar issue earlier, please let me know how can we rectify the issue.
    Thanks,
    Vamshi Krishna

    Hi,
    Does the Full Optimize work from the Administration Console directly?
    If it's the case, delete the scheduled package for Full Optimize every night (in both eData -> Package Schedule Status and in the Scheduled Tasks on your server Control Panel -> Scheduled Tasks), and then try to reschedule it from scratch.
    If it's not solving your problem, I would check if there are some "wrong" records into the FACT and FAC2 tables.
    After that, I would also check if the tblAppOptimize is having other values than 0. For all applications, you should have a 0 there.
    Hope this will help you..
    Best Regards,
    Patrick

  • BPC10 - Data manager package for dimension  data export and import

    Dear BPC Expers,
    Need your help.
    I am trying to set up a data manager package for first time to export dimension - master data from one application and import in another application ( both have same properties) .
    I created a test data manager package from Organize > add package > with  process chain /CPMB/EXPORT_MD_TO_FILE  and Add
    In the advance tab of each task there are some script logic already populated. please find attached the details of the script logic written under each of the tasks like MD_Source, concvert and target .
    I have not done any chnages in the script inside the task .
    But when i run the package , I have selected a dimension 'Entity' but in second prompt ,it ask for a transformation file , and syatem autometically add the file ... \ROOT\WEBFOLDERS\COLPAL\FINANCE\DATAMANAGER\TRANSFORMATIONFILES\Import.xls
    I have not changed anything there
    in the next prmpt , it ask for a output file ..and it won't allow me enter the file name .....i
    Not sure how to proceed further.
    I shall be greatfull if someone guide me from your experiance  how to set up a simple the data manager package for master data export from dimension . Should I update the transformation file in the script for import file and  output file in the advance tab. how and what  transformation file to be created and link to the data manager package for export / import .
    What are the steps to be executed to run the package for exporting master data from dimension and import it another application .
    Thanks in advance for your guidance.
    Thanks and Regards,
    Ramanuj
    =====================================================================================================
    Detals of the task
    Task : APPL_MD-SOURCE
    (DIMENSIONMEMBER, %DIMENSIONMEMBERS%, "Please select dimension", "Please select members", %DIMS%)
    (TRANSFORMATION,%TRANSFORMATION%,"Transformation file:",,,Import.xls)
    (OUTFILE,,"Please enter an output file",Data files (*.txt)|*.txt|All files(*.*)|*.*)
    (RADIOBUTTON,%ADDITIONINFO%,"Add other information(Environment,Model,User,Time)?",1,{"Yes","No"},{"1","0"})
    (%TEMPNO1%,%INCREASENO%)
    (%TEMPNO2%,%INCREASENO%)
    (/CPMB/APPL_MD_SOURCE,SELECTION,%DIMENSIONMEMBERS%)
    (/CPMB/APPL_MD_SOURCE,OUTPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,INPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,TRANSFORMATIONFILEPATH,%TRANSFORMATION%)
    (/CPMB/EXPORT_MD_CONVERT,SUSER,%USER%)
    (/CPMB/EXPORT_MD_CONVERT,SAPPSET,%APPSET%)
    (/CPMB/EXPORT_MD_CONVERT,SAPP,%APP%)
    (/CPMB/EXPORT_MD_CONVERT,OUTPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,INPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,FULLFILENAME,%FILE%))
    (/CPMB/FILE_TARGET,ADDITIONALINFO,%ADDITIONINFO%))
    Task : EXPORT_MD_CONVERT
    (DIMENSIONMEMBER, %DIMENSIONMEMBERS%, "Please select dimension", "Please select members", %DIMS%)
    (TRANSFORMATION,%TRANSFORMATION%,"Transformation file:",,,Import.xls)
    (OUTFILE,,"Please enter an output file",Data files (*.txt)|*.txt|All files(*.*)|*.*)
    (RADIOBUTTON,%ADDITIONINFO%,"Add other information(Environment,Model,User,Time)?",1,{"Yes","No"},{"1","0"})
    (%TEMPNO1%,%INCREASENO%)
    (%TEMPNO2%,%INCREASENO%)
    (/CPMB/APPL_MD_SOURCE,SELECTION,%DIMENSIONMEMBERS%)
    (/CPMB/APPL_MD_SOURCE,OUTPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,INPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,TRANSFORMATIONFILEPATH,%TRANSFORMATION%)
    (/CPMB/EXPORT_MD_CONVERT,SUSER,%USER%)
    (/CPMB/EXPORT_MD_CONVERT,SAPPSET,%APPSET%)
    (/CPMB/EXPORT_MD_CONVERT,SAPP,%APP%)
    (/CPMB/EXPORT_MD_CONVERT,OUTPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,INPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,FULLFILENAME,%FILE%))
    (/CPMB/FILE_TARGET,ADDITIONALINFO,%ADDITIONINFO%))
    Task : FILE_TARGET
    (DIMENSIONMEMBER, %DIMENSIONMEMBERS%, "Please select dimension", "Please select members", %DIMS%)
    (TRANSFORMATION,%TRANSFORMATION%,"Transformation file:",,,Import.xls)
    (OUTFILE,,"Please enter an output file",Data files (*.txt)|*.txt|All files(*.*)|*.*)
    (RADIOBUTTON,%ADDITIONINFO%,"Add other information(Environment,Model,User,Time)?",1,{"Yes","No"},{"1","0"})
    (%TEMPNO1%,%INCREASENO%)
    (%TEMPNO2%,%INCREASENO%)
    (/CPMB/APPL_MD_SOURCE,SELECTION,%DIMENSIONMEMBERS%)
    (/CPMB/APPL_MD_SOURCE,OUTPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,INPUTNO,%TEMPNO1%)
    (/CPMB/EXPORT_MD_CONVERT,TRANSFORMATIONFILEPATH,%TRANSFORMATION%)
    (/CPMB/EXPORT_MD_CONVERT,SUSER,%USER%)
    (/CPMB/EXPORT_MD_CONVERT,SAPPSET,%APPSET%)
    (/CPMB/EXPORT_MD_CONVERT,SAPP,%APP%)
    (/CPMB/EXPORT_MD_CONVERT,OUTPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,INPUTNO,%TEMPNO2%)
    (/CPMB/FILE_TARGET,FULLFILENAME,%FILE%))
    (/CPMB/FILE_TARGET,ADDITIONALINFO,%ADDITIONINFO%))
    ================================================================================

    1. Perhaps you want to consider a system copy to a "virtual system" for UAT?
    2. Changes in QAS (as with PROD as well) will give you the delta. They should ideally be clean... You need to check the source system.
    Another option is to generate the profiles in the target system. But for that your config has to be sqeaky clean and in sync, including very well maintained and sync'ed Su24 data.
    Cheers,
    Julius

  • Data manager package

    Hi Guru,s
    How stop a data manager package which runs for many hours and creating very big debug file in temp file PRIVATEPUBLICATIONS\USERname\TempFiles.We running script logic through the Package.There 3 files which are keep increasing as the time progress.
    Regards
    Buggi
    Edited by: Buggi9 on Sep 9, 2011 5:32 PM

    You can kill all of them as long as no one else is using the system.
    The processes restart (are invoked) automatically when user's log back into the system.
    If you want to really focus on which DLLHOST.EXE to kill then do this:
    Open Component Services (RUN menu DCOMCNFG)
    Click on the Running Processes folder under Component Services --> Computers --> My Computer
    You'll see a bunch of COM+ objects with a process ID (PID) associated with each object.
    Look for the K2Processing and Everest Update processes and take note of the process ID's
    Now look for those process ID's in Task Manager (PID) and only kill those processes.
    Goodluck,
    John

  • Change Management Package

    Hello All,
    I am looking at the Oracle Change Management package and I see the overall process of baselines, comparisons, and synchronizations.
    I thought in a previous version I was able to put in my own DDL (like an ALTER TABLE) and make that part of a plan that I could then use the Change Management Package to deploy to various databases & schemas.
    Am I mistaken? If not, has the functionality been deprecated or has it been replaced/updated with something else?
    I still have a need to do that sort of thing and having the Change Management package help me manage that would be "optimal".
    Thanks,
    Craig
    11g
    Edited by: user6448213 on Apr 12, 2012 12:59 PM

    Hi Craig:
    Change manager added a capability similar to the one you describe in 12c Cloud Control. You can create a change plan and populate the change plan with specific changes and synchronize them to a destination database. To do this you need to create a change plan in EM and you can populate it with changes from SQL Developer, from another EM Change Manager Comparison, or by capturing a change to a single object. Below is a link to the documentation
    http://docs.oracle.com/cd/E24628_01/em.121/e27046/change_management.htm#EMLCM11813
    regards,
    -Ravi

  • Data Manager Package Error in SAP BPC 10

    Hi All,
    I am getting below error message while running the Data manager package /CPMB/LOAD_INFOPROVIDER in SAP BPC 10. Screenshot is attached for your reference. Please help in solving this issue.
    Thanks & Regards,
    Ramesh.

    Hi Vadim,
    Please find the Advanced DM Script of Copy Package.
    PROMPT(RADIOBUTTON,%TARGETMODE%,"Handling of records",0,{"Copy records with match key","Copy by replacing data in same data region of Entity, Category, Time and Audit ID"},{"0","2"})
    PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when importing data.",1,{"Yes, check for work status settings before importing","No, do not check work status settings"},{"1","0"})
    PROMPT(COPYMOVEINPUT,%SELECTION%,%TOSELECTION%,"Select the members to COPY and where to",%DIMS%,0)
    INFO(%TEMPNO1%,%INCREASENO%)
    INFO(%ACTNO%,%INCREASENO%)
    TASK(/CPMB/CM_CONVERT,OUTPUTNO,%TEMPNO1%)
    TASK(/CPMB/CM_CONVERT,ACT_FILE_NO,%ACTNO%)
    TASK(/CPMB/CM_CONVERT,SAPPSET,%APPSET%)
    TASK(/CPMB/CM_CONVERT,SAPP,%APP%)
    TASK(/CPMB/CM_CONVERT,SELECTION,%SELECTION%)
    TASK(/CPMB/CM_CONVERT,TOSELECTION,%TOSELECTION%)
    TASK(/CPMB/CM_CONVERT,KEYDATE,%SELECTION_KEYDATE%)
    TASK(/CPMB/CLEAR_SOURCE_CUBE,CHECKLCK,%CHECKLCK%)
    TASK(/CPMB/CLEAR_SOURCE_CUBE,SELECTION,%TOSELECTION%)
    TASK(/CPMB/CLEAR_SOURCE_CUBE,KEYDATE,%SELECTION_KEYDATE%)
    TASK(/CPMB/CLEAR_SOURCE_CUBE,DUMPLOADMODE,3)
    TASK(/CPMB/APPEND_LOAD,PREPROCESSMODE,0)
    TASK(/CPMB/APPEND_LOAD,TARGETMODE,%TARGETMODE%)
    TASK(/CPMB/APPEND_LOAD,INPUTNO,%TEMPNO1%)
    TASK(/CPMB/APPEND_LOAD,ACT_FILE_NO,%ACTNO%)
    TASK(/CPMB/APPEND_LOAD,RUNLOGIC,%RUNLOGIC%)
    TASK(/CPMB/APPEND_LOAD,CHECKLCK,%CHECKLCK%)
    TASK(/CPMB/APPEND_LOAD,KEYDATE,%SELECTION_KEYDATE%)
    Thanks & Regards,
    Ramesh.

  • Impossible to start UCM managed server with the WLS console

    Hi,
    I cannot start the UCM managed server with the WLS console. The node manager is running by startNodeManager.cmd. The admin server by startWebLogic.cmd.
    When I start the UCM server with the console WLS (Environment, Servers, Control tab and Start on the checked server), it seems to be running (the state is RUNNING) but when I open the url on the the web server UCM there is a 404 error
    In the log, there are many java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup, oracle.security.jps.wls.JpsWlsStartupClass, oracle.core.ojdl.weblogic.ODLConfiguration, oracle.jrf.AppContextStartup, oracle.as.jmx.framework.wls.spi.StartupListener, oracle.ias.cache.Startup, oracle.dms.wls.DMSStartup ...
    If I start UCM directly by startManagedWebLogic.cmd and not with the WLS console, everything is OK. No error in the log and UCM server is working well
    Any idea ?
    Thanks
    Hugues

    Great!
    I had the same error: when starting UCM on WL Console, it starts and says Running. But when accessing it on the browser receive the error 404. In the other hand, when starting with Commands, it force shutdowns.
    I have set the StartScriptEnabled property to true, now I can start UCM only on the command Line, to start it on WL Console, I have to manually start the node manager.
    Is there a way/script to start the node manager automatically?
    Regards,

  • Setting Data Manager Packages Priority

    Hi Experts
    Is it possible to set the priority of data manager packages, for example, if we have multiple scheduled data manager packages running on a server in different appsets. all of the packages are scheduled to run at different time intervals, but unfortunately due to the nature of the processes, they overlap and cause contention issues on the servers.
    Would it be possible to set the priority level of packages, for example package A is highest priority and hence will always take priority, even if package B is running.
    is this possible through SQL server or Integration services?
    The packages being run are standard BPC packages, for example Import, Admin_Optimize (Lite), certain packages are SQL based, meaning that they execute SQL Stored procedures to export data to other systems (R3, BW, etc)
    Kind Regards and Thanks
    Daniel

    Priority will be that always first package requested will be first satisfy.
    You don't have any other priority.
    SG(send governor) + tbldtslog table are used for this.
    If you are looking to standard SP from BPC you will see actually nolock or tablock or rowlock instruction are used.
    Your custom packge depending by what were design to do must avoid concurentiality with other packages.
    Lite optimize is not a problem if you are doing always the select from wb table with condition Source = 0.
    It is not easy to explain the entire mechanism into forum thread.
    Regards
    Sorin

Maybe you are looking for

  • Problems sending emails with iPhone 3G and outlook exchange

    I have a problem sending email with exchange. Receiving and answering mail works fine and calender updates work fine. However when I initiate an email from the phone it syncs and ends up in the sent folder in the computer but never reaches the recipi

  • Cache not cleared when branching to a page with before-header branch?

    I tried to make up and example in apex.oracle com. http://apex.oracle.com/pls/apex/f?p=20469:112 Assign some value to items and experiment the with the buttons. The first button: Action: Redirect to Page in this application Page: 112 Clear Cache: APP

  • No  images in Test Movie

    ?I am following the Studio 8 Cafe Townsend Tutorial. I have copy and pasted the ActionScript code that makes the slideshow animate. In the Test Movie, the title and descriptions are working but no images - which I have checked are in the cafe_townsen

  • Function call from inside an onEnterFrame action

    I have a class file called MonsterGame. Inside of it, one of the methods called "queueAnim" creates an onEnterFrame function to wait till the current movie is done playing before making the next one visible. That works just fine, but I have certain c

  • Programmatic openPanels and Dynamic Accordion Content

    I have been trying to add links to programmatically open panels in my accordion, which is successfully populated with an XML dataset. It doesn't seem to work, (tried using both "simple navigation" and "panel index" links). This does work when the dat