MySQL Instance Metrics not getting collected in OEM 12c

Hi All,
For MySQL instance, we have enabled "Other Statistics" metric collection and the collection time is every 15 mins.
We have not set any thresholds so this is not for alerting purpose.
For reference if I consider mysql_s_cpcwcmsqlq02e, I checked in backend the scheduler status and found below output in which I am not able to see other statistics metric for mysql:
cpcwcmsqlq02e[oemadmin]_oemagent> emctl status agent scheduler|grep mysql
/home/oemadmin/product/agent12c/core/12.1.0.4.0/bin/emctl: line 444: ulimit: open files: cannot modify limit: Operation not permitted
2015-04-17 10:35:20.420 : mysql:mysql_s_cpcwcmsqlq02e:temp
2015-04-17 10:35:39.090 : mysql:mysql_s_cpcwcmsqlq02e:qcache
2015-04-17 10:35:47.390 : mysql:mysql_s_cpcwcmsqlq02e:innodb_row_locks
2015-04-17 10:36:01.540 : mysql:mysql_s_cpcwcmsqlq02e:slave_status
2015-04-17 10:36:04.474 : mysql:mysql_s_cpcwcmsqlq02e:binlog
2015-04-17 10:36:10.492 : mysql:mysql_s_cpcwcmsqlq02e:network
2015-04-17 10:36:16.059 : mysql:mysql_s_cpcwcmsqlq02e:ProcAggr
2015-04-17 10:36:53.566 : mysql:mysql_s_cpcwcmsqlq02e:innodb_row_ops
2015-04-17 10:37:11.381 : mysql:mysql_s_cpcwcmsqlq02e:Response
2015-04-17 10:37:15.406 : mysql:mysql_s_cpcwcmsqlq02e:key_cache
2015-04-17 10:37:32.147 : mysql:mysql_s_cpcwcmsqlq02e:joins
2015-04-17 10:37:34.352 : mysql:mysql_s_cpcwcmsqlq02e:tbl_locks
2015-04-17 10:37:51.038 : mysql:mysql_s_cpcwcmsqlq02e:sort
2015-04-17 10:38:08.789 : mysql:mysql_s_cpcwcmsqlq02e:slave_statistics
2015-04-17 10:38:53.059 : mysql:mysql_s_cpcwcmsqlq02e:commands
2015-04-17 10:39:22.007 : mysql:mysql_s_cpcwcmsqlq02e:connections
2015-04-17 10:39:36.997 : mysql:mysql_s_cpcwcmsqlq02e:innodb_io
2015-04-17 10:39:46.922 : mysql:mysql_s_cpcwcmsqlq02e:innodb_buffer
2015-04-17 10:48:04.530 : mysql:mysql_s_cpcwcmsqlq02e:handlers
2015-04-17 11:16:36.543 : mysql:mysql_s_cpcwcmsqlq02e:mysql_config
2015-04-17 11:18:07.561 : mysql:mysql_s_cpcwcmsqlq02e:mysql_slave_config
I am not able to run manually collection of other statistics metrics. (Collection Name is "mysqlstatus").
Strange is for only 5 instances i am able to see data for this metrics.
Please help .. Oracle is not able to answer as plugin is pythian.
Thanks!
Avinash

/home/oemadmin/product/agent12c/core/12.1.0.4.0/bin/emctl: line 444: ulimit: open files: cannot modify limit: Operation not permitted
This indicates that the agent software owner is unable to set the number of file descriptors to at least 4096. Please see "File Descriptor Requirements" in Table 7-1 Prerequisites for Installing Oracle Management Agent of the following doc:
http://docs.oracle.com/cd/E24628_01/install.121/e22624/install_agent.htm#EMBSC186
Regards,
- Loc

