Solved

failure to send messages to remote imq broker using fscontext jndilookup

Posted on 2008-10-21
1
402 Views
Last Modified: 2013-11-24
Hi,
  I need to send jms messages from my application to a imq broker instance on a different box.I am using the com.sun.jndi.fscontext.RefFSContextFactory as the context initial factory.I am having trouble with my provider url .If I share the directory on my remote box where the .bindings is and set the provider url to file:////remotehost/shareddirectory , it works, but I dont want to share the folder,Is there another way to do this using the imqbroker host name and port.I tried http://remotehost:remoteport but always kept getting a InvalidNameException -unknown protocol.Is there a way to do this?
Thanks
0
Comment
Question by:res_this
1 Comment
 
LVL 1

Accepted Solution

by:
sverswijver earned 500 total points
ID: 22839836
No, the reference to your .bindings file must start with file:// since you're using the File System JDNI Service.

what you can do is to copy your .bindings file to a local directory in stead of a shared one?

that's the only solution I see for not having a shared directory.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
Video by: Tony
This video teaches viewers how to export a project from Adobe Premiere Pro and the various file types involved.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question