Solved

failure to send messages to remote imq broker using fscontext jndilookup

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

A high-level exploration of how our ever-increasing access to information has changed the way we do our jobs.
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now