WLAN WCS times users out - Please somebody help

Good day all,
I have a mesh network with a 4404 WCS. I have 13 outdoor 1500 APs and 7 indoor 1240 indoor APs. The network also has an ACS server for web authentication. However, users complain of frequent timeouts such that they need to login again to access the internet. Please what can possibily be wrong? The WCS is running a Mesh network but brigding is not enabled. I don't know what i am doing wrong.

Have you tried from the WLC gui?
You can reset the AP to the factory defaults through the wireless LAN (WLAN) controller (WLC). For the reset, the LAP should be registered to the WLC.
Complete these steps:
From the WLC GUI, click Wireless. The Wireless tab provides access to the Cisco WLAN Solution wireless network configuration.
Choose Access Points > Cisco APs, and then click Detail in order to navigate to the window for the specific AP.
Click Clear Config at the bottom of this window. This clears the configuration on the LAP and resets it to the factory defaults.
In order to reset the LAPs to the factory defaults with use of the command-line interface (CLI), issue the clear ap-config ap-name command from the WLC CLI.

Similar Messages

  • Upgrading to 7 - Can't uninstall 6 **PLEASE PLEASE PLEASE somebody help!**

    I keep trying to install iTunes 7 (have a 1G Nano), but am getting error messages. When I try to install, it gives me a box that says:
    "This installation cannot directly upgrade the version of iPod software found on this computer. Please uninstall the iPod software and try again." [OK]
    So, I've totally uninstalled iTunes and QuickTime and tried to reinstall, and keep getting the same message. Help!
    I've searched/found anything to do with Apple/iTunes/iPod/QT,and deleted them. Deleted the Win32 Temp file too.
    I've used regedit, deleted everything iTunes, Apple and Quicktime. Used MCISUU to uninstall installers.
    Tried everything on the Apple support page that was suggested.
    PLEASE PLEASE PLEASE somebody help!
    PC   Windows XP   Pentium IV 1.4Ghz 1 GB RDRAM

    I have the same problem - it seems like the old version is stuck on my computer even though I can't see it and when I try to download iTunes again it says to remove the old version first. Is there any help for this? Should I just try to download iTunes on another computer and use that instead? I feel like there is no hope for this!

  • Please somebody help me lost audio after opened logic 9 and X at the same time helpppp

    helppp please lost audio after opened logic9 and X together can't find the solution  i only have audio in the main output of my audio interface gott a motu 828 MKII somebody help me please

    Hello all looks normal when the problem was presented simultaneously opened LPX LP9 and when you return to open a new project or the same project and I only have audio in my headphones output interface, my interface is a motu 828Mk2 the project exists and the interface looks normal in every normal output comprises all looks normal just never sounds like it had passed but never opened the two programs at the same time not to do, I use a digital mixer yamaha normal surface responds as ccontrolador all seems to work perfect but I only have audio output from the headphones even if I motu channel by channel and I assign output sound headset

  • My bb curve 8520 refuses to connect to my home wifi please somebody help me

    i have had my bb curve 8520 for about 6 months now a not being the most hi-tech person in the world i have just downloaded bb app world altough i have managed to sucessfuly download a couple of free new apps to my bb    
    ( battery booster and the sky sports live football scores app ) then i tried to down load TuneIn radio app as i like to listen to music when going to sleep and was fed up with using my top-up to keep paying for single tracks off the vodafone site at first the radio app just would not download that was at 4am this morning so this afternoon i thought i would give it another try and after a quite along wait it finally downloaded brillient thinks me but then when i went to use it i tried to connect to the USE WIFI ONLY option as i had just run out of credit  but the wifi just will not let me connect to this app or website whatever it is i went to the connections on the home screen and selected wifi and connected it it said it was connected sucessfully so tried the app again but to no avail i have looked through a lot of posts on this forum and tried absolutly every thing that others have suggested some even say about not having a network service plan ( which i presume is your web monthly web allowance megabytes and that i hope anyway) but i know for a fact that i have one as i pay 5 pounds a month for 500mb and when i rang my account balance number this morning to use the vodafone I.O.U service it told me that my web allowance had been used so is there any one who can help me if this is the case about some websites and apps not being available unless you have or your service is paid upto date the why has it the wifi only option on the app and after it refuses me access to this app a screen pops up saying reload the screen but right at the top of the screen next to the app name there is a red warning triangle and next to it says" IO error :Tunnel...." 
       please is there any body out there that can help me with this its driving me mad thank you to anyone in advance if you can help with this 

    please please someone help me out T_T
    «..:itufa¤Pitufo::..»

  • HT1222 Please somebody help me! if how i can retrieve my notes?

    Please somebody will help me because my note in iphone5 when i connect to itunes my notes deleted all... how i can retrieve it? thanks and regards...

    Notes are designed to be synced to a supported application on the computer or a cloud service.  Sync them back.

  • HELP! I'm pretty sure I have a virus. everytime I shut down my mac and open it the background changes. the only thing i've downloaded was a software upgrade. I just recently got this mac so have no idea how to fix it. Please somebody help me!!

    I have just recently got a Mac, didn't buy an anti virus or anything because the store man said it wasn't necessary.
    After two weeks of use this update software notification kept poping up, so I did and now everytime I turn my Mac on the background changes.
    I've heard that this is how the Mac viruses start, I'm very new to this please somebody tell me how to fix it!!

    There are no viruses for osx.
    You are still under warranty.  Call Apple Care. Make sure you get a case number as all repairs have an additional 90 days of warranty. 
    #1 - You have 14 days from the date of purchase to return your computer with no questions asked.
    #2 - You have 90 days of FREE phone tech support.
    #3 - You have the standard one year Apple warranty.
    #4 - If you've purchased an AppleCare Protection Plan, your warranty last for 3 years.   You can obtain AppleCare anytime up to the first year of the purchase of your computer.
    Take FULL advantage of your warranty.  Posting on a message board should be done as a last resort and if you are out of warranty or Apple Care has expired.

  • Please somebody help  Flash Media Server 4

    I've installed Flash Media Server 4 (I tried on i686 and x86 with CentOS)
    also have uploaded applications to /opt/adove/fms/applications/test
    here what I see in log files:
    Connection rejected by server. Reason : [ Server.Reject ] : (_defaultRoot_, _defaultVHost_) : Application (test/_definst_) is not a valid signed application; loading access denied.
    please somebody help

    Are you sure that you are using adminconsole from location which mamata specified and not using some old adminconsole from you previous installation or something. I suspect you might be using older adminconsole.swf
    You can also get same information using getLicenseInfo Admin command.
    Please change your Users.xml to all getLicenseInfo or All. Open Users.xml under conf directory and you should find below text:
    <AdminServer>
    <HTTPCommands>
    <!-- Enable or disable using HTTP requests to execute admin commands.     -->
    <!-- Set to "true" to enable, otherwise it will be disabled.  The           -->
    <!-- actual commands permitted for server admin and virtual host admin    -->
    <!-- users can be set in the Allow and Deny elements.                                       -->
    <Enable>${USERS.HTTPCOMMAND_ALLOW}</Enable>
    <!-- List of server admin commands that can be accessed via HTTP.         -->
    <!-- Add multiple commands separated by commas.  "All" indicates          -->
    <!-- every command (it's not recommended to allow all commands).          -->
    <!-- Seperate multiple commands with commas.                              -->
    <Allow>ping</Allow>
    <!-- List of server admin commands denied access via HTTP.                -->
    <!-- Add multiple commands seperated by commas.  "All" indicates          -->
    <!-- every command.                                                       -->
    <Deny>All</Deny>
    <!-- Processing order for deny and allow command lists.  "Deny,Allow"     -->
    <!-- means the command will be allowed if the command is in the allow     -->
    <!-- list or not in the deny list.   "Allow,Deny" means the command       -->
    <!-- will be allowed if it is in the allow list and not in the            -->
    <!-- deny list.                                                           -->
    <Order>Deny,Allow</Order>
    </HTTPCommands>
    </AdminServer>
    </Root>
    Now change above content to below content:
    <AdminServer>
    <HTTPCommands>
    <!-- Enable or disable using HTTP requests to execute admin commands.     -->
    <!-- Set to "true" to enable, otherwise it will be disabled.  The           -->
    <!-- actual commands permitted for server admin and virtual host admin    -->
    <!-- users can be set in the Allow and Deny elements.                                       -->
    <Enable>${USERS.HTTPCOMMAND_ALLOW}</Enable>
    <!-- List of server admin commands that can be accessed via HTTP.         -->
    <!-- Add multiple commands separated by commas.  "All" indicates          -->
    <!-- every command (it's not recommended to allow all commands).          -->
    <!-- Seperate multiple commands with commas.                              -->
    <Allow>All</Allow>
    <!-- List of server admin commands denied access via HTTP.                -->
    <!-- Add multiple commands seperated by commas.  "All" indicates          -->
    <!-- every command.                                                       -->
    <Deny></Deny>
    <!-- Processing order for deny and allow command lists.  "Deny,Allow"     -->
    <!-- means the command will be allowed if the command is in the allow     -->
    <!-- list or not in the deny list.   "Allow,Deny" means the command       -->
    <!-- will be allowed if it is in the allow list and not in the            -->
    <!-- deny list.                                                           -->
    <Order>Deny,Allow</Order>
    </HTTPCommands>
    </AdminServer>
    </Root>
    Once you made the change , restart FMS and FMS Admin Server.
    Once both services are restarted, open a browser and put following text in address bar and hit enter (replace necessary stuff like server-ip,AdminUserId and AdminUserPassword to your FMS ip, FMS Admin User and FMS Admin Password respectively)
    http://<serverip>:1111/admin/getLicenseInfo?auser=<AdminUserId>&apswd=<AdminUserPassword>
    Result displayed should have which edition you are using.

  • I switched phone with my brother and i could sucessfully restore everything to the new phone except my imessages. how can i restore them? and why this phone doesnt let my use my number, just my apple id for immesage/facetime? please somebody help me!!

    after restoring all my stuff to the new phone, i wanted to see my messages but i discovered that all my imessages are missing. i checked in settings and i dont know why but the new phone doesnt let me use my phone number for imessage or facetime, instead it's using just my apple id. any idea how can i switch to the phone number again? in my old phone i used both my number and email for imessages, so i think maybe thats why i cant see my immessages now. please somenone help me!! thank you so much

    Hi Katrina - I hear what you are saying about the problems. I've been using a BB Pearl here in Canada since January and I had the same problems with PocketMac from the start. iCal dates getting strangely duplicated after syncing and contacts in AddressBook groups getting listed twice on the BB. The only solution I used was to have the Mac always override the BB when syncing. NOt perfect but for me it was the simplest way to ensure the consistency of the data and my own sanity.
    If anyone has a better solution that actually allows a clean sync I'd love to hear it.

  • I updated my computer to the os x and now i can't export my videos to quicktime i got the new compressor still won't let me please somebody help

    i updated my computer to the os x and now i can't export my videos to quicktime i got the new compressor still won't let me please somebody help

    You need to update the software. This is a very old version that will not work with the current OS. Did you purchase the software from the App Store? If do sign in with the Apple ID used to buy it. Go to the Purchases page and find the software.

  • HT5624 Please somebody help me, I forgot the answers to my security questions and it just won't let me buy music, I have credit on my side, I've tried a million ways to work it out, but it won't work, I'm so ******* desperate.

                     Please help me!!

    1)  Apple ID: All about Apple ID security questions
    If necessary...
    2)  See Here... ask to speak with the Account Security Team...
    Apple ID: Contacting Apple for help with Apple ID account security
    Or Email Here  >  Apple  Support  iTunes Store  Contact

  • Please, somebody help me out if possible!

    So i had a blackberry curve 9300 then it broke so when my girlfriend updated to a newer version she gave me her old one but the problem starts here :/
    The blackberry ID on both the phone i have now and the phone my girlfriend has are the same and when i try and change the ID on my phone it changes on hers! really annoying me now and i dunno what to do + i updated my version of BBM and it wont work because of my ID
    Any ideas how i could change it without messing up hers?

    Ill give it a go tomorrow, is this the only way? 
    Cheers man, ill let you know how i get on! 

  • Random freezes-please, somebody, help me find a solution that works!

    I feel a little stupid posting a new thread for what seems to be (at the moment) a rather common issue, but almost every related thread I've come across seems to pin the blame on different things, and I want to consolidate all that I know about what's going on in one place.
    On January 5 I reinstalled Arch on the family computer in my house, and for the first few days it seemed to be working OK, but as I was getting everything installed and set up correctly, I started experiencing random freezes.  Every package has been up to date since this was a brand new install, and the whole reason I was reinstalling was because the old setup was really messy and on a really old hard drive.  The old setup didn't experience any of these issues, however, which rules out hardware issues (the current hard drive was in the system, it just wasn't used for /).  The computer passes memtest86+ and mprime stress tests.
    First, the problem(s): random lockups.  These range from application lockups that still allow mouse movement, but not clicking, with the keyboard remaining accessible, to full X lockups which disable mouse and keyboard functionality.  The former have only occurred a handful of times while the latter occur much more often.  I don't have an ssh server set up on this computer to know whether it would respond to use that way, but my assumption is that, yes, it would.  This seems to be a rather prevalent issue right now, but like I said, a lot of people identify different causes and workarounds/fixes only work for some people.
    A few weeks ago I looked around and everything I was finding suggested it was a video driver issue.  I was using xf86-video-ati, so I switched to xf86-video-vesa.  Things worked fine for about a day (which, for the record, is not uncommon; the problem seems to come and go, as for about a week the computer worked fine and then today I had four lockups in a row) but then it started to hang again.  It's not a video issue.  It's not a hardware issue.  It's either a Gnome/GDM issue or an Xorg issue, a combination of both, or something else that is conflicting with either of those three.
    I found this thread about X hanging whenever one presses enter.  My issue seems to match the user in this thread (with it's corresponding bug report), because sometimes it hangs when I press enter—but only sometimes.  The majority of the crashes, by my estimation, have nothing to do with whether or not I press enter.  Often I (or someone else in my house) will simply click something and everything will freeze.
    Beyond this I cannot really describe much else.  However, here is some additional info which might help diagnose the problem.
    From Xorg.0.log.old:
    Fatal server error:
    Caught signal 3 (Quit). Server aborting
    .xsession-errors doesn't seem to contain anything worth noting.
    When booting X also launches on tty2 instead of tty7.  In the first few days after the install I seem to remember it launching on tty7 initially, but it's possible that my mind is playing tricks on me and this is not the case.  If it is I do not know what accounted for the change.  /etc/inittab is identical to the file on my personal PC which runs GDM and openbox, but which is experiencing no problems whatsoever, and X opens on tty7 on it (and which is also completely up to date).  At post #13 in this thread there is a suggested edit for /etc/gdm/custom.conf, but it does nothing for me; X still opens on tty2.
    GDM is the last daemon listed in /etc/rc.conf.  I've tried loading the daemons before it backgrounded (with @) and also regularly (without), and neither makes a difference.  The freeze often occurs when logging in or switching users, but I must emphasize that for the most part the lockups are completely random.
    I am really hoping to find a fix, and the sooner the better, because 6 people regularly use this computer and constant freezes are unacceptable to my mind.  I also fear that the exact same error has been occurring on my friends' business computer which I recently updated some packages on, since I've been getting emails about the computer locking up.  Of course with that one I could simply downgrade everything I just updated, even though it'd be tedious to do so.
    Last edited by tonyisnt (2010-02-02 23:24:46)

    mgangav wrote:
    insanemal wrote:
    change to lanuching gdm from your inittab using run-level 5
    or remove agetty from tty2
    both will resolve the issue.
    Actually, how will running gdm from inittab help with this issue?
    And I didn't understand what you meant by "remove agetty from tty2"
    You know, I am pretty sure that the issue has to be with xorg. I was having this issue a lot a month ago, but then, a certain upgrade of xorg fixed the issue. I was fine for a few weeks. My computer never crashed. But, unfortunatly, a package in that same upgrade was broken and I ended up upgrading the system again a few weeks ago. xorg also upgraded at the same time. Now, my computer keeps crashing randomly and in random ways.
    I think that the best thing to do is to keep up with the xorg updates, find one that works for your system and have pacman ignore all upgrades to xorg after that.
    Actually, if anyone can tell me how to downgrade xorg to its state 3 weeks ago, it would be absolutely awesome.
    Thanks
    Because if you use runlevel 5 you dont have agetty on TTY2 so it won't try and kill xorg all the bloody time
    The problem is caused because GDM is starting so fast the XORG server it loads up checks for free VT's and finds TTY2 is empty and starts on it. THEN your inittab fires up agetty on TTY2.. which promptly causes hell to arrive in a handbag.
    You really need to be less critical of people offering you advice.. and possibly even check what they have posted in the past.. like the threads from months ago dealing with this issue. (search is great you know)

  • Please somebody help me with this

    1.1 modify the application so that:
    i) Information about any foreign key constraints for the selected table is displayed eg as
    additional labels in the table editor window, or in a separate dialog window.
    You can choose how you wish to display this information.
    ii) An Update button is added for each text field in the display, which will attempt to update the corresponding field in the database table, from the current data in the textfield. The following code will retrieve the current value from a JTextField object:
    String newValue = textfieldName.getText();
    The following code will convert the string to a number:
    int newNumber = Integer.parseInt(newValue);
    Remember, an attempt to update a row in a table may fail if eg it tries to alter a
    foreign key to a value not currently recorded for any corresponding primary key
    that the foreign key refers to.
    An attempt to set a foreign key field to 'null' should always be successful.
    If the update attempt fails, the value in the displayed text field should revert to its
    original state, to maintain consistency with the database.
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import oracle.jdbc.driver.*;
    * class JdbcCW
    * demonstration of Java client connecting to an Oracle DBMS
    * @author put your name here
    * @date December 2002
    public class JdbcCW extends JFrame{
    static String url = "jdbc:oracle:thin:@localhost:1521:orcl";
    static String initialquery = "select table_name from user_tables";
    static String nullstring = "null";
    private String user;
    private String pass;
    private Connection conn;
    private Statement stmt;
    private ResultSet results;
    private JComboBox tableChooser;
    private JButton editButton;
    private JButton exitButton;
    private JButton detailsButton;
    private JPanel panel1;
    private JPanel panel2;
    private String selectedTable;
    private Container cp;
    public static void main(String[] args) throws SQLException {
    JdbcCW demo = new JdbcCW();
    demo.show();
    * JdbcCW constructor method
    public JdbcCW() throws SQLException {
    super("Java/Oracle coursework");
    addWindowListener (new WindowAdapter() {
    public void windowClosing (WindowEvent evt) {
    System.exit(0);
    try {
    user =
    JOptionPane.showInputDialog("enter oracle username eg ops$c9999999");
    pass = JOptionPane.showInputDialog("enter oracle password eg 29feb80");
    if ( user.length() == 0 || pass.length() == 0)
    throw new Exception("no user name and/or password");
    DriverManager.registerDriver (new OracleDriver());
    conn = DriverManager.getConnection(url, user, pass);
    if (conn != null)
    System.out.println("Connected");
    catch (Exception e ) {
    e.printStackTrace();
    System.exit(0); // problems - abandon ship
    // now we can access tables in the database
    stmt = conn.createStatement();
    results = stmt.executeQuery(initialquery);
    boolean anyRecords = results.next();
    if ( ! anyRecords ) {
    JOptionPane.showMessageDialog (this, "No Tables in the database");
    System.exit(0);
    tableChooser = new JComboBox();
    do
    tableChooser.addItem(results.getString(1));
    while (results.next() ) ;
    selectedTable = (String) tableChooser.getSelectedItem();
    tableChooser.addActionListener (new ActionListener () {
    public void actionPerformed (ActionEvent evt) {
         changeTable();
    editButton = new JButton("Edit");
    editButton.addActionListener(new ActionListener () {
    public void actionPerformed(ActionEvent evt) {
         runEdit();
    exitButton = new JButton("Exit");
    exitButton.addActionListener(new ActionListener () {
    public void actionPerformed(ActionEvent evt) {
    System.exit(0);
    panel1 = new JPanel(); // panels have flow layout
    JLabel label1 = new JLabel("Choose Table");
    panel1.add(label1);
    panel1.add(tableChooser);
    panel2 = new JPanel();
    panel2.add(editButton);
    panel2.add(exitButton);
    cp = getContentPane();
    cp.add(panel1,BorderLayout.NORTH);
    cp.add(panel2,BorderLayout.SOUTH);
    setSize(300,200);
    setLocation(100,100);
    private void changeTable() {
    selectedTable = (String) tableChooser.getSelectedItem();
    * method runEdit runs a query to determine the structure of the
    * selected table in order to customise the table editor window
    private void runEdit() {
    System.out.println("Selected Table " + selectedTable);
    String query = "select column_name,data_type from user_tab_columns " +
         "where table_name = '" + selectedTable + "'";
    try {
         results = stmt.executeQuery(query);
    } catch (java.sql.SQLException e) {
         System.out.println("SQL Exception on query " + query);
         return;
    JdbcEdit tableEditor = new JdbcEdit(this,selectedTable,results);
    tableEditor.show();
    public ResultSet makeQuery(String query) {
         ResultSet results;
         try {
         results = stmt.executeQuery(query);
         } catch (SQLException e) {
         System.out.println("Query Failed " + query);
         return null;
         return results;
    } // end class JdbcGen
    * class JdbcEdit
    * oracle table editing dialog window
    * @author put your name here as well
    * @date December 2002
    class JdbcEdit extends JDialog {
    private JdbcCW parent;
    private Container cp;
    private Vector columnNames;
    private Vector dataTypes;
    private Vector editFields;
    private Vector rows;
    private int noOfColumns;
    private int currentRow = 0;
    * JdbcEdit constructor method
    * the parameter true makes the dialog window modal -
    * the parent frame is inactive as long as this window is displayed
    public JdbcEdit (JdbcCW parent, String tableName, ResultSet results) {
         super(parent,"table editor " + tableName, true);
         this.parent = parent;
    columnNames = new Vector();
    dataTypes = new Vector();
         editFields = new Vector();
         JPanel mainPanel = new JPanel();
         mainPanel.setLayout(new BoxLayout(mainPanel,BoxLayout.Y_AXIS));
    // boxLayout - components are added to mainPanel in a vertical stack
         try {
         boolean anyRecords = results.next();
         if ( ! anyRecords ) {
              JOptionPane.showMessageDialog (this, "No Detail for " +
                             tableName+ " in the database");
              return;
         do {
              String columnName = results.getString(1);
              String dataType = results.getString(2);
              System.out.println("Row " + columnName + " Type " + dataType);
              JPanel editPanel = new JPanel();
              JLabel colNameLabel = new JLabel(columnName);
              JTextField dataField = new JTextField(20);
              editPanel.add(colNameLabel);
              editPanel.add(dataField);
    // this would be a good place to add an Update button
              mainPanel.add(editPanel);
    // now store the columnName, dataType and data text field
    // in vectors so other methods can access them
    // at this point in time the text field is empty
              columnNames.add(columnName);
              dataTypes.add(dataType);
         editFields.add(dataField);
         }while (results.next() ) ;
         } catch (java.sql.SQLException e) {
         System.out.println("SQL Exception on query ");
         return;
    // get the data from the Oracle table and put the first
    // row of data in the text fields in the dialog window
         populateData(tableName);
    // find out which column(s) are part of the primary key and make these
    // textfields non-editable so the values can't be changed
    findPKConstraints(tableName);
    // this would be a good place to discover any foreign key constraints
         JPanel buttonsPanel = new JPanel();
         JButton exitButton = new JButton("Exit");
         exitButton.addActionListener(new ActionListener () {
         public void actionPerformed(ActionEvent evt) {
              closeWindow();
         JButton nextButton = new JButton("Next");
         nextButton.addActionListener(new ActionListener () {
         public void actionPerformed(ActionEvent evt) {
              showRow(true);
         JButton prevButton = new JButton("Prev");
         prevButton.addActionListener(new ActionListener () {
         public void actionPerformed(ActionEvent evt) {
              showRow(false);
         buttonsPanel.add(exitButton);
         buttonsPanel.add(nextButton);
         buttonsPanel.add(prevButton);
    cp = getContentPane();
         cp.add(mainPanel,BorderLayout.CENTER);
         cp.add(buttonsPanel,BorderLayout.SOUTH);
         pack();
    private void closeWindow() {
         dispose();
    private void populateData(String tableName) {
    int noOfColumns;
    // have to access the Statement object in the parent frame
         ResultSet tableData = parent.makeQuery("select * from " + tableName);
         try {
         boolean anyRecords = tableData.next();
         if ( ! anyRecords ) {
              JOptionPane.showMessageDialog (this, "No data in " +
                             tableName);
              return;
         rows = new Vector();
    noOfColumns = columnNames.size();
         do {
              String [] row = new String[noOfColumns];
              for (int i = 0; i < noOfColumns; i++) {        
              row[i] = tableData.getString(i+1);
              rows.add(row);
         } while (tableData.next() ) ;
         } catch (java.sql.SQLException e) {
         System.out.println("SQL Exception on query ");
         return;
    // Put the first row of data from the table into the test fields;
         String [] rowData = (String[]) rows.get(0);
         for (int i = 0; i < noOfColumns; i++) {
    // get the reference to a text field in the dialog window
    JTextField textField = (JTextField) editFields.get(i);
    // vector editFields holds a reference to each JTextField
    // in the visible dialog window
    // hence the next line of code puts the data retrieved from
    // the table into the relevant text field in the GUI interface
         textField.setText(rowData);
    // method showRow updates the textfields in the GUI interface
    // with the next row of data from the table ( if next is true)
    // or with the previous row of data from the table ( if next is false)
    private void showRow(boolean next) {
    if ( rows == null ) {
    System.out.println("table is empty");
         getToolkit().beep();
         return;
         if (next && currentRow < rows.size() - 1) {
         currentRow++;
         } else if (!next && currentRow > 0) {
         currentRow--;
         } else {
         System.out.println("No Next/Prev row " + currentRow);
         getToolkit().beep();
         return;
         String [] rowData = (String[]) rows.get(currentRow);
    int noOfAttributes = dataTypes.size();
         for (int i = 0; i < noOfAttributes; i++) {
         JTextField textField = (JTextField) editFields.get(i);
         textField.setText(rowData[i]);
    private void findPKConstraints(String tableName){
         String PK_ConstraintName = "none";
         String pkquery =
    "select owner,constraint_name from user_constraints " +
         "where table_name = '" + tableName + "' and constraint_type = 'P'";
    // have to access the Statement object in the parent frame
         ResultSet results = parent.makeQuery(pkquery);
         try {
         boolean anyRecords = results.next();
         if ( ! anyRecords ) {
              // if none just return - but print a debug message
              System.out.println("No primary key constraint found");
              return;
         } else {
              // There should only be one
              System.out.println("Owner = " + results.getString(1) +
                        " name = " + results.getString(2));
              PK_ConstraintName = results.getString(2);
              // Now find out which columns
              pkquery =
    "select Column_name, position from user_cons_columns"
              + " where constraint_name = '" + PK_ConstraintName
              + "'";
    // have to access the Statement object in the parent frame
              results = parent.makeQuery(pkquery);
              anyRecords = results.next();
              if ( ! anyRecords ) {
              // if none just return - but there must be at least one
              System.out.println("no columns found");
              return;
              } else {
              do {
                   System.out.println
    ("Name " + results.getString(1) +
                   " position " + results.getString(2))
                   int position = Integer.parseInt(results.getString(2));
                   JTextField primarykey =
    (JTextField)editFields.get(position - 1);
                   primarykey.setEditable(false);
              } while (results.next());
         } catch (java.sql.SQLException e) {
         System.out.println("SQL Exception on query " + pkquery);
         return;

    You're pretty optimistic if you think anyone is going to answer that. There are three very good reasons not to (each is good enough by themselves!).
    1. IT'S YOUR HOMEWORK, IT DOESN'T EVEN LOOK AS THOUGH YOU'VE TRIED. WE HELP WITH PROBLEMS, NOT PROVIDE SOLUTIONS, ESPECIALLY FOR HOMEWORK.
    2. Format your code. Use [ code] and [ /code] (without the spaces). And if you've used 'i' as an index variable, [ i] will result in switching to italics mode. Use 'j' as your index variable.
    3. Don't post your whole program, only the parts you're having trouble with (mostly not relevant for this question, as you don't seem to have trouble with any particular area)

  • Please somebody help!

    lately within tha past two days....my computer shuts down on it"s own for no apparent reason....usually while i am watching Netflix or Sling TV......it will only stay on for less than 15 min each time i reboot......i have restored to previous points...several times, ran scans, installed updates, re-installed these programs...thought my computer was overheating and shutting itself down.....but it"s not even staying on long enough to get warm......and my home is air conditioned.  can someone out there help me?  

    Hello , Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More. I understand that your desktop computer is automatically powering down, and I would be happy to help you! To correct this issue, I recommend following the steps in this document on Troubleshooting an Overheating and Auto Shutdown Issue. This should help prevent your system from automatically powering off. If the issue continues, please contact our technical support for further assistance in this matter by clicking the link below to get the support number for your region.
    www.hp.com/contacthp/
    I hope this helps!
    Regards

  • I get sick of my sequence, please somebody help me !

    Hi,
    I have made a form which you can use to insert a new employee.
    I also have made a sequence for employee ID. It starts from 1 to
    999999.
    If I call my form for the first time to insert an employee the
    value of my sequence is 1, of course.
    But If I don't want to insert that employee right now. I close
    my form. And next time I call my form again the value of my
    sequence is 2 now !.
    I don't have insert any employee at the mean time.
    I want to increase the value of that sequence if I have add a
    new employee.
    Does anyone know to arrange that ?
    Thanks in advance !
    Chu

    Hi
    The drawback of using a sequence is that it doesn't care what
    you are doing with the number provided. Once the sequence has
    issued a new number, it forgets about it.
    Why were sequences invented?
    Without sequences, you have to provide your own table with a row
    holding the last used number. To update, you have to lock the
    table. The problem arises if you have a big number of users
    doing the same task (like entering orders) - everybody is trying
    to lock that single row asking for a new number - now the row is
    becoming a 'hot spot', degrading the system performance to a
    crawl.
    Here sequences become handy: Since sequences don't have to lock
    a single row, it's not degrading performance but still providing
    a distinctive number. But you cannot give back a issued number.
    Question: Does the emp-id really has to be an 'unbroken' line of
    numbers? One point of chosing a number for a primary key is that
    the number itself doesn't have a meaning in itself, so in
    general, missing numbers are not a concern. In another situation
    (like line-items in an order) however, missing numbers cannot be
    tolerated.
    In general, for an unbroken line of emp-ids, you have to build
    it yourself. I know how to do it with Oracle Forms but not how
    to do it with Portal Forms, I'm affraid. Maybe somebody else can
    provide this....
    Hope that helps
    Tino

Maybe you are looking for

  • Calling same form multiple times

    Hi, i need to call a single form with different table names as parameters depending on conditions. for eg here is the approach if flag1_is_set   call form1 multiple times with table1, table2....... as parameters "and i can avoid this "  form 1 using

  • Raise Part Invoice against Delivery

    Hi Is it possible to generate part invoice against a single delivery ? The scenario is like this. I made a delivery of 10 pcs of item x Now as per the billing terms, I would like to raise invoice of 50% of it 25% later 25% at last how can I do this ?

  • Doubt On Fm FI_OPT_ARCHIVE_CORRESPONDENCE on Additional correspondence types

    I had copied the function module FI_OPT_ARCHIVE_CORRESPONDENCE to a custom function module and that is placed in the BTE  2310  and this function module has contains the correspondence types SAP01 (payment notificiation) and SAP08 (account statement)

  • I am having trouble with my hotmail connection.

    I have notice that I have to refresh each time I want to see emails on firefox, this doesn't happen in IE. Also, photos attached to emails never open in the email, have to be downloaded to hard drive. Thirdly. The file tabs do not let me know I have

  • Specific Row disabling in a matrix

    Is there away to disable only specific row in a matrix depending on a value? If so If you could provide a sample in VB or VB.net I would greatly appreciate it. Thank You Stephen Sjostrom