Cannot receive message on temporary queue

I am executing the following code in a web application.
          It is sending a message to a JMS queue. The MDB
          listening to that queue processes the message
          and posts a reply to the temporary queue specified in
          the JMS Reply to field. The queue browser code below
          shows that the message is in the queue, but the receive
          times out and returns null. My question is why can't the
          receiver get the message?
          Am I missing something?
          Thanks in advance,
          -Doug.
          =====WEBAPP SIDE===========
          QueueConnection connection = null;
          QueueSession session = null;
          QueueSender sender = null;
          QueueReceiver receiver = null;
          Queue respQueue = null;
          try
          connection = QUEUE_CON_FACTORY.createQueueConnection();
          connection.start();
          session = connection.createQueueSession(false, Session.CLIENT_ACKNOWLEDGE);
          TextMessage textMessage = session.createTextMessage();
          textMessage.setText(xmlInput);
          if (wait)
          respQueue = session.createTemporaryQueue();
          textMessage.setJMSReplyTo(respQueue);
          receiver = session.createReceiver(respQueue);
          sender = session.createSender(INPUT_QUEUE);
          sender.send(textMessage);
          if (wait)
          QueueBrowser qB = session.createBrowser(respQueue);
          Enumeration enum = qB.getEnumeration();
          while (enum.hasMoreElements())
          Message msg = (Message) enum.nextElement();
          LOG.debug("msg = " + msg);
          return ((TextMessage) receiver.receive(10000)).getText();
          return DEFAULT_RESPONSE;
          =======MDB side============
          QueueConnection queueConnection = QUEUE_CON_FACTORY.createQueueConnection();
          queueConnection.start();
          QueueSession queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
          TextMessage textMsg = queueSession.createTextMessage();
          textMsg.setText(buffer.toString());
          QueueSender queueSender = queueSession.createSender((Queue)getReplyDestination());
          queueSender.send(textMsg);
          queueSender.close();
          QueueBrowser qB = queueSession.createBrowser((Queue)bpelCtx.getReplyDestination());
          Enumeration enum = qB.getEnumeration();
          while (enum.hasMoreElements())
          Message msg = (Message) enum.nextElement();
          LOG.debug("msg = " + msg);
          queueSession.close();
          queueConnection.close();
          ==== LOG ====
          [DEBUG] 2006-01-16 14:51:17,780 MDB - msg = TextMessage[ID:N<192225.1137444677780.0>, <unique-id-response xmlns
          ="htt...]
          [DEBUG] 2006-01-16 14:51:27,374 WEBAPP -
          msg = TextMessage[ID:N<192225.1137444677780.0>, <unique-id-response xmlns="htt..
          .]

At first glance, this looks like a standard design to me. Does the same problem occur when there are no browsers?
          Tom
          (Performance note: It is quite CPU-intensive to continually create and close connections/temporary destinations/sessions/consumers/producers. Cache and/or pool them for re-use when possible. Use a cached anonymous producer on the MDB for sending replies [pass null for the dest when creating it, and specify the dest as a send parameter].)

Similar Messages

  • Switched from 9900 to q10 and a particular i cannot receive messages from a particular bbm pin

    switched from 9900 to q10  and a particular i cannot receive messages from a particular bbm pin
    the messages are not being delivered to me from a particular pin

    Can you send messages to that particular pin?
    Click if you want to Thank someone. If Problem is resolved, so that others can make use of it.

  • Cannot receive messages on new phone

    I recently went from an iPhone to a samsung galaxy and I'm having trouble with receiving messages off iPhone users, I've disabled Imessage, deleted my phone number from the apple system to no avail, I've also done the same on on my ipad along with removing my number on FaceTime, I've changed my Apple ID password and still I cannot receive messages from iPhone users, I've also had all my iPhone using friends delete my number and add it again as mobile not iPhone, PLEASE help!!!!!!

    call apple support http://support.apple.com/kb/ts5185

  • I cannot receive messages from iphones since I got a new android device. did the change apple I'd password and whatnot...it still isn't working. what do I do?

    I cannot receive messages from iphones since I got a new android device. did the change apple I'd password and whatnot...it still isn't working. what do I do?

    Lets take first issue first: Apple does not charge a customer to 'keep' iPad access. That does not happen at apple. If you were billed and charged that amount of money from someone you were speaking to over the phone, you were not talking with Apple support. If you need to speak with apple support you are free to call them at 800MYAPPLE and they will talk to you for no more money than 19.00/ support event.
    Please read this article to asssit with imessage and factime troubleshooting.
    http://support.apple.com/kb/TS4268
    I'm sorry you have this happen to you - that being charged fraudulently for a non rendered service.
    Good luck to you Friend.

  • Cannot receive message that more than 1 text

    hi, recently i found that my palm centro cannot receive message that more than 1 text (long message), but ok for short message, please advice any suggestion to settle this problem, thanks a lot.
    Post relates to: Centro (Unlocked GSM)

    hi, recently i found that my palm centro cannot receive message that more than 1 text (long message), but ok for short message,
    I am unclear on what your problem is.  Please explain what you mean by "more than 1 text (long message)".
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

  • OC4J 9.0.4: Problem receiving message from JMS queue

    I've created an application which puts XML files in a JMS queue and try to get it out again. The enqueing (sending) is no problem, but when I dequeue from the same queue I receive nothing and if I don't specify a wait time the programs hangs.
    If I create a QueueBrowser I can see there are messages in the queue.
    Can someone tell me what I do wrong?
    Here is the code of my dequeue action:
    public String dequeue(int qName) throws RbsSysException
            final String method = "dequeue(int qName)";
            _log.debug(method);
            QueueConnection queueConnection = null;
            try
                queueConnection = _queueConnectionFactory.createQueueConnection();
                QueueSession queueSession = queueConnection.createQueueSession(false,
                        Session.AUTO_ACKNOWLEDGE);
                QueueReceiver queueRcv = queueSession.createReceiver(getQueue(qName));
                _log.debug("queue = "+ queueRcv.getQueue().getQueueName());
                // Due to bug 3376983 in OC4J We cannot use TextMessage if it exceeds
                // 64 kb. Therefore use ObjectMessage.
                Message msg = queueRcv.receiveNoWait();
                _log.debug("msg = " + msg);
                ObjectMessage objMsg = (ObjectMessage)msg;
                //ObjectMessage objMsg = (ObjectMessage) queueRcv.receiveNoWait();
                _log.debug("objMsg = " + objMsg);
                if (objMsg != null)
                    return (String) objMsg.getObject();
                else
                    return null;
            catch (JMSException je)
                throw new RbsSysException(je);
            finally
                if (queueConnection != null)
                    try
                        queueConnection.close();
                    catch (Exception any)
                        _log.error("Error while closing QueueConnection: ", any);
        }

    Did you implement javax.jms.MessageListener and the method onMessage(Message)?
    If you use onMessage() as wel as receive (or receiveNoWait() or receive(long)), the onMessage() can be called, while the main thread is blocking on a synchronous receive, so make sure you use only one of the two methods: onMessage() or receive.
    Receive() blocks your thread until a message is published. So your program 'hangs' by design. Usually this is used when your program is waiting for a particular message. Otherwise use onMessage().
    ReceiveNoWait() checks if something is in the queue at that very moment, so if nothing is there (yet), the main thread continues.
    Hope this helps,
    Lonneke

  • Cannot receive messages from one person only...

    My friend and I both have iphone 4s (with iOS 6.1.3). One day i stopped receiving messages from her. I can still receive an iMessage from her (but since neither one of us has data that is dependent on internet availability) but regular text messages won't come through. She can receive regular messages from me. I can receive regular messages from everyone else (including other iphone users). I don't know what happened. I have tried multiple suggestions i found online (including deleting and readding her contact, she did same, restarted phones, typed number manually, typing number twice etc.) but none of them work. If anyone could help it would be much appreciated!!

    I'm having a similar problem. I can receive texts from this one person but he cannot receive mine. I can also not call him but he can call me. He uses A T&T but does not have this problem when texting other verizon users. I have an Iphone 4S and he has an Iphone 5. This has been happening for 3 days. I have tried resetting the networks, restarting my phone,  and checking blocked contacts. Nothing is helping with the issue.

  • Configuring MDB to receive message from MQSeries Queues bound on WL JNDI

    Hi,
    I am using weblogic7.0 sp2. I need to configure my MDB to receive message from MQ Series (on a different server). The queue is bound to WL JNDI using a server startup program.
    Anyone with experiece, please help.
    Thanks,
    Fasih

    I'd start here:
    http://e-docs.bea.com/wls/docs70/faq/index.html
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • DefaultMessageListenerContainer Does receive message from remote Queue

    I am developing an application where I need to consume JMS messages from JMS Queue on remote weblogic server 10.3.3.0. My application is deployed WLS 10.3.2.0 and I using Spring 2.5.6. In my spring configuration, I have used Springframework's DefaultMessageListenerContainer to listen to the Queue on remote server.
    Now I have two scenarios in which DMLC does not consumer messages without server restart.
    Scenario 1: When the Remote server on which the JMS queue resides is restarted. DMLC stops consuming message from the Queue on remote server. After I restart my server, it starts consuming messages. But I want that DMLC starts consuming messages without the restarting server at my end.
    Scenario 2: When the remote server is running and I update/Redploy my application on WLS at my end. In this case also, DMLC stops receiving messages and I have to restart server at my end.
    Could anyone please help sorting out this issue?

    This seems like a Spring question, you might want to ty the Spring forums. I'm not sure why you would get the behaviour you see.

  • I updated my apple id and all my messages were deleted, and I cannot receive messages sent to my new apple id

    I just updated my apple id to match my primary email and when I logged into messages on my iPad with the new id, all my messages were deleted and I cannot receive new massages sent to my new id.  My iPhone which is still logged into my old apple id is receiving messages from both ids.

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • Can 1 MDB configured to receive messages from 2 Queues

    Hi,
    Is is possible to configure 1 MDB to listen to 2 queues

    Deploying the very same MDB twice is not a "trick" or unusual as your comment suggests. A MDB is a stateless component. It just receives messages. If you deploy the same MDB twice and link it to different queues, it is exactly as if one MDB where configured to receive from 2 queues.
    So everything is possible with MDBs. You can consume from multiple destinations and can even mix queues and topics. The only thing you must keep in mind is that you have at least that many MDB instances (of the same MDB) as destinations (= MDB deployments). However, for scalability reasons you would have multiple MDB instances in most cases.
    I don't see a reason why sombody should switch to a proprietary thing like your MDS and I don't understand why you mention this in nearly every post. Buy banner ads instead.
    -- Andreas

  • G(oogle)mail and Apple Mail: Cannot receive messages

    Hello,
    I have a googlemail account. My email address ends with "@gmail.com".
    I am trying to configure the Apple Mail application in Mac OS 10.2 (Jaguar). I can send but not receive messages.
    The German website says, i should set the server to "pop.googlemail.com", enter my password and use my email address "including '@googlemail.'" as username.
    Well, I think that is the reason why I cannot connect to the server, my Email address is gmail not googlemail.
    But whatever I enter in the respective fields (pop.googlemail.com, pop.gmail.com, pop3.....) all fails.
    Stupid as it is: event copying my settings from my smartphone does not help.
    What are the correct settings for me?

    Thank you,
    that really solved the problem.
    For all German customers, who participated in the public beta test of Google Mail ("invited users") and who have an email address, which ends with "@gmail.com",
    the correct servers are "pop.gmail.com" NOT "pop.googlemail.com"
    and "smtp.gmail.com" NOT "smtp.googlemail.com".
    Their German website is wrong in these cases. Moreother, the hint is missing, that SSL has to be activated for incoming mails as well.
    eMac 700 CD-RW   Mac OS X (10.2.x)  

  • Servlet cannot receive message from applet after sent message to applet

    In my Applet-Servlet communication, my servlet can not receive message from the applet after the servlet sent message to the applet. It will throw java.io.EOFException: Expecting code
    Can someone tell me what is wrong?
    ==============
    This is relevant code on applet side:
    String inMsg = "";
    try {
    _owner.textArea.append("run start...please wait......\n");
    String location = "http://111.111.11.111:8080/mdo/servlet/BLServlet";
    URL servletURL = new URL(location);
    URLConnection servletConnection = servletURL.openConnection();
         _owner.textArea.append("URL = "+location+"\n");
    servletConnection.setDoOutput(true);
    servletConnection.setDoInput(true);
    servletConnection.setUseCaches(false);
    servletConnection.setDefaultUseCaches(false);
    servletConnection.setRequestProperty("Content-Type", "application/octet-stream");
    _owner.textArea.append("servlet connection: \n  "+servletConnection.toString()+"\n");
    outputToServlet = new ObjectOutputStream(servletConnection.getOutputStream());
    _owner.textArea.append("output to servelt:  "+outputToServlet.toString()+"\n");
    _owner.textArea.append("Send msg: Register\n");
    outputToServlet.writeObject("Register");
    _owner.textArea.append("Sent. \n");
    outputToServlet.flush();
    _owner.textArea.append("Flush. \n");
    try {
    Thread.sleep(3000);
    } catch (InterruptedException exc) {
    _owner.textArea.append("Cannot Sleep.\n");
    return;
    inputFromServlet = new ObjectInputStream(servletConnection.getInputStream());
    _owner.textArea.append("input from servlet:   "+inputFromServlet.toString()+"\n");
    Object inMessage = new Object();
    inMessage = (Object) inputFromServlet.readObject();
    inMsg = inMessage.toString();
    _owner.textArea.append("Receive: "+inMsg+"\n");
    _owner.textArea.append("output-to-servelt:  "+outputToServlet.toString()+"\n");
    _owner.textArea.append("input-from-servlet: "+inputFromServlet.toString()+"\n");
    _owner.textArea.append("Send msg: Hello\n");
    outputToServlet.writeObject("Hello");
    _owner.textArea.append("Sent. \n");
    outputToServlet.flush();
    _owner.textArea.append("Flush. \n");
    try {
    Thread.sleep(3000);
    } catch (InterruptedException exc) {
    _owner.textArea.append("Cannot Sleep.\n");
    return;
    _owner.textArea.append("output-to-servelt:  "+outputToServlet.toString()+"\n");
    _owner.textArea.append("input-from-servlet: "+inputFromServlet.toString()+"\n");
    inMessage = new Object();
    inMessage = (Object) inputFromServlet.readObject();
    inMsg = inMessage.toString();
    _owner.textArea.append("Receive: "+inMsg+"\n");
    _owner.textArea.append("End of run\n");
    } catch (Exception e) {
    _owner.textArea.append("Exception:  "+e.toString()+"\n");
    Code on Servlet side:
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    String inMsg;
    try {
    textArea.append("start of main\n");
    inputFromApplet = new ObjectInputStream(request.getInputStream());
    inMsg = (String) inputFromApplet.readObject();
    textArea.append(" - BLServlet - from Applet: "+inMsg+"\n");
    if (inMsg.equals("Register")) {
    outMsg = "Register Accept";
    } else {
    outMsg = "MISTAKE2";
    textArea.append("output message: "+outMsg+"\n");
    outputToApplet = new ObjectOutputStream(response.getOutputStream());
    textArea.append("object output stream: "+outputToApplet.toString()+"\n");
    outputToApplet.writeObject(outMsg);
    outputToApplet.flush();
    try {
    Thread.sleep(3000);
    } catch (InterruptedException exc) {
    return;
    inMsg = (String) inputFromApplet.readObject();//Throw java.io.EOFException: Expecting code
    textArea.append(" - BLServlet - from Applet: "+inMsg+"\n");
    inputFromApplet.close();
    if (inMsg.equals("Hello")) {
    outMsg = "Hello! How are you!";
    else {
    outMsg = "MISTAKE3";
    textArea.append("output message: "+outMsg+"\n");
    outputToApplet.writeObject(outMsg);
    outputToApplet.flush();
    } catch (Exception exc) {
    textArea.append("Exception: "+exc.toString()+"\n");
    return;
    } // end of try/catch
    } // end of doPost method

    I have the same problem. I'm trying to send an ImageIcon through an ObjectOutputStream from an Applet to a Servlet. Here is my code:
    URL url = new URL(getCodeBase(),"/License/SnapshotServlet");
    URLConnection con = url.openConnection();
    con.setDoOutput(true);
    con.setUseCaches(false);
    con.setRequestProperty("Content-Type", "application/x-java-serialized-object");
    OutputStream os = con.getOutputStream();
    BufferedOutputStream bos = new BufferedOutputStream(os);
    ObjectOutputStream oos = new ObjectOutputStream(bos);
    oos.writeObject(icon);
    oos.flush();
    oos.close();
    Here is my error:
    [5/6/02 17:41:31:312 CDT] 7f8b8205 SystemOut     U service() called
    java.io.EOFException
    at java.io.DataInputStream.readFully(DataInputStream.java:168)
    at java.io.ObjectInputStream.readFully(ObjectInputStream.java:2076)
    at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1085)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:380)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:242)
    at javax.swing.ImageIcon.readObject(ImageIcon.java:373)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2219)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1416)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:392)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:242)
    at dps.license.webcam.SnapshotServlet.doPost(SnapshotServlet.java:39)
    at dps.license.webcam.SnapshotServlet.service(SnapshotServlet.java:75)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
    at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
    at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
    at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
    at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
    at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
    at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:184)
    at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
    at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
    at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:125)
    at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
    at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)[5/6/02 17:41:31:859 CDT] 7f8b8205 SystemOut     U saving image...
    [5/6/02 17:41:31:859 CDT] 7f8b8205 SystemOut     U ERROR: Image is null!
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
    at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
    Does anyone have any idea what is going on here?

  • Cannot receive message in Outlook Express

    I recently (for the first time) accessed my ISP's e-mail service. Since then I have been unable to receive messages in Outlook Express although I can send them. When I check for new messages I do get a connection but no new messages. Some of my messages are diverting to my ISP provider's e.mail service. I have checked all my account settings etc for OE and they look fine. It was all working perfectly before. Any ideas, help would be appreciated.

    Hi to all
    Well, the Outlook express is a part of the Windows OS and if you want to reinstall it you need an original Microsoft Windows CD. The delivered Toshiba recovery CD proffers only the whole OS image. In this case its not possible to install only the Outlook Express. You have to recover the whole OS.
    I know its not the optimal solution. You can try to use the system restore tool. Then you can roll back the OS to the early point.
    But if it doesnt help, the recovery procedure is the last chance.

  • HT4623 Since my update on my 5s I cannot receive messages from other iPhones. They all have to be sent by text. Why?

    Since my 7.1 update I do not receive messages unless they are sent as text.

    iOS: Troubleshooting Messages
    Symptoms
    Learn how to resolve issues with the Messages app on your iPhone, iPad, or iPod touch. You'll learn what you need to send messages using SMS, MMS, and iMessage as well as how to resolve issues with each method.
    Resolution
    Before you start troubleshooting, learn the difference between SMS, MMS, and iMessage. The first step to resolving an issue with iMessage is to update your iOS software and your carrier settings to the latest versions. If iMessage still has an issue, follow the steps below for your issue.
    If you can't activate iMessage with your phone number or Apple ID
    See how to troubleshoot iMessage activation. If you're using a China Telecom or au (KDDI) iPhone, you can activate iMessage only on your home network. While traveling internationally, you can't activate iMessage.
    If you can't send and receive iMessages
    You will need these to send and receive iMessages:
    An iPhone, iPad, or iPod touch
    iOS 5.0 or later
    A cellular data connection or a Wi-Fi connection
    A phone number or Apple ID registered with iMessage in Settings > Messages
    To resolve issues with sending and receiving iMessages, follow these steps
    Check iMessage system status for current service issues.
    Go to Settings > Messages > Send & Receive and make sure that you registered iMessage with your phone number or Apple ID and that you selected iMessage for use. If the phone number or Apple ID isn't available for use, troubleshoot iMessage registration.
    Open Safari and navigate to www.apple.com to verify data connectivity. If a data connection isn't available, troubleshoot cellular data or a Wi-Fi connection.
    iMessage over cellular data might not be available while you're on a call. Only 3G and faster GSM networks support simultaneous data and voice calls. Learn which network your phone supports. If your network doesn't support simultaneous data and voice calls, go to Settings > Wi-Fi and turn Wi-Fi on to use iMessage while you're on a call.
    Restart your device.
    Tap Settings > General > Reset > Reset Network Settings on your iPhone.
    If you still can't send or receive an iMessage, follow these steps
    Make sure that the contact trying to message you isn't blocked in Settings > Messages > Blocked.
    Make sure that the contact you're trying to send a message to is registered with iMessage.
    If the issue occurs with a specific contact or contacts, back up or forward important messages and delete your current messaging threads with the contact. Create a new message to the contact and try again.
    If the issue occurs with a specific contact or contacts, delete and recreate the contact in the Contacts app. Create a new message to the newly created contact and try again.
    Back up and restore your device as new.
    If you aren't receiving iMessages across all iOS devices
    Go to Settings > Messages > Send & Receive on each iOS device and make sure that you signed in with your Apple ID. You must use the same Apple ID on each device.
    Go to Settings > Messages > Send & Receive > You Can Be Reached By iMessage At and make sure that you selected each phone number and email address you want to use with iMessage.
    If you linked a phone number to your Apple ID with iMessage and the phone number hasn't appeared, followthese steps.
    Sign out of your Apple ID in Settings > Messages > Send & Receive and Settings > FaceTime on all devices.
    If you're linking a phone number to an Apple ID, sign in to iMessage on your iPhone first. Then sign in to the rest of your device one by one with iMessage and FaceTime.
    If your iMessages didn't transmit as SMS when iMessage was unavailable for use
    Go to Settings > Messages > Send as SMS and turn on Send as SMS.
    Select your phone number when Sending iMessages in Settings > Messages > Send & Receive > Start New Conversations From.
    Make sure that you can send SMS with Settings > iMessage turned off.
    Source: http://support.apple.com/kb/ts2755

Maybe you are looking for

  • Need help connecting to a database with an applet

    I am making a Java game that runs in an applet and needs to connect to a Java DB database. I created the database and table in NetBeans and now I have no idea how to connect this applet to the database. I tried using a DataSource and an InitialContex

  • PDF Text

    Hi All, We are trying to write many lines in a pdf document and we are able to achieve the same using PDF text. But our requirement is to create duplication of the written content on right hand side of the pdf document also using some spacing. i.e th

  • TreeTableView Scrollbar Not Responsive Once Node is Collapsed

    I've created a TreeTableView using a folder/file structure, I start all of the tree nodes to be expanded.  The vertical scrollbar does respond at that point as expected by scrolling the treatable content.  However, if I collapse one of the parent nod

  • My simple form page isn't passing along the form variable I need to load my update page?

    I have created a recordset on my update page that specifies a form variable filter that matches the form ID on my simple form page.  When I enter the information on that page and submit, I go to the update page but nothing is loaded.  I've tested the

  • Is there a repair for deep back scratches ipod touch 5th gen?

    I was so irresponsible. I got out of the car without knowing that my iPod touch was on my lap, and my iPod fell on the ground. The disappointing part was it has a deep scratches on the side because it slid and the volume buttons were scratched to. I'