On 30/06/2011 21:57, Christopher Schultz wrote:
> Rohan,
>=20
> On 6/30/2011 8:01 AM, Rohan Kadam wrote:
>> We had recently upgraded tomcat from 5.5.30 to 7.0.14. We were earlier=
facing
>> problem that tomcat was not able to connect using Static IP address. T=
he fix
>> that we found was adding
>> address =3D "0.0.0.0" in the Connector tag of server.xml in the "conf"=
directory.
>=20
> This was likely because your JVM prefers an IPv6 stack, while using an
> IPv4 address (0.0.0.0) explicitly causes it to bind to an IPv4 address.=
>=20
> When you say "not able to connect", do you mean that the client couldn'=
t
> reach Tomcat, or that Tomcat couldn't connect to some other server?
>=20
>> After upgrading tomcat to 7.0.14, we have done the same process, but w=
e are
>> not able to connect.
Hint: JAVA_OPTS=3D"-Djava.net.preferIPv4Stack=3Dtrue" can be set in
setenv.sh|bat
p
|