Matt Cartwright wrote:
the default listener address is "*" or when setting it in the console or via JMX, an empty string ("").
This will cause the WL Server instance to listen on all available interfaces on that box.
So, if you have a listen address specified, just replace it with an empty String.
When using the console, just leave that field blank, save and activate, then restart...
If you want to listen only on dedicated interfaces, configuring channels is the way forward.
Hope that helps.
Matt
James Byars wrote:Hi,
My Linux box has Weblogic running on it. It also has two network interface cards, and hence has two different IP addresses. I want users to be able to access my Weblogic using either of the IP addresses. How can I do this?
Thanks.
David Newton wrote:Webapps disallow file access from the *client* side. The *server* side, i.e. the webapp code, can access any file the user running the Tomcat instance has access to (I think I already said that).
David Newton wrote:Um... oh. So the next person that tried to use the interface couldn't even connect?
IMO this is a really bad idea. In any case, server side code can access any file anywhere, if the user running the container has access to the directory/file. I suppose you could look at the Tomcat Ant task to see about how to restart, unless it's set up to restart automagically on a file change. And hope that the user remembers the port they typed in or didn't make a typo.
David Newton wrote:Why on earth would you want to?
If the request is for a servlet, load the servlet class and invoke its service method, passing the ServletRequest and ServletResponse objects. Note that in this servlet container, the servlet class is loaded every time the servlet is requested.
Pat Farrell wrote:
James Byars wrote: I will just use some client side disabling I guess
Seriously, don't do that. It breaks the user's expectations and does not solve your problem.