Specifying my webapps outgoing interface/ip for javamail sessions etc.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Michael_Murphy
Posted On:   Tuesday, June 25, 2002 01:19 PM

My problem i think is simple , but i cannot find the docs to assist me in this. I have my web server responding on the primary interface of my server. However i would like Tomcat to make any outgoing requests ( JavaMail session access, transports, specifically ) initiate throught the second interface/ip on my server. I cannot find a place to specify this in the Properties that I pass to the session factory instance or in the Tomcat server.xml configuration ... etc. It defaults to the primary ip ( the 0 interface ), how can I override this to use a different interface/ip for outgoing communication intiated by my WebApp as opposed to the IP that it responds to requests on. Help. My Web Serv   More>>


My problem i think is simple , but i cannot find the docs to assist me in this.



I have my web server responding on the primary interface of my server. However i would like Tomcat to make any outgoing requests ( JavaMail session access, transports, specifically ) initiate throught the second interface/ip on my server. I cannot find a place to specify this in the Properties that I pass to the session factory instance or in the Tomcat server.xml configuration ... etc. It defaults to the primary ip ( the 0 interface ), how can I override this to use a different interface/ip for outgoing communication intiated by my WebApp as opposed to the IP that it responds to requests on.



Help.



My Web Server configuration

- Apache 1.3.23

- Tomcat 3.2.3


-Mike    <<Less
About | Sitemap | Contact