on 07-22-2004 10:26 PM
Hey everybody,
I'm writing a web application to display the complete JNDI tree from the root InitialContext. However all that appears to be in the tree are two entries: env and UserTransaction in the java:comp context. I find it difficult to believe this is the extent of the WAS JNDI tree. Any ideas?
Kevin
Hi Kevin,
by default you get a restricted (in terms of complexity) context by the WAS, which is specific for the current server application. Create a new InitialContext with Properties and add the value "domain" = "true" to the properties. Then you'll be able to access the complete "JNDI world".
Hope that helps.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.