Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

can i put jndi.properties file inside an ear

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have an ejb in a ear that does JNDI look up for a queue residing on remote appserver/jms server. My dumb question is can i put the jndi.properties file with factory and url specified jarred inside the ejb?
I can put properties file in classpath.But i would like to skip this option if can put jndi.properties file inside ear.

Thanks in Advance
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your app server implements the JNDI spec, so you must look up the JNDI tree in the server.
 
kishore soodha
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please help me in understanding this. You meant to say that i can't lookup remote queue. and the only way is to lookup the queue in the same appserver's jndi tree. then how can i lookup the remote queue. should i bind queue in one app to the physical queue on other app ?? please correct me if i'm wrong.

I'm using weblogic 8.1 and i have two apps running on two different domains. one app need to write to the queue defind in other app. I read on weblogic's documentation that i can define foreign JMS queues.But i'm not sure this is right..
Can you please throw some light on how i can do this?


Thanks
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic