Unable to receive ObjectMessage

I am unable to read the ObjectMessage at the receiving end.
--------------------code for sending object message-------
     msg = ses.createObjectMessage();
     File f = new File("C:/My/Work/SunMQ/P4");
     msg.setObject(f);          
     msgPro.send(ses.createMessage());
--------------------code for receiving object message----
          while(true){
               Message m = msgCons.receive();
               System.out.println(" 1a" + m.getJMSMessageID());
               if ( m instanceof ObjectMessage){   // my message doesn't get inside  this loop
                    File f = (File) m;
                    System.out.println(" Message receive ");
               }else { break; }
---------------------------------------------------------

Hello,
Can you replace following line with this one?
msgPro.send(ses.createMessage());msgPro.send(msg);
I think createMessage() is creating a new message and original message created by you is getting lost.
HTH
VJ

Similar Messages

  • I am fed up with Spring and Apple passing me off to one another and neither will fix the problem. I am unable to receive a connection on my phone.

    I am fed up with Spring and Apple passing me off to one another and neither will fix the problem. I am unable to receive a connection on my phone.
    The internet goes out and I have to reset network setting each and every time. This is only a temporary solution which by the time I release the line with Spring or leave the apple store the issue is back. Sprint indicates that it is a know issue with the Iphone 5 and apple says it is a network issue as Sprint's network is not up to par with the Iphone and can not meet the expectations on the Iphone 5.
    I have attached a few picture, as you can see it clearly says I have 5 bars and 3g available but I have no connections what so ever.
    This issue affects all data and so I can not send or receive picture messages, use apps, or access the internet. The data goes in and out intermittently and it seems the phone chooses what I can and can't do.
    For example I can watch Youtube or Vevo videos but I can not access Facebook or Instagram.
    Is anyone else having this issue?
    I will soon loose my patience....
    I have reset my phone three time and have reset network and other setting mutltiple times.

  • I am unable to receive texts on my new LG G2 when sent from some other iPhones

    I had an iPhone 4 and switched to LG G2 android.  I am unable to receive texts on my new LG G2 when sent from some other iPhones.  I've done everything Sprint and Apple have suggested - turned off imessaging, made sure the contact info on the other iPhones is plain mobile numbers, deactivated my iCloud account.  Nothing is working.  Anybody have any suggestions?

    See this support document http://support.apple.com/kb/TS5185. If you have done everything there, then look at the last line which says to get in touch with Apple Support. This is not Apple support, this is a user to user forum. Call Apple support based on your location with information from this support document. http://support.apple.com/kb/HE57

  • I am suddenly unable to receive calls on my iPhone 4S.  Is it possible that the age of the phone will affect its ability to receive calls? HELP!

    I am suddenly unable to receive calls on my iPhone 4S. 
    I have spent 2 hour-long sessions with technical support and although they were very nice, it is still not fixed.
    When I try to call the phone from a land line, it doesn't ring AND it doesn't recognize that a call is coming in (no missed call) BUT if I leave a message, it records it.
    Is it possible that the age of the phone will affect its ability to receive calls?
    HELP!

        MarketingMary,
    I am truly sorry to hear that your are unable to receive calls on your device. Thank you tbo27 for providing great troubleshooting steps. Making sure call forwarding is not active by dial *73 is great. Have you already reset network settings also? http://vz.to/RTz70g Are you able to make calls fine? Make sure Do not Disturb is not active. Settings>Do Not Disturb
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • I am unable to receive or send email from my IPAD.  The error message says "Connection to server failed".  Help!! geandreamer44

    I am unable to receive or send email from my IPAD.  The error message says "Connection to server failed".  Help!! geandreamer44

    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    If that doesn't help, tap Settings > General > Reset > Reset Network Settings
    You will have to re enter your Wi-Fi password.
    If nothing above helped, restart your router.
    No data is lost due to a reset.

  • HT4528 i upgraded from an iphone to a Samsung galaxy and now i am unable to receive text messages now from iphone users.the iphones think that my number is still another iphone and always sends a message as imessage.

    Upgraded from iphone to a Samsung and now i am unable to receive text messages from other iphone users unless they disable imessage .
    Being my original number was on an iphone is why this is happening .
    Please help. Almost everyone has an iphone

    You should have turned iMessage off before disabling the phone. Do you still have the phone so you can turn iMessage off? If not, you will need to go to Apple support on their website and delete the product from your profile.

  • Unable To Receive Finished Goods in production module

    Hi Experts,
                        I am unable to receive some finished goods  in production module through Receipt from production form  and it will not through any exception. The problem occurs only for few production rest of production is received with out any problem.
    Regards

    hi parminder
    there has to be ceratin message as somethimes we overlook and there is the message being displayed that is hidden below the status bar .
    One thing is are u able to add the document receipt from production . is there a message " done successfully"
    Regards,
    Manish
    Edited by: manish.malik on Apr 30, 2010 4:53 PM

  • Unable to Receive the Purchase Order

    Hi Experts,
    A PO is created with 44 units of a material. the 44 units are divided into 4 batches.When  trying to do the goods receipt, it id not first prompt for any serial numbers.
    Hence went ahead and did the goods receipt. But could not receive the PO yet.So cancelled the Goods receipt by doing the movement type 102.
    When it was checked, the material in sending plant has a serial number profile assigned to it
    and also the batch management has been checked.(in mm03) . So assigned the serial number profile in the receing plant too.
    but it did not help.
    can you suggest any possible solution for this?

    I did not understand your story.
    And I do not really know how you want it to be.
    you are talking about sending plant and receiving plant, is your PO a stock transport order or just a standard PO?
    do you use SD shipping or just MM movements to transfer the quantity between both plants?
    do both plants belong to the same company or different companies?
    you are talking about batches. batch managment can be activated at plant, mateial or client level, which level do you use?
    if plant level, then the same material can be batch managed in one plant but not batch managed in the other plant.
    you said you did the receipt, but did not receive the PO, then cancelled the receipt. this is a real weird sentence. Has this anything to do with your problem?
    you are saying you are unable to receive the PO, I guess you talk about the quantity and a receipt in reference to the PO. Do you get any error message which prevents you from receiving.
    you actually said you have done the recipt and cancelled it, so what do you mean by "unable to Receive" ?

  • My computer crashed and I am unable to receive my acrobat 10 I purchased online. what do I do to not have to pay for a new update?

    my computer crashed and I am unable to receive my acrobat 10 I purchased online. what do I do to not have to pay for a new update?

    Hi joec,
    You can download and install Acrobat 10 from : http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html
    and then use the purchased serial number to activate the software.
    Regards,
    Rave

  • Unable to receive internet connection over wifi connection.  Shows that I am connected to the network, but do not have internet access.  Checked my firewall and turned it off.  What else am I missing or should be doing differently?

    Unable to receive internet connection over wifi connection.  Shows that I am connected to the network, but do not have internet access.  Checked my firewall and turned it off.  What else am I missing or should be doing differently?

    You might want to try resetting your router and your modem - just unplug the cords, leave them unplugged for about 3-5 minutes and then replug the modem and then the router in that order.
    This may or may not correct your problem - call back if it doesn't.
    Clinton

  • TS3276 unable to receive and send mail

    I have been having problem with mail. Unable to receive or send. Something is messed up. HELP

    Please describe in detail what happened when you took all the applicable steps in the support article. That's the starting point for any further efforts to solve the problem.

  • Unable to receive special characters in XML using UTL_HTTP request from Other application

    Hi Team,
    We are using SOAP request in Oracle Application to Pull XML data from Other application.I am using below commands before receving response but still i am unable to receive special charcters/Spanish Charcters in XML.
    utl_http.set_body_charset(v_http_req, 'UTF-8');
    utl_http.set_header (v_http_req, 'Content-Type', 'text/xml');
    Thanks and Regards,
    Raghul

    Hello,
    Just when you think that you know everything, it is slammed in your face that you don't. The .Mac member name field in the System Preferences DOES NOT take your whole e-mail address. It only takes your user name or whatever comes BEFORE the "@" symbol. There was absolutely nothing wrong with my MacBook Pro (other than ther brain dead user).
    Sorry for wasting your time...
    If we learn from our mistakes, then I obtained my PhD years ago,
    Dr. Z.

  • Mac Mail & POP Error Message - Unable to receive, Able to send

    I am in a bind -- our company (okay, me) had gotten fed up using Yahoo Small Business email (multiple problems with customer service, they deleted my email, their tech fixes take weeks, I could go on and on...), so we switched to Network Solutions, a company I've used personally and been pretty happy with. HOWEVER, we've switched over and a remote party who uses Mac Mail to access his email set up using the exact settings suggested by Network Solutions and is unable to receive email. He's able to send it (using Earthlink as the outgoing mail server), but he's unable to receive it, and it's becoming a BIG pain.
    He's running:
    Mac OS 10.4.6
    Mac Mail 2.0.7
    He receives the error message:
    "The server error encountered was: The server "mail.latitude-entertainment.com" cannot be contacted on port 110."
    He operates wirelessly using a home router for multiple computers and has Earthlink DSL.
    One bizarre twist: He's even not able to access the webpage for webmail (http://mail.latitude-entertainment.com)
    At first I thought it was a firewall issue, but he doesn't believe he has any firewall software installed.
    Needless to say, I'm an admin here looking like a fool in front of the big wigs. Not a good position. Network Solutions runs me down their usual list of things to look for, but not looking at the computer, I'm running blind (and he's not in a position to contact tech support himself).
    Any help out there?
    Any help would be appreciated.
    Laptop, not sure what type   Mac OS X (10.4.6)   Mac Mail 2.0.7

    Hello, and welcome to the Discussions.
    Probably the number one thing check and/or experiement with, is the form of the Username entered in the Mail Preferences when setting up the account. Mail is very precise about whether the form is the portion of the email address in front of the "@domain", or the entire email address. The standard will be set by the server, of course, Mail will not take Username from any place, other than the Username entry box in the preference, and not from the email address entry box.
    Have him try it each way. Do you access this server with Mail 2.0, or otherwise?
    Ernie

  • Mail attachement more than 5KB user is unable to receive

    Hi All
    We are trying to send the mail from SAP to Lotus notes with attachment, if more than 5KB user is unable to receive attached
    mail, at the same time user is able to receive the mail if less the 5KB of SIZE.
    where we need to change the setup to allow more than 5KB of Attachment mail from SAP.
    Please help us to reslove the above issue.

    Hi Matt Kangas
    we have checked the mail server there is no issue in the SMTP Mail server as well as there is no restriction in SMTP Level.
    Please clarify.
    Regards
    Edited by: Krishguna on Nov 18, 2009 6:35 PM

  • Unable to received phone calls & SMS

    Hi,
    My iPhone 4s unable to received phone calls and sms. I would like to seek for advice on these problems.
    Thank you.

    step 1
    reset network settings
    settings >general>reset reset network settings
    or
    step 2
    backup and restore
    http://support.apple.com/kb/HT1414
    or
    step 3
    contact carrier

Maybe you are looking for

  • Itunes 10.6.3 on macbook w/ Lion 10.7.4 freezing on start-up

    anyone? help? this *****? bueller?

  • W540 Announced Today

    From http://www.cnbc.com/id/101024541 ThinkPad W540: Lenovo's Most Powerful and Mobile Workstation Ever Featuring the best ThinkPad display ever, the 15.5 inch 3K IPS panel, the W540 answers the demand for a portable, independent software vendor (ISV

  • I want to return to an old versions of iTunes

    Hi guys! When I download my software update for my MacBook, it stops my  MacBook connecting to the internet unless I'm in the same room as the router. To rectify this, I have returned to the operating system 10.6.3, but the most recent iTunes upgrade

  • Adding a new device to cloud

    I have Upgraded iPhones and transferred my SIM card card, however I can't get any of my apps, music etc on the new device? I have a cloud account but I am not sure how to add the new device?

  • Netscape in CAM mode in a SunRay

    Dear friends I have a script for start Netscape browser with two different profiles. The way for identify which profile to use, is the identification of the Mac Address of the device, for this I use the SUN_SUNRAY_TOKEN environment variable. I have a