Solved

failure to send messages to remote imq broker using fscontext jndilookup

Posted on 2008-10-21
1
407 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

If your app took Google’s lash recently, here are the 5 most likely reasons.
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

724 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