?
Solved

failure to send messages to remote imq broker using fscontext jndilookup

Posted on 2008-10-21
1
Medium Priority
?
414 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
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.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Suggested Courses
Course of the Month8 days, 4 hours left to enroll

765 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