Similar Messages

  • Deltas not getting collected

    Hi experts,
    I created a generic datasource based on infoset query on konv table.( Cluster Table )
    In rso2 in the generic delta settings i maintained the settings as :
    Delta specific field: KNUMV (Number of the document condition)
    Calendar Day
    Safety interval upper limit: 1 Calendar days.
    New status for changed records.
    I done a Init with datatransfer in BI upto DSO. The load was succesful .
    Some records are posted in R/3 for the same on the next day. But I am unable to see them in RSA7 i.e
    delta records are not getting collected in the delta queue.How can we resolve this ? Do i need to change
    any delta settings ?
    Regards,
    Nishuv.

    Hi Nishuv
    You can either select KNUMV or calendar day as delta field. As you had maintained the safety upper limit as 1 calendar day, you will able to extract data 1 day minus the day you are scheduling the delta request.
    "Some records are posted in R/3 for the same on the next day. But I am unable to see them in RSA7 i.e
    delta records are not getting collected in the delta queue.How can we resolve this ? Do i need to change
    any delta settings ?
    Regards,
    Nishuv."
    The reason why are you not able to see the delta records in the delta queue is that because of the safety upper limit 1 day which you had given. For example if you are scheudling the delta infopackage today then you will be to extract the delta records of yesterday only because of safety upper limit.
    The delta queue will be populated with the delta records only after you schedule the delta infopackage because generic extractor works on pull concept not on push concept.
    Let me know if it works.
    Regards
    Sadeesh
    Edited by: Sadeesh V on Apr 9, 2009 7:41 AM

  • InfoSource and Source System Not getting collected while activation BC

    Hello there!
        I'm trying to activate the business content. If i group all the objects below and install a cube (or update rules), it gets everything but infosources (Transfer Rules, etc.) and the source system assignment. Neverthless, if i assign datasource to infosource, it works properly.
        I've installed the data sources, replicated it in BW, and done the source system assignment correctly. Any ideas what is going wrong?
    Thanks and Best Regards,
    DKA.

    The issue was with Repository Cache. Delete it and everything works fine.
    Admin Workbench -> Business Content -> Extras -> Repository Cache (DB) -> Delete (Delivery Objects)
    Thanks, anyways.
    DKA

  • Shadow instance is not getting up

    Hi
    I'm having the problem to start the shadow instance in upgrade phase
    tying to start shadow instance using ./SAPup startshd in usr/sap/put/bin/
    it's throwing the error
    SAPup> SERVER ERROR: starting system faild rc=0;
    and i checked buy unlocking the shadow but the problem remains same
    here is the sapstart.log from /usr/sap/put/NW4/DVEBMGS02/work/
    SAP-R/3-Startup Program Rel 700 V1.8 (2003/04/24)
    Starting at 2008/06/11 10:23:46
    Startup Profile: "/usr/sap/put/NW4/SYS/profile/START_DVEBMGS02_v31tnw4"
    Execute Pre-Startup Commands
    (10596) Local: /usr/sap/put/exe/sapmscsa -n pf=/usr/sap/put/NW4/SYS/profile/NW4_DVEBMGS02_v31tnw4
    (10597) Local: rm -f ms.sapNW4_DVEBMGS02
    (10600) Local: ln -s -f /usr/sap/put/exe/msg_server ms.sapNW4_DVEBMGS02
    (10601) Local: rm -f dw.sapNW4_DVEBMGS02
    (10602) Local: ln -s -f /usr/sap/put/exe/disp+work dw.sapNW4_DVEBMGS02
    (10603) Local: rm -f co.sapNW4_DVEBMGS02
    (10604) Local: ln -s -f /usr/sap/put/exe/rslgcoll co.sapNW4_DVEBMGS02
    (10605) Local: rm -f se.sapNW4_DVEBMGS02
    (10606) Local: ln -s -f /usr/sap/put/exe/rslgsend se.sapNW4_DVEBMGS02
    Starting Programs
    (10610) New Child Process created.
    (10610) Starting local Command:
    Command:  ms.sapNW4_DVEBMGS02
               pf=/usr/sap/put/NW4/SYS/profile/NW4_DVEBMGS02_v31tnw4
    (10610) Starting: local ms.sapNW4_DVEBMGS02 pf=/usr/sap/put/NW4/SYS/profile/NW4_DVEBMGS02_v31tnw4
    (10611) New Child Process created.
    (10611) Starting local Command:
    Command:  dw.sapNW4_DVEBMGS02
               pf=/usr/sap/put/NW4/SYS/profile/NW4_DVEBMGS02_v31tnw4
    (10611) Starting: local dw.sapNW4_DVEBMGS02 pf=/usr/sap/put/NW4/SYS/profile/NW4_DVEBMGS02_v31tnw4
    (10612) New Child Process created.
    (10612) Starting local Command:
    Command:  co.sapNW4_DVEBMGS02
               -F
               pf=/usr/sap/put/NW4/SYS/profile/NW4_DVEBMGS02_v31tnw4
    (10612) Starting: local co.sapNW4_DVEBMGS02 -F pf=/usr/sap/put/NW4/SYS/profile/NW4_DVEBMGS02_v31tnw4
    (10613) New Child Process created.
    (10613) Starting local Command:
    Command:  se.sapNW4_DVEBMGS02
               -F
               pf=/usr/sap/put/NW4/SYS/profile/NW4_DVEBMGS02_v31tnw4
    (10613) Starting: local se.sapNW4_DVEBMGS02 -F pf=/usr/sap/put/NW4/SYS/profile/NW4_DVEBMGS02_v31tnw4
    (10594) Waiting for Child Processes to terminate.
    (10594) **** 2008/06/11 10:24:03 Child 10611 terminated with Status 0 . ****
                                                                                    45,1          Bot
    Thanks
    regards
    boby rao

    Hi,
    Please have a look at the dev_disp and dev_w0 trace files or publish them.
    They are located in the same directory as sapstart.log

  • ESB Instance Not Getting Created

    Hello,
    I am trying to call one synchronous BPEL using one ESB. This ESB applies DVM while transforming input data into called BPEL format. But it shows some strange results. while calling ESB using any other BPEL
    1. ESB instance is not getting created.
    2. Synchronous BPEL is getting called but without DVM applied.
    But If I use SoapUI to call the ESB, it's working fine. Can any body give me any clue, why is it happing?
    Any help is appreciated.
    Thanx In Advance,
    Nitin

    Can you please confirm me the following steps...
    Log in to the EM console, Expand soa-infra (soa_server1) , go to the partition where your composite is been deployed, Click on your composite, On the right, click on the dropdown Settings and choose Composite Audit Level. you can choose to set the Audit Level for this composite. If you choose Inherit, it will take the settings to what the server is being set to. Otherwise, we can override it by choosing Off, Production, or Development.
    Make sure your setting for that composite is not Off, keep inherit or production or development.
    Thanks,
    N

  • SQL server instance not getting detected during SCOM 2012 R2 Installation

    Hi All,
    This is related to the below thread which i created. But i wanted to test this practically in a LAB equipment
    https://social.technet.microsoft.com/Forums/en-US/96feece7-c168-4f42-b62e-4c0c20f8d525/does-scom-2012-2012-r2-setup-detect-a-sql-instance-of-a-sql-server-in-the-same-network-which-is-in?forum=operationsmanagerdeployment
    So i want to install SCOM in my domain, But i want to use a SQL server in my network which is in another domain.
    So i have 4 server machines as below:
    SERVER_DC1 - Domain controller of 1st domain.
    SERVER_DC2 - Domain controller of 2nd domain.
    SERVER_SQL - SQL server 2012 Enterprise installed for SCOM but is in Domain 1
    Server_SCOM - I want to install SCOM in this but which is in domain 2
    I created a trust relation between 2 domains with a Forest trust 2 way transitive.
    I have created a security group and added that as SQL Admin during the installation. Later i added one Domain administrator account from Domain 2 to this security group.
    When i do a installation in SERVER_DC1 for testing the SQL instance is being detected as below.
    When i do the installation in Server_SCOM which is in another domain then the instance is not getting detected.
    I have turned off windows firewall in all the machines.
    Before creating the trust i ran the setup in Server_SCOM then it was giving me a warning saying it is not able to access the SQL server due to permission issues.
    After giving permissions my instance is not at all getting detected.
    Can any one help plz.
    Gautam.75801

    Hi Yan Li,
    Really a helpful post. I tested the connection. I connected to the SQL server in Domain A using a server in domain B logged in as a domain B user to whom the SQL permissions are provided. The result says It was successful.
    Below is the screenshot.
    I don't understand why is it not getting detected in the SCOM setup.
    But 1 more important thing which i forgot to mention.
    When i log on to the server in which i want to install SCOM in domain B, But by using Domain A's user account (Added as a local user in SCOM server in domain B), Then the Instance is getting detected.
    Below is a screenshot of that.
    So has any one faced such a type of issue ?
    Gautam.75801

  • OEM is not getting started after windows server name changed

    Hello DBAs
    Recently I installed Oracle database 10g on my a windows machine. It was working fine. Integrated OEM was also working fine.
    But now I have changed the machine name. Now Oracle Database has come up after updating the listener.ora & tnsnames.ora files with new server name. But OEM page is not getting open now. I tried after updating the emd.properties and other related file on ORACLE_HOME\sysman folder with the new server name. But no luck.
    In windows services one service named "OracleDBConsoleDbname" is not getting started, which could be the issue.
    Can someone please guide me what can be done to fix this problem.
    Thanks
    -Naveen

    This problem will happen when either changing the computer name or changing the domain name that the server belongs to.
    First, verify that the new computer name contains DNS compatible characters - no spaces or underscore ( _ ) characters, for instance. Next, you will need to recreate the Enterprise Manager Database Control repository. Directions can be found on this page under the heading of "6.2.8.3 Using EMCA After Changing the Database Host Name or IP Address":
    http://download.oracle.com/docs/cd/E11882_01/install.112/e10818/srvpool.htm#CHDEGDIJ
    The above directions should work as shown with Oracle 10g R2 - and possibly 10g R1 also.
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Can not get data from mySql

    I prepared a GUI user connection application in NebBeans 5.5 accessing mySql database in the company server. The application run very well in desktop.
    However, when I post it to the company server web, it gets nothing from the database.
    Can any one give advice???
    Thank you in advance.
    The following is my application
    import java.util.Vector;
    import java.awt.event.*;
    import java.awt.*;
    import java.awt.event.*;
    public class UserConnection extends javax.swing.JFrame {
    //constants for database
    private final String userName = "labmanage";
    private final String password = "labmanage";
    private final String server = "jdbc:mysql://svr.corp.com/labmanage";
    private final String driver = "com.mysql.jdbc.Driver";
    private JDBCAdapter data = new JDBCAdapter(server, driver, userName, password);
    //variables
    private String user, pwd;
    private Vector<Vector<String>> userTable = new Vector<Vector<String>>();
    private Vector<String>colUserNames = new Vector<String>();
    * Creates new form UserConnection
    public UserConnection() {
    initComponents();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">
    private void initComponents() {
    userLabel = new javax.swing.JLabel();
    pwdLabel = new javax.swing.JLabel();
    userTextField = new javax.swing.JTextField();
    passwordField = new javax.swing.JPasswordField();
    submitButton = new javax.swing.JButton();
    statusLabel = new javax.swing.JLabel();
    jScrollPane1 = new javax.swing.JScrollPane();
    statusTextArea = new javax.swing.JTextArea();
    changePwdButton = new javax.swing.JButton();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setTitle("User's Connection");
    setBackground(new java.awt.Color(153, 204, 255));
    setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
    setFont(new java.awt.Font("aakar", 1, 12));
    userLabel.setText("User Name:");
    pwdLabel.setText("Password:");
    submitButton.setText("Submit");
    submitButton.addMouseListener(new java.awt.event.MouseAdapter() {
    public void mouseClicked(java.awt.event.MouseEvent evt) {
    submitButtonMouseClicked(evt);
    submitButton.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    submitButtonActionPerformed(evt);
    submitButton.addKeyListener(new java.awt.event.KeyAdapter() {
    public void keyTyped(java.awt.event.KeyEvent evt) {
    submitButtonKeyTyped(evt);
    statusLabel.setText("Status:");
    statusTextArea.setColumns(20);
    statusTextArea.setEditable(false);
    statusTextArea.setLineWrap(true);
    statusTextArea.setRows(3);
    statusTextArea.setText("Initial assigned password is \"dime\".");
    statusTextArea.setWrapStyleWord(true);
    jScrollPane1.setViewportView(statusTextArea);
    changePwdButton.setText("Change password");
    changePwdButton.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    changePwdButtonActionPerformed(evt);
    org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(layout.createSequentialGroup()
    .addContainerGap()
    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(userLabel)
    .add(pwdLabel)
    .add(statusLabel))
    .add(35, 35, 35)
    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(layout.createSequentialGroup()
    .add(submitButton)
    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
    .add(changePwdButton))
    .add(passwordField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 230, Short.MAX_VALUE)
    .add(userTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 230, Short.MAX_VALUE)
    .add(org.jdesktop.layout.GroupLayout.TRAILING, jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 230, Short.MAX_VALUE))
    .addContainerGap())
    layout.setVerticalGroup(
    layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(layout.createSequentialGroup()
    .addContainerGap()
    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
    .add(userLabel)
    .add(userTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
    .add(pwdLabel)
    .add(passwordField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(statusLabel)
    .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
    .add(15, 15, 15)
    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
    .add(submitButton)
    .add(changePwdButton))
    .addContainerGap(27, Short.MAX_VALUE))
    pack();
    }// </editor-fold>
    private void submitButtonKeyTyped(java.awt.event.KeyEvent evt) {                                     
    if(evt.getKeyCode() == KeyEvent.VK_ENTER) {
    submitButton.doClick();
    submitButton.requestFocus();
    changePwdButton.requestFocus();
    private void changePwdButtonActionPerformed(java.awt.event.ActionEvent evt) {                                               
    String command = evt.getActionCommand();
    if(command.equals("Change password")) {
    passwordField.setText("");
    //Get connection to the changing password panel
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new ChangePassword().setVisible(true);
    private void submitButtonActionPerformed(java.awt.event.ActionEvent evt) {                                            
    // TODO add your handling code here:
    String command = evt.getActionCommand();
    if(command.equals("Submit")) {
    user = getUser();
    pwd = getPwd();
    data = new JDBCAdapter(server, driver, userName, password);
    data.executeQuery("SELECT * FROM USERTABLE");
    colUserNames = data.getColumnNames();
    userTable = data.getDataTable();
    if(colUserNames.elementAt(0).equals("")) {
    statusTextArea.setText("Can not connect to database");
    boolean checkUser = false;
    int i = 0;
    while(!checkUser && i<userTable.size()) {
    if(user.equalsIgnoreCase((String) userTable.elementAt(i).elementAt(0))) {
    //Find the user in database
    checkUser = true;
    //Check user's password
    if(pwd.equals((String)userTable.elementAt(i).elementAt(1))) {
    //Check for initial default password. The user is requested
    //to change his password
    if(pwd.equals((String) "dime")) {
    statusTextArea.setText("You are requested to change your " +
    "initial assigned password. Click 'Change password' please.");
    else {
    //Set UserConnection Panel to invisible
    setVisible(false);
    dispose();
    //Get connection to the table
    if(userTable.elementAt(i).elementAt(2).equals("0")) {
    //Get connection to non-editable table
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    PVRackReportNonEdit rackReport = new PVRackReportNonEdit();
    rackReport.createAndShowDialog();
    else {
    if(userTable.elementAt(i).elementAt(2).equals("1")) {
    //Get connection to editable table
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    PVRackReport rackReport = new PVRackReport(user);
    rackReport.createAndShowDialog();
    //PVRackReport rackReport = new PVRackReport();
    else statusTextArea.setText("You do not get approval for viewing data. " +
    "Please contact the administrator for details.");
    else {
    passwordField.setText("");
    statusTextArea.setText("Please enter corrected password or" +
    "the administrator for details.");
    i++;
    if(!checkUser) {
    passwordField.setText("");
    statusTextArea.setText("Not find such user's name." +
    "contact the admistrator for details.");
    private void submitButtonMouseClicked(java.awt.event.MouseEvent evt) {                                         
    // TODO add your handling code here:
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new UserConnection().setVisible(true);
    public String getUser() {
    return userTextField.getText();
    public String getPwd() {
    return passwordField.getText();
    // Variables declaration - do not modify
    private javax.swing.JButton changePwdButton;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JPasswordField passwordField;
    private javax.swing.JLabel pwdLabel;
    private javax.swing.JLabel statusLabel;
    private javax.swing.JTextArea statusTextArea;
    private javax.swing.JButton submitButton;
    private javax.swing.JLabel userLabel;
    private javax.swing.JTextField userTextField;
    // End of variables declaration
    Here is my JDBCAdapter
    package rackdemo2;
    * This is an adaptor which transforms the JDBC interface
    * to the PVRackTableDialogue
    import java.util.Vector;
    import java.sql.*;
    import javax.swing.table.AbstractTableModel;
    import javax.swing.event.TableModelEvent;
    public class JDBCAdapter {
    Connection connection;
    Statement statement;
    ResultSet resultSet;
    Vector<String> columnNames = new Vector<String>();
    Vector<Vector<String>> rows = new Vector<Vector<String>>();
    ResultSetMetaData metaData;
    public JDBCAdapter(String url, String driverName,
    String user, String passwd) {
    try {
    Class.forName(driverName);
    connection = DriverManager.getConnection(url, user, passwd);
    statement = connection.createStatement();
    catch (ClassNotFoundException ex) {
    System.err.println("Cannot find the database driver classes.");
    System.err.println(ex);
    catch (SQLException ex) {
    System.err.println("Cannot connect to this database.");
    System.err.println(ex);
    public void executeQuery(String query) {
    if (connection == null || statement == null) {
    System.err.println("There is no database to execute the query.");
    return;
    try {
    resultSet = statement.executeQuery(query);
    metaData = resultSet.getMetaData();
    int numberOfColumns = metaData.getColumnCount();
    // Get the column names and cache them.
    // Then we can close the connection.
    for(int column = 0; column < numberOfColumns; column++) {
    columnNames.addElement(metaData.getColumnLabel(column+1));
    // Get all rows.
    while (resultSet.next()) {
    Vector<String> newRow = new Vector<String>();
    for (int i = 1; i <= columnNames.size(); i++) {
    String tempString = resultSet.getString(i);
    if(!tempString.equals("null")) {
    newRow.addElement(tempString);
    else {
    newRow.addElement("");
    rows.addElement(newRow);
    //Modify dataTable to add empty row to separate chassis
    if(numberOfColumns>1) {
    int nRow = rows.size();
    Vector<String> row = new Vector<String>();
    for(int i=0; i<numberOfColumns; i++){
    row.add("");
    if(nRow>0 || numberOfColumns>0) {
    //Adding blank row to separate chassis
    int i = 0;
    while(i<nRow) {
    if(!rows.elementAt(i).elementAt(0).equals("")) {
    if(i>0) {
    rows.add(i, row);
    i++;
    nRow = rows.size();
    i++;
    close();
    catch (SQLException ex) {
    System.err.println(ex);
    public void close() throws SQLException {
    resultSet.close();
    statement.close();
    connection.close();
    // MetaData
    public Vector<String> getColumnNames() {
    return columnNames;
    public Vector<Vector<String>> getDataTable() {
    return rows;
    public int getColumnCount() {
    return columnNames.size();
    // Data methods
    public int getRowCount() {
    return rows.size();
    }

    Thank you for your answer.
    I'm very new to mySql as server. When I was assigned
    to write the application, the administrator has set
    up mySql database in the company web server for my
    application. My program runs very when using my
    workplace desktop with java web start or with java
    web start in netbeans (all paths should be link to my
    desktop hard disk, i.e. users/application/). I can
    not run the application at home because I can not
    access to the company intranet server (for security
    purpose). The problem happens when I post the
    application in the company web page (I have to modify
    all paths in jnlp file to the company web address).
    The program then runs without exception except it
    seems that it gets no data from the database (for
    example, when I type my username, it returns that
    "There is no such user name. contact.." as what I
    code in the application for not correcting user name)
    It happens for not only using my company desktop but
    also for others.
    Please help me.
    Thank you in advance.And all this could have been answered yesterday, in your other thread, when I asked you "Is the DB configured to allow that user to connect to the DB from where that user is attempting to connect from?"
    Seeing as how you get that error, the obvious answer was, "No." At which point we could have continued.
    Configure the needed users into the DB, without forgetting to allow them access from the machines from which they are going to access from.
    Although, I agree with Rene, that you should set up a server of some sort, located on the same machine as the DB, for communicating with the DB.

  • Unable to get the composite instance for the invocation. This could be because instance has not yet been created or because the audit level for the SOA infra has been set to Off

    I am on Oracle 11.1.1.7 BPM suite on W8 64 bit. I can't launch the flow trace and get the error "Unable to get the composite instance for the invocation. This could be because instance has not yet been created or because the audit level for the SOA infra has been set to Off".  I have set the audit level to development at the soa-infra>SOA Administration> Common Properties > Audit level set to development and Capture Composite Instance State is Checked.
    Can somebody advice.
    Thanks

    Can you please confirm me the following steps...
    Log in to the EM console, Expand soa-infra (soa_server1) , go to the partition where your composite is been deployed, Click on your composite, On the right, click on the dropdown Settings and choose Composite Audit Level. you can choose to set the Audit Level for this composite. If you choose Inherit, it will take the settings to what the server is being set to. Otherwise, we can override it by choosing Off, Production, or Development.
    Make sure your setting for that composite is not Off, keep inherit or production or development.
    Thanks,
    N

  • Report Instance not getting started in Oracle Fusion Middleware 11g Report

    Hi
    Report Instance not getting started in Oracle Fusion Middleware 11g Report Instance Error
    Rep-50125 Java.lang.nullpointerexception
    I just installed Oracle Forms,Reports 11g 11.1.1.3.0 in my machine
    Even I started opmnctl(Oracle Process Management Control). Its too running fine.
    Please Guide me the settings need to do to start the report instance.
    Regards
    Murali N S

    Hello,
    Copy rwlpr.exe from Oracle_Home\bin to Oracle_Instance\config\reports\bin
    Regards

  • Java Instance not getting started

    Hi Experts,
                      After System copy we are not able to start the java instance of SAP BW Java Instance of 7.0.Though Dispatcher is getting started but server 0 is not getting started.Sending you the jcontrol & dev_w0 error.We are using sql server 2008 & win 2008.
    [Thr 6336] JControlICheckProcessList: process server0 started (PID:6268)
    [Thr 6336] Mon Jun 21 02:50:16 2010
    [Thr 6336] JControlICheckProcessList: process server0 (pid:6268) died (RUN-FLAG)
    [Thr 6336] JControlIResetProcess: reset process server0
    [Thr 6336] JControlIResetProcess: [server0] not running -> increase error count (4)
    [Thr 6336] JControlICheckProcessList: running flight recorder:
         C:\j2sdk1.4.2_19-x64\bin\java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID15726550 1277103001 -bz G:\usr\sap\DBJ\SYS\global
    dev_w0----
    [Thr 4704] Mon Jun 21 03:39:01 2010
    [Thr 4704] JLaunchIExitJava: exit hook is called (rc = -11113)
    [Thr 4704] **********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    for additional information and trouble shooting.
    [Thr 4704] JLaunchCloseProgram: good bye (exitcode = -11113)
    Please suggest.

    Sunny sending u the log files.Yah I have imported java of our source system.
    dev_sever0 log :
    trc file: "G:\usr\sap\DBJ\JC01\work\dev_server0", trc level: 1, release: "701"
    node name   : ID15726550
    pid         : 388
    system name : DBJ
    system nr.  : 01
    started at  : Tue Jun 22 02:56:02 2010
    arguments       :
           arg[00] : G:\usr\sap\DBJ\JC01\exe\jlaunch.exe
           arg[01] : pf=G:\usr\sap\DBJ\SYS\profile\DBJ_JC01_GOLITSAPD28
           arg[02] : -DSAPINFO=DBJ_01_server
           arg[03] : pf=G:\usr\sap\DBJ\SYS\profile\DBJ_JC01_GOLITSAPD28
    [Thr 4416] Tue Jun 22 02:56:02 2010
    [Thr 4416] *** WARNING => INFO: Unknown property [instance.box.number=DBJJC01golitsapd28] [jstartxx.c   841]
    [Thr 4416] *** WARNING => INFO: Unknown property [instance.en.host=GOLITSAPD28] [jstartxx.c   841]
    [Thr 4416] *** WARNING => INFO: Unknown property [instance.en.port=3200] [jstartxx.c   841]
    [Thr 4416] *** WARNING => INFO: Unknown property [instance.system.id=1] [jstartxx.c   841]
    JStartupReadInstanceProperties: read instance properties [G:\usr\sap\DBJ\JC01\j2ee\cluster\instance.properties]
    -> ms host    : GOLITSAPD28
    -> ms port    : 3900
    -> OS libs    : G:\usr\sap\DBJ\JC01\j2ee\os_libs
    -> Admin URL  :
    -> run mode   : normal
    -> run action : NONE
    -> enabled    : yes
    Used property files
    -> files [00] : G:\usr\sap\DBJ\JC01\j2ee\cluster\instance.properties
    Instance properties
    -> ms host    : GOLITSAPD28
    -> ms port    : 3900
    -> os libs    : G:\usr\sap\DBJ\JC01\j2ee\os_libs
    -> admin URL  :
    -> run mode   : normal
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    -> [00] bootstrap            : G:\usr\sap\DBJ\JC01\j2ee\cluster\instance.properties
    -> [01] bootstrap_ID15726500 : G:\usr\sap\DBJ\JC01\j2ee\cluster\instance.properties
    -> [02] bootstrap_ID15726550 : G:\usr\sap\DBJ\JC01\j2ee\cluster\instance.properties
    Worker nodes
    -> [00] ID15726500           : G:\usr\sap\DBJ\JC01\j2ee\cluster\instance.properties
    -> [01] ID15726550           : G:\usr\sap\DBJ\JC01\j2ee\cluster\instance.properties
    [Thr 4416] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 4416] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 5144] JLaunchRequestFunc: Thread 5144 started as listener thread for np messages.
    [Thr 6104] WaitSyncSemThread: Thread 6104 started as semaphore monitor thread.
    [Thr 4416] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
    [Thr 4416] CPIC (version=701.2009.01.26)
    [Thr 4416] [Node: server0] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_19-x64\
    [Thr 4416] JStartupICheckFrameworkPackage: can't find framework package G:\usr\sap\DBJ\JC01\exe\jvmx.jar
    [Thr 4316] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
    [Thr 4316] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 4316] JLaunchISetClusterId: set cluster id 15726550
    [Thr 4316] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 4316] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    Tue Jun 22 02:56:32 2010
    4.725: [GC 4.725: [DefNew: 174592K->12689K(261888K), 0.0611219 secs] 174592K->12689K(2009856K), 0.0612466 secs]
    Tue Jun 22 02:56:34 2010
    6.803: [GC 6.803: [DefNew: 187281K->16256K(261888K), 0.0465093 secs] 187281K->16256K(2009856K), 0.0465882 secs]
    Tue Jun 22 02:56:36 2010
    8.329: [GC 8.329: [DefNew: 190848K->18509K(261888K), 0.0445783 secs] 190848K->18509K(2009856K), 0.0446530 secs]
    Tue Jun 22 02:56:37 2010
    9.631: [GC 9.631: [DefNew: 193101K->22134K(261888K), 0.0486306 secs] 193101K->22134K(2009856K), 0.0487179 secs]
    [Thr 7116] Tue Jun 22 02:56:40 2010
    [Thr 7116] JLaunchIExitJava: exit hook is called (rc = -11113)
    [Thr 7116] **********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    for additional information and trouble shooting.
    [Thr 7116] JLaunchCloseProgram: good bye (exitcode = -11113)
    [Thr 568] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 568] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 5544] JLaunchRequestFunc: Thread 5544 started as listener thread for np messages.
    [Thr 5408] WaitSyncSemThread: Thread 5408 started as semaphore monitor thread.
    [Thr 568] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
    [Thr 568] CPIC (version=701.2009.01.26)
    [Thr 568] [Node: server0] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_19-x64\
    [Thr 568] Tue Jun 22 02:56:43 2010
    [Thr 568] JStartupICheckFrameworkPackage: can't find framework package G:\usr\sap\DBJ\JC01\exe\jvmx.jar
    Edited by: N. Das on Jun 22, 2010 11:44 AM

  • IDoc Monitoring: Data collection not getting completed

    Hi,
    I have setup IDoc monitoring in Solution Manager 7.1 SP08 for managed systems which is on ST-A/PI 01Q. There are many IDoc being generated in the managed system but I am not getting any alert for it.
    In the alert inbox I get the message that the data collection has not yet taken place since the last activation. and the last data collection time is shown as of 2009.
    Also in the managed system the BPMon background job BPM_DATA_COLLECTION_2 get cancelled with run time error TSV_TNEW_BLOCKS_NO_ROLL_MEMMORY
    What can be the issue?
    Regards
    Vishal

    Hi Vishal,
    Please check and implement below notes to fix the first issue:
    1570282 - Advance Corr. BPMon ST-A/PI 01N
    1946940 - ST-A/PI 01Q SP2: Advance Correction BPMon (Infrastructure and
    EBO)
    1869678 - Advanced Corrections for BPmon/Analytics Delivered with 01Q SP1
    (framework)
    Thanks
    Vikram

  • Job not getting invoked on a logical standby instance

    Hello,
    We have created a job(through dbms_scheduler API). The job is enabled and shows up in the SCHEDULERJOBS view also.
    However the job does not get executed. I looked into the following tables there was no relevant entry found for the aforesaid job:
    select * from all_scheduler_job_log
    select * from dba_scheduler_running_jobs
    select * from DBA_SCHEDULER_JOB_RUN_DETAILS order by log_date desc
    Is there any limitation that we cannot execute scheduled jobs on a logical standby database. If i execute the relevant program (that is configured to be run as job in this scenario) as an individual procedure from SQL plus, it gets executed successfully implying there is no errors/problem in the subprogram that the job is going to invoke.
    Appreciate your thoughts in this regard.
    Thanks.

    I think then we need to think about an alternate way to tackle the problem.
    Anyways thanks for your timely help Ravi.
    Just one query, can we invoke remote stored procedures(i.e. using datalinks) from dbms_scheduler jobs on another db.
    i.e. something like this:
    DB0(primary db instance); DB1(is a logical standby db); DB2(centralized repository db)
    DB1 contains certain packaged application procedures that need to be invoked as a scheduled activity.
    Previously we had the scheduled jobs residing on the logical standby db itself but because of this known issue we cannot proceed with that design.
    So can we have jobs,programs(mapping to DB1s stored procedure) scheduled on DB2?
    Thanks.

  • OEM is not getting started after changing the Server name

    Hello DBAs
    Recently I installed Oracle database 10g on my a windows machine. It was working fine. Integrated OEM was also working fine.
    But now I have changed the machine name. Now Oracle Database has come up after updating the listener.ora & tnsnames.ora files with new server name. But OEM page is not getting open now. I tried after updating the emd.properties and other related file on ORACLE_HOME\sysman folder with the new server name. But no luck.
    In windows services one service named *"OracleDBConsoleDbname"* is not getting started, which could be the issue.
    Can someone please guide me what can be done to fix this problem.
    Thanks
    -Naveen

    Hi Naveen,
    What you are doing is not supported by Oracle. From EM Database Console FAQ (863631.1):
    What action needs to be taken if the hostname or SID of the database server is changed?
    If there is a hostname or SID change for the database server then the database console needs to be recreated. There is no other solution if the hostname or SID is changed other that recreating the database console. All database console configuration files are created under the hostname_sid directory and the configuration files along with the repository keeps reference of the hostname, which is why dbconsole needs to be reconfigured if there is change in hostname/sid.
    Refer : Note.293678.1 How To Reconfigure DB Control After a Hostname, Domain name or Listener Change Has Occurred On The Server
    And take a look at note 278100.1: How To Drop, Create And Recreate DB Control In A 10g Database
    Eric

  • Can not get two instances to join same cluster even on same machine

    On a RedHat Linux box, I have failed to get two instances of coherence to join the same cluster. I have managed to get the muticast test tool to show that packets are being sent and received. To do this, I had to:
    java -cp bin/tangasol.jar -Djava.net.preferIPv4Stack=true com.tangosol.net.MulticastTest
    Wed Apr 15 21:02:45 WET 2009: Sent packet 1.
    Wed Apr 15 21:02:45 WET 2009: Received test packet 1 from self (sent 7ms ago).
    Wed Apr 15 21:02:47 WET 2009: Sent packet 2.
    Wed Apr 15 21:02:47 WET 2009: Received test packet 2 from self
    Wed Apr 15 21:02:49 WET 2009: Sent packet 3.
    Wed Apr 15 21:02:49 WET 2009: Received test packet 3 from self (sent 1ms ago).
    Wed Apr 15 21:02:51 WET 2009: Sent packet 4.
    Wed Apr 15 21:02:51 WET 2009: Received test packet 4 from self
    However, I could not get the following to show that two instances are joining the same cluster... When I start to instances, both of them create a new cluster with only one member in each.
    java -Djava.net.preferIPv4Stack=true -jar lib/coherence.jar
    and obviously, when I try to start two instances of the sample application, I get the same problem.
    java -cp ./lib/coherence.jar:./lib/tangosol.jar:./examples/java -Djava.net.preferIPv4Stack=true -Dtangosol.coherence.localhost=172.16.27.10 -Dtangosol.coherence.localport=8188 -Dtangosol.coherence.cacheconfig=/cache/explore-config.xml com.tangosol.examples.explore.SimpleCacheExplorer

    Thanks for that... I ran:
    jdk1.6.0_13/bin/java -Dtangosol.coherence.log.level=6 -Dtangosol.coherence.log=/my1.log -Dtangosol.ccacheconfig=/cache/explore-config.xml -Djava.net.preferIPv4Stack=true -jar lib/coherence.jar
    and then
    jdk1.6.0_13/bin/java -Dtangosol.coherence.log.level=6 -Dtangosol.coherence.log=/my2.log -Dtangosol.ccacheconfig=/cache/explore-config.xml -Djava.net.preferIPv4Stack=true -jar lib/coherence.jar
    from the same machine and get the following from the log file of the second run (my2.log)
    Oracle Coherence Version 3.4.2/411
    Grid Edition: Development mode
    Copyright (c) 2000-2009 Oracle. All rights reserved.
    2009-04-16 06:53:11.574/0.625 Oracle Coherence GE 3.4.2/411 <Warning> (thread=main, member=n/a): UnicastUdpSocket failed to set receive buffer size to 1428 packets (2096304 bytes); actual size is 89 packets (131071 bytes). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.
    2009-04-16 06:53:11.660/0.711 Oracle Coherence GE 3.4.2/411 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    2009-04-16 06:53:14.892/3.943 Oracle Coherence GE 3.4.2/411 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0x2FFB" with Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole, Edition=Grid Edition, Mode=Development, CpuCount=8, SocketCount=2) UID=0xC0A8010700000120ADB3521C69071F99
    SafeCluster: Name=cluster:0x2FFB
    Group{Address=224.3.4.2, Port=34411, TTL=4}
    MasterMemberSet
    ThisMember=Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole)
    OldestMember=Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole)
    ActualMemberSet=MemberSet(Size=1, BitSetCount=2
    Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole)
    RecycleMillis=120000
    RecycleSet=MemberSet(Size=0, BitSetCount=0
    Services
    TcpRing{TcpSocketAccepter{State=STATE_OPEN, ServerSocket=192.168.1.7:8089}, Connections=[]}
    ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.4, OldestMemberId=1}
    the contents of the xml file are:
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <caching-scheme-mapping>
    <!--
    Caches with any name will be created as default replicated.
    -->
    <cache-mapping>
    <cache-name>*</cache-name>
    <scheme-name>default-replicated</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <!--
    Default Replicated caching scheme.
    -->
    <replicated-scheme>
    <scheme-name>default-replicated</scheme-name>
    <service-name>ReplicatedCache</service-name>
    <backing-map-scheme>
    <class-scheme>
    <scheme-ref>default-backing-map</scheme-ref>
    </class-scheme>
    </backing-map-scheme>
    </replicated-scheme>
    <!--
    Default backing map scheme definition used by all
    The caches that do not require any eviction policies
    -->
    <class-scheme>
    <scheme-name>default-backing-map</scheme-name>
    <class-name>com.tangosol.util.SafeHashMap</class-name>
    </class-scheme>
    </caching-schemes>
    </cache-config>

Maybe you are looking for

  • CRM 5.0 Cannot set freight value for B2C

    Background:  We are implementing a ConnectShip solution completely within the J2EE enviornment (not in CRM directly) which makes the call to ConnectShip and returns values.  I have hijacked the strut and am setting purchase order and other header fie

  • How to get the backup of photos from  i cloud id ?

    plz provide me the answers as soon as possible.

  • Sending Excel as attachment in Email (Unicode)

    Hi, I'm using SO_NEW_DOCUMENT_ATT_SEND_API1 FM to send excel attachments as emails to external addresses. However, this the SAP upgrade to ECC6.0 from R/3 4.6B then I cannot open BIG5 char excel, who does know how to sending Unicode excel as attachme

  • How can I upload .raw2 formated photos from my Lumix DMC-FZ70

    I have a Panasonic camera that takes .raw2 formated photos and I get an error from iPhoto that it does not recognize the format.

  • Question on BP?

    Hi Friends what data can be seen when admin monitors suppliers using BBP_SUPP_MONI tcode.With admin access do u think purchaser who has admin role can also make changes on the supplier portal or he can just view what data is changed i.e display role