Solved

failure to send messages to remote imq broker using fscontext jndilookup

Posted on 2008-10-21
1
404 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Android development question 2 55
mysql jsp example issue 32 53
intellij error 2 17
getting movie maker for windows 10 8 59
A list of useful business intelligence software.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

820 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