Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Java System Web Server
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Jan 4, 2012 9:27 AM by
Environment specifc value using JNDI
Jan 4, 2012 9:27 AM
How can I add an Environment specific 'String' variable to the iPlanet/Sun Web server and access it from the application? In the case of tomcat server, we had the following property in the context xml
<Environment name="instanceNum" value="100100"
and used the following code in the application
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
This content has been marked as final.
Show 0 replies