Event retrieval

Dear Experts!
We have a AIP-SSM-10 on ASA 5540
and it is display critical seosor health
status that is not event retrieval.
I did find cisco web page but I did not find any document.
How Can I fix this problem? and Where can I find related document?
Thans in advance!

Here is the basic explanation from the IDM User Guide:
Event Retrieval-Lets you set a threshold for when the last event was retrieved and whether this metric is applied to the overall sensor health rating.
Note The event retrieval metric keeps track of when the last event was retrieved by an external monitoring application such as IME. Disable Event Retrieval if you are not doing external event monitoring.
http://www.cisco.com/en/US/docs/security/ips/7.0/configuration/guide/idm/idm_sensor_management.html#wpxref98287
There are 3 primary methods by which events are monitored: Subscription, Query, and Traps
A Subscription is used by external Monitoring Tools. The typical Cisco tools for Monitoring are IME (Intrusion Prevention Manager Express) and CS MARS.
If you don't already own CS MARS, then IME is recommended. If you have a service contract for your sensor (which you need for upgrading signatures), then as part of that contract you can download and use IME at no extra cost.
IME maintains a Subscription with the sensor. Think of it similar to a magazine Subscription where you keep on getting next months magazine unless you cancel your subscription. IME sends an open message to the sensor to start the Subscription, and then just keeps asking for new data as part of that Subscription.
Other 3rd party tools are capable of using Subscriptions as well. If you are using a 3rd part management tool for monitoring then contact that company to see if their tool uses a Subscription.
This specific health statistic for event retrieval is to let you know if your subscriptions are up to date.
In your case it doesn't like you have any tool that has even started a subscription so your sensor health is red.
If you don't plan on using a Monitoring tool that does Subscriptions, then disable the Event Retrieval Statistic from your sensor health.
This way Event Retrieval is ignored by the sensor when determining the Health of the sensor.
The second method for monitoring events is through a Query.
Using the magazine example, a Query is more like walking down to the local store and buying the new magazines one at a time. You don't automatically get next months magazine sent to you.
The IDM (Intrusion Detection Device Manager) has Event Monitoring screens, but these screens do one time Queries. If you want more data from the sensor you have to hit a button and it will grab one more set of data from the sensor. But it has to specifically ask each time.
The "show event" command from the sensor CLI is ALSO treated as a Query.
Some 3rd part monitoring tools also have coded to pull events using a Query instead of a Subscription.
The Event Retrieval statistic does NOT track Queries. So if you use IDM, CLI, or a 3rd party tool using Queries; then it has no affect on the Event Retrieval status.
You either need to switch to using a tool like IME that does do Subscriptions, or disable Event Retrieval as a statistic for sensor health.
The 3rd method is to use SNMP Traps.
SNMP Traps are done over UDP and not guaranteed to arrive at the monitoring tool.
So similar to Queries, the sending of SNMP Traps does not affect the Event Retrieval status.
If you are using SNMP Traps for monitoring, then you can disable the Event Retrival as a statustic for sensor health.
Hope this has made more sense out of what you are seeing.

Similar Messages

  • Integration events - Retrieve (get) and delete

    Hello forum. First, I would like to send my new years best wishes to everybody, hope it will be good. Second, I am relatively n00b to siebel in general, however I got some EXP integrating applications, so even the technology is new, the concepts (overall) are familiar. Anyways, I am working as you may imagine by now, with the OnDemand CRM, which exposes some web services to deal with the integration. My first attempt was to create a consumer (this part is working fine) and retrieve N amount of integration events. Now I am on the part where I got to "delete" those events from the message queue and I am facing the problem that it will only accept two parameters to proceed with the deletion, which are based on an arbitraty datetime or based on a given last event.
    On the documentation, it reads that you might delete the entire set of events or any subset, but with those only parameters expected (in the wsdl), how could someone achieve it ? I read and research before posting, of course, I found a post by some other guy that was doing the same and at least in the "getting" int events part, he was stuck until customer care said this kind some sort of typo and this cannot be done, I think this may apply here too, but I got to be sure before I proceed.
    So, bottom line, it is possible ? What is the best way to do it ? One by one, taking a bunch of them ? Any recommendation is appreciated.
    Thanks in advance.

    I'm not really sure why your example is not working since we
    are missing a good amount of the code that goes along with it
    however whenever I need to check for either of those keys I
    normally do it the following way as attached.

  • Do I have to synchronize when retrieve service detail one by one?

    am retrieving some service list and which need the service number,so I have to get the service detail object one service by another. And every service use its own si requester. At first I use a synchronized object to ensure the result can not be misunderstood,but later I found it may have low effeciency,and so that every service has its own requestor ,I think maybe every result should be propery understood,because ther requester can find the "father" who invoke it. Am I right?
    I still have such problem about event retrieving,can any one tell me the proper way about that??Thanks!
    tainy

    You can issue multiple requests asynchronously, provided that the event listener has enough information to tell which request it's processing. With the JavaTV SI API, this may not be very easy unless you use a separate listener for every request. The DVB SI API makes it a bit more straightforward because you can pass an application-specific parameter when making the request, and this can be used to tell which result corresponds to that request.
    You will probably still need some synchronization, depending what you want to do with the data you have. For instance, you may want to wait until you have the results from all your requests before doing futher processing, but at least you can avoid making every request synchronized.
    Steve.

  • PLEASE SOMEONE HELP ME, TELL MEWHAT IS WRONG WITH MY CODE

    i need alittle help i have this GUI that i created and i am trying to hook it up to a database in MS ACCESS and i am have so many problems trying to get my second table called billings to pull and show up in my GUI please take a look at my code and tell me what is wrong with it.
    now on my GUI its supposed to allow you to choose a company in the list box and after choosing a company, this allows you to get all the company's information like address and state and zip code and another list box is populated called consultants and you can choose a consultant and gethis or her billing information , like their hours billed from that company and their total hours billed
    please look at my code and tell me what is wrong, especially with the part about pulling information from the database.
    import java.sql.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Project extends Frame implements ItemListener, ActionListener
         //Declare database variables
         Connection conconsultants;
         Statement cmdconsultants;
         ResultSet rsconsultants;
         boolean blnSuccessfulOpen = false;
         //Declare components
         Choice lstNames = new Choice();
         TextField txtConsultant_Lname = new TextField(10);
         TextField txtConsultant_Fname = new TextField(10);
         TextField txtTitle = new TextField(9);
         TextField txtHours_Billed = new TextField(14);
         Button btnAdd = new Button("Add");
         Button btnEdit = new Button("Save");
         Button btnCancel = new Button("Cancel");
         Button btnDelete = new Button("Delete");
         Label lblMessage = new Label(" ");
         public static void main(String args[])
              //Declare an instance of this application
              Project thisApp = new Project();
              thisApp.createInterface();
         public void createInterface()
              //Load the database and set up the frame
              loadDatabase();
              if (blnSuccessfulOpen)
                   //Set up frame
                   setTitle("Update Test Database");
                   addWindowListener(new WindowAdapter()
                                  public void windowClosing(WindowEvent event)
                                  stop();
                                  System.exit(0);
                   setLayout(new BorderLayout());
                   //Set up top panel
                   Panel pnlTop = new Panel(new GridLayout(2, 2, 10, 10));
                   pnlTop.add(new Label("Last Name"));
                   lstNames.insert("Select a Name to Display", 0);
                   lstNames.addItemListener(this);
                   pnlTop.add(lstNames);
                   pnlTop.add(new Label(" "));
                   add(pnlTop, "North");
                   //Set up center panel
                   Panel pnlMiddle = new Panel(new GridLayout(5, 2, 10, 10));
                   pnlMiddle.getInsets();
                   pnlMiddle.add(new Label("Consultant_Lname"));
                   pnlMiddle.add(txtConsultant_Lname);
                   pnlMiddle.add(new Label("Consultant_Fname"));
                   pnlMiddle.add(txtConsultant_Fname);
                   pnlMiddle.add(new Label("Title"));
                   pnlMiddle.add(txtTitle);
                   pnlMiddle.add(new Label("Hours_Billed"));
                   pnlMiddle.add(txtHours_Billed);
                   setTextToNotEditable();
                   Panel pnlLeftButtons = new Panel(new GridLayout(0, 2, 10, 10));
                   Panel pnlRightButtons = new Panel(new GridLayout(0, 2, 10, 10));
                   pnlLeftButtons.add(btnAdd);
                   btnAdd.addActionListener(this);
                   pnlLeftButtons.add(btnEdit);
                   btnEdit.addActionListener(this);
                   pnlRightButtons.add(btnDelete);
                   btnDelete.addActionListener(this);
                   pnlRightButtons.add(btnCancel);
                   btnCancel.addActionListener(this);
                   btnCancel.setEnabled(false);
                   pnlMiddle.add(pnlLeftButtons);
                   pnlMiddle.add(pnlRightButtons);
                   add(pnlMiddle, "Center");
                   //Set up bottom panel
                   add(lblMessage, "South");
                   lblMessage.setForeground(Color.red);
                   //Display the frame
                   setSize(400, 300);
                   setVisible(true);
              else
                   stop(); //Close any open connection
                   System.exit(-1); //Exit with error status
         public Insets insets()
              //Set frame insets
              return new Insets(40, 15, 15, 15);
         public void loadDatabase()
              try
                   //Load the Sun drivers
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              catch (ClassNotFoundException err)
                   try
                   //Load the Microsoft drivers
                   Class.forName("com.ms.jdbc.odbc.JdbcOdbcDriver");
                   catch (ClassNotFoundException error)
                   System.err.println("Drivers did not load properly");
              try
                   //Connect to the database
                   conconsultants = DriverManager.getConnection("jdbc:odbc:Test");
                   //Create a ResultSet
                   cmdconsultants = conconsultants.createStatement();
                   rsconsultants = cmdconsultants.executeQuery(
                   "Select * from consultants; ");
                   loadNames(rsconsultants);
                   blnSuccessfulOpen = true;
              catch(SQLException error)
                   System.err.println("Error: " + error.toString());
         public void loadNames(ResultSet rsconsultants)
              //Fill last name list box
              try
                   while(rsconsultants.next())
                   lstNames.add(rsconsultants.getString("Consultant_Lname"));
              catch (SQLException error)
                   System.err.println("Error in Display Record." + "Error: " + error.toString());
         public void itemStateChanged(ItemEvent event)
              //Retrieve and display the selected record
              String strConsultant_Lname = lstNames.getSelectedItem();
              lblMessage.setText(""); //Delete instructions
              try
                   rsconsultants = cmdconsultants.executeQuery(
    "SELECT c.Consultant_ID"+
    "c.Consultant_Lname"+
    "c.Consultant_Fname"+
    "c.Title"+
    "l.Client_ID"+
    "l.Client_Name"+
    "l.Address"+
    "l.City"+
    "l.State"+
    "l.Zip"+
    "b.Hours_Billed"+
    "b.Billing_Rate"+
    "b.Client_ID"+
    "b.Consultant_ID"+
    "FROM Consultants c, Clients l, Billing b"+
    "WHERE c.Consultant_ID = b.Consultant_ID"+
    "l.Client_ID = b.Client_ID"+
    "GROUP BY c.Consultant_ID");
    //"SELECT * FROM Consultants INNER JOIN Billing ON Consultants.Consultant_ID = Billing.Consultant_ID");
    //FROM Consultants INNER JOIN Billing ON Consultants.Consultant_ID = Billing.Consultant_ID;");
    //"Select * from consultants where [Consultant_Lname] = '" + strConsultant_Lname + "';");
                   txtConsultant_Lname.setText(strConsultant_Lname);
                   displayRecord(rsconsultants);
                   setTextToEditable();
              catch(SQLException error)
                   lblMessage.setText("Error in result set. " + "Error: " + error.toString());
         public void displayRecord(ResultSet rsconsultants)
              //Display the current record
              try
                   if(rsconsultants.next())
                        txtConsultant_Fname.setText(rsconsultants.getString("Consultant_Fname"));
                        txtTitle.setText(rsconsultants.getString("Title"));
                        txtHours_Billed.setText(rsconsultants.getString("Hours_Billed"));
                        lblMessage.setText("");
                   else
                        lblMessage.setText("Record not found");
                        clearTextFields();
              catch (SQLException error)
                   lblMessage.setText("Error: " + error.toString());
         public void actionPerformed(ActionEvent event)
              //Test the command buttons
              Object objSource = event.getSource();
              if(objSource == btnAdd && event.getActionCommand () == "Add")
                   Add();
              else if (objSource == btnAdd)
                   Save();
              else if(objSource == btnEdit)
                   Edit();
              else if(objSource == btnDelete)
                   Delete();
              else if(objSource == btnCancel)
                   Cancel();
         public void setTextToNotEditable()
              //Lock the text fields
              txtConsultant_Lname.setEditable(false);
              txtConsultant_Fname.setEditable(false);
              txtTitle.setEditable(false);
              txtHours_Billed.setEditable(false);
         public void setTextToEditable()
              //Unlock the text fields
              txtConsultant_Lname.setEditable(true);
              txtConsultant_Fname.setEditable(true);
              txtTitle.setEditable(true);
              txtHours_Billed.setEditable(true);
         public void clearTextFields()
              //Clear the text fields
              txtConsultant_Lname.setText("");
              txtConsultant_Fname.setText("");
              txtTitle.setText("");
              txtHours_Billed.setText("");
         public void Add()
              //Add a new record
              lblMessage.setText(" ");     //Clear previous message
              setTextToEditable();                //Unlock the text fields
              clearTextFields();                //Clear text field contents
              txtConsultant_Lname.requestFocus ();
              //Set up the OK and Cancel buttons
              btnAdd.setLabel("OK");
              btnCancel.setEnabled(true);
              //Disable the Delete and Edit buttons
              btnDelete.setEnabled(false);
              btnEdit.setEnabled(false);
         public void Save()
                        //Save the new record
                        // Activated when the Add button has an "OK" label
                        if (txtConsultant_Lname.getText().length ()== 0 || txtTitle.getText().length() == 0)
                             lblMessage.setText("The Consultant's Last Name or Title is blank");
                        else
                             try
                                  cmdconsultants.executeUpdate("Insert Into consultants "
                                            + "([Consultant_Lname], [Consultant_Fname], Title, [Hours_Billed]) "
                                            + "Values('"
                                            + txtConsultant_Lname.getText() + "', '"
                                            + txtConsultant_Fname.getText() + "', '"
                                            + txtTitle.getText() + "', '"
                                            + txtHours_Billed.getText() + "')");
                                  //Add to name list
                                  lstNames.add(txtConsultant_Lname.getText());
                                  //Reset buttons
                                  Cancel();
                             catch(SQLException error)
                                  lblMessage.setText("Error: " + error.toString());
         public void Delete()
                        //Delete the current record
                        int intIndex = lstNames.getSelectedIndex();
                        String strConsultant_Lname = lstNames.getSelectedItem();
                        if(intIndex == 0)          //Make sure a record is selected
                                                      //Position 0 holds a text message
                             lblMessage.setText("Please select the record to be deleted");
                        else
                             //Delete the record from the database
                             try
                                  cmdconsultants.executeUpdate(
                                       "Delete from consultants where [Consultant_Lname] = '" + strConsultant_Lname + "';");
                                  clearTextFields();               //Delete from screen
                                  lstNames.remove(intIndex);          //Delete from list
                                  lblMessage.setText("Record deleted");     //Display message
                             catch(SQLException error)
                                  lblMessage.setText("Error during Delete."
                                       + "Error: " + error.toString());
         public void Cancel()
                        //Enable the Delete and Edit buttons
                        btnDelete.setEnabled(true);
                        btnEdit.setEnabled(true);
                        //Disable the Cancel button
                        btnCancel.setEnabled(false);
                        //Change caption of button
                        btnAdd.setLabel("Add");
                        //Clear the text fields and status bar
                        clearTextFields();
                        lblMessage.setText("");
         public void Edit()
                        //Save the modified record
                        int intIndex = lstNames.getSelectedIndex();
                        if(intIndex == 0)          //Make sure a record is selected
                                                      //Position 0 holds a text message
                             lblMessage.setText("Please select the record to change");
                        else
                             String strConsultant_Lname = lstNames.getSelectedItem();
                             try
                                  cmdconsultants.executeUpdate("Update consultants "
                                       + "Set [Consultant_Lname] = '" + txtConsultant_Lname.getText() + "', "
                                       + "[Consultant_Fname] = '" + txtConsultant_Fname.getText() + "', "
                                       + "Title = '" + txtTitle.getText() + "', "
                                       + "[Hours_Billed] = '" + txtHours_Billed.getText() + "' "
                                       + "Where [Consultant_Lname] = '" + strConsultant_Lname + "';");
                                  if (!strConsultant_Lname.equals(txtConsultant_Lname.getText()))
                                       //Last name changed; change the list
                                       lstNames.remove(intIndex); //Remove the old entry
                                       lstNames.add(txtConsultant_Lname.getText()); //Add the new entry
                             catch(SQLException error)
                                  lblMessage.setText("Error during Edit. " + "Error: " + error.toString());
         public void stop()
              //Terminate the connection
              try
                   if (conconsultants != null)
                   conconsultants.close();
              catch(SQLException error)
                   lblMessage.setText("Unable to disconnect");

    The diagnosis is simple. You damaged the phone and screen when you dropped the phone.

  • Trying to connect GUI to access database

    i need alittle help i have this GUI that i created and i am trying to hook it up to a database in MS ACCESS and i am have so many problems trying to get my second table called billings to pull and show up in my GUI please take a look at my code and tell me what is wrong with it.
    now on my GUI its supposed to allow you to choose a company in the list box and after choosing a company, this allows you to get all the company's information like address and state and zip code and another list box is populated called consultants and you can choose a consultant and gethis or her billing information , like their hours billed from that company and their total hours billed
    please look at my code and tell me what is wrong, especially with the part about pulling information from the database.
    import java.sql.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Project extends Frame implements ItemListener, ActionListener
    //Declare database variables
    Connection conconsultants;
    Statement cmdconsultants;
    ResultSet rsconsultants;
    boolean blnSuccessfulOpen = false;
    //Declare components
    Choice lstNames = new Choice();
    TextField txtConsultant_Lname = new TextField(10);
    TextField txtConsultant_Fname = new TextField(10);
    TextField txtTitle = new TextField(9);
    TextField txtHours_Billed = new TextField(14);
    Button btnAdd = new Button("Add");
    Button btnEdit = new Button("Save");
    Button btnCancel = new Button("Cancel");
    Button btnDelete = new Button("Delete");
    Label lblMessage = new Label(" ");
    public static void main(String args[])
    //Declare an instance of this application
    Project thisApp = new Project();
    thisApp.createInterface();
    public void createInterface()
    //Load the database and set up the frame
    loadDatabase();
    if (blnSuccessfulOpen)
    //Set up frame
    setTitle("Update Test Database");
    addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent event)
    stop();
    System.exit(0);
    setLayout(new BorderLayout());
    //Set up top panel
    Panel pnlTop = new Panel(new GridLayout(2, 2, 10, 10));
    pnlTop.add(new Label("Last Name"));
    lstNames.insert("Select a Name to Display", 0);
    lstNames.addItemListener(this);
    pnlTop.add(lstNames);
    pnlTop.add(new Label(" "));
    add(pnlTop, "North");
    //Set up center panel
    Panel pnlMiddle = new Panel(new GridLayout(5, 2, 10, 10));
    pnlMiddle.getInsets();
    pnlMiddle.add(new Label("Consultant_Lname"));
    pnlMiddle.add(txtConsultant_Lname);
    pnlMiddle.add(new Label("Consultant_Fname"));
    pnlMiddle.add(txtConsultant_Fname);
    pnlMiddle.add(new Label("Title"));
    pnlMiddle.add(txtTitle);
    pnlMiddle.add(new Label("Hours_Billed"));
    pnlMiddle.add(txtHours_Billed);
    setTextToNotEditable();
    Panel pnlLeftButtons = new Panel(new GridLayout(0, 2, 10, 10));
    Panel pnlRightButtons = new Panel(new GridLayout(0, 2, 10, 10));
    pnlLeftButtons.add(btnAdd);
    btnAdd.addActionListener(this);
    pnlLeftButtons.add(btnEdit);
    btnEdit.addActionListener(this);
    pnlRightButtons.add(btnDelete);
    btnDelete.addActionListener(this);
    pnlRightButtons.add(btnCancel);
    btnCancel.addActionListener(this);
    btnCancel.setEnabled(false);
    pnlMiddle.add(pnlLeftButtons);
    pnlMiddle.add(pnlRightButtons);
    add(pnlMiddle, "Center");
    //Set up bottom panel
    add(lblMessage, "South");
    lblMessage.setForeground(Color.red);
    //Display the frame
    setSize(400, 300);
    setVisible(true);
    else
    stop(); //Close any open connection
    System.exit(-1); //Exit with error status
    public Insets insets()
    //Set frame insets
    return new Insets(40, 15, 15, 15);
    public void loadDatabase()
    try
    //Load the Sun drivers
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch (ClassNotFoundException err)
    try
    //Load the Microsoft drivers
    Class.forName("com.ms.jdbc.odbc.JdbcOdbcDriver");
    catch (ClassNotFoundException error)
    System.err.println("Drivers did not load properly");
    try
    //Connect to the database
    conconsultants = DriverManager.getConnection("jdbc:odbc:Test");
    //Create a ResultSet
    cmdconsultants = conconsultants.createStatement();
    rsconsultants = cmdconsultants.executeQuery(
    "Select * from consultants; ");
    loadNames(rsconsultants);
    blnSuccessfulOpen = true;
    catch(SQLException error)
    System.err.println("Error: " + error.toString());
    public void loadNames(ResultSet rsconsultants)
    //Fill last name list box
    try
    while(rsconsultants.next())
    lstNames.add(rsconsultants.getString("Consultant_Lname"));
    catch (SQLException error)
    System.err.println("Error in Display Record." + "Error: " + error.toString());
    public void itemStateChanged(ItemEvent event)
    //Retrieve and display the selected record
    String strConsultant_Lname = lstNames.getSelectedItem();
    lblMessage.setText(""); //Delete instructions
    try
    rsconsultants = cmdconsultants.executeQuery(
    "SELECT c.Consultant_ID"+
    "c.Consultant_Lname"+
    "c.Consultant_Fname"+
    "c.Title"+
    "l.Client_ID"+
    "l.Client_Name"+
    "l.Address"+
    "l.City"+
    "l.State"+
    "l.Zip"+
    "b.Hours_Billed"+
    "b.Billing_Rate"+
    "b.Client_ID"+
    "b.Consultant_ID"+
    "FROM Consultants c, Clients l, Billing b"+
    "WHERE c.Consultant_ID = b.Consultant_ID"+
    "l.Client_ID = b.Client_ID"+
    "GROUP BY c.Consultant_ID");
    //"SELECT * FROM Consultants INNER JOIN Billing ON Consultants.Consultant_ID = Billing.Consultant_ID");
    //FROM Consultants INNER JOIN Billing ON Consultants.Consultant_ID = Billing.Consultant_ID;");
    //"Select * from consultants where [Consultant_Lname] = '" + strConsultant_Lname + "';");
    txtConsultant_Lname.setText(strConsultant_Lname);
    displayRecord(rsconsultants);
    setTextToEditable();
    catch(SQLException error)
    lblMessage.setText("Error in result set. " + "Error: " + error.toString());
    public void displayRecord(ResultSet rsconsultants)
    //Display the current record
    try
    if(rsconsultants.next())
    txtConsultant_Fname.setText(rsconsultants.getString("Consultant_Fname"));
    txtTitle.setText(rsconsultants.getString("Title"));
    txtHours_Billed.setText(rsconsultants.getString("Hours_Billed"));
    lblMessage.setText("");
    else
    lblMessage.setText("Record not found");
    clearTextFields();
    catch (SQLException error)
    lblMessage.setText("Error: " + error.toString());
    public void actionPerformed(ActionEvent event)
    //Test the command buttons
    Object objSource = event.getSource();
    if(objSource == btnAdd && event.getActionCommand () == "Add")
    Add();
    else if (objSource == btnAdd)
    Save();
    else if(objSource == btnEdit)
    Edit();
    else if(objSource == btnDelete)
    Delete();
    else if(objSource == btnCancel)
    Cancel();
    public void setTextToNotEditable()
    //Lock the text fields
    txtConsultant_Lname.setEditable(false);
    txtConsultant_Fname.setEditable(false);
    txtTitle.setEditable(false);
    txtHours_Billed.setEditable(false);
    public void setTextToEditable()
    //Unlock the text fields
    txtConsultant_Lname.setEditable(true);
    txtConsultant_Fname.setEditable(true);
    txtTitle.setEditable(true);
    txtHours_Billed.setEditable(true);
    public void clearTextFields()
    //Clear the text fields
    txtConsultant_Lname.setText("");
    txtConsultant_Fname.setText("");
    txtTitle.setText("");
    txtHours_Billed.setText("");
    public void Add()
    //Add a new record
    lblMessage.setText(" "); //Clear previous message
    setTextToEditable(); //Unlock the text fields
    clearTextFields(); //Clear text field contents
    txtConsultant_Lname.requestFocus ();
    //Set up the OK and Cancel buttons
    btnAdd.setLabel("OK");
    btnCancel.setEnabled(true);
    //Disable the Delete and Edit buttons
    btnDelete.setEnabled(false);
    btnEdit.setEnabled(false);
    public void Save()
    //Save the new record
    // Activated when the Add button has an "OK" label
    if (txtConsultant_Lname.getText().length ()== 0 || txtTitle.getText().length() == 0)
    lblMessage.setText("The Consultant's Last Name or Title is blank");
    else
    try
    cmdconsultants.executeUpdate("Insert Into consultants "
    + "([Consultant_Lname], [Consultant_Fname], Title, [Hours_Billed]) "
    + "Values('"
    + txtConsultant_Lname.getText() + "', '"
    + txtConsultant_Fname.getText() + "', '"
    + txtTitle.getText() + "', '"
    + txtHours_Billed.getText() + "')");
    //Add to name list
    lstNames.add(txtConsultant_Lname.getText());
    //Reset buttons
    Cancel();
    catch(SQLException error)
    lblMessage.setText("Error: " + error.toString());
    public void Delete()
    //Delete the current record
    int intIndex = lstNames.getSelectedIndex();
    String strConsultant_Lname = lstNames.getSelectedItem();
    if(intIndex == 0) //Make sure a record is selected
    //Position 0 holds a text message
    lblMessage.setText("Please select the record to be deleted");
    else
    //Delete the record from the database
    try
    cmdconsultants.executeUpdate(
    "Delete from consultants where [Consultant_Lname] = '" + strConsultant_Lname + "';");
    clearTextFields(); //Delete from screen
    lstNames.remove(intIndex); //Delete from list
    lblMessage.setText("Record deleted"); //Display message
    catch(SQLException error)
    lblMessage.setText("Error during Delete."
    + "Error: " + error.toString());
    public void Cancel()
    //Enable the Delete and Edit buttons
    btnDelete.setEnabled(true);
    btnEdit.setEnabled(true);
    //Disable the Cancel button
    btnCancel.setEnabled(false);
    //Change caption of button
    btnAdd.setLabel("Add");
    //Clear the text fields and status bar
    clearTextFields();
    lblMessage.setText("");
    public void Edit()
    //Save the modified record
    int intIndex = lstNames.getSelectedIndex();
    if(intIndex == 0) //Make sure a record is selected
    //Position 0 holds a text message
    lblMessage.setText("Please select the record to change");
    else
    String strConsultant_Lname = lstNames.getSelectedItem();
    try
    cmdconsultants.executeUpdate("Update consultants "
    + "Set [Consultant_Lname] = '" + txtConsultant_Lname.getText() + "', "
    + "[Consultant_Fname] = '" + txtConsultant_Fname.getText() + "', "
    + "Title = '" + txtTitle.getText() + "', "
    + "[Hours_Billed] = '" + txtHours_Billed.getText() + "' "
    + "Where [Consultant_Lname] = '" + strConsultant_Lname + "';");
    if (!strConsultant_Lname.equals(txtConsultant_Lname.getText()))
    //Last name changed; change the list
    lstNames.remove(intIndex); //Remove the old entry
    lstNames.add(txtConsultant_Lname.getText()); //Add the new entry
    catch(SQLException error)
    lblMessage.setText("Error during Edit. " + "Error: " + error.toString());
    public void stop()
    //Terminate the connection
    try
    if (conconsultants != null)
    conconsultants.close();
    catch(SQLException error)
    lblMessage.setText("Unable to disconnect");

    If you look at this web page at some of the other options, they may give you a clue on how to setup the Netgear.
    Wireless connection problems
    The main thing is to ensure that you give the two access points, fixed IP addresses outside of the DHCP range of the home hub.
    Try 192.168.1.15  and 192.168.1.16
    The Netgears probably are on the wrong IP subnet at the moment, so they will not work.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • PLEASE HELP ME WITH MY CODE

    i need alittle help i have this GUI that i created and i am trying to hook it up to a database in MS ACCESS and i am have so many problems trying to get my second table called billings to pull and show up in my GUI please take a look at my code and tell me what is wrong with it.
    now on my GUI its supposed to allow you to choose a company in the list box and after choosing a company, this allows you to get all the company's information like address and state and zip code and another list box is populated called consultants and you can choose a consultant and gethis or her billing information , like their hours billed from that company and their total hours billed
    please look at my code and tell me what is wrong, especially with the part about pulling information from the database.
    import java.sql.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Project extends Frame implements ItemListener, ActionListener
    //Declare database variables
    Connection conconsultants;
    Statement cmdconsultants;
    ResultSet rsconsultants;
    boolean blnSuccessfulOpen = false;
    //Declare components
    Choice lstNames = new Choice();
    TextField txtConsultant_Lname = new TextField(10);
    TextField txtConsultant_Fname = new TextField(10);
    TextField txtTitle = new TextField(9);
    TextField txtHours_Billed = new TextField(14);
    Button btnAdd = new Button("Add");
    Button btnEdit = new Button("Save");
    Button btnCancel = new Button("Cancel");
    Button btnDelete = new Button("Delete");
    Label lblMessage = new Label(" ");
    public static void main(String args[])
    //Declare an instance of this application
    Project thisApp = new Project();
    thisApp.createInterface();
    public void createInterface()
    //Load the database and set up the frame
    loadDatabase();
    if (blnSuccessfulOpen)
    //Set up frame
    setTitle("Update Test Database");
    addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent event)
    stop();
    System.exit(0);
    setLayout(new BorderLayout());
    //Set up top panel
    Panel pnlTop = new Panel(new GridLayout(2, 2, 10, 10));
    pnlTop.add(new Label("Last Name"));
    lstNames.insert("Select a Name to Display", 0);
    lstNames.addItemListener(this);
    pnlTop.add(lstNames);
    pnlTop.add(new Label(" "));
    add(pnlTop, "North");
    //Set up center panel
    Panel pnlMiddle = new Panel(new GridLayout(5, 2, 10, 10));
    pnlMiddle.getInsets();
    pnlMiddle.add(new Label("Consultant_Lname"));
    pnlMiddle.add(txtConsultant_Lname);
    pnlMiddle.add(new Label("Consultant_Fname"));
    pnlMiddle.add(txtConsultant_Fname);
    pnlMiddle.add(new Label("Title"));
    pnlMiddle.add(txtTitle);
    pnlMiddle.add(new Label("Hours_Billed"));
    pnlMiddle.add(txtHours_Billed);
    setTextToNotEditable();
    Panel pnlLeftButtons = new Panel(new GridLayout(0, 2, 10, 10));
    Panel pnlRightButtons = new Panel(new GridLayout(0, 2, 10, 10));
    pnlLeftButtons.add(btnAdd);
    btnAdd.addActionListener(this);
    pnlLeftButtons.add(btnEdit);
    btnEdit.addActionListener(this);
    pnlRightButtons.add(btnDelete);
    btnDelete.addActionListener(this);
    pnlRightButtons.add(btnCancel);
    btnCancel.addActionListener(this);
    btnCancel.setEnabled(false);
    pnlMiddle.add(pnlLeftButtons);
    pnlMiddle.add(pnlRightButtons);
    add(pnlMiddle, "Center");
    //Set up bottom panel
    add(lblMessage, "South");
    lblMessage.setForeground(Color.red);
    //Display the frame
    setSize(400, 300);
    setVisible(true);
    else
    stop(); //Close any open connection
    System.exit(-1); //Exit with error status
    public Insets insets()
    //Set frame insets
    return new Insets(40, 15, 15, 15);
    public void loadDatabase()
    try
    //Load the Sun drivers
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch (ClassNotFoundException err)
    try
    //Load the Microsoft drivers
    Class.forName("com.ms.jdbc.odbc.JdbcOdbcDriver");
    catch (ClassNotFoundException error)
    System.err.println("Drivers did not load properly");
    try
    //Connect to the database
    conconsultants = DriverManager.getConnection("jdbc:odbc:Test");
    //Create a ResultSet
    cmdconsultants = conconsultants.createStatement();
    rsconsultants = cmdconsultants.executeQuery(
    "Select * from consultants; ");
    loadNames(rsconsultants);
    blnSuccessfulOpen = true;
    catch(SQLException error)
    System.err.println("Error: " + error.toString());
    public void loadNames(ResultSet rsconsultants)
    //Fill last name list box
    try
    while(rsconsultants.next())
    lstNames.add(rsconsultants.getString("Consultant_Lname"));
    catch (SQLException error)
    System.err.println("Error in Display Record." + "Error: " + error.toString());
    public void itemStateChanged(ItemEvent event)
    //Retrieve and display the selected record
    String strConsultant_Lname = lstNames.getSelectedItem();
    lblMessage.setText(""); //Delete instructions
    try
    rsconsultants = cmdconsultants.executeQuery(
    "SELECT c.Consultant_ID"+
    "c.Consultant_Lname"+
    "c.Consultant_Fname"+
    "c.Title"+
    "l.Client_ID"+
    "l.Client_Name"+
    "l.Address"+
    "l.City"+
    "l.State"+
    "l.Zip"+
    "b.Hours_Billed"+
    "b.Billing_Rate"+
    "b.Client_ID"+
    "b.Consultant_ID"+
    "FROM Consultants c, Clients l, Billing b"+
    "WHERE c.Consultant_ID = b.Consultant_ID"+
    "l.Client_ID = b.Client_ID"+
    "GROUP BY c.Consultant_ID");
    //"SELECT * FROM Consultants INNER JOIN Billing ON Consultants.Consultant_ID = Billing.Consultant_ID");
    //FROM Consultants INNER JOIN Billing ON Consultants.Consultant_ID = Billing.Consultant_ID;");
    //"Select * from consultants where [Consultant_Lname] = '" + strConsultant_Lname + "';");
    txtConsultant_Lname.setText(strConsultant_Lname);
    displayRecord(rsconsultants);
    setTextToEditable();
    catch(SQLException error)
    lblMessage.setText("Error in result set. " + "Error: " + error.toString());
    public void displayRecord(ResultSet rsconsultants)
    //Display the current record
    try
    if(rsconsultants.next())
    txtConsultant_Fname.setText(rsconsultants.getString("Consultant_Fname"));
    txtTitle.setText(rsconsultants.getString("Title"));
    txtHours_Billed.setText(rsconsultants.getString("Hours_Billed"));
    lblMessage.setText("");
    else
    lblMessage.setText("Record not found");
    clearTextFields();
    catch (SQLException error)
    lblMessage.setText("Error: " + error.toString());
    public void actionPerformed(ActionEvent event)
    //Test the command buttons
    Object objSource = event.getSource();
    if(objSource == btnAdd && event.getActionCommand () == "Add")
    Add();
    else if (objSource == btnAdd)
    Save();
    else if(objSource == btnEdit)
    Edit();
    else if(objSource == btnDelete)
    Delete();
    else if(objSource == btnCancel)
    Cancel();
    public void setTextToNotEditable()
    //Lock the text fields
    txtConsultant_Lname.setEditable(false);
    txtConsultant_Fname.setEditable(false);
    txtTitle.setEditable(false);
    txtHours_Billed.setEditable(false);
    public void setTextToEditable()
    //Unlock the text fields
    txtConsultant_Lname.setEditable(true);
    txtConsultant_Fname.setEditable(true);
    txtTitle.setEditable(true);
    txtHours_Billed.setEditable(true);
    public void clearTextFields()
    //Clear the text fields
    txtConsultant_Lname.setText("");
    txtConsultant_Fname.setText("");
    txtTitle.setText("");
    txtHours_Billed.setText("");
    public void Add()
    //Add a new record
    lblMessage.setText(" "); //Clear previous message
    setTextToEditable(); //Unlock the text fields
    clearTextFields(); //Clear text field contents
    txtConsultant_Lname.requestFocus ();
    //Set up the OK and Cancel buttons
    btnAdd.setLabel("OK");
    btnCancel.setEnabled(true);
    //Disable the Delete and Edit buttons
    btnDelete.setEnabled(false);
    btnEdit.setEnabled(false);
    public void Save()
    //Save the new record
    // Activated when the Add button has an "OK" label
    if (txtConsultant_Lname.getText().length ()== 0 || txtTitle.getText().length() == 0)
    lblMessage.setText("The Consultant's Last Name or Title is blank");
    else
    try
    cmdconsultants.executeUpdate("Insert Into consultants "
    + "([Consultant_Lname], [Consultant_Fname], Title, [Hours_Billed]) "
    + "Values('"
    + txtConsultant_Lname.getText() + "', '"
    + txtConsultant_Fname.getText() + "', '"
    + txtTitle.getText() + "', '"
    + txtHours_Billed.getText() + "')");
    //Add to name list
    lstNames.add(txtConsultant_Lname.getText());
    //Reset buttons
    Cancel();
    catch(SQLException error)
    lblMessage.setText("Error: " + error.toString());
    public void Delete()
    //Delete the current record
    int intIndex = lstNames.getSelectedIndex();
    String strConsultant_Lname = lstNames.getSelectedItem();
    if(intIndex == 0) //Make sure a record is selected
    //Position 0 holds a text message
    lblMessage.setText("Please select the record to be deleted");
    else
    //Delete the record from the database
    try
    cmdconsultants.executeUpdate(
    "Delete from consultants where [Consultant_Lname] = '" + strConsultant_Lname + "';");
    clearTextFields(); //Delete from screen
    lstNames.remove(intIndex); //Delete from list
    lblMessage.setText("Record deleted"); //Display message
    catch(SQLException error)
    lblMessage.setText("Error during Delete."
    + "Error: " + error.toString());
    public void Cancel()
    //Enable the Delete and Edit buttons
    btnDelete.setEnabled(true);
    btnEdit.setEnabled(true);
    //Disable the Cancel button
    btnCancel.setEnabled(false);
    //Change caption of button
    btnAdd.setLabel("Add");
    //Clear the text fields and status bar
    clearTextFields();
    lblMessage.setText("");
    public void Edit()
    //Save the modified record
    int intIndex = lstNames.getSelectedIndex();
    if(intIndex == 0) //Make sure a record is selected
    //Position 0 holds a text message
    lblMessage.setText("Please select the record to change");
    else
    String strConsultant_Lname = lstNames.getSelectedItem();
    try
    cmdconsultants.executeUpdate("Update consultants "
    + "Set [Consultant_Lname] = '" + txtConsultant_Lname.getText() + "', "
    + "[Consultant_Fname] = '" + txtConsultant_Fname.getText() + "', "
    + "Title = '" + txtTitle.getText() + "', "
    + "[Hours_Billed] = '" + txtHours_Billed.getText() + "' "
    + "Where [Consultant_Lname] = '" + strConsultant_Lname + "';");
    if (!strConsultant_Lname.equals(txtConsultant_Lname.getText()))
    //Last name changed; change the list
    lstNames.remove(intIndex); //Remove the old entry
    lstNames.add(txtConsultant_Lname.getText()); //Add the new entry
    catch(SQLException error)
    lblMessage.setText("Error during Edit. " + "Error: " + error.toString());
    public void stop()
    //Terminate the connection
    try
    if (conconsultants != null)
    conconsultants.close();
    catch(SQLException error)
    lblMessage.setText("Unable to disconnect");

    I don't think that your DB URL is correct

  • How can I delete a list item entry based on date? Nintex workflow?

    I have a list with two columns. One of the columns in the list has a training date. I would like to delete entries in the list after the date has passed. How can I do this?
    Should I create a Nintex workflow to run everyday?  What operation in Nintex would I use to check the date in the list and then delete an entry if the current date has come?

    Murugesa,
    I have access to SharePoint Designer and also Nintex.  Are you suggesting I use SharePoint Designer instead of Nintex?  I have not used visual studio much so my knowledge with it is not good.
    You can create the simple workflow using visual studio. Drag and drop the IF else activity and Code activity to delete the item.
    Inside code activity event, Retrieve your date column value and compare against your logic date. if list column value passed then code activity executes the deletion.
    Option 2:
    If you have SPD design permission on your site,you can simply wire the same logic in the out of box workflow GUI level.
    Murugesa Pandian.,MCTS|App.Devleopment|Configure

  • Error: Requested resource does not exist

    Hi
    I am using a J2EE application to connect to R/3. I am receiving the above mentioned error. I created a Web Module project. In that i created a package com.training.examples.servlet.GetSalesPage.java . This is going to be my controller.
    I also created a JSP page with a submit button. Once i click on the button, i get the following message "  The requested resource does not exist."
    In the JSP page i used the follwing Tag :
    <form action="<%= request.getContextPath() %>/servlet/GetSalesPage" method="POST">
    I know this is will be tough to understand with me just giving me a bigger picture. I am ready to give the code if anyone wishes to check it out also.
    Any help would be rewarded.
    Murali.

    Hi
    Thanks Vyara and Guru. I am actually trying to replicate the example of "Creating first J2EE application - flight bookings". So i am getting stuck with the basic things.
    Ur inputs were valuable.
    I added the Servlet in the Web.xml
    Here is my Web.XML
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
                             "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <display-name>WEB APP</display-name>
        <description>WEB APP description</description>
          <servlet>
            <servlet-name>GetSalesPage</servlet-name>
            <servlet-class>com.training.examples.servlet.GetSalesPage</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>GetSalesList.jsp</servlet-name>
            <jsp-file>/GetSalesList.jsp</jsp-file>
        </servlet>
        <ejb-ref>
            <ejb-ref-name>ejb/SalesEJBBean</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <home>com.training.examples.SalesEJBHome</home>
            <remote>com.training.examples.SalesEJB</remote>
            <ejb-link>SalesBean</ejb-link>
        </ejb-ref>
    </web-app>
    Here is ejb-jar.xml in my EJB Project
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
         <description>EJB JAR description</description>
         <display-name>EJB JAR</display-name>
         <enterprise-beans>
              <session>
                   <ejb-name>SalesEJBBean</ejb-name>
                   <home>com.training.examples.SalesEJBHome</home>
                   <remote>com.training.examples.SalesEJB</remote>
                   <local-home>com.training.examples.SalesEJBLocalHome</local-home>
                   <local>com.training.examples.SalesEJBLocal</local>
                   <ejb-class>com.training.examples.SalesEJBBean</ejb-class>
                   <session-type>Stateless</session-type>
                   <transaction-type>Bean</transaction-type>
                   <resource-ref>
                        <res-ref-name>eis/SAPJRADemoFactory</res-ref-name>
                        <res-type>javax.resource.cci.ConnectionFactory</res-type>
                        <res-auth>Container</res-auth>
                        <res-sharing-scope>Shareable</res-sharing-scope>
                   </resource-ref>
              </session>
         </enterprise-beans>
    </ejb-jar>
    Now i am able to get the JSP page. When i key in data and click on submit button, i get the following error:
    <b>
    "Couldn't access bean salesEJB: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/ejb/SalesEJB"</b>
    I have setup eis/SAPJRADemoFactory for my Flight Application and it is working fine. I am trying to use the same setting for my application also.
    Here is my GetSalesPage SERVLET Page :
    Created on May 9, 2006
    To change the template for this generated file go to
    Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    package com.training.examples.servlet;
    import java.io.IOException;
    import java.rmi.RemoteException;
    import java.util.List;
    import javax.ejb.CreateException;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import com.training.examples.SalesEJB;
    import com.training.examples.SalesEJBHome;
    import com.training.examples.SalesSelection;
    @author MShanmugham
    To change the template for this generated type comment go to
    Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    public class GetSalesPage extends HttpServlet {
    /* names of jsp pages */
    private static final String SELECT_SALES_ORDER= "/GetSalesList.jsp";
    // JNDI names
    private static final String PREFIX = "java:comp/env/ejb/";
    private static final String SALES_BEAN = "SalesEJB";
    public static final String BYF_SALES_SELECTION = "byf_sales_selection";
    public static final String BYF_SALES_LIST = "byf_sales_list";
    public static final String BYF_ERROR_MESSAGE = "byf_error_message";
    // class members
    private RequestDispatcher dispatcher = null;
    protected void doGet(
         HttpServletRequest request,
         HttpServletResponse response)
         throws ServletException, IOException {
         doPost(request, response);
    protected void doPost(
         HttpServletRequest request,
         HttpServletResponse response)
         throws ServletException, IOException {
         HttpSession session = request.getSession(true);     
         if(request.getParameter("select") != null) {
              // select or GET_SALES event -> retrieve sales list, display 1. page
              getSalesList( request, session);
              dispatcher = request.getRequestDispatcher(SELECT_SALES_ORDER);  
              dispatcher.forward(request, response);
         private void getSalesList( HttpServletRequest request, HttpSession session) {
         try {
              // get bean SalesEJB
              InitialContext initialcontext = new InitialContext();
              SalesEJBHome salesHome = (SalesEJBHome) initialcontext.lookup( PREFIX + SALES_BEAN);
              SalesEJB sales = salesHome.create();
              // get flight list
              String salesOrg = (String) request.getParameter("salesOrg");
              String customerNo = (String) request.getParameter("customerNo");
              SalesSelection salesSelection = null;
              if( (salesOrg != null) && (customerNo != null)) {
                   salesSelection = new SalesSelection( salesOrg, customerNo);
                   session.setAttribute( BYF_SALES_SELECTION,salesSelection);
              } else {
                   salesSelection = (SalesSelection) session.getAttribute( BYF_SALES_SELECTION);
              List salesList = sales.getSalesList(salesSelection);
              if( salesList == null) {
                   request.setAttribute(BYF_ERROR_MESSAGE,"No records found!");
              // set session and request attribute
              session.setAttribute( BYF_SALES_SELECTION, salesSelection);
              session.setAttribute( BYF_SALES_LIST, salesList);
         }catch(NamingException exc) {
              request.setAttribute(BYF_ERROR_MESSAGE, "Couldn't access bean salesEJB: " + exc.getMessage());
         }catch(CreateException exc) {
              request.setAttribute(BYF_ERROR_MESSAGE, "Couldn't create bean salesEJB: " + exc.getMessage());
         }catch(RemoteException exc) {
              request.setAttribute(BYF_ERROR_MESSAGE, "Bean salesEJB returned error message: " + exc.detail.getMessage());
    Here is the only JSP I am using GetSalesList.jsp
    <%@ page language="java" %>
    <%@ page import="com.training.examples.servlet.GetSalesPage"%>
    <%@ page import="com.training.examples.SalesSelection"%>
    <%@ page import="com.training.examples.salesData"%>
    <%
      // get the sales order selection data and the list of selected Orders
      SalesSelection salesSelection = (SalesSelection) session.getAttribute( GetSalesPage.BYF_SALES_SELECTION);
      List salesList = (List) session.getAttribute( GetSalesPage.BYF_SALES_LIST);
      // get the error message
      String errorMessage = (String) request.getAttribute( GetSalesPage.BYF_ERROR_MESSAGE);
    %>
    <html>
         <head>
              <title> Fetch Orders </title>
         </head>
         <body>
              <fieldset>
              <legend>
                   <b> Give the Sales Org and Customer Number </b>
              </legend>
    <form action="<%= request.getContextPath() %>/servlet/GetSalesPage" method="POST">
    Sales Organization:
    <% if(salesSelection == null) { %>
         <input type="text" size="16" name="salesOrg" value="">
    <% } else { %>
         <input type="text" size="16" name="salesOrg" value="<%= salesSelection.getSalesOrg() %>">
    <% } %>
    Customer Number:
    <% if(salesSelection == null) { %>
         <input type="text" size="16" name="customerNo" value="">
    <% } else { %>
         <input type="text" size="16" name="customerNo" value="<%= salesSelection.getCustomer() %>">
    <% } %>
    <br>
    <br>
    <input type="submit" name="select" value="Select">
    <br>
    <% if(salesList != null) { %>
    <table border="1" box="all">
    <tr>
    <th rowspan="2">&nbsp</th>
    <th rowspan="2">Sales Doc</th>
    <th rowspan="2">Item No</th>
    <th colspan="2">Material</th>
    </tr>
    <%     for(int i = 0; i < salesList.size(); i++) {  %>
         <tr>
              <td>
              <input type="radio" name="saleslist">
              </td>
                   <td><%= ((salesData)salesList.get(i)).getSd_doc()   %></td>
                   <td><%= ((salesData)salesList.get(i)).getItm_number() %></td>
                   <td><%= ((salesData)salesList.get(i)).getMaterial() %></td>
                   </tr>
              <br>
    <%  } %>          
    </table>
    <br><br>
    <input type="submit" name="continue" value="Continue">
    </form>
    <% } %>
    <% if (errorMessage != null) { %>
       <br>
       <tr>
          <td colspan="3">
             <font color="#D00000"><b><%= errorMessage %></b></font>
          </td>
       </tr> 
    <% } %>
              </fieldset>
              <p>
         </body>
    </html>
    Can you please help me out.
    Murali.

  • Deprecated API compilation error

    Please help. Attached is my source code. I'm receiving a compilation error that reads 'RnrBooksApp.java uses or overrides a deprecated API. Recompile with -deprecation for details.' I'm very new to Java, so I appreciate any assistance. Thank you!
    //ClassName: RnrBooksApp
    import java.sql.*;
    import java.awt.*;
    import java.awt.event.*;
    public class RnrBooksApp extends Frame implements ItemListener, ActionListener
         //Declare database variables
         Connection conBook;
         Statement cmdBook;
         ResultSet rsBook;
         boolean blnSuccessfulOpen = false;
         //Declare components
         Choice lstBooks               = new Choice();
         TextField txtISBN          = new TextField(13);
         TextField txtTitle          = new TextField(50);
         TextField txtAuthor = new TextField(30);
         TextField txtPublisher     = new TextField(30);
         Button btnAdd      = new Button("Add");
         //Button btnUpdate = new Button("Update");
         Button btnEdit     = new Button("Save");
         Button btnCancel = new Button("Cancel");
         Button btnDelete = new Button("Delete");
         Label lblMessage = new Label(" ");
         public static void main(String args[])
              //Declare an instance of this application
              RnrBooksApp thisApp = new RnrBooksApp();
              thisApp.createInterface();
         public void createInterface()
              //Load the database and set up the frame
              loadDatabase();
              if (blnSuccessfulOpen)
                   //Set up frame
                   setTitle("Books Database");
                   addWindowListener(new WindowAdapter()
                                  public void windowClosing(WindowEvent event)
                                  stop();
                                  System.exit(0);
                   setLayout(new BorderLayout());
                   //Set up top panel
                   Panel pnlTop = new Panel(new GridLayout(2, 2, 10, 10));
                   pnlTop.add(new Label("ISBN"));
                   lstBooks.insert("Select a Book to Display", 0);
                   lstBooks.addItemListener(this);
                   pnlTop.add(lstBooks);
                   pnlTop.add(new Label(" "));
                   add(pnlTop, "North");
                   //Set up center panel
                   Panel pnlMiddle = new Panel(new GridLayout(5, 2, 10, 10));
                   pnlMiddle.getInsets();
                   pnlMiddle.add(new Label("ISBN"));
                   pnlMiddle.add(txtISBN);
                   pnlMiddle.add(new Label("Title"));
                   pnlMiddle.add(txtTitle);
                   pnlMiddle.add(new Label("Author"));
                   pnlMiddle.add(txtAuthor);
                   pnlMiddle.add(new Label("Publisher"));
                   pnlMiddle.add(txtPublisher);
                   setTextToNotEditable();
                   Panel pnlLeftButtons = new Panel(new GridLayout(0, 2, 10, 10));
                   Panel pnlRightButtons = new Panel(new GridLayout(0, 2, 10, 10));
                   pnlLeftButtons.add(btnAdd);
                   btnAdd.addActionListener(this);
                   pnlLeftButtons.add(btnEdit);
                   btnEdit.addActionListener(this);
                   pnlRightButtons.add(btnDelete);
                   btnDelete.addActionListener(this);
                   pnlRightButtons.add(btnCancel);
                   btnCancel.addActionListener(this);
                   btnCancel.setEnabled(false);
                   pnlMiddle.add(pnlLeftButtons);
                   pnlMiddle.add(pnlRightButtons);
                   add(pnlMiddle, "Center");
                   //Set up bottom panel
                   add(lblMessage, "South");
                   lblMessage.setForeground(Color.red);
                   //Display the frame
                   setSize(400, 300);
                   setVisible(true);
              else
                   stop(); //Close any open connection
                   System.exit(-1); //Exit with error status
         public Insets insets()
              //Set frame insets
              return new Insets(40, 15, 15, 15);
         public void loadDatabase()
              try
                   //Load the Sun drivers
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              catch (ClassNotFoundException err)
                   try
                   //Load the Microsoft drivers
                   Class.forName("com.ms.jdbc.odbc.JdbcOdbcDriver");
                   catch (ClassNotFoundException error)
                   System.err.println("Drivers did not load properly");
              try
                   //Connect to the database
                   conBook = DriverManager.getConnection("jdbc:odbc:Book");
                   //Create a ResultSet
                   cmdBook = conBook.createStatement();
                   rsBook = cmdBook.executeQuery(
                        "Select * from Book;");
                   loadBooks(rsBook);
                   blnSuccessfulOpen = true;
              catch(SQLException error)
                   System.err.println("Error: " + error.toString());
         public void loadBooks(ResultSet rsBook)
              //Fill ISBN list box
              try
                   while(rsBook.next())
                   lstBooks.add(rsBook.getString("ISBN"));
              catch (SQLException error)
                   System.err.println("Error in Display Record." + "Error: " + error.toString());
         public void itemStateChanged(ItemEvent event)
              //Retrieve and display the selected record
              String strISBN = lstBooks.getSelectedItem();
              lblMessage.setText(""); //Delete instructions
              try
                   rsBook = cmdBook.executeQuery(
                        "Select * from Book where [ISBN] = '"
                        + strISBN + "';");
                   txtISBN.setText(strISBN);
                   displayRecord(rsBook);
                   setTextToEditable();
              catch(SQLException error)
                   lblMessage.setText("Error in result set. " + "Error: " + error.toString());
         public void displayRecord(ResultSet rsBook)
              //Display the current record
              try
                   if(rsBook.next())
                        txtTitle.setText(rsBook.getString("Title"));
                        txtAuthor.setText(rsBook.getString("Author"));
                        txtPublisher.setText(rsBook.getString("Publisher"));
                        lblMessage.setText("");
                   else
                        lblMessage.setText("Record not found");
                        clearTextFields();
              catch (SQLException error)
                   lblMessage.setText("Error: " + error.toString());
         public void actionPerformed(ActionEvent event)
              //Test the command buttons
              Object objSource = event.getSource();
              if(objSource == btnAdd && event.getActionCommand () == "Add")
                   Add();
              else if (objSource == btnAdd)
                   Save();
              else if(objSource == btnEdit)
                   Edit();
              else if(objSource == btnDelete)
                   Delete();
              else if(objSource == btnCancel)
                   Cancel();
         public void setTextToNotEditable()
              //Lock the text fields
              txtISBN.setEditable(false);
              txtTitle.setEditable(false);
              txtAuthor.setEditable(false);
              txtPublisher.setEditable(false);
         public void setTextToEditable()
              //Unlock the text fields
              txtISBN.setEditable(true);
              txtTitle.setEditable(true);
              txtAuthor.setEditable(true);
              txtPublisher.setEditable(true);
         public void clearTextFields()
              //Clear the text fields
              txtISBN.setText("");
              txtTitle.setText("");
              txtAuthor.setText("");
              txtPublisher.setText("");
         public void Add()
              //Add a new record
              lblMessage.setText(" ");     //Clear previous message
              setTextToEditable();                //Unlock the text fields
              clearTextFields();                //Clear text field contents
              txtISBN.requestFocus ();
              //Set up the OK and Cancel buttons
              btnAdd.setLabel("OK");
              btnCancel.setEnabled(true);
              //Disable the Delete and Edit buttons
              btnDelete.setEnabled(false);
              btnEdit.setEnabled(false);
         public void Save()
                        //Save the new record
                        // Activated when the Add button has an "OK" label
                        if (txtISBN.getText().length ()== 0 || txtAuthor.getText().length() == 0)
                             lblMessage.setText("The ISBN or Author is blank");
                        else
                             try
                                  cmdBook.executeUpdate("Insert Into Book "
                                            + "([ISBN], [Title], [Author], [Publisher]) "
                                            + "Values('"
                                            + txtISBN.getText() + "', '"
                                            + txtTitle.getText() + "', '"
                                            + txtAuthor.getText() + "', '"
                                            + txtPublisher.getText() + "')");
                                  //Add to name list
                                  lstBooks.add(txtISBN.getText());
                                  //Reset buttons
                                  Cancel();
                             catch(SQLException error)
                                  lblMessage.setText("Error: " + error.toString());
         public void Delete()
                        //Delete the current record
                        int intIndex = lstBooks.getSelectedIndex();
                        String strISBN = lstBooks.getSelectedItem();
                        if(intIndex == 0)          //Make sure a record is selected
                                                      //Position 0 holds a text message
                             lblMessage.setText("Please select the record to be deleted");
                        else
                             //Delete the record from the database
                             try
                                  cmdBook.executeUpdate(
                                       "Delete from Book where [ISBN] = '" + strISBN + "';");
                                  clearTextFields();               //Delete from screen
                                  lstBooks.remove(intIndex);          //Delete from list
                                  lblMessage.setText("Record deleted");     //Display message
                             catch(SQLException error)
                                  lblMessage.setText("Error during Delete."
                                       + "Error: " + error.toString());
         public void Cancel()
                        //Enable the Delete and Edit buttons
                        btnDelete.setEnabled(true);
                        btnEdit.setEnabled(true);
                        //Disable the Cancel button
                        btnCancel.setEnabled(false);
                        //Change caption of button
                        btnAdd.setLabel("Add");
                        //Clear the text fields and status bar
                        clearTextFields();
                        lblMessage.setText("");
         public void Edit()
                        //Save the modified record
                        int intIndex = lstBooks.getSelectedIndex();
                        if(intIndex == 0)          //Make sure a record is selected
                                                      //Position 0 holds a text message
                             lblMessage.setText("Please select the record to change");
                        else
                             String strISBN = lstBooks.getSelectedItem();
                             try
                                  cmdBook.executeUpdate("Update Book "
                                       + "Set [ISBN] = '" + txtISBN.getText() + "', "
                                       + "[Title] = '" + txtTitle.getText() + "', "
                                       + "[Author] = '" + txtAuthor.getText() + "', "
                                       + "[Publisher] = '" + txtPublisher.getText() + "' "
                                       + "Where [ISBN] = '" + strISBN + "';");
                                  if (!strISBN.equals(txtISBN.getText()))
                                       //Last name changed; change the list
                                       lstBooks.remove(intIndex); //Remove the old entry
                                       lstBooks.add(txtISBN.getText()); //Add the new entry
                             catch(SQLException error)
                                  lblMessage.setText("Error during Edit. " + "Error: " + error.toString());
         public void stop()
              //Terminate the connection
              try
                   if (conBook != null)
                   conBook.close();
              catch(SQLException error)
                   lblMessage.setText("Unable to disconnect");

    How DO you compile then?
    If you don't type "javac", you must be using an IDE.
    In your IDE there should be some kind of configuration
    tab or option for "compiler options" or compilation options
    or compiler arguments... something like that.
    put "-deprecation" in that text box and recompile.
    Your compiler should tell you all about which methods
    are deprecated -- you then go to your trust JavaDocs
    and lookup those methods in the API and read WHY they
    are deprecated (i.e. OLD, outdated, defunct, no longer used)
    and what you should use instead. Then, correct your
    code to no longer use the deprecated methods and instead
    do things as suggested in the deprecation comments.

  • ASA-SSM-40 Keeps Crashing

    Hi
    My IPS has recently started crashing.  The only way it will function normally is if i do a hw module 1 reload.  It comes back online with green health status for all and then crashes after about 10 mins of activity.  Please see the health output and info from the IME Console Window.  Any ideas or help is much appreciated.   If more info is necessary, please let me know.  Thanks!               
    ESSORGIPS# sh health
    Overall Health Status                                   Red          
    Health Status for Failed Applications                   Red          
    Health Status for Signature Updates                     Green        
    Health Status for License Key Expiration                Green        
    Health Status for Running in Bypass Mode                Red          
    Health Status for Interfaces Being Down                 Green        
    Health Status for the Inspection Load                   Green        
    Health Status for the Time Since Last Event Retrieval   Red          
    Health Status for the Number of Missed Packets          Green        
    Health Status for the Memory Usage                      Not Enabled  
    Health Status for Global Correlation                    Green        
    Health Status for Network Participation                 Not Enabled  
    Security Status for Virtual Sensor vs0   Green  
    Java Web Start 1.6.0_23
    Using JRE version 1.6.0_23-b05 Java HotSpot(TM) Client VM
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    m:   print memory usage
    o:   trigger logging
    p:   reload proxy configuration
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    0-5: set trace level to <n>
    Dec 30, 2012 2:31:54 PM at1 a
    WARNING: de.nava.informa.utils.manager.PersistenceManagerException: java.sql.SQLException: Violation of unique constraint SYS_PK_49: duplicate value(s) for column(s) ITEM_ID in statement [INSERT INTO ITEMS (ITEM_ID, CHANNEL_ID, TITLE, DESCRIPTION, UNREAD, LINK, CREATOR, SUBJECT, DATE, FOUND, GUID, COMMENTS, SOURCE, ENCLOSURE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
    Dec 30, 2012 3:01:53 PM at1 a
    WARNING: Problem parsing
    http://newsroom.cisco.com/data/syndication/rss2/SecurityResponses_20.xml
    : org.jdom.input.JDOMParseException: Error on line 1 of document
    http://newsroom.cisco.com/data/syndication/rss2/SecurityResponses_20.xml
    : White spaces are required between publicId and systemId.
    Dec 30, 2012 3:01:53 PM at1 a
    WARNING: Problem parsing
    http://newsroom.cisco.com/data/syndication/rss2/SecurityAdvisories_20.xml
    : org.jdom.input.JDOMParseException: Error on line 1 of document
    http://newsroom.cisco.com/data/syndication/rss2/SecurityAdvisories_20.xml
    : White spaces are required between publicId and systemId.
    Dec 30, 2012 3:01:53 PM at1 a
    WARNING: Problem parsing
    http://newsroom.cisco.com/data/syndication/rss2/SecurityNotices_20.xml
    : org.jdom.input.JDOMParseException: Error on line 1 of document
    http://newsroom.cisco.com/data/syndication/rss2/SecurityNotices_20.xml
    : White spaces are required between publicId and systemId.

    You need to collect show-tech and contact Cisco TAC with the details.
    show-tech-support will have the information about the crashes which will help us identify the problem.
    Regards,
    Sawan Gupta

  • Analysis Engine is Not Running

    Hi Guys!
    I´m looking for your help about an issue with an Cisco IPS (B-BEAU) that is showing the Analysis Engine=NotRunning
    These are the SO and Version of my IPS:
    Version: 7.0(6)E4
    OS Version: 2.4.30-IDS-smp-bigphys
    If I execute the show events command I get the following lines:
    ct-sensorApp.650 not responding
    evStatus: eventId=1326914865100530240 vendor=Cisco
      originator:
        hostId: XXXXXXXX
        appName: modprobe
        appInstanceId:
      time: 2013/07/13 02:11:05 2013/07/12 20:11:05 CST
      syslogMessage:
        description: Note: /etc/modules.conf is more recent than /lib/modules/2.4.30-IDS-smp-bigphys/modules.dep
    The following lines show the result for the show status command:
    XXXXXX# show health
    Overall Health Status                                   Red
    Health Status for Failed Applications                   Red
    Health Status for Signature Updates                     Not Enabled
    Health Status for License Key Expiration                Red
    Health Status for Running in Bypass Mode                Red
    Health Status for Interfaces Being Down                 Red
    Health Status for the Inspection Load                   Green
    Health Status for the Time Since Last Event Retrieval   Not Enabled
    Health Status for the Number of Missed Packets          Green
    Health Status for the Memory Usage                      Not Enabled
    Health Status for Global Correlation                    Not Enabled
    Health Status for Network Participation                 Not Enabled
    Security Status for Virtual Sensor vs0   Green
    Security Status for Virtual Sensor vs1   Green
    Do you have any idea what's wrong here?
    I'll appreciate any help about it,
    Thanks folks!!!

    Hi Manuel,
    Pre-7.0.8 versions have issues with the latest signature updates, so most likely you will face this issue after every signature upgrade. So I suggest you to upgrade at least to 7.0.8 or 7.1.7.
    HTH
    Luis Silva
    "If you need PDI (Planning, Design, Implement) assistance feel free to reach"
    http://www.cisco.com/web/partners/tools/pdihd.html

  • ALC-WKS-007-043

    Hi everyone!
    does everyone knows why error ALC-WKS-007-043 can occur after submitting form in Workspace? I just need possible reasons of this error. Please Help. Thanks in advance

    and here is log with disabled submit service:<br /><br />2007-09-21 09:26:51,727 INFO  [STDOUT] [Flex] [ERROR] Error handling message: flex.messaging.MessageException: ALC-WKS-005-029: A problem occurred in the Submit Service.  Please review the submit orchestration for this process.<br />  incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage) <br />    operation = complete<br />    clientId = A312DED0-AD0E-26BA-64D4-27BC15006EDE<br />    destination = task-actions<br />    messageId = D64AB469-563C-AC16-358B-268857CDB990<br />    timestamp = 1190352410621<br />    timeToLive = 1190352410621<br />    body = null<br />    hdr(DSEndpoint) = workspace-polling-amf<br />    hdr(DSId) = A3055928-9809-9496-D7D7-0EA9BCA2784A<br />  errorReply: Flex Message (flex.messaging.messages.ErrorMessage) <br />    clientId = A312DED0-AD0E-26BA-64D4-27BC15006EDE<br />    correlationId = D64AB469-563C-AC16-358B-268857CDB990<br />    destination = task-actions<br />    messageId = A312E95C-DF09-EBEB-DDBC-E97E72DC1C8C<br />    timestamp = 1190352411727<br />    timeToLive = 0<br />    body = null<br />    code =  Server.Processing<br />    message =  ALC-WKS-005-029: A problem occurred in the Submit Service.  Please review the submit orchestration for this process.<br />    details =  null<br />    rootCause =  ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.<br />    body =  null<br />    extendedData =  {message=ALC-WKS-005-029, cause=com.adobe.idp.taskmanager.dsc.client.task.TaskManagerException}<br />2007-09-21 09:26:51,727 INFO  [STDOUT] [Flex] Error handling message: flex.messaging.MessageException: ALC-WKS-005-029: A problem occurred in the Submit Service.  Please review the submit orchestration for this process.<br />  incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage) <br />    operation = complete<br />    clientId = A312DED0-AD0E-26BA-64D4-27BC15006EDE<br />    destination = task-actions<br />    messageId = D64AB469-563C-AC16-358B-268857CDB990<br />    timestamp = 1190352410621<br />    timeToLive = 1190352410621<br />    body = null<br />    hdr(DSEndpoint) = workspace-polling-amf<br />    hdr(DSId) = A3055928-9809-9496-D7D7-0EA9BCA2784A<br />  errorReply: Flex Message (flex.messaging.messages.ErrorMessage) <br />    clientId = A312DED0-AD0E-26BA-64D4-27BC15006EDE<br />    correlationId = D64AB469-563C-AC16-358B-268857CDB990<br />    destination = task-actions<br />    messageId = A312E95C-DF09-EBEB-DDBC-E97E72DC1C8C<br />    timestamp = 1190352411727<br />    timeToLive = 0<br />    body = null<br />    code =  Server.Processing<br />    message =  ALC-WKS-005-029: A problem occurred in the Submit Service.  Please review the submit orchestration for this process.<br />    details =  null<br />    rootCause =  ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.<br />    body =  null<br />    extendedData =  {message=ALC-WKS-005-029, cause=com.adobe.idp.taskmanager.dsc.client.task.TaskManagerException}<br />2007-09-21 09:26:54,509 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.event.notification.NotificationManagerImpl sendNotifications<br />INFO:  Create Notification called <br />2007-09-21 09:26:54,509 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.event.notification.NotificationManagerImpl getEventFromTransferObject<br />INFO: getEventFromTransferObject<br />2007-09-21 09:26:54,525 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.event.notification.NotificationManagerImpl getEventFromTransferObject<br />INFO: event retrieved<br />2007-09-21 09:26:54,525 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.event.notification.NotificationManagerImpl retrieveEvent<br />INFO: retrieving active event<br />2007-09-21 09:26:54,572 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.event.notification.NotificationUtil getApplicableSubscriptions<br />INFO: Working on subscriptions to be filtered.<br />2007-09-21 09:26:54,572 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.event.notification.NotificationUtil getApplicableSubscriptions<br />INFO: Found subscriptions with rules 0<br />2007-09-21 09:26:54,572 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.event.notification.NotificationUtil getApplicableSubscriptions<br />INFO: Working on subscriptions to be filtered.1<br />2007-09-21 09:26:54,572 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.event.notification.NotificationManagerImpl sendNotifications<br />INFO: Total subscribers to notify = 1<br />2007-09-21 09:26:54,588 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.event.notification.NotificationManagerImpl createNotifications<br />INFO: Now creating notifications.<br />2007-09-21 09:26:54,604 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.event.notification.NotificationManagerImpl createNotifications<br />INFO: Created 1 notifications.<br />2007-09-21 09:26:54,604 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.event.notification.NotificationManagerImpl sendNotifications<br />INFO: Delivering notifications...<br />2007-09-21 09:26:54,604 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.event.notification.NotificationManagerImpl sendNotifications<br />INFO: Total notifications to deliver are 1<br />2007-09-21 09:26:54,620 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.jobmanager.service.JobManagerService createJob<br />INFO: JobManagerService:createJob()<br />2007-09-21 09:26:54,620 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.jobmanager.ejb.JobManagerBean createJob<br />INFO: JobManager:createJob()<br />2007-09-21 09:26:54,620 INFO  [STDOUT] 21.09.2007 9:26:54 com.adobe.idp.jobmanager.ejb.JobManagerBean createJob<br />INFO: JobManager:createJob():got next instance id<br />2007-09-21 09:26:55,600 WARN  [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: null<br />javax.resource.spi.CommException: javax.naming.CommunicationException: Could not obtain connection to any of these urls: 0.0.0.0:1100 [Root exception is javax.naming.CommunicationException: Failed to connect to server 0.0.0.0:1100 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 0.0.0.0:1100 [Root exception is java.net.ConnectException: Connection refused: connect]]]<br />     at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:750)< br />     at org.jboss.resource.adapter.jms.JmsManagedConnection.<init>(JmsManagedConnection.java:172) <br />     at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsMan agedConnectionFactory.java:95)<br />     at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventL istener(InternalManagedConnectionPool.java:519)<br />     at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(Internal ManagedConnectionPool.java:208)<br />     at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JB ossManagedConnectionPool.java:566)<br />     at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConn ectionManager2.java:410)<br />     at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectio nManager.java:342)<br />     at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnec tionManager2.java:462)<br />     at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.alloca teConnection(BaseConnectionManager2.java:894)<br />     at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactory Impl.java:378)<br />     at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactory Impl.java:133)<br />     at com.adobe.idp.jobmanager.ejb.JobManagerBean.createJob(JobManagerBean.java:202)<br />     at sun.reflect.GeneratedMethodAccessor380.invoke(Unknown Source)<br />     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />     at java.lang.reflect.Method.invoke(Method.java:585)<br />     at org.jboss.invocation.Invocation.performCall(Invocation.java:345)<br />     at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)<br />     at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)<br />     at org.jboss.webservice.server.ServiceEndpointInt

  • Error executing "options ndmpd.preferred_interface" on storage system

    Dear Community Members,I have something strange with my DataSet:Error Message:MyControler.mydomain.com: Error executing "options ndmpd.preferred_interface" on storage system 'MyControler' (131). Please check the host login protocol setting, the error could be due to an issue with the current setting. If you would like to allow work to be done on a non-preferred interface when there is an issue obtaining the preferred interface, please set the dfm option ndmpDataUseAllInterfaces=1. (null)I have a Preferred ndmp Interface, I do not have any credential isssue.  BTW:I do not understood what is wrong in my configuration.

    I have this problem too but it doesn't seem to be a user rights issue because my NDMP user is in the administrators group with admin role which has cli.*. It's not a problem accessing the filer with SSH because I use PuTTy+SSH from the same Windows box to manage my filers. And it's not an issue with my NDMP user since I just re-set that up in DFM and copy & pasted the NDMP password (plus it works once I enabled the DFM option mentioned in my next paragraph). As suggested by Netapp Management Console (NMC), I set the dfm option to user all interfaces. After doing that, my job in NMC still did an event "retrieving preferred interfaces" and it succeeds and finds my main VIF that I want it to use, along with my e0M management interface. Luckily, it appears to be using the main VIF like I want, because I have NDMPD logging enabled and it makes connections on the VIF and doesn't make any connection on the e0M. The job succeeds, so I guess this works fine for me. Could this be a bug? Anyone out there able to set the preferred NDMP interface and still use NMC for SnapVault backups without setting DFM to user all interfaces for NDMP?

  • Global Correlation Status

    Hello Everyone,
    i'm trying to enable global correlation, but, after apply the configuration, i see the status bellow:
    service global-correlation
    network-participation off
    global-correlation-inspection-influence aggressive
    test-global-correlation off
    exit
    service aaa
    exit
    service analysis-engine
    virtual-sensor vs0
    physical-interface GigabitEthernet0/1
    exit
    exit
    IPS-SITE-BACKUP#
    IPS-SITE-BACKUP#
    IPS-SITE-BACKUP#
    IPS-SITE-BACKUP# show health
    Overall Health Status                                   Green
    Health Status for Failed Applications                   Green
    Health Status for Signature Updates                     Green
    Health Status for License Key Expiration                Green
    Health Status for Running in Bypass Mode                Green
    Health Status for Interfaces Being Down                 Green
    Health Status for the Inspection Load                   Green
    Health Status for the Time Since Last Event Retrieval   Green
    Health Status for the Number of Missed Packets          Green
    Health Status for the Memory Usage                      Green
    Health Status for Global Correlation                    Not Enabled
    Health Status for Network Participation                 Green
    Why the status is "not enabled"?
    Obs: Downloads ok via proxy server.
    Thanks.
    Rafael

    Hello Rafael,
    Why the status is "not enabled
    The status is not enabled because the participation of your IPS in the global correlation is off.
    There are 3 states related to Global Correlation:
    -Full
    -Partial
    -Off
    Please change that and it should working, You need to have a DNS server set up in your IPS, if not Global Correlation will not work.
    Julio
    Rate the helpful posts

  • Rp_set_data_interval 'P0014' pn-begda pn-endda.

    Hi,
    Could you please tell me the diffrence of data retrival of infotype p0014 by get prenr and by using the macro:rp_set_data_interval 'P0014' pn-begda pn-endda..
    Thanks,
    Suresh

    >
    suresh kumar wrote:
    > Hi,
    >
    > Could you please tell me the diffrence of data retrival of infotype p0014 by get prenr and by using the macro:rp_set_data_interval 'P0014' pn-begda pn-endda..
    >
    >
    >
    > Thanks,
    > Suresh
    Hi Suresh,
      If you use this macro rp_set_data_interval 'P0014' pn-begda pn-endda'P0014' pn-begda pn-endda then the GET PERNR event only retrives the valid IT0014 records in the period pn-begda, pn-endda.
    If you don't use the macro rp_set_data_interval 'P0014' pn-begda pn-endda then the GET PERNR event retrieves all the available IT0014 records even if they are not valid in the interval pn-begda and pn-endda.
    Note: The macro rp_set_data_interval should be included in the START-OF-SELECTION event

Maybe you are looking for

  • Suggestion for a much needed app

    I am a volunteer firefighter. I am dispatched to calls via a Motorola Monitor voice pager. Since approximately 84% of firefighters in the U.S. are volunteers, and the vast majority of them use the same system that my department does, an app that woul

  • Dead screen for 3555b

    I have a dead display screen on my Nokia 3555b & need someone to walk me through the steps to connect either the USB port or bluetooth to transfer the data from the phone's memory to my PC.  Thanks... Dean.

  • I am unable to recieve any updates from Windows through Mozilla, I cant download anything

    When I want to get updates it won't go through.

  • Purchased Song with Error

    I purchased today a new album from Jorge Palma called Tempo dos Assassinos and when I started to listen to the tracks they have got audio error. The music has got flaws as if I was listening to a scratched CD. I payed for this album, so I would like

  • Regular Expressions Error -4702

    In the attached vi, I'm trying to accept only numbers and letters.  When I hit the Shift key, I get error -4702.  How can I correct this situation? I haven't worked this in yet, but I would also like to accept the Enter key so that the vi will termin