| Author |
JNDI To Look Up An IP Address?
|
Jason Ferguson
Ranch Hand
Joined: Aug 09, 2007
Posts: 58
|
|
Is it possible to use JNDI to look up a particular IP address? Right now I only use it for looking up data sources. I need to specify different IP addresses for SMTP servers for my test servers, customer test servers, and production. I'm using (blech) Oracle App Server 10.1.2 for this, if anyone has any experience with setting it up. Jason
|
 |
Amir Pourteymour
Ranch Hand
Joined: Mar 06, 2008
Posts: 45
|
|
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp://192.168.0.1:1099 java.naming.factory.url.pkgs=org.jboss.naming rg.jnp.interfaces
|
 |
Kevin Smither
Ranch Hand
Joined: Oct 22, 2007
Posts: 30
|
|
|
looking up IP address? what does that mean??
|
 |
Amir Pourteymour
Ranch Hand
Joined: Mar 06, 2008
Posts: 45
|
|
|
It means that you should have an application server somewhere in your network where you create your JNDI objects. You are actually looking up the IP address of that host.
|
 |
 |
|
|
subject: JNDI To Look Up An IP Address?
|
|
|