Problem:
- Product Name: BES
- Product Version: 6.0 RP1
- Product Component: Web Container
- Platform/OS Version: Win32
- JDK/Compiler Version: 1.3.1/1.4.1
HttpServletRequest.getRemoteAddr() returns an old IP address from someone who used connection earlier.
Resolution:
This is a known issue in the default connector with a BES 6.0RP1. The workaround is:
- Go to the server.xml as follows:
Borland Management Console --> Configuration --> Partition --> Web Container right click on web container, click properties, click "Service:HTTP", click "Connector:CoyoteConnector:xxxx", click the XML tab on the right pane, comment the line highlighted that is as follows by placing at the end of this element. - Then add the following line:
<port="xxxx" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" useURIValidationHack="false" disableUploadTimeout="true"/>
Note: change port number in new connector to match the port number that existed previously.
Old KB# 15393
#BES
#BorlandApplicationServer
#WebContainer
#VisiBroker
#Security