Hello
I have two servers one which makes available some services, and second server
which contain ordinary web application. Some part of web application need to
access to remote server (through JNDI) so i configured access to jndi like
below:
Properties jndiProperties = new Properties();
|
jndiProperties.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
| jndiProperties.put("java.naming.provider.url", serverAddress;
| InitialContext context = new InitialContext(jndiProperties);
When I initialize my InitalContext in way like above, I get connection to local
jndi not to my remote server jndi advisable through serverAddress parameter.
Problem is I can't override configuration for InitialContext context which is
used to lookup local services from jndi for web application.
I'll will glad for any suggestion.
Thanks Sebastian
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941259#3941259
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941259
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user