• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Set JNDI on Classpath in Linux

 
Ifteqar Ald
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me. How to Set JNDI on Classpath in Linux??

which jars i need to download?. which Environment variable i need to set?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, but I don't understand the question. What do you mean by set JNDI on classpath? Can you explain a bit more on what you are trying to do? Which version of JBoss AS are you using?
 
Ifteqar Ald
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have jb1 and jb2 installed on ame machine

jb1 contains a datasource file oracle-ds.xml

and my problem is, i want to access the ds file of jb1 from jb2 through JNDI from a WAR file.

how to do this?
 
Ifteqar Ald
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using jboss 4.x
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
saahil gupta wrote:i want to access the ds file of jb1 from jb2 through JNDI

Why would you want to do this? Why not simply copy the *-ds.xml file for jb2 and then that datasource would be available to all of your applicaitons in jb2.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic