Listener GPS problem

Hi people,

In collaboration with 4.2.1 on the 8800 Simulator.  My application is currently composed of two separate applications, app UI to obtain/view the information and a 'replication' application that communicates with our backend. I want to be able to include location on request of the user data (in the application user interface) and once it is updated, have replication app send it to the server. I have this work especially to my satisfaction, but the following problem: when I close the application user interface, any incomplete GPS please never finished. It seems that my LocationListener is not registered, or maybe the listener Thread is killed the closure of the part of the user interface. I don't expect that the instance is stored in the runtimestore and the object that is saved as the listener is always valid. Here's how I set it up:

App of the user interface, the following is performed from a menu, click:

            GPSUpdater gps = GPSUpdaterFactory.getGPSUpdater();            gps.getGPSData(row, GPSUpdater.CHECK_IN);

Replication App: (cut a lot of independent code)

class ReplicationManagerImpl implements LocationListener{    private GPSUpdater mGPSUpdater;

    ReplicationManagerImpl()    {        mGPSUpdater = GPSUpdaterFactory.getGPSUpdater();        mGPSUpdater.setListener(this);    }

    public void locationUpdated(LocationProvider provider, Location location)    {        mGPSUpdater.newLocationReceived(location);    }

    public void providerStateChanged(LocationProvider provider, int newState)    {        //Not worried about this    }}

GPSUpdater:

public class GPSUpdater{    private Vector mUpdates;    private LocationProvider mProvider;    private Location mLocation;    private LocationListener mListener;    private Boolean isAcquiring;    private int mCounter;

    private static final int MAX_RETRIES = 10;    public static final int CHECK_IN = 0;    public static final int CONFIRM = 1;

    private static class UpdateData    {        private DataRow suRow;        private int updateType;        private long timeStamp;    }

    GPSUpdater()    {        Criteria criteria = new Criteria();        criteria.setHorizontalAccuracy(50);        criteria.setVerticalAccuracy(50);        criteria.setCostAllowed(false);        try        {            mProvider = LocationProvider.getInstance(criteria);            if (mProvider.getState() == LocationProvider.OUT_OF_SERVICE)            {                SubsystemLog.log("GPS actions not supported", EventLogger.ALWAYS_LOG);            }        }        catch (LocationException lEx)        {            SubsystemLog.log("Error creating LocationProvider in GPSUpdater: " + lEx.getMessage(), EventLogger.ERROR);        }        mUpdates = new Vector();        mLocation = null;        isAcquiring = Boolean.FALSE;        mCounter = 0;    }

    public void setListener(LocationListener listener)    {        mListener = listener;    }

    public void getGPSData(DataRow row, int updateType)    {        long timestamp = System.currentTimeMillis();        if (((mLocation != null) && (mLocation.isValid()) && (mLocation.getTimestamp() > timestamp - 60000)) || (mProvider == null) || (mProvider.getState() == LocationProvider.OUT_OF_SERVICE))        {            UpdateRow(row, updateType, timestamp);        }        else        {            UpdateData update = new UpdateData();            update.row = row;            update.updateType = updateType;            update.timeStamp = timestamp;

            synchronized(mUpdates)            {                mUpdates.addElement(update);            }

            synchronized(isAcquiring)            {                if (!isAcquiring.booleanValue())                {                    mProvider.setLocationListener(mListener, 5, 5, -1);                    isAcquiring = Boolean.TRUE;                }            }        }    }

    public void newLocationReceived(Location location)    {        if ((location == null) || (!location.isValid()) && (mCounter < MAX_RETRIES))        {            mCounter++;            return;        }

        mCounter = 0;        mLocation = location;        SubsystemLog.log("Acquired co-ordinates: " + Double.toString(location.getQualifiedCoordinates().getLatitude()) + "," + Double.toString(location.getQualifiedCoordinates().getLongitude()), EventLogger.DEBUG_INFO);

        Database db = DataSystemFactory.getDataSystem().openDatabase(DBSchema.NAME);        Object syncObject = db.getSyncObject();

        synchronized(syncObject)        {            while (mUpdates.size() > 0)            {                UpdateData update = (UpdateData)mUpdates.elementAt(0);                UpdateRow(update.row, update.updateType, update.timeStamp);                mUpdates.removeElement(update);            }        }        db.commitAndNotify();

        synchronized(isAcquiring)        {            provider.setLocationListener(null, -1, -1, -1);            isAcquiring = Boolean.FALSE;        }    }

    private void UpdateRow(DataRow suRow, int updateType, long timeStamp)    {        //wrapper class to allow persisting double values        DBDouble latitude = new DBDouble();        DBDouble longitude = new DBDouble();

        if (mLocation != null && mLocation.isValid())        {            latitude.setDouble(mLocation.getQualifiedCoordinates().getLatitude());            longitude.setDouble(mLocation.getQualifiedCoordinates().getLongitude());        }        else        {            latitude.setDouble(0.0);            longitude.setDouble(0.0);        }

        //store data here    }

}

GPSUpdaterFactory:

public abstract class GPSUpdaterFactory {    private static final long ID = ;

    public static final GPSUpdater getGPSUpdater()    {        Object o;        GPSUpdater gpsUpdater = null;        RuntimeStore runtimeStore = RuntimeStore.getRuntimeStore();        synchronized (runtimeStore)        {            o = runtimeStore.get(ID);            if (o != null)            {                if (o instanceof GPSUpdater)                {                    gpsUpdater = (GPSUpdater)o;                }            }            if (gpsUpdater == null)            {                gpsUpdater = new GPSUpdater();                runtimeStore.put(ID, gpsUpdater);            }        }        return gpsUpdater;            }}

Any suggestions are greatly appreciated.

Thank you

Mike

Notice that the menu close item also called System.exit.

In this case the application would stop receiving updates following the call of output.  To work around this problem, you can call Application.requestBackground.  This moves the application in the background, where it can continue to operate.  Once you have your final fix application can call System.exit to close itself.

Tags: BlackBerry Developers

Similar Questions

  • iPhone GPS problem 6

    I have a problem with the GPS. When I opened maps it does not on me. My location is far.  When I shake the phone and then zooms in on me and takes my position. After awhile, it will zoom out and will not record my exact position until I shake it up again. When I shake it off the phone I hear something of the vibrations in the upper part of the phone. Any ideas what this could be and how to fix it?

    Because you hear something rattling, it is time to take the iPhone to an Apple Retail Store or Apple authorized Service Center for an evaluation and advice how to proceed.

  • iPhone iOS 9.2.1 6s GPS problem

    I recently bought an iPhone 6s have iOS installed 9.2.1.  I am unable to navigate while using Google Maps or Apple maps while driving - the app will have my way vehicle on the side of the road, and it updates my position much more slow that my vehicle is in motion (and usually inaccurately).

    I am in the United States (Honolulu, Hawaii), and while I heard that European users have had problems with their networks with precision positioning with LTE on network operators, I have not seen elsewhere in the United States.

    I spoke with the Apple Support and visited the Genius Bar at the local Apple Store - in the end I have reset my phone as a new phone (manually reload my apps, vice restore them from a backup to iCloud).  However, the problem with GPS, and nothing has changed.

    I am convinced it is a hardware problem and should have a new phone calls, but if anyone has any suggestions or ways they addressed similar questions, I would be grateful.

    I have this same problem, although I have an iPhone 6.  If I recall, this problem appeared some time with iOS 9.1.  I'm running iOS 9.2, I did not update to 9.2.1 yet.  I also have problems with WIFI connectivity as well.

  • IOS 9.2 GPS problems

    iPhone 5 s

    iOS 9.2

    Error of GPS tracking

    As soon as I upgraded to ios 9.2 last week, I noticed that all my Apps of the map had trouble pointing to my exact GPS location, either Waze, Google Maps, or even the default Apple's maps. I can't find a solution to this.

    I can't even to downgrade to ios 9.1.

    I use cards daily! So that I can as soon as possible a solution to this problem.

    Thanks the Apple community.

    Hello

    Try a reboot press & button hold & menu button hold both down until you see the apple logo.

    Merry Christmas

    Brian

  • Yoga 10 wifi and GPS problem

    Hello community,

    I plug a few days ago a YOGA-10 Tablet (data system below).

    I am facing two problems:

    (a) my wireless is very poor. I am often out of wifi coverage and everyone around, with other devices work fine.

    (b) I need the Yoga-10 to test GPS based applications.

    However the GPS is too often lacking.

    I also use MobiWIA GPS status & Toolbox app and trip a 50 kms with my Yoga in the front seat, I get 0 fixed satellites (although only visible 10-11) on 80% of the time (other devices get 100% coverage).

    Any suggestion?

    BTW, as far as I understand, Yoga-1 does not support satellite Glonass, right?

    Thanks in advance

    Has taken my tablet from Lenovo service that they replace the display (?) and it worked!

    Now, I have good signal GPS and WI - FI

    Thank you!

  • W500 gps problems

    Seems my rather recent W500 with wwan Ericsson + gps has problems with the GPS under Windows 7. Drivers seem to tie very well, but the serial port for GPS is simply "dead." Run the tool GPS seems to start very well, but he refuses outright to find any signal, and the com-port remains completely silent. Garmin Mobile PC can't find the GPS at all.

    However, the problem seems intermittent. I am running the latest drivers and software (according to TVSU).

    Operating system is Windows 7 Ultimate x 64, last image of technet.

    Has anyone else noticed flaky gps performance in windows7?

    Svein

    Solved. The stupid installer for the WWAN had traded Com5 and Com6, and it seems that some software had hardcoded "com5 is control, com6 is gps. After you remove the GPS on com5 of devices and changing com6 Manager to com5 for wwan control interface, things worked after a reboot.

    Of course, it can happen to anyone do a clean install (not the recovery-dvd version), then thininstalling/tvsu ' ing the main software.

    Svein

  • GPS problems - no icon and "location unavailable" in the search

    Problem:

    When the GPS is turned on, I can no longer use the voice search and get local results by location.  It was working fine when I got the phone.

    GPS is not working, and the gps icon appears in the top status bar, when I'm in the CARD program.

    When I press the voice search icon, I'm talking about "Pizza".  What I get is a general google search for pizza... not according to the location.  When I press the 'Use current location' link, he quickly said: "no available update of location."  So, I press update... it will say "Place of acquisition" for a second, then returns to 'location update not available '.

    Still, the GPS icon appears ONLY if I'm in the CARDS program except that it is missing.  I don't know if it's because of an app, I installed that broke, or just a bug Droid.

    Anyone having this problem?  Please help... This has been frustrating the heck out of me for a while.

    ... Yes, you have to if you want to use the way you say it.

    Use of wireless networks is for aGPS. It is not as accurate.   It is based on the the cell towers that surround you.   If you think about it, a death on the exact position is not necessary to find a restaurant close that it is not enough to know what part of town you're in.   AGPS is based on towers, it is instantly available and uses no extra battery to determine.  So... It's better for the query of the voice.   If the GPS was used, I guess you would need a "Waiting for position" so that it works correctly.

    GPS is perfectly accurate and is necessary for browsing.   It takes a little more time, does not also well indoors or in an urban environment like aGPS.

    Really a combination of features that best suit both together.

    "Wireless network" in this case is the cell not towers... no WiFi.

    The reason this is an option, it's that people want their identified position.   However, if there is no information on the post a query based on the position should not be expected.  Either way, if you dial 911, your position is identified in any case.

    Hope that explains it.

  • Listener Button problem

    This is my first attempt at development for the BB storm, and I use JDE 4.7.

    I started with a Hello World application, I found and I modified to add a simple button that says RED. When you click on I tried the wallpaper turn RED and change the button to say BLUE, when that is clicked on it turns BLUE changes back to RED button again.

    I've implemented this, use a standard listener ButtonField (which I call bhandler in my code). The program type of works, with the odd effect only on the Simulator is that when I click the button, the background color changes but a little menu appears. Anyone else seen this problem of menu? I don't expect to see a menu and I have not coded anything to ask for a menu appear when I click on this button.

    Here is my source code. The Manager is in bold. All the answers that I see not why only a menu would be most appreciated... Thank you.

    /**
    * HelloWorld.java
    * Copyright (C) 2001-2003 research In Motion Limited. All rights reserved.
    */
    package com.rim.samples.helloworld;

    Net.rim.device.api.ui import. *;
    Net.rim.device.api.ui.component import. *;
    Net.rim.device.api.ui.container import. *;
    Net.rim.device.api.system import. *;
    Net.rim.device.api.ui.decor import. *;

    /*
    * BlackBerry applications that provide a user interface
    * must extend UiApplication.
    */
    SerializableAttribute public class HelloWorld extends UiApplication
    {
    Public Shared Sub main (String [] args)
    {
    create a new instance of the application
    and launch the application on the event thread
    HelloWorld APP = new HelloWorld();
    theApp.enterEventDispatcher ();
    }
    public HelloWorld()
    {
    a new screen
    pushScreen (new HelloWorldScreen());
    }
    }

    create a new screen that covers the screen, which provides
    standard behavior by default for BlackBerry applications
    final HelloWorldScreen class extends screen
    {
    public HelloWorldScreen()
    {

    call the constructor of the screen
    Super();

    Add a title to the screen
    LabelField title = new LabelField ("HelloWorld example", LabelField.ELLIPSIS
    | LabelField.USE_ALL_WIDTH);
    setTitle (title);

    Add the text "Hello World!" to the screen
    Add (new RichTextField ("Hello World!"));
                    
    First define the button handler
                    FieldChangeListener bhandler = new FieldChangeListener()
    {
    ' Public Sub fieldChanged (field field, int context)
    {
    ButtonField buttonField = field (ButtonField);
    If (buttonField.getLabel () is 'RED')
    {
    Bottom newback = BackgroundFactory.createSolidBackground (Color.RED);
    getMainManager () .setBackground (newback);
    buttonField.setLabel ("BLUE");
    }
    on the other
    {
    Bottom newback = BackgroundFactory.createSolidBackground (Color.BLUE);
    getMainManager () .setBackground (newback);
    buttonField.setLabel ("RED");
    }
    }
    };

    Define the button itself use Manager above, this one called RED
    ButtonField buttonField = new ButtonField ("RED");     Create a RED button
    buttonField.setChangeListener (bhandler);               Implement the handler for button defined above
                     
    Add (buttonField);  Adds the button to the screen.

    }

    Override the onClose() method to display a dialog to the user
    with "Goodbye!" when the application is closed
    public boolean onClose()
    {
    Dialog.Alert ("Goodbye!");
    System.Exit (0);
    Returns true;
    }
    }

    Solved in Java development.

  • Listener key problem?

    Hello. I have an application which used many listeners as PhoneListener, FolderListeners, SMSListener, PersistentObject and KeyListener. The problem is that keylistener detect only 2 keys on the Green and Red ke, another looks like they are locked, but why, I'm building a new listener class as keys:

    public class kl implements KeyListener
    {
    public boolean keyChar (key char, int status, int time)
    {
    LogThis ("keyChar: >" "+ key +")< status:"="" +="">
               
    Returns false;
    }
           
    public boolean keyDown (keycode, int, int times)
    {
    LogThis ("openmic keycode_Down->" + keycode);
                
    int iKey = Keypad.key (keycode);
                
    LogThis (' keyDown openmic-> "+ iKey ');
    Returns false;
    }
            
    public boolean keyUp (keycode int, int times)
    {
    LogThis (' keyUp openmic-> "+ keycode");
    Returns false;
    }
            
    public boolean keyStatus (keycode int, int times)
    {
    Returns false;
    }
            
    public boolean keyRepeat (keycode int, int times)
    {
    LogThis ("openmic keyRepeat->" + keycode);
    Returns false;
    }
    }

    In the constructor of the class, I call this clas as: addKeyListener (new kl());

    But it works only for keys shown above why it does not work for all keys?

    Thank you in advance.

    Large.

    You can do this mark as resolved then?

  • Jumping mouse GPS problem since windows 98

    Windows detects a serial port GPS usually a device of 4800 bps as a serial ballpoint mouse.

    This has happened since widows 98 and GPS is very common today in Mobile car navigation, Navy, air force followed etc.

    The ascii data in is not a ball mouse.

    Data ASCII is very standardized, generally indicating with the symbol $

    I was surprised to see Windows 7 that Microsoft is not aware that the GPS is very trivial data and is very generally serial port.

    Series converted or with serial port 9 USB pins the incorrect detection of jumping mouse has been a problem.

    There are tricks to solve this problem, but really go Microsoft fix this stupid problem.

    Hello

    You can post your comments and suggestions on the website mentioned below link:

    www.Connect.Microsoft.com

    Kind regards
    Amal-Microsoft Support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Smartphones blackBerry with GPS problems

    Hello

    I have problems with applications that use the gps with my bold 9780, I'm in os 6 v. 0.0.285

    GPS location that works as when I update location in gps options I have the new values for latitute and longitude, although satellite number is zero and the precision is 1098 meters according to me (which is a kilometer!)

    I tried different applications such as google maps, garmin, lifeinpocket and in zero gps is workin

    any idea?

    Thank you

    To obtain a more accurate reading, activate your phone to use the network as GPS settings.

    Go to Options > device > do site settings, scroll to the place making it easier to choose Enabled for adjustment.

    With the network (the cell tower information) parameters and GPS working together, your accuracy should improve.  I have no explanation why your GPS alone is not very accurate (very strange), but try what I suggested.

  • Communication with the listener OEM problem

    Hi all
    for some reason, my OEM is corrupted and when activated, it messes with the listener. I have found the problem lies in OEM, rather than in the listener since I can establish connection between SQLdeveloper and the server through the listener without any problem.

    I have the named instance INARA, host named FIREFLY. SNOWDROP.COM and the listener named ORACLE_LISTENER.

    I closed the SQLdeveloper application and its listener and OEM first to identify the problem. After that I started OEM, emoms.log dumped Log Management Service:
    2011-06-15 11:55:12,203 [HTTPThreadGroup-2] WARN  jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
    2011-06-15 11:55:12,204 [HTTPThreadGroup-2] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
    2011-06-15 11:55:12,205 [EMUI_11_55_12_/console/aboutApplication] ERROR svlt.PageHandler handleRequest.639 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
         at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1892)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:249)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:1113)
         at oracle.sysman.emSDK.svlt.PageHandler.myRender(PageHandler.java:1173)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:597)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:787)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:343)
         at oracle.sysman.eml.app.Console.doGet(Console.java:157)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:107)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:146)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:327)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595) 
    also the trace file emagent.trc Management Agent dumped:
    SQL = "                                                                   OCISessionGet"...
    LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=firefly.snowdrop.com)(PORT=1521))(CONNECT_DATA=(SID=inara)))
    2011-06-15 11:57:05,914 Thread-4147767632 ERROR vpxoci: ORA-12541: TNS:no listener
    2011-06-15 11:57:05,914 Thread-4147767632 WARN  vpxoci: Login 0x67fd70 failed, error=ORA-12541: TNS:no listener
    2011-06-15 11:57:05,914 Thread-4147767632 WARN  TargetManager: Exception in computing dynamic properties of {inara.snowdrop.com, oracle_database },GetDbBlockSize::ORA-12541: TNS:no listener
    2011-06-15 11:57:05,916 Thread-4138318160 ERROR TargetManager: nmeetm.c : Target inara.snowdrop.com has a failed critical dynamic property
    2011-06-15 11:57:05,918 Thread-4138318160 WARN  upload: Upload manager has no Failure script: disabled
    2011-06-15 11:57:05,918 Thread-4138318160 WARN  upload: Amount of upload data will be recalculated due to reload.enabling collections and regenerating metadata.
    2011-06-15 11:57:05,918 Thread-4138318160 WARN  TargetManager: Regenerating all Metadata
    2011-06-15 11:57:05,983 Thread-4138318160 WARN  upload: Truncating value of "SHORT_NAME" from "Average Synchronous Single-Block Read Latency (ms)" to "Average Synchronous Single-Block Read La"
    2011-06-15 11:57:05,983 Thread-4138318160 WARN  upload: Truncating value of "SHORT_NAME" from "Average Synchronous Single-Block Read Latency (ms)" to "Average Synchronous Single-Block Read La"
    2011-06-15 11:57:06,080 Thread-4138318160 WARN  upload: Truncating value of "COLUMN_LABEL" from "Total messages processed per queue per subscriber per minute in the last interval" to "Total messages processed per queue per subscriber per minute in "
    2011-06-15 11:57:06,080 Thread-4138318160 WARN  upload: Truncating value of "COLUMN_LABEL" from "Total messages received per queue per subscriber per minute in the last interval" to "Total messages received per queue per subscriber per minute in t"
    2011-06-15 11:57:06,080 Thread-4138318160 WARN  upload: Truncating value of "COLUMN_LABEL" from "Messages processed per queue (%) per subscriber per minute in the last interval" to "Messages processed per queue (%) per subscriber per minute in th"
    2011-06-15 11:57:06,080 Thread-4138318160 WARN  upload: Truncating value of "COLUMN_LABEL" from "Age of the first message in persistent queue per subscriber (seconds)" to "Age of the first message in persistent queue per subscriber (sec"
    2011-06-15 11:57:06,081 Thread-4138318160 WARN  upload: Truncating value of "COLUMN_LABEL" from "Age of the first message in the buffered queue per queue (seconds)" to "Age of the first message in the buffered queue per queue (second"
    2011-06-15 11:57:06,096 Thread-4138318160 WARN  collector: enable collector
    2011-06-15 11:57:06,100 Thread-4138318160 WARN  collector: Regenerating all DefaultColls
    2011-06-15 11:57:07,145 Thread-4147767632 ERROR upload: Exceeded max. amount of upload data: 314 files, 346.533864 MB Data. 89.74% of disk used. Disabling collections.
    2011-06-15 11:57:07,145 Thread-4147767632 WARN  collector: Disable collector
    2011-06-15 11:57:08,237 Thread-4147767632 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-15 11:57:08,337 Thread-4147767632 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-15 11:57:38,442 Thread-4147767632 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-15 11:57:38,545 Thread-4147767632 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-15 11:58:08,732 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-15 11:58:08,835 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-15 11:58:38,952 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-15 11:58:39,055 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-15 11:59:09,157 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-15 11:59:09,260 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-15 11:59:39,364 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-15 11:59:39,465 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-15 11:59:58,595 Thread-4154857808 ERROR command: nmejcn: received no status header from repository at https://firefly.snowdrop.com:5500/em/upload/
    Looked like OEM had some errors and warnings after it opened, but I don't know what they meant.

    After OEM is started successfully, at least according to the commandment of emtcl, I started ORACLE_LISTENER listener. At this point, I did the loopback test using NET manager on the server, and it took forever so I aborted it. The database at this point was still open and running without problem however. Taken TNSPING 157080 msc to return an OK value, meanwhile lsnrctl status ORACLE_STATUS was at a standstill.

    Then look at emagent.trc after that the listener was launched:
    2011-06-15 12:02:10,306 Thread-4138318160 WARN  ssl: <nmehlssl.c:nmehlssl_readcb>: nmehl_read_sock timed out, rsf = -5, setting read timeout flag
    2011-06-15 12:02:10,306 Thread-4138318160 WARN  ssl.io: fd=6: nmehlssl_read, nzos_Read error = 28862 readTimed Out = 1
    2011-06-15 12:02:10,306 Thread-4138318160 WARN  http: <nmehl.c>:<nmehl_readline>: nmehlssl_read() timed out
    2011-06-15 12:02:10,306 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text = 
    2011-06-15 12:02:40,433 Thread-4138318160 WARN  ssl: <nmehlssl.c:nmehlssl_readcb>: nmehl_read_sock timed out, rsf = -5, setting read timeout flag
    2011-06-15 12:02:40,433 Thread-4138318160 WARN  ssl.io: fd=6: nmehlssl_read, nzos_Read error = 28862 readTimed Out = 1
    2011-06-15 12:02:40,433 Thread-4138318160 WARN  http: <nmehl.c>:<nmehl_readline>: nmehlssl_read() timed out
    2011-06-15 12:02:40,433 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text = 
    2011-06-15 12:03:40,570 Thread-4138318160 WARN  ssl: <nmehlssl.c:nmehlssl_readcb>: nmehl_read_sock timed out, rsf = -5, setting read timeout flag
    2011-06-15 12:03:40,570 Thread-4138318160 WARN  ssl.io: fd=6: nmehlssl_read, nzos_Read error = 28862 readTimed Out = 1
    2011-06-15 12:03:40,570 Thread-4138318160 WARN  http: <nmehl.c>:<nmehl_readline>: nmehlssl_read() timed out
    2011-06-15 12:03:40,570 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text = 
    2011-06-15 12:04:10,704 Thread-4138318160 WARN  ssl: <nmehlssl.c:nmehlssl_readcb>: nmehl_read_sock timed out, rsf = -5, setting read timeout flag
    2011-06-15 12:04:10,704 Thread-4138318160 WARN  ssl.io: fd=6: nmehlssl_read, nzos_Read error = 28862 readTimed Out = 1
    2011-06-15 12:04:10,704 Thread-4138318160 WARN  http: <nmehl.c>:<nmehl_readline>: nmehlssl_read() timed out
    2011-06-15 12:04:10,704 Thread-4138318160 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text = 
    also emoms.trc
    2011-06-15 12:05:26,159 [HTTPThreadGroup-6] WARN  jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
    2011-06-15 12:05:29,774 [HTTPThreadGroup-5] WARN  jdbc.ConnectionCache _getConnection.352 - Io exception: Socket read timed out
    java.sql.SQLException: Io exception: Socket read timed out
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:77)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:230)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:501)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:436)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:621)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:492)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:386)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:276)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:212)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:140)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.makeCacheConnection(OracleImplicitConnectionCache.java:1752)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.makeOneConnection(OracleImplicitConnectionCache.java:644)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getCacheConnection(OracleImplicitConnectionCache.java:592)
         at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:460)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:544)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:480)
         at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:336)
         at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:322)
         at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:575)
         at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:207)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1138)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:1172)
         at oracle.sysman.emdrep.receiver.OMSHandshake.getParameterFromDB(OMSHandshake.java:570)
         at oracle.sysman.emdrep.receiver.OMSHandshake.getMaxAgentCompatVer(OMSHandshake.java:552)
         at oracle.sysman.emdrep.receiver.OMSHandshake.handshake(OMSHandshake.java:1033)
         at oracle.sysman.emdrep.receiver.OMSHandshake.handshake(OMSHandshake.java:836)
         at oracle.sysman.emdrep.receiver.FxferRecv.doGet(FxferRecv.java:598)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:327)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    2011-06-15 12:05:29,775 [HTTPThreadGroup-5] WARN  jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
    Finally, the ORACLE_LISTENER journal says:
    15-JUN-2011 12:16:38 * <unknown connect data> * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=18844)) * establish * <unknown sid> * 12525
    TNS-12525: TNS:listener has not received client's request in time allowed
     TNS-12535: TNS:operation timed out
      TNS-12606: TNS: Application timeout occurred
    15-JUN-2011 12:16:38 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=18842)) * establish * inara.snowdrop.com * 0
    15-JUN-2011 12:16:38 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=18838)) * establish * inara.snowdrop.com * 0
    15-JUN-2011 12:16:38 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=18833)) * establish * inara.snowdrop.com * 0
    15-JUN-2011 12:16:38 * service_update * inara * 0
    15-JUN-2011 12:16:38 * service_update * inara * 0
    15-JUN-2011 12:16:38 * service_update * inara * 0
    At this point, part of the NET services caused by OEM, corruption has been altered, but I didn't know what caused it. NET with his listener services can operate normally after I stopped OEM and forced killed the listener and restarted normally.

    No idea how to solve the problem of this point?
    Kind regards
    Val

    Valerie,

    The problems are manifold.

    1 in listener.ora are two defined listeners, as well running on port 1521. This is not going to work. As the default listener name is 'Listener', probably the named listener "listener" is launched and the listener called 'oracle_listener' has never worked. Check this box by issuing

    status lsnrctl listener

    lsnrctl status oracle_listener.

    Delete oracle_listener.

    2 the tnsnames.ora is a mess.
    Apart from the first definition, INARA, everything else can be removed, as they are incorrect, in any case. Localhost means 127.0.0.1, you do not have a listening port on localhost, so all the definitions referring to localhost are redundant.

    Should a .properties file in $ORACLE_HOME/sysman /... with the definition of the listener. Currently I can't find it, but then I use 11 GR 2.

    -------------
    Sybrand Bakker
    Senior Oracle DBA

  • GPS problem in my g4 motorcycle more

    I use g4 motorcycle more for 1 month. But I saw when I open Google maps and try to know my position GPS is confused. This means that the blue dot on the map goes here and there.

    It's the waze / google apps works sometimes, but it cannot log on 10 minutes

  • P-70 GPS problem

    I bought recently my smartphone to P - 70 in a store in Kuantan Parade last month. Whenever I have on my GPS and try to use the waze app or cards, it wouldn't detect my current position and that is why it does not work. I opened my qiblat apps it says 'no magnetometer sensor.

    What this means?

    Update the P70 and Waze.

    It should work just fine and tested with Google Maps as well.

  • Access to the eccentric camera and GPS problem

    I love this phone and use it for a few weeks now. I know that the update just worked for T-mobile, and the biggest problem he treats is the camera. My question is if anyone knows if this update fixes other issues?

    One of them is how he takes the X bike to pin point its location. I know that most of the Android phones are simply not very fast when it comes to this, but this phone takes more time than many other phones I've used (most recently a HTC One).

    Another problem is, like many of us, I take lots of photos, and access to the camera can be tricky. I like to review my photos before I quit the application. Later if I want to go in the camera app, it brings me to the last image I tested, instead of the camera. Very well, but when I swipe to the left to reach the camera, he leaves the app. Also the camera icon on the bar above the image is missing, so I can't easily access the camera.

    Is the application gallary your default program for image manipulation? This happened to me when I made the default handler quickpic.

Maybe you are looking for

  • Equium A110-233-DVD-RAM drive Burns slow

    Hello When I burn a 4.5 GB DVD it takes 30 minutes to burn at 8 x. Which it should take about 9-10 minutes, I checked the settings and it's to "DMA if available" that there are only two options in PIO mode or DMA one. Is there something I can do? Tha

  • HP-P6-2133W graphic questions.

    Well first of all... It has an APU which is supposed to be able to use double graphics, right? If I were to add a video card, the GPU of the APU shouldn't continue to work alongside the video card? So, activate it using the tool of Vision from AMD? W

  • Install a touchscreen on the terminal.

    Hello I have a touch screen with windows CE6.0 software. When I logg as administrator on my terminal and find the software. I click on the software, but there is no response. Is sorry knows how can I install the software for/on my HP T5550 terminal t

  • I configure to do mediation Lync server send INVITATION with parameter URI Conference and isfocus?

    I have the standard edition Lync Server 2013 with mediation server had TO connect via sip trunk; and I also have 2 Lync 2010 Client. First of all, Lync Client A calls B Lync Client and call in place. Seconds, participant to invite Lync Client B (call

  • 4507 want: Instant ink and eprintcenter account

    I am tryint to sign up on the InstantInk and it turned out to be VERY difficult. When I logged in I was told I could not use my ePrintCenter username to connect to connected HP and asked me to create an account with a different email address. I creat