• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use JNDIs configured on different environments at different levels?  RSS feed

 
Tiya Khambadkone
Ranch Hand
Posts: 114
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have my application running on different environments such as development, testing, production ,etc.
Server is Websphere Application Server.
The problem is my JNDIs are configured on development environment server at cell level whereas on testing environment at cluster level.
Earlier all the JNDIs were on cell level everywhere and there was no problem.



For cell level JNDI , the jndi-name prefix that WAS makes us use is 'cell/persistent' whereas for cluster level JNDI, the jndi-name prefix that WAS makes us use is 'cell/cluster/FDKFDS'
where 'FDKFDS' is the cluster name.

So how should I write my jndi-name in code in order to make all this work ?


 
Tiya Khambadkone
Ranch Hand
Posts: 114
1
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!