Thank You, i try this way, but in every case, how can i retrieve the port number at runtime?
In all my project (web and ejb container) when i execute a lookup on the JNDI context, i initialize it only using new InitialContext() without using properties. It's possible to set as default PROVIDER_URL from configuration? The same application is used under JBoss, WebSphere, SAP WebAS and Weblogic.. so i can't specify a port. THank You View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872993#3872993 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872993 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user