Bugs item #964508, was opened at 2004-06-01 12:53 Message generated for change (Comment added) made by starksm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=964508&group_id=22866
Category: JBossServer Group: v3.2 >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: Dave Copeland (davetron5000) >Assigned to: Scott M Stark (starksm) Summary: RMI Codebase URL value is determined incorrectly Initial Comment: In server/src/main/org/jboss/web/WebService.java on line 293, the following call is made: address = ServerConfigUtil.fixRemoteAddress(address); This converts the configured jboss.bind.address (or whatever was used in jboss-service.xml) and turns it into a name-based InetAddress. This seems wrong, since if you specified a jboss.bind.address to be an ip address, you want the RMI Codebase URL to use the ip address. This URL gets sent to clients and the clients may not have DNS (or worse, may not have correct DNS). Yes, it is overridable by a system property, but I can think of no reason to default to sending the hostname. It may make sense if the jboss.bind.address is the default of 0.0.0.0, but if it is specified, that exact value should be used. ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2004-06-15 11:11 Message: Logged In: YES user_id=175228 This analysis is incorrect. The only time the hostname is returned from ServerConfigUtil.fixRemoteAddress(String address) is when address is null or equal to '0.0.0.0'. If I run with -b localhost, l see a codebase of http://localhost:8083/. If I run with -b 172.17.66.52, I see a codebase of http://172.17.66.52:8083/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=964508&group_id=22866 ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
