cancel
Showing results for 
Search instead for 
Did you mean: 

JNDI Root Context

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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