Help - sending messages between servers

Hy, Am actually trying to send a message from 1 server and try to receive that same message from another server. Am using Jonas server.
I've create an SessionBean from which I send the message from server A.
The function sendMsg () contains the following:
try
prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.rmi.registry.RegistryContextFactory");
prop.put(Context.PROVIDER_URL, "rmi://serverB:1099");
ictx = new InitialContext(prop);
qcf = (QueueConnectionFactory)ictx.lookup("JQCF");
queue = (Queue)ictx.lookup("OutQueue");
I have already deployed my ejb jar on the 2 servers.
But when I send the msg from server A , I receive the msg from the server A itself instead on server B
Could you please help me solved my problem
thanks in advance

Hy,
Excuse me. I was wrong. I did not receive the msg.
I have made the test again.
I have created 2 jar. The first one contains only the sender (client and session bean ) + deployment descriptor and the jar contains only the MDB + deployment descriptor.
But I do not receive any msg
what should I do more?
thanks in advance

Similar Messages

  • Message between servers

    Hi,
    I am new to this JMS, after reading online and a sample application I got an idea how to configure JMS with resin and Jboss.
    My question now is, how to send and receive messages between servers ? I have created some sample applications and just sent and received messages within the same server.
    How can we achieve sending messages across servers ?
    Thanks in advance.
    ~ SK

    Hi Elad,
    We did XI-XI communictions a bit different, we approached it as a B2B scenario. We defined a Party for the sending XI system and we created an abstract interface with the Idoc messagetype (because you need on both sides the same interface name/namespace and we use naming conventions).
    In the receiver agreement of the sending XI system you have to replace the party and service name with the ones you have did setup on the receiving XI.
    I hope this helps you in the right directions
    Cheers,
    Frank

  • Sending messages between clients

    hi,
    I want to make small instant messenger,like yahoo.I have made a server which accept connection from different client & send online user list to each and every client connected to the server.
    But now i have to send messages between the clients(chatting).
    This can be do either through server or allow server establishing connection betwwen two client & allow them to continue chatting session.But i am not able to figure out how i do either of the things using socket programming.
    Please help me ,to establish chatting session between the clients.
    Thank you for replies
    alok

    Yes, It should be Non public to Other client but not to server.
    Suppose client1 want to send message to client2 then it send message to server,then server passes this message to client2.
    Now as client2 got the it send some reply to client1 which
    is also reach to client1 through server.But I have problem ,as how
    does client2 knows to which client he has send message as no of clients are connected to the server & more then one client has send message to client2.
    Basically I have problem in sending reply to a message send by the different client connected to the server.
    Thank You for reply

  • How do I send messages between my iPhone 4s, my daughters iPods and my sons iPad?

    How do I send messages via my iPhone 4s and my daughters iPods and my sons iPad? I really want to make the
    Most out of our devices.

    You would need to each have your own apple ids so you can imessage each other

  • TS2755 How can I send messages between one iPod to another iPod?

    I need help trying to send a message from one iPod to another using the messaging.

    There are some apps that will let you send photos from one iOS device to another over BT.

  • Need help sending message on 6110

    I only just sent a message on my nokia 6110, and about 5 mins later i went to send another text and it wont let me reply or send new txt. I cannot also view my contact list.

    Remove the battery for 10min or more & check. If it does not solve your problem make a backup & reset it by entering this code *#7370#
    Knowledge not shared is knowledge wasted!
    If you find it helpfull, it's not hard to click the STAR..

  • Having trouble sending messages in the message app provided by Apple

    I have the IPad air and when ever I try to send a message in the message app it says your message can not be delivered, there's nothing wrong with my WI-FI Because it has 3 full bars so what am I suppose to do I can't even send messages to anybody. Can anyone help me??

    iMessage will only send messages between other Apple iOS devices.
    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/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    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

  • Adobe air sending messages

    Hello,
              Am working on an Adobe AIR application.See i have two type of users in my  application ,"nurses and patients".I jus create the UI ie,both of them have a login and register pages..when both of them get logged in they have there own home pages..In their home page they have a buttons "compose new message"..both of them could send messages between them.wen patient send a message,nurse will get an alert about that message(i mean alert inside the app..not like SMS).Actually..this is a mobile application ie mobile to mobile transactions are goin to happen..
    THis application is goin to run on smartphones..
    My question is:
    1.How can i do this messaging part?Am new to AIR applications..so i have no idea about this..please help anybody..
    Thanks

    Have you looked at posting in the Adobe support forums?

  • Messages between different form sessions

    Hello,
    I'd like to know if there is any way to send messages between different oracle forms sessions.
    Thanks.

    I use dbms_alert extensively to do this. Alerts can be named so that a particular forms session only receives the messages it wants. The form signifies which alerts it wants to receive by calling dbms_alert.register. The form has repeating timer which calls dbms_alert.waitone.
    The message sender uses dbms_alert.signal. Note that for forms applications, calls to dbms_alert.waitone should normally be given a zero timeout. This allows all of the 'waiting' to be done by the forms timer so normal forms operation is not affected during the wait. dbms_alert.waitone will detect any alerts signalled since the last register or waitone.

  • I downloaded the whatsapp app to my new iphone, and when i wanted to create an account, i could not, it said, unable to send message. I downloaded it several times later, but i still could not create the account, it always said, unable to send, help

    I downloaded the whatsapp app to my new iphone, and when i wanted to create an account, i could not, it said, unable to send message. I downloaded it several times later, but i still could not create the account, it always said, unable to send, help

    I recommend reaching out to Citrix via their support system -
    http://www.citrix.com/products/receiver/resources-and-support.html
    The receiver app has a specific list of servers it's compatible with, if the server is not on the list the app won't work in OS X.
    http://support.citrix.com/servlet/KbServlet/download/28492-102-671726/Receiver%2 0for%20Mac%2011%204%20FAQ%20v1_1235.pdf
    Do you know what server you're connecting to?

  • Can't send message via account IMPA has a red dot against it? help

    Hi i'm sending messages via my google account and it isn't working - now the password is correct but it keeps coming up with IMPA in the correction doctor and well i have no idea, why this has happened and how to resolve it as its been working fine. HELP as its really frustrating as i have to go to the account provider (google) to do any of my work now. Ps i seem to be getting incoming mail but cant send. Thanks

    Thanks for the suggestion - it turned out that it was actually my workplace's network that automatically blocks external SMTP servers (for some security reason), so the email(s) sent perfectly once I went home and connected to May home network. Annoying!

  • I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up und one account.

    I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up under one account.

    You can have a different receiving email in the Messages app on each device : Settings > Messages > Receive At . I'm not sure that there is a different way to have the message only go to one device.

  • I've been texting my friend with iMessage with wifi on and all of a sudden it changed to text message and won't let me send messages. My wifi is still on and working but it won't switch back to iMessage. Please help

    I've been texting my friend with iMessage with wifi on and all of a sudden it changed to text message and won't let me send messages. My wifi is still on and working but it won't switch back to iMessage. Please help

    What I recommend you try doing first is to turn iMessage off then back on.  If that doesn't work, make sure that your Apple ID and password are correct.  If everything seems correct and you still can't send out messages using iMessage instead of text message, I think you should either try calling AppleCare at 1-800-MY-IPHONE (1-800-694-7466) and/or scheduling an appointment at the Genius Bar at an Apple Store (that is, if there's one close to you).
    Hope this helps!

  • TS2755 Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help of how to set up messages on each

    Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help on how to set up messages on each device separately and to start using messages app on each device independently. Thanks

    search google for "iphone remove picture from contact"

  • How do I set up a mail server and SMTP server to send messages to other mail servers at mavericks

    How do I set up a mail server and SMTP server to send messages to other mail servers at mavericks

    You need to get the settings for your email from your email provider and enter them in Internet Accounts (System Preferences). Many of the common systems are already available, all you need is a password and an email address to set them up.

Maybe you are looking for

  • HIGH memory usage in Perf Counters but LOW by SQL components

    Hi all, Our SQL Server has the following specs: OS: Windows Server 2008 R2 Enterprise Edition SP1+Cumulative Updates RAM: 128GB SQL Server: 2012, Enterprise (SP2), Core-based Licensing (64-bit) Max Memory Setting: Limited to 123GB I used performance

  • Disabling fields on the basis of radio button selected

    Hi experts, I have a requirement where in i have a dialogue screen which has radio buttons and few other input fields. when i check a radio button on the screen i have to get an input field greyed out on the same screen immediately. i have grouped th

  • Space for Visitors to Ask something

    Hi I want people to ask me (and visitors of my site) a question. any idea how i can do that? thank you for your help

  • Jquery and edge and indesign

    I made an edge animate oam file and put it into indesign and the jquery I put into the edge, drag and drop, is not working in my indesign file, when i view it on the content viewer.  What can I do.... Please tell me it will work!  Help!

  • Converting m4a files to mp3, or joining m4a files

    Hi, Does anyone know to convert m4a files to mp3 files? or to join m4a files together? Thanks