Hi! We're migrating our web applications from Resin 2.1.13 to Tomcat 5.0.28 (running with jsvc on JDK 1.5, Fedora FC2). All of these use our own libraries to get host based configurations from the web.xml which contains resource-refs of the form host.domain.de_database.
After deploying one of these applications, tomcat dies sometimes, sometimes it just stalls (others applications worked, and on resin it still works fine). The stack trace from one killing shows that it crashed while trying to get the FQDN (for getting a db connection) during the startup listener: C [libc.so.6+0x5ad23] _IO_file_underflow+0x173 C [libc.so.6+0x5d46d] _IO_default_uflow+0x1d C [libc.so.6+0x5d103] __uflow+0xa3 C [libc.so.6+0x51f1a] _IO_getline_info+0xfa C [libc.so.6+0x51e11] _IO_getline+0x41 C [libc.so.6+0x5a0bd] fgets_unlocked+0x5d C [libnss_files.so.2+0x39d1] _nss_files_gethostbyname_r+0x141 C [libc.so.6+0xcf009] gethostbyname_r+0x119 C [libnet.so+0x4d61] Java_java_net_Inet4AddressImpl_getLocalHostName+0x91 j java.net.Inet4AddressImpl.getLocalHostName()Ljava/lang/String;+0 If the tomcat doesn't die, you can still get static pages, but no dynamic jsps, and you have to kill -9 the process. We have set the java properties -Dnetworkaddress.cache.ttl=120 -Duser.timezone=CET hoping to solve the problem. Has anyone had the same problem or can you give me any tips on how to deal with this? Thanx in advance, Britta Koch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]