Listener response.

Hi all experts,
Our environment is 11gR2 in windows. I am getting this followig errors through grid control.
Host=xxxx.xxxx..com
Target type=Listener
Target name=LISTENER_SCANx_xxxxxx-scan
Message=Listener response to a TNS ping is 28,580 msecs
Severity=Critical
Event reported time=Sep 30, 2013 10.00:03 AM EDT
Operating System=Windows
Platform=x64
Associated Incident Id=102525
Associated Incident Status=New
Associated Incident Owner=
Associated Incident Acknowledged By Owner=No
Associated Incident Priority=None
Associated Incident Escalation Level=0
Event Type=Metric Alert
Event name=Response:tnsPing
Metric Group=Response
Metric=Response Time (msec)
Metric value=28580
Key Value=
Rule Name=xxx - Metric Alert,Fatal_Critical
Rule Owner=SYSMAN
Update Details:
Listener response to a TNS ping is 28,580 msecs
Incident created by rule (Name = Incident management Ruleset for all targets, Incident creation Rule for metric alerts.; Owner

OS is responsible for any and all network packet exchanges.
Oracle is the victim; not the culprit.
windows are rectangular openings in walls & typically containing glass so not sure what these have to do with Oracle listener response

Similar Messages

  • Listener response to a TNS ping is 2,010 msecs

    Host=hostname
    Target type=Listener
    Target name=[ https://0058-WIN-S51.cis.ccsd.net:7800/em/redirect?pageType=TARGET_HOMEPAGE&targetName=LISTENER_SCAN1&targetType=oracle_listener ]LISTENER_SCAN1_ora-sx-rac
    Message=]Listener response to a TNS ping is 2,010 msecs
    Severity=Critical
    Oem 12c keeps give this alert all day.
    4 node RAC 11.2.3.0.5 version
    solaris OS.
    why it's causing tnsping 2010????

    From the Metric Reference Manual
    http://docs.oracle.com/cd/E24628_01/em.121/e25160/oracle_listener.htm#CCHCCDHJ
    Response Time (msec)
    This metric represents the time (in milliseconds) that it takes for the Listener to respond to a network request (ping).
    By default, this metric has a critical threshold of 100 and a warning threshold of 80. A critical alert is generated when the metric value exceeds the critical threshold value 1 time. A warning alert is generated when the metric value exceeds the warning threshold value 1 time. You can edit the value for a threshold as required.
    By default, Enterprise Manager tests the value of this metric every 24 hours.
    When an alert is generated, the alert text is:
    Listener response to a TNS ping is %value% msecs
    Data Source
    The value of this metric is derived using the TNSPING command.
    2010 ms is abnormally high. May be there is some issue wiith your netowrk.

  • Listener response to a TNS ping is 144140 msecs

    Hi Gurus,
    I am using Oracle 10gR2 on Windows2003 64 Bit. Some times i am getting " Listener response to a TNS ping is 144140 msecs " alert from database control windows. At the time of error users are not able to access the database but after sometimes it automatically gets cleared.
    This is happening very frequently and production users are facing problem. Can somebody help me in getting the resolution for this.
    Thanks
    Vivek

    Compare "tnsping" timings with "ping" timings. Collect samples at frequent intervals and see if you can discern a pattern -- for example, is it a network timeout or a firewall timeout after N minutes or is at a certain times of the day.
    Hemant K Chitale

  • Listener response to a TNS ping

    We are receiving an EM Alert quite frequently with the following info
    Severity=Critical
    Message=Listener response to a TNS ping is 330 msecs
    Rule Name=Listerner Status
    The listener is working fine but we keep getting this alert, any suggestions or comments of why it is happening or how to stop it?
    thanks
    sha

    You're getting it becuase the response time is 330msecs!!
    If you feel you should not be alerted for this, just edit the metric accordingly and put a higher value in for the critical state.
    Not difficult

  • Listener response to a TNS ping is 200 msecs

    I am getting this aletr in Ent. mgr
    Listener response to a TNS ping is 200 msecs
    What is this and how to bring it down
    Chaand Kackria

    possibly you (or em) did reload the listener to read the configuration file. In that moment, the tnsping can take up to a few seconds
    HTH
    Laurent Schneider
    OCM DBA

  • Listener response to a TNS ping is 220 msecs

    Hi,
    i'm getting this alert when i try to connect Oracle10g database.
    thanks

    I’m using Windows Advanced Server 2000 operating system. This server is in domain network. I have installed oracle10g database 10.1.0.2.0 and oracle10g developer suite on same server in different homes
    When I try to connect oracle from Oracle10g database home there is a no problem but from oracle10g developer suite home it’s takes long time to connect database around 1 min.
    I tried both ip address and name but result is same.
    There is no LDAP server and CITRIX involved.
    ===Developer Suite TNSNAMES.ORA file
    # tnsnames.ora Network Configuration File: E:\DevSuiteHome\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle.Sunflag-tz)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sununga)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle.Sunflag-tz)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    ===Oracle Database TNSNAMES.ORA file
    # tnsnames.ora Network Configuration File: F:\oracle\product\10.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    oracle =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle.Sunflag-tz)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sununga)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Both are on same server so there is no point to check network ping and trace route.
    Please help me on this issue.
    Thanks

  • Trouble starting listener

    Hi.
    AIX 5.2 / 9i.
    I can connect to our DEV instance if I go to the server itself, no problem.
    If I try with SQL*Plus then I get the old "no listner" response.
    If I try "lsnrctl status" on the server I get:
    oradbdev@TEST:lsnrctl status
    LSNRCTL for IBM/AIX RISC System/6000: Version 9.2.0.5.0 - Production on 25-SEP-2
    008 12:31:47
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    IBM/AIX RISC System/6000 Error: 79: Connection refused
    If I try to lsnrctl start this is returned:
    oradbdev@TEST:lsnrctl start
    LSNRCTL for IBM/AIX RISC System/6000: Version 9.2.0.5.0 - Production on 25-SEP-2
    008 12:32:31
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Starting /oradbi2/oracle/testdb/9.2.0/bin/tnslsnr: please wait...
    TNSLSNR for IBM/AIX RISC System/6000: Version 9.2.0.5.0 - Production
    NL-00280: error creating log stream /oradbi2/oracle/testdb/9.2.0/network/log/lis
    tener.log
    NL-00278: cannot open log file
    SNL-00016: snlfohd: error opening file
    IBM/AIX RISC System/6000 Error: 13: Permission denied
    Listener failed to start. See the error message(s) above...
    The line in bold worries me. I have just cloned this DEV instance from TEST, and the /oradbi2/oracle path is the TEST instance not the DEV.
    I have run adcfgclone almost to the end but it terminated with a connection failure.
    I have been discusing this with Metalink but for the last 3 hours I have heard nothing from them. So I thought I would give you unpaid experts a shot.
    Thanks for any advice in advance.

    No - that apps listener issue is (on advise of ML) to be left until we complete the cloning.
    You are right - there is an issue with permissions, but then I expect there would be because the listener on oradbi2 is owned by a different user since its on another instance (TEST).
    The problem is that the DEV user is still looking at TEST (we cloned from TEST).
    Perhaps this is because the adcfgclone script did not finish 100%.
    I dont know which .env file I might take a look at to ensure that DEV points to oradbi3 and not oradbi2.
    Actually, I just did a reload and now when I try Status it is pointing to the right destination (oradbi3)
    Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for IBM/AIX RISC System/6000: Version 9.2.0.5.
    0 - Production
    Start Date 25-SEP-2008 13:16:33
    Uptime 0 days 0 hr. 0 min. 2 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File /oradbi3/oracle/devdb/9.2.0/network/admin/DEV_doraldb/
    listener.ora
    Listener Log File /oradbi3/oracle/devdb/9.2.0/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=doraldb.doral.com)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    It claims to be set to port 1521, yet when I go to the listner.ora file itself, it is listening on port 1525, which is what I set it to in the adcfgclone.pl stage.
    Still cannot make sql connections - I have tried changing the port number in my own tnsnames.ora to both 1525 and / or 1521 and still the old "no listener" response.
    Edited by: Dan A on Sep 25, 2008 1:14 PM

  • The FormsListener response time is unacceptable

    We are getting this critical message on Response time metrics under all metrics on FORMS screen on Oracle Enterprise Grid Control.
    Message:
    The FormsListener response time is unacceptable.
    On one of the server we are getting this message at every 2 minutes followed by a message saying 'CLEARED-The FormsListener response time is unacceptable'.
    We are using Oracel Application server 10g (9.0.4) on Windows 2003
    Did any one got this message?
    I tried to search on metalink and on google but did not fine anything helpful.
    Any help would be appreciated.
    Thanks,
    Mukesh

    Hi,
    you my want to check your network latency which plays into teh Listener response time
    Frank

  • Oracle Enterprise Manager TNSPING Metric

    Hi All,
    I wonder tns ping metric on OEM is actually representing data for TNSPING to database server from which server?
    I'm not really mastering this topic, really appreciate your answer.
    Thanks.
    Regards,
    Jolly

    The listener "Response" metric evaluates "tnsPing" and "Status".  These metrics are evaluated by the agent, and it does this by running the script lsnrresp.pl which is located in:
    <install location of agent>/plugins/oracle.sysman.db.agent.plugin_<latest plugin version>/scripts
    eg. on my machine this is /oracle/12cagent/plugins/oracle.sysman.db.agent.plugin_12.1.0.2.0/scripts
    ie. so  lsnrresp.pl is run on the machine where the agent/database/listener resides.
    Although it's running on the local machine it is still making a tcp/ip connection  (ie. it's doing the equivalent of:-
    tnsping "(ADDRESS=(PROTOCOL=TCP)(HOST=machine1.oracle.com)(PORT=1522))"
    You can manually run this same tnsping command yourself from a database home of a remote machine (the machine where you're having difficulties from) and compare the difference.
    Make sure that you use the same hostname and port when you run the tnsping command manually as EM is using.  You can find out which host and port EM is using by either checking:-
    a) the targets.xml (from the machine where the listener is located) -
    eg.
    <Target TYPE="oracle_listener" NAME="LISTENER11203_machine1.uk.oracle.
    com" DISPLAY_NAME="LISTENER11203_machine1.uk.oracle.com" ON_HOST="" EMD_URL="h
    ttps://machine1.uk.oracle.com:3872/emd/main/" TIMEZONE_REGION="" IDENTIFIER="T
    ARGET_GUID=881E917E1CE1D3BECC361599ACDAEEEB">
                    <Property NAME="Machine" VALUE="machine1.uk.oracle.com"/>
                    <Property NAME="Port" VALUE="1522"/>
                    <Property NAME="LsnrName" VALUE="LISTENER11203"/>
                    <Property NAME="ListenerOraDir" VALUE="/oracle/orabase/11203rdbms
    /network/admin"/>
    or
    b) go to Enterprise Manager, go to targets/all targets.  Select your listener, click on it (will take you to the listener home page).
    Then once on the listener home page, go to 'oracle listener' (drop down menu), pick "target setup"/"Monitoring Configuration"
    It would be interesting to run the tnsping command manually from the problem machine (if you have a database home on that machine) and also to just do a 'general' ping from the problem machine to the database machine, and then do the same tnsping and ping command from the database machine itself and compare the difference.  It might also be useful to repeat this on both machines but using  ipaddress and see if you see any difference in the response time.  Also check that the hostname is resolving in the same way (eg. same dns etc.).  And to check whether any firewalls are involved.
    HTH
    Mani

  • Oracle HTTP Server and mod_plsql

    Hi there,
    I have a problem using HTML DB on a small network. LAN consists of two computers with Windows XP Professional, Service Pack 1. Server has two NIC. One connected to the local internet provider (PPPoE) with TCP/IP set to "Obtain an IP address automatically" and second network adapter (for the LAN) with TCP/IP address 192.168.0.2. Second computer has NIC with IP 192.168.0.3. The server is set with HTML DB 2.0. There is NO ANY problem if I work on it as stand alone computer - second network adapter disable!
    The problem arises if I connect the second computer and then start HTML DB by http://localhost:7777/…"503 the service is temporary unavailable", emagent is down, DBconsole service is not active anymore, etc. Apache or Oracle HTTP Server is up.
    I have found, after several days of troubleshooting, that the problem might be in httpd.config file. If somebody have experience in similar networks or Oracle HTTP Server settings please, give me advice or send httpd.conf file as an example.
    Please help me!
    Konstantin

    Hi,
    If I disable the network adapters and restart the computer, then connect to the HTML DB or my application, everything is OK. Then enable connection and I can work from both computers!
    This is listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = KONCOMP)(PORT = 1521))
    This is tnsnames.ora
    KONSTA10 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = koncomp)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = KONSTA10)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    The dad.conf is empty because I am using marvel.conf. I just checked the rules to build such file. Listener uses as host name - computer name (in my case koncomp), but in all config files Oracle HTTP Server uses name localhost or 127.0.0.1. That is the reason for SYSMAN to make too separate folders in Oracle home named LOCALHOST_instancename and hostname_instanceename.
    One error from emagent.log
    It goes down all the times when the problem arises.
    2005-12-05 15:11:58 Thread-1996 ParseError: File=stream, Line=4, Msg=Missing value for ARG in RemoteOperationArgument (01006)
    An error from sqlnet.log
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=koncomp)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=KONSTA10)(CID=(PROGRAM=C:\oracle\product\10.2.0\db_1\jdk\jre\bin\java.exe)(HOST=KONCOMP)(USER=Konsta))))
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 08-&#1044;&#1045;&#1050;. -2005 20:31:09
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener
    nt secondary err code: 61
    nt OS err code: 0
    Moreover in listener.log LISTENER is tried to connect to 127.0.0.1 and to 192.168.1.2 which is the second network adapter.
    From Database Control, then Management Services and Repository, and Agent there are one agent and 4 targets. I found there several Metric erros.
    Agent to Agent (Agent Process Statistics)
    em_result=3696|0.00|14204|20384|1.94||751|12|14204|20384 Terminating on signal SIGTERM(15)
    Agent to Database Instance (SQL Response Time, Streams Capture Queue Statistics, SGA Pool Wastage, etc.)
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor,
    ORA-12545: Connect failed because target host or object does not exist,
    em_error=Could not connect to dbsnmp/(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(Port=1521))(CONNECT_DATA=(SID=Konsta10))) : ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach),
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    Agent to Listener (Response)
    Terminating on signal SIGTERM(15)
    Policy Violations found
    Oracle recommends that you close all unnecessarily open ports, especially on internet-facing hosts

  • How to clear non-stateless incident ?

    Any option I may clear those incidents 'not' stateless incident or purging policy I may use for 'OPEN' incident ?
    For example, I would like to clear the incident already marked 'resolved' like
    '/u01 available space less than 7%'.
    ' listener response to TNS ping is xxxxxxx msecs'
    Everyday when I examine the incident manager, no matter the incident resolved or new, I found those incidents are remained 'open' and seems not purging automatically.

    For a "stateful" incident - the system has to report a clear before we can clear the incident.
    In your case, you can create a custom view which includes all open states other than "Resolved" and then use that on a daily basis to track your open and unresolved incidents.
    Please check out:
    http://docs.oracle.com/cd/E24628_01/doc.121/e24473/incident_mgmt.htm#autoId35

  • OAS 4 for Linux?

    Hi
    Does anyone know if OAS4 is going to be released for
    Linux in a reasonable amout of time? WAS3 is surely
    a good start, but the limitation for JDK 1.0.2 in the
    java cartridge is a heavy one...
    Sam Jordan
    null

    I see many people complaining about OWAS Performance.
    I don't know the exact reason but my OWAS installation is
    really faster than an NT BOX (at least the PL/SQL Cartridge).
    I'm connecting to Oracle8.0.4 EE on RS/6000 with AIX 4.3.
    It's just perfect.
    Probably some stupid problem with libraries...
    Cheers,
    Michael Daskaloff
    P.S. To development team:
    Thanks for the good job, and keep working on the Enterprise
    Edition.
    Yeah!
    Michael H. Thomas (guest) wrote:
    : Hi,
    : >>Jim (guest) wrote:
    : >>: You got that right. That is why I wrote all of my stuff
    in
    : >>: PL/SQL.
    : (Note: Too bad if you did this for OWAS 3.0.2 for LINUX).
    : When running PL/SQL code using OWAS 3.0.2 for LINUX there
    : is a lag of up to 10 seconds in the listener response to the
    : browser client. If you doubt this, please demonstrate your
    : performance experiences with OWAS 3.0.2 on LINUX, and I'll
    : post my test cases showing the lag.
    : Oracle has (to my knowledge, in my opinion) never
    'acknowledged'
    : a performance lag issue with OWAS 3.0.2 as either a bug, or
    : even a performance problem. But, hopefully they are working
    : on this issue and will post a patch like they did for the
    : 8.0.5 LINUX database:
    : ftp://oracle-
    : ftp.oracle.com/server/patch_sets/LINUX/80patchsets/80510/
    : Therefore, in addition to the Java concerns, we would like
    : to see upgrade to OAS 4.0.7 for LINUX just for our PL/SQL
    : cartridge code.
    : Regards,
    : Mike Thomas
    null

  • Tip: Stopping listener in response to a Message

    I wanted to control a standalone server using JMS messages. For instance, tell it to suspend processing or shut down.
    But you can't call Connection.stop() from within a MessageListener - it throws an IllegalStateException. So I found a little trick that got me over - do it from a different Thread.
    public class ServerMessageListener implements MessageListener
        static ServerToolkit toolkit = new ServerToolkit();
        public void onMessage( final Message inMsg )
            try  {
                ServerCommand cmd = ServerFactory.makeCommand( inMsg );
                if( cmd != null )  {
                    if( cmd.getType() == SUSPEND_CMD :  {
    // TODO browse broker to purge any other Suspend messages 
                        toolkit.console("  ML received Suspend message.  Stopping connection.");
                        new Thread() {
                            @Override
                            public void run() {
                                try {
    //                                      sleep(50);
                                    toolkit.getConnection().stop();
                                catch( Exception ex ) {}
                        }.start();
          catch( Exception ex ) { ex.printStackTrace(); }
          finally  {
              try {  inMsg.acknowledge();  }
              catch( JMSException ex ) {  ex.printStackTrace();  }
    }Now I have to figure out a way to get it to resume...

    Hi,
    I don't think you'll be able to achieve this natively in Lync. The only thing that comes to mind is to define a custom presence state that you could have Tier 1 Help Desk change to in the event of this happening. This would only be a proactive measure though,
    and not reactive in providing an auto response.
    Looks like you'd either need to jump in and create something leveraging the Lync API's yourself, or see if there's an auto-responder / bot plugin out there already that can do this for you.
    I'm not familiar with any myself, but top of a quick google-fu moment pulled up
    http://lyncauto.blogspot.co.uk/
    I must stress I've never used this, but its this type of app that might offer you the functionality you're after. I'm sure others here might be able to recommend something that's proven.
    Kind regards
    Ben
    Note: If you find a post informative, please mark it so using the arrow to the left. If it answers a question you've asked, please mark the thread as answered to aid others when they're looking for solutions to similar problems or queries.

  • Why JSlider event listener no response?

    Thanks,
    hi, the JSlider does exist, but when it slides, data is unchanged.
    Please help.
    import java.io.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.Hashtable;
    import java.awt.event.*;
    import javax.swing.event.*;
    // import AppletAndApplicationExample.AppQuitter;
    public class Combox extends JApplet
        private LayoutManager Layout;
        private Container Panel;
        private Drawing drawing;
      ..    private String energyId[];
        private int numberofCells;
        private int numberofsets;
        private int id; //PlotEnergyId
        private double lineWidth;
        private int min = 1, max = 16, inc = 5;
        double scale = 1.0;
        private String currentPattern;
        private JSlider dJSlider;
          public void init() {
             Layout = new BorderLayout ();
             getDrawingData();                               
                    dJSlider = new JSlider(min, max, 6);
                    drawing = new Drawing();
            Panel = getContentPane();
            Panel.setLayout (Layout);
            Panel.add (drawing, "Center");
            JPanel sliderPanel = new JPanel();
            sliderPanel.setLayout(new BoxLayout(sliderPanel,
                                   BoxLayout.PAGE_AXIS));
                            dJSlider.setAlignmentX(Component.LEFT_ALIGNMENT);
            sliderPanel.add(dJSlider);
            dJSlider.setMajorTickSpacing(5);
            dJSlider.setMinorTickSpacing(1);
            dJSlider.setSnapToTicks(true);
            dJSlider.setLabelTable(getLabelTable(min, max, inc));
            dJSlider.setPaintTicks(true);
            dJSlider.setPaintLabels(true);
            dJSlider.addChangeListener(
                    new ChangeListener() // anonymous inner class
                    // handle change in slider value
                        public void stateChanged(ChangeEvent e)
                           int value = ((JSlider)e.getSource()).getValue();
                           scale = (value+4)/10.0;
                        Panel.add(sliderPanel,BorderLayout.NORTH); // ADD Slider
                        scaleData(); // use JSlider to obtain new data
                        System.out.println(scale);// found unchaged data,scale =1,why???
         private Hashtable getLabelTable(int min, int max, int inc) {
            Hashtable<Integer, JLabel> table = new Hashtable<Integer, JLabel>();
            for(int j = min; j <= max; j+=inc) {
                String s = String.format("%.1f", (j+4)/10.0);
                table.put(Integer.valueOf(j), new JLabel(s));
            return table;
        public void getDrawingData()
        public void scaleData()
            for(int i = 0; i < numberofCells; i++)
                  for(int j = 0; j<cellsPointsNumber; j++)
    xCells[i][j] = (xCells[i][j])*scale+TRANSITION;
    yCells[i][j] = (yCells[i][j])*scale+TRANSITION;
    public static void main(String[] args) {
    /* Set up the frame that holds the applet. */
    JFrame appletFrame = new JFrame("My Applet");
    Applet theApplet = new Combox();
    appletFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    appletFrame.setSize(800,800);
    appletFrame.add(theApplet, "Center"); // applet fills
    // frame
    /* Now start invoking applet methods. */
    theApplet.init();
    // applet
    appletFrame.show(); // bring frame and initialized
    // applet on screen
    theApplet.start();
    theApplet.stop();
    theApplet.destroy();
    } // end class 

    System.out.println(scale);// [b]found unchaged data,scale =1,why???[/b]scale is 1 because you set it to 1.0 initially and you never changed it. Notice that this line is executed just once in the init() method. It is not part of the change listener.

  • Trying to download and keep getting message saying my Apple ID has been disabled but I can log into store, etc... I went to the support site buit no help. I emailed but said would take 2-4 days for response. I just wanna listen to my music!!

    Trying to download my music on a new PC. I've authorized PC and can log into store, etc.. But won't let me download. Says Apple ID disabled. No help on support site. I emailed but will take 2-4 days for response.

    We are all itunes users just like you
    You are not addressing Apple here at all
    You need to contact itunes support:
    http://www.apple.com/support/contact/

Maybe you are looking for

  • Connecting MacBook Pro to external monitor

    I want to connect my late 2011 MacBook Pro (Thunderbolt port) running OS X Ver 10.9.1 to an external monitor.  Am considering the HP ZR2740W 27 in LED IPS monitor.  Any issues or experience in community to do this?  Will I need a special cable? Any o

  • Layers in Aperture 3

    Can anyone please confirm that Aperature 3 does not support layers? I downloaded the trial and searched through lots of documentation and forum posts, but I would like to make sure before I decide against purchasing Aperature. I am new to DSLR photog

  • New macbook pro without Leapard

    Hi all, wondering if anyone else bought a macbok/pro after the release date for leopard but only had 10.4 installed? I bought mine today (6th november) and held out specifically to make sure I was getting leopard installed. The apple store assistant

  • Package language?

    Is the installation DVD for iWorks still multilangual? I assume that the language indicated on the package refers only to the printed manual. Are the PDF's in various languges still on the DVD? Regards Rianer

  • HT201304 Is there any way to put time limits or "curfews" etc like on my iMac?

    I'm learning about parental controls as I go along.  I have an iMac and am able to programs time limits on weekdays and weekends, as well as lockout times so that my child cannot use the computer in the middle of the night.  Does iOS have this as wel