Next Destination

Why doesn't the Next Destination appear in Notification Center?
Frequent Location is On, in Settings

was working fine for a while.... even tried sons iphone as well. its capturing my locations but not showing up. apple has been useless. i called them numerous times and they have NO CLUE what im talking about. you have to explain yourself to everyone you speak to... any suggstions??

Similar Messages

  • HT3576 A plea to improve the "Next Destination" feature

    I L-O-V-E the "Next Destination" feature that occasionally pops up on my iPhone 4S pull-down screen. UNFORTUNATELY, it only comes up randomly and infrequently, and seldom when I really need it. I've been told that the feature "educates" itself based on my movements and location services settings, which I keep turned on in relation to the feature; this does not seem to be working for my situation.
    I have a VERY long commute through some of Los Angeles' worst traffic, AND I have a very RANDOM schedule. Here's the improvement I would like to see for "Next Destination": it should either be programmable so that one can set it for one's particular situation, OR, preferably, it should be a feature that one can call up AT ANY TIME, on demand.
    PLEASE PLEASE PLEASE—make it so!

    Tell them about it here
    http://www.apple.com/feedback/

  • Can't activate "Next destination" in NC

    Hi!
    I want to use the Next destination utility in my iPhone 4s, but i can't find the activation in the notification center menu. I have "frequent locations" activated, but there's no button like "today summary" or "calendar".
    Can anyone help? Thanks a lot!

    Jepp, same problem here.
    Photo Stream enables/activates  on both my iPhone and Macbook Air, but not on my iMac desktop. Enabling it in System and iPhoto Preferences is not possible ...
    Very annoying.
    Will check some other help forums too to see if a solution is available ...
    Keep us posted anyone else who discovers a solution to the problem ...

  • How do I use Next Destination?

    I know that the new notifications center for OS 7 shows you traffic and it does this with "Next Destination". I am wondering how this works, if I need to add anything, turn anything on, etc. I talked to a few co-workers about it and none of them even have Next Destination listed in their settings like I do. I tried googling this and can't find any info about this feature. Thanks.

    Next Destination is dodgy at best.
    It will entirely miss a day at work, and skip a day at home. I spend about ten hours in my office so there is plenty of opportunity for the system to log that location. Likewise with being at home each day. My phone is always on.
    There has never been anything in Notification Center as to Next Destination.
    Best I can guess is that this feature is in beta testing and not working as designed yet.

  • Trouble with tweens and button destinations

    I think this is a simple problem, though I'm having a hard
    time summarizing it!
    Example of issue: a picture fades in and three buttons
    appear, taking the user to x, y or z. I want the image to fade out
    when any button is pressed, taking the user to the correct
    destination (x, y or z). I know how to fade the image in (just
    using a simple alpha tween, not any actionscript), but I don't know
    how to 'un-fade' with multiple destinations.
    Thanks for any help!

    one way would be to have the buttons 'set' a variable as to
    where to go (ie. x,y or z), then all of the buttons send the
    playhead to the 'fade out' sequence in the timeline. Upon reaching
    the end of the sequence, preform a test on the variable to send the
    playhead to the next destination.
    another way would be to script the fades within the onPress
    handler and use onMotionFinished to send the playhead to the next
    destination. Not to hard if you want to try it:
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    my_btn.onPress = function() {
    var fadeOut:Tween = new Tween(image_mc, "_alpha",
    Regular.easeOut, 100, 0, 30, false);
    fadeOut.onMotionFinished = function() {
    gotoAndPlay( ...somewhere this button goes to);
    //one second fade (30 frames) change this to adjust the
    time

  • Next locations setting missing

    Hi @ all,
    I have installed iOS 7 on September, 19th. Nonetheless I am missing the option "Next Locations" in the Notification Center settings. I am only seeing: 1. Today Summary, 2. Calendar Day View, 3. Reminders, 4. Stocks and 5. Tomorrow Summary. The Location Service for Frequent Locations is switched on and I rebooted the iPhone several times, but the specific setting does not show up.
    Any ideas or similar problems?
    Thanks

    I'm having a problem that's even worse; I only have "Next Destination," "Reminders," and "Stocks" on my iPhone 5S! I'm looking at my iPhone 4S, and it has all six of them! So, my new iPhone is missing "Today Summary," Calendar Day View," and "Tomorrow Summary." I also can't get the Weather to show up in the Notification Center on the 5S either, but it works just fine on the 4S. What has Apple done? They need to fix this!

  • Find My Phone, From 3000 Miles Away

    This is a story of how Find My Phone was used to try to locate and recover a stolen iPhone. It took place from 6AM one morning to 9PM that night, 15 hours.
    * My wife and I wake up to find a 3-hour old message on her phone, from her daughter’s (Tina) boyfriend (Will), saying that her iPhone 4S was stolen. We’re in NC; they are in Sacramento, CA. She is asleep in the casino motel at this time, and has his phone with her; he’s in the casino (where her phone was stolen). Her iPhone was using the latest software (iOS7) and she had it password locked so we weren’t too worried that the thief could get into it, at least not for a while.
    * I locate her phone (using Find My Friends) in North Highlands area and it was moving. It finally stopped, but couldn’t tell what street it was on. Wasn’t listed on Find My Phone (FMP) maps, and on another map it showed Brown Ln and another it showed Constitution Ave. So I sent her a pic of the map, big enough to show the names of the 2 streets at the nearest intersection. We kept calling Tina for nearly an hour, until she finally woke up and checked the phone for calls.
    * Using Tina’s Apple ID and password I logged into her iCloud account and located her phone from my computer. I found that her phone was down to 9% charge, so we stopped tracking it for long periods so as to not drain the battery. Once dead we would never ever find it. Tina didn’t want me to put it in Lost Mode for fear it may spook the thief and cause them to ditch the phone in a dumpster.
    * I called the police in North Highlands. They tell me they can’t do anything until she files a police report from the district where it it was stolen. Placer Country sheriff. I found out later that she had notified the casino security, and they had been in contact with the on-duty deputy at the casino, but no report was filed by them (has to be done by the victim). I’ll forgo the very long ordeal in trying to get Tina in contact with the filing officer at Placer Co… my blood would boil if I re-lived the frustration in doing that.
    * The casino deputy tells me that the casino checked their records and video to find who next used their casino card at the slot machine used by Tina. They were able to get a name and from that the deputy got a picture of her driver’s license. The address on the license was not current and the phone number he got for her was not working. And now that the report was filed, Tina is to take that report number to the North Highlands police so that they can actually start doing something. It’s now about 1PM CA time. A lot of waiting has gone on in trying to get the report filed - we had to wait until a deputy pretty much had nothing else left to do for the day.
    * By this time we had discovered that the thief had actually charged up the phone. It came up to 100%, so now we could locate it as often as we needed. Thanks!
    * Since about 1pm Tina had been heading towards North Highlands while Will stayed at the casino. I would locate the phone and send a map to Tina. This went on for most of the early afternoon. Tina had a GPS with her so I assumed she was using the cross streets that were on the map to enter into the GPS. Wrong. She didn’t know how to use it. Her GPS wasn’t a stand-alone GPS like I thought; it was part of the Android phone she was using. It was difficult enough to use, but coupled with the fact that we were texting and sending pictures over the same phone was too much to take. I think Will initially set it up before she left the casino to head for North Highlands. Now, part of this problem was me - I had totally forgot how easy it is to get an address from FindMyPhone. I used a convoluted method of opening in Maps and/or using Google Earth to locate some nearby business to give the address of that. (One tap on the “i” icon in FMP shows the address of the phone, or very close to it.) Oh, another thing - on the phone she was using, it would not display a picture sent via text if I also sent some text within the same message. It could only show a pic if sent just by itself. Major cause of confusion.
    * By 2pm Tina had returned to pick up Will and they left again to go to the address in North Highlands. It appeared to be an apartment building, probably where the thief lived. They had planned to go to the apartment area and call for the police to meet them there. The best fix I ever got for the phone showed it inside the right rear corner of the building, close enough to pinpoint the apartment where the phone was (but not which floor, if more than one!).
    * Didn’t matter, because just before they got there the thief was moving again. It was 3:30pm CA time, and here begins the wild chase through the outskirts of Sacramento that lasted for over 3 hours. Now, I’m trying to talk to Tina & Will to give them directions as to the location of the thief, they are talking to each other, my wife and I are talking, and Will is trying to drive and navigate in a city he’s not familiar with. So it’s fair to say that at times there was ample confusion, and also it became abundantly clear that no one in the vehicle had an operational navigation gene.
    * After about 3 hours of chasing the thief around Sac, they ended up traveling mostly up and down Arden Way. I think they stopped at every drug store on that road. At one point Tina and Will actually met them going in opposite directions along Arden Way (but didn’t know which car the thief was in). What made this a bit more difficult is that FindMyPhone doesn’t “track” a phone giving you a moving dot on a map; it gives you a snapshot of where the phone is now. But “Now” can be several minutes old, as FMP won’t let you keep getting location fixes continuously, sometimes you have to wait for a fix (guess Apple was thinking about using up your subject’s battery by not allowing you to hit its GPS constantly).
    * They stopped at a Walgreens at Howe and Arden Way, and stayed there long enough for Tina & Will to get there. I got an excellent fix on the thief at the southwest corner of the parking lot, where Will got the license numbers of a dozen cars in that corner. The plan was to track them to their next destination and get license numbers again - if we got one that matched we would know which car was theirs. Will was parked right next to a red car in the corner. A few girls came out of the drug store, saw Will and Tina looking over the cars, and appeared to get very nervous looking. They jumped in their car and sped away. Will was sure he had the right people (turned out he was right).
    * At that time the phone started moving again, and stopped behind a shopping center on the opposite corner of that intersection, but Tina and Will overshot their location and it took a while to get back and for me to convey the thief’s location. When they arrived in the parking lot Will saw the same girls driving off and went after them, but the phone stayed behind! I got Will to turn around and come back, telling him the phone was still at the shopping center (or mall). I sent picture after picture of where it was and tried explaining how they might get there, but no dice. Some people are good at seeing a map picture and transferring that image to where they are, and, well, some people aren’t. It also doesn’t help that GPS is sometimes off by several tens of feet, like that day at that time. It showed the phone in the back corner inside the mall building, within a very small radius.
    * They got mall security to come help, and several employees, and went to the back of the store at that corner. I set Tina’s phone to make an alarm sound while they searched and listened. On my phone I tested what this sound was like so I could tell them what to listen for. What a joke. The “alarm” sound is a soft ringing bell, not loud at ALL. That might be fine if you’re looking for your phone in a living room under a couch cushion, but almost useless in this situation. We finally gave up.
    * OK, THEN I got another good position fix outside the mall building, in an alley just behind the mall. Tina & Will went outside in the alley. To make matters worse, out in the alley there were loud noises coming from air conditioning equipment located nearby. There were parked cars and dumpsters everywhere.
    * I started playing a sound on her phone again while they walked around listening and looking. After about 30 minutes of that we were ready to call it quits. We didn’t know what else to try. It was 6:30pm CA time. We’d been at this for nearly 15 hours.
    * Then Will said, “Wait a minute!”. He was hearing something. After a few seconds I could hear it too, through Will’s speakerphone. He said “I found it!”. It was in a small black cloth bag with a pull string at the top, tucked deep inside a bush along the edge of the alley!
    * I guess the girls got spooked at the Walgreens parking lot and decided to ditch the phone, but Im glad they chose a bush with a clear view of the sky and not a metal dumpster. Back in 1990’s I used to be a P.I. for several years, but this one takes the cake. Well, almost.

    Do you have the latest updates for MacOS (10.7.2) ?
    See also this article for more info: Free Find My iPhone: Frequently Asked Questions

  • Macbook Pro 13" early-2011 Fans at high speed

    Hi guys,
    I hope you can solve this pussle for me.
    My Macbook Pro (13", early 2011, Core i5 @ 2.3) started to behave weird, its fan (only the exhaust one, since it's a 13" Macbook Pro with the Intel HD integrated graphics) is running at top speed (6200-6208 rpms) with no reason at all. No system processes consuming high CPU, just idling.
    There's a twist to this issue, though. It only does it when I open the lid more than 90 degrees. If I get it back the fan returns to normal functioning.
    What I did:
    checked the temperature sensor values, they are fine
    checked for crazy background tasks, there are none, CPU usage is at max 7%
    it does the same thing even in safe mode
    reset PRAM
    reset SMC
    reinstalled OS X (Lion). Updated to 10.7.4
    searched every discussion I could find on this matter
    The difference between this issue and others I encountered along the way is the lid opening thing.
    Does anyone know if getting the lid past the 90 degree mark triggers anything?
    The other theory I have is that there's some dust blocking the intake and when the lid is opened wide, the air is somewhat obstructed by the bottom of it.
    Any help is much appreciated.
    Thanks!

    You may have diagnosed the problem.
    (The other theory I have is that there's some dust blocking the intake  and when the lid is opened wide, the air is somewhat obstructed by the  bottom of it.)
    I would take off the bottom cover and see if there is any offending material.  If not, then the Apple store genius bar should be your next destination.
    Ciao.

  • Error while running survlet: http status 505

    Hii all,
    I have a problem in running servlet from my Firefox and I am using Tomcat 5.5.25. I having a problem in deploying the servlet.
    I ran my servlet as:http://localhost:8085/log?user_name=******&password=*****
    Servlet Maping looks like this:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements. See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License. You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <display-name>Welcome to Tomcat</display-name>
    <description>
    Welcome to Tomcat
    </description>
    <servlet>
         <servlet-name>Aboutus</servlet-name>
         <servlet-class>AboutusServlet</servlet-class>
    </servlet>
    <servlet>
         <servlet-name>Login</servlet-name>
         <servlet-class>LoginServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Aboutus</servlet-name>
         <url-pattern>/aboutus</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
         <servlet-name>Login</servlet-name>
         <url-pattern>/log</url-pattern>
    </servlet-mapping>
    </web-app>
    Below is my servlet code looks like,
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.sql.*;
    public class LoginServlet extends HttpServlet
         ServletOutputStream sos;
         Connection con;
         Statement st,st1,st2;
         ResultSet rs,rs1,rs2;
         public void doGet(HttpServletRequest req,HttpServletResponse res) throws ServletException,IOException
              String logvalid="";
         String medicine="";
    //String destination="";
         try
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   con=DriverManager.getConnection("jdbc:odbc:health","scott","tiger");
                   System.out.println("Connection Successfull");
                   String user_id=req.getParameter("user_id");
                   String pass=req.getParameter("pass");
                   res.setContentType("text/html");
                   sos=res.getOutputStream();     
                   System.out.println("username:"+user_id+"pass:"+pass);
                   String query="select user_id,pass from newuser where user_id='"+user_id+"' and pass='"+pass+"'";
                                  System.out.println(query);
                   st=con.createStatement();
                   rs=st.executeQuery(query);
                   ResultSetMetaData rsmd= rs.getMetaData();
              /*     int count=rsmd.getColumnCount();
                   System.out.println("$$$$$$$$$$$$$$$$"+count);*/
                   System.out.println("value of rs="+rs);
                   if(rs!=null)
                        System.out.println("rs not null");
                   if(rs.next())
                        System.out.println("inside while");
                        if(user_id.equals(rs.getString(1)) && pass.equals(rs.getString(2)))
                             System.out.println("inside if");
                             logvalid="Valid";
                             System.out.println("valid");
    String query1="select distinct medicine from prescription";
                             System.out.println(query1);
                             st1=con.createStatement();
                             rs1=st1.executeQuery(query1);
                        while(rs1.next())
                             source=source+rs1.getString(1)+"$";
                        //String query2="select distinct destination from route";
                        //System.out.println(query2);
                   //st2=con.createStatement();
                   //rs2=st2.executeQuery(query2);
                             //     System.out.println(query2);
                   /*while(rs2.next())
    destination=destination+rs2.getString(1)+"$";
              }     // if loop for checking user id
         }     // end of if for rs.next()
         sos.println(logvalid+":"+medicine);
                   }// // end of if for rs!=null
         if(rs==null)
              System.out.println("rs=null");
    catch(Exception e)
                   System.out.println(e);
         public void destroy()
              try
                   con.close();
                   sos.close();
                   rs.close();
                   st.close();
                   catch(Exception e)
                        System.out.println(e);
    Here is the error report:
    HTTP Status 500 -

    Hi all,
    The issue is solved now.It was an silly mistake in the source code. I haven't extend the class.
    Thanks,
    Senthil.

  • Session is being lost between GET and POST

    My application is being developed in Tomcat 4.1.18.
    I have a servlet that acts as a Controller and JSP's that make up the View. Basically, the session gets lost in the following manner:
    The application's web.xml file is set with Authentication method of Unspecified. Basically, it's not a high security application, we just need to make sure that the user maintains a session throughout the application.
    User is presented with a page (login.jsp). They present their credentials. The controller does an include (RequestDispatcher.include) on a jsp (this jsp simply does a setProperty *) to fill the bean. Then, the controller passes control (through RequestDispatcher.forward) to the Action servlet. The Action does some processing and forwards to the next destination. Next, the user clicks on a link (GET) (this causes the URL to be rewritten with the correct session ID). In this particular instance, the user is presented with a form to fill out. The user fills out the form and it POSTS to the controller. At this point, the controller attempts to access the session and it is lost!
    Frustrating. Please feel free to email at [email protected] Thanks.

    I just tried encoding the FORM ACTION and no dice. I'm pretty new to JSP's so I'm wondering if its something stupid that I'm doing (or not). I've never had this problem using straight servlets before.
    It would be hard for me to justify getting rid of the JSP's and going with a straight servlet solution.
    I'm also wondering if my Authentication:Unspecified in the web.xml file has anything to do with my current troubles.

  • THREAD PROBLEM; PLZ HELP!!!

    Hi guys!
    I'm having a bit of a problem with a thread.
    Let me give you the perspective...
    I developed a program which is copying files from one place to another. The class who is responsible for the copying looks like this:
    public class CopyFiles implements Runnable {
    Thread thread = null;
    public CopyFiles(.....params....) {
    // Some code
    thread = new Thread(this);
    private copy(File file, File destination) {
    // Some code
    public void run() {
    for (Iterator i = collection.iterator(); i.hasNext();)
    copy((File) i.next(), destination);
    System.out.println("I'm done!");
    // Next I kill the tread
    This class uses this thread-technique so the GUI using this class won't freeze.
    Now to my problem. The thread is being killed sometimes before all the files ha been copied!!!
    I wan't that the copy-method to complete entirely before the thread is killed.
    I tried to use the join-method but then the GUI freezes and that's not an option!!!
    Plz can somebody help me????
    Thx in advance!
    /Andrew

    Thread thread = null;1. What do you need this instance variable for? From your other code, it looks like you don't need it anywhere - why not just declare it locally in your CopyFIles method?
    public CopyFiles(.....params....) {
    // Some code
    thread = new Thread(this);
    }2. You never called thread.start() ???
    public void run() {
    for (Iterator i = collection.iterator();
    (); i.hasNext();)
    copy((File) i.next(), destination);
    System.out.println("I'm done!");
    // Next I kill the tread
    }3. What do you mean by "Next I kill the tread"? If you do nothing at that point, the thread will terminate anyway. Currently you still have a reference to it so it won't be garbage collected, but as I pointed out above, it looks like you don't need that reference anyway.

  • Does your "Frequent locations" track every where you go?

    I have an iPhone 4S running iOS7, which I updated about 2 weeks ago.  However, so far no " Time to next desitination" shows up in the notification center.  I went to "Frequent locations" in the Settings and found that while the phone has recorded my home and office visits, it does not record my vitist to my son's day care place, which I go daily in the morning to send him off and in the afternoon to pick him up.  I even use the Apple Map several times to find my way to the day care, and the day care has a place in my Contact.  The day care place is well marked in the Map.  How come it never ends up in the Frequent location and why so far I have not received any time to next destination?  I reboot the phone a few times but this does not get fixed.  Should I clear the frequently location's history and start over?

    Well, I guess I have to answer this for myself then.  After more than 2 weeks after the upgrade, the "Time to next destination: feature finally works.  It nows tells me daily the time from home to work and vice versa.  However it does not estimate the time from and to the day care even though that is where I go first.  I think by default, it only track your home and office but we will see.

  • PROBLEMS WITH A THREAD!!!

    Hi, guys!
    Posted this in another forum, but no good answers...
    I got a class "GUI" which is calling a method in class FileCopy on a button-click.
    Class GUI calls -------> copy in class FileCopy
    The FileCopy-class looks kinda like this:
    public class FileCopy implements Runnable {
    Thread thread = null;
    public void copy( ...params...) {
    thread = new Thread(this);
    // Asign some vars
    thread.start();
    private void copyFiles(File file, File destination) {
    // Copy the file
    public void run() {
    for (Iteration e = collection.iterator(); e.hasNext();)
    copyFile((File) e.next(), destination);
    // Kill thread next
    The problem is that the thread seems to call the metod copyFiles and then (before the copyFiles-method is done) go to the part in run where I kill the thread. That results in a non-copied file!!!!
    I've tried to use the join-method to get the thread to wait for the copyFiles-method to complete, but then the GUI freezes and that's not an option!!!
    Plz help!!!
    /Andrew

    Hi
    you are already in the event thread (dispatching thread)
    and you don't need to spawn another thread, just handle the event normally
    in your event handler.
    if you really want to use thread use a Timer to copy (set a low interval)
    or
    class FileCopy implements Runnable {
    FileCopy(params...) {
    // Set your file names and params here
    private void copyFiles(File file, File destination) {
    // Copy the file
    public void run() {
    for (Iteration e = collection.iterator(); e.hasNext();) {
    copyFile((File) e.next(), destination);
    // let the thread end normally
    // event handler
    public void actionPerformed(ActionEvent e) {
    Filecopy copy = new FileCopy(params...);
    new Thread(copy).start();
    I hope this helps

  • Availability in Thailand or Singapore

    Hi, when will the curve 3G Be available in Thaland or Singapore? Cheers, Michael

    Hi Darkon,
    Welcome to BlackBerry support community forums.
    Right now 9300 is available in Canada only. Next destination probably USA. Till now this is the update. But I believe many carriers are testing for acceptance. Therefore, just keep an eye with the mobile operators in your country!
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • Dynamically undeploying MDBs

              Hi,
              I am using Weblogic 6.1 SP4 - Integrating with MQ5.2 using IBM MQ Classes.
              I have an MDB which points to a MQ Queue. MDB takes the message and delegates
              to specific Java Classes which parse the XML (body of the message) into Java Objects
              and save them into database.
              I have implemented Container Managed transactional MDBs. Before processing the
              message I am checking to see if the database connection is available. If the
              database connection is not available, I am rolling back the message into the Queue.
              The problem is that this is getting into a loop, till the database connection
              is available. (MDB picks up the message and checks up for database connectivity
              and rolls back into the queue).
              The solution that I have thought of doing is to check upto 5 times (just a count
              I have decided), after which I will undeploy the MDBs dynamically. Then I will
              start a new Thread (Thread class) which will check if the database connection
              is available and once the connection is available, I will redeploy the MDB to
              process the message again.
              I have following questions here:
              (1) How to dynamically undeploy & re-deploy MDB
              (2) How can I check Redelivered Count. I know that I can use Message.getJMSRedelivered
              (), which will return me a boolean stating the message is redelivered. If I
              can't check for Redelivered count, then if getJMSRedelivered() is "true", then
              I will undeploy the MDB.
              (3) Will there be any issues/problems in the solution discussed above.
              Thanks in advance for any help.
              Regards,
              Venkatesan.
              

    As I wrote below, I think there is a way, but I don't
              know how. For programmatically undeploying the MDB,
              I suggest posting your needs to the "ejb" newsgroup, which has
              more experience in this area. (I mentioned this already
              in another part of this email thread.)
              Tom
              Sastry wrote:
              > Hi Tom,
              >
              > Is there any way to use weblogic 7.0 JMX API's to suspend a MDB so that it won't
              > process any messages from the queue until the next destination like oracle database
              > connection is up and running.
              >
              > Thanks
              > Sastry
              >
              > Tom Barnes <[email protected]> wrote:
              >
              >>9.0 - I don't know the official release date, but I
              >>imagine its in the latter half of 2004. For now,
              >>there is undeploying the MDBs, or shutting down JMS.
              >>
              >>Tom
              >>
              >>Mikhail Stolpner wrote:
              >>
              >>
              >>>Yes. Exactly.
              >>>What next release do you mean? Is it 8.1SP2 or 9.0?
              >>>
              >>>Thank you very much,
              >>>Mikhail
              >>>
              >>>"Tom Barnes" <[email protected]> wrote in message
              >>>news:[email protected]...
              >>>
              >>>
              >>>>Clarification. You can pause "produces", but not "consumes",
              >>>>using the console or programmatically via JMX.
              >>>>I assumed you meant to pause "consumes".
              >>>>
              >>>>Tom Barnes wrote:
              >>>>
              >>>>
              >>>>
              >>>>>Hi Mikhail,
              >>>>>
              >>>>>There is no direct way. In 7.0 and later you can
              >>>>>programmatically shutdown
              >>>>>the entire JMS server, while leaving the WL server up,
              >>>>>by setting the JMS server mbean's "target"
              >>>>>field to null.
              >>>>>
              >>>>>Note that you can have multiple JMS server's per WL
              >>>>>server.
              >>>>>
              >>>>>Tom
              >>>>>
              >>>>>P.S. A rich featured pause capability is planned
              >>>>>for the next release. This includes the ability
              >>>>>to pause an MDB, as well as an entire destination
              >>>>>in various ways.
              >>>>>
              >>>>>Mikhail Stolpner wrote:
              >>>>>
              >>>>>
              >>>>>
              >>>>>>Hi Tom,
              >>>>>>
              >>>>>>Do you know if there is a way to programmatically pause Weblogic
              >>
              >>Queue?
              >>
              >>>>>>Thanks,
              >>>>>>Mikhail
              >>>>>>
              >>>>>>"Tom Barnes" <[email protected]> wrote in message
              >>>>>>news:[email protected]...
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>Hi,
              >>>>>>>
              >>>>>>>A "redelivered count" requires a vendor extension - JMS does
              >>>>>>>not provide one. Check the MQ doc to see if there is one.
              >>>>>>>
              >>>>>>>Another option is programmatically pause MQ - I'm not sure
              >>>>>>>if there is a way to do this. Again - check the MQ doc.
              >>>>>>>
              >>>>>>>Another option is to simply block the MDB in a try/sleep()
              >>>>>>>retry loop until the database connection comes back up.
              >>>>>>>
              >>>>>>>As for programmatically undeploying the MDB, I suggest
              >>>>>>>posting your needs to the "EJB" newsgroup, which has
              >>>>>>>more experience in this area.
              >>>>>>>
              >>>>>>>Tom
              >>>>>>>
              >>>>>>>Venkatesan wrote:
              >>>>>>>
              >>>>>>>
              >>>>>>>
              >>>>>>>
              >>>>>>>>Hi,
              >>>>>>>>I am using Weblogic 6.1 SP4 - Integrating with MQ5.2 using IBM
              >>
              >>MQ
              >>
              >>>>>>
              >>>>>>Classes.
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>I have an MDB which points to a MQ Queue. MDB takes the message
              >>
              >>and
              >>
              >>>>>>
              >>>>>>delegates
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>to specific Java Classes which parse the XML (body of the message)
              >>>
              >>>into
              >>>
              >>>
              >>>>>>Java Objects
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>and save them into database.
              >>>>>>>>I have implemented Container Managed transactional MDBs. Before
              >>>>>>
              >>>>>>
              >>>>>>processing the
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>message I am checking to see if the database connection is available.
              >>>>>>
              >>>>>>
              >>>>>>If the
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>database connection is not available, I am rolling back the message
              >>>>>>>>into
              >>>>>>
              >>>>>>
              >>>>>>the Queue.
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>The problem is that this is getting into a loop, till the database
              >>>>>>
              >>>>>>
              >>>>>>connection
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>is available. (MDB picks up the message and checks up for database
              >>>>>>
              >>>>>>
              >>>>>>connectivity
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>and rolls back into the queue).
              >>>>>>>>The solution that I have thought of doing is to check upto 5 times
              >>>>>>>>(just
              >>>>>>
              >>>>>>
              >>>>>>a count
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>I have decided), after which I will undeploy the MDBs dynamically.
              >>>>>>>>Then
              >>>>>>
              >>>>>>
              >>>>>>I will
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>start a new Thread (Thread class) which will check if the database
              >>>>>>
              >>>>>>
              >>>>>>connection
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>is available and once the connection is available, I will redeploy
              >>>
              >>>the
              >>>
              >>>
              >>>>>>MDB to
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>process the message again.
              >>>>>>>>
              >>>>>>>>I have following questions here:
              >>>>>>>>
              >>>>>>>> (1) How to dynamically undeploy & re-deploy MDB
              >>>>>>>> (2) How can I check Redelivered Count. I know that I can use
              >>>>>>
              >>>>>>
              >>>>>>Message.getJMSRedelivered
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>(), which will return me a boolean stating the message is
              >>>
              >>>redelivered.
              >>>
              >>>
              >>>>>>If I
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>can't check for Redelivered count, then if getJMSRedelivered()
              >>
              >>is
              >>
              >>>>>>
              >>>>>>"true", then
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>I will undeploy the MDB.
              >>>>>>>> (3) Will there be any issues/problems in the solution discussed
              >>>>>>
              >>>>>>
              >>>>>>above.
              >>>>>>
              >>>>>>
              >>>>>>
              >>>>>>>>Thanks in advance for any help.
              >>>>>>>>
              >>>>>>>>Regards,
              >>>>>>>>Venkatesan.
              >>>>>>>>
              >>>>>>>>
              >>>>>>>
              >>>
              >
              

Maybe you are looking for