tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Tomcat Shutdown Issues - servlet destroy
Date Wed, 10 Sep 2003 18:15:00 GMT

Howdy,
Can't reproduce this one -- I use destroy (for servlets, filters), and
contextDestroyed (for context listeners) all the time without any
issues.  

What's your truss output supposed to show?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Oozy [mailto:oozy@oozy.ws]
>Sent: Wednesday, September 10, 2003 2:03 PM
>To: tomcat-user@jakarta.apache.org
>Subject: Tomcat Shutdown Issues - servlet destroy
>
>Having a problem shutting down Tomcat - the servlet does not seem to be
>receiving the destroy call when tomcat shuts down - version 4.1.24 and
>4.1.27
>of tomcat, sun 1.4.1_02 jdk on solaris 2.8 and redhat 8.0 - below is a
>truss
>from solaris as it's shutting down.  Is this a bug w/ tomcat?
>
>
>poll(0xFA181B48, 0, 10)                         = 0
>lwp_cond_wait(0x0002C618, 0x0002C600, 0xFDF81AD0) Err#62 ETIME
>poll(0xEFB812E0, 1, 1000)                       = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xF0081310, 1, 1000)                       = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>accept(13, 0xFFBEDFAC, 0xFFBEDFCC, 1)           = 14
>poll(0xFFBED7D8, 1, 10000)                      = 1
>read(14, " S", 1)                               = 1
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFFBED7D8, 1, 10000)                      = 1
>read(14, " H", 1)                               = 1
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFA181B48, 0, 10)                         = 0
>poll(0xFFBED7D8, 1, 10000)                      = 1
>read(14, " U", 1)                               = 1
>poll(0xFFBED7D8, 1, 10000)                      = 1
>read(14, " T", 1)                               = 1
>poll(0xFFBED7D8, 1, 10000)                      = 1
>read(14, " D", 1)                               = 1
>poll(0xFFBED7D8, 1, 10000)                      = 1
>read(14, " O", 1)                               = 1
>poll(0xFFBED7D8, 1, 10000)                      = 1
>read(14, " W", 1)                               = 1
>poll(0xFFBED7D8, 1, 10000)                      = 1
>read(14, " N", 1)                               = 1
>poll(0xFFBED7D8, 1, 10000)                      = 1
>read(14, 0xFFBED840, 1)                         = 0
>close(14)                                       = 0
>close(13)                                       = 0
>lwp_cond_signal(0x0002CAB8)                     = 0
>lwp_cond_wait(0x0002CAB8, 0x0002CAA0, 0x00000000) = 0
>lwp_mutex_wakeup(0x0002CAA0)                    = 0
>lwp_mutex_lock(0x0002CAA0)                      = 0
>lwp_cond_wait(0x00465188, 0x00465170, 0x00000000) = 0
>lwp_cond_broadcast(0x00465188)                  = 0
>poll(0xFA181B48, 0, 10)                         = 0
>lwp_mutex_lock(0x00465170)                      = 0
>lwp_mutex_wakeup(0x00465170)                    = 0
>lwp_cond_signal(0x0002CAB8)                     = 0
>lwp_cond_wait(0x0002CAB8, 0x0002CAA0, 0x00000000) = 0
>lwp_mutex_wakeup(0x0002CAA0)                    = 0
>lwp_mutex_lock(0x0002CAA0)                      = 0
>lwp_cond_wait(0x00465188, 0x00465170, 0x00000000) = 0
>lwp_cond_broadcast(0x00465188)                  = 0
>lwp_cond_signal(0x0002CAB8)                     = 0
>lwp_cond_wait(0x0002CAB8, 0x0002CAA0, 0x00000000) = 0
>lwp_mutex_wakeup(0x0002CAA0)                    = 0
>lwp_mutex_lock(0x0002CAA0)                      = 0
>lwp_cond_wait(0x00465188, 0x00465170, 0x00000000) = 0
>lwp_cond_broadcast(0x00465188)                  = 0
>lwp_cond_signal(0x0002CAB8)                     = 0
>lwp_cond_wait(0x0002CAB8, 0x0002CAA0, 0x00000000) = 0
>poll(0xFA181B48, 0, 10)                         = 0
>lwp_mutex_wakeup(0x0002CAA0)                    = 0
>lwp_mutex_lock(0x0002CAA0)                      = 0
>lwp_cond_wait(0x00465188, 0x00465170, 0x00000000) = 0
>lwp_cond_broadcast(0x00465188)                  = 0
>lwp_mutex_lock(0x00465170)                      = 0
>lwp_mutex_wakeup(0x00465170)                    = 0
>lwp_cond_signal(0x0002CAB8)                     = 0
>lwp_cond_wait(0x0002CAB8, 0x0002CAA0, 0x00000000) = 0
>lwp_mutex_wakeup(0x0002CAA0)                    = 0
>lwp_mutex_lock(0x0002CAA0)                      = 0
>lwp_cond_wait(0x00465188, 0x00465170, 0x00000000) = 0
>lwp_cond_broadcast(0x00465188)                  = 0
>lwp_mutex_lock(0x00465170)                      = 0
>lwp_mutex_wakeup(0x00465170)                    = 0
>lwp_cond_signal(0x0002CAB8)                     = 0
>lwp_cond_wait(0x0002CAB8, 0x0002CAA0, 0x00000000) = 0
>lwp_cond_wait(0x00465188, 0x00465170, 0x00000000) = 0
>lwp_cond_broadcast(0x00465188)                  = 0
>lwp_mutex_lock(0x00465170)                      = 0
>poll(0xFA181B48, 0, 10)                         = 0
>lwp_cond_signal(0x0002CAB8)                     = 0
>lwp_cond_wait(0x0002CAB8, 0x0002CAA0, 0x00000000) = 0
>lwp_mutex_wakeup(0x0002CAA0)                    = 0
>lwp_mutex_lock(0x0002CAA0)                      = 0
>lwp_cond_wait(0x00465188, 0x00465170, 0x00000000) = 0
>lwp_cond_broadcast(0x00465188)                  = 0
>lwp_mutex_lock(0x00465170)                      = 0
>lwp_mutex_wakeup(0x00465170)                    = 0
>write(1, " S t o p p i n g   s e r".., 34)      = 34
>poll(0xFA181B48, 0, 10)                         = 0
>write(1, "\n", 1)                               = 1
>lwp_cond_broadcast(0x00242670)                  = 0
>lwp_cond_wait(0x00242670, 0x00242658, 0xEFF81490) = 0
>lwp_mutex_wakeup(0x00242658)                    = 0
>lwp_mutex_lock(0x00242658)                      = 0
>lwp_mutex_wakeup(0x000BCEA8)                    = 0
>lwp_mutex_lock(0x000BCEA8)                      = 0
>lwp_cond_broadcast(0x0022A760)                  = 0
>lwp_cond_wait(0x0022A760, 0x0022A748, 0x00000000) = 0
>lwp_mutex_wakeup(0x0022A748)                    = 0
>lwp_mutex_lock(0x0022A748)                      = 0
>mprotect(0xEFF02000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
>lwp_cond_broadcast(0x004629C0)                  = 0
>lwp_cond_wait(0x004629C0, 0x004629A8, 0x00000000) = 0
>mprotect(0xFE0D2000, 5124, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
>lwp_mutex_wakeup(0x004629A8)                    = 0
>lwp_mutex_lock(0x004629A8)                      = 0
>lwp_mutex_lock(0x000BCE00)                      = 0
>sigprocmask(SIG_SETMASK, 0xFF38AD68, 0x00000000) = 0
>lwp_cond_signal(0xFF385548)                     = 0
>lwp_cond_wait(0xFF385548, 0xFF385558, 0xFF37EDB0) = 0
>mprotect(0xF0302000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
>mprotect(0xF0202000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
>lwp_exit()
>sigprocmask(SIG_SETMASK, 0xFF38AD68, 0x00000000) = 0
>sigprocmask(SIG_SETMASK, 0xFF38AD68, 0x00000000) = 0
>lwp_exit()
>lwp_exit()
>lwp_cond_broadcast(0xFF38B210)                  = 0
>munmap(0xEFF00000, 532480)                      = 0
>so_socket(2, 2, 0, "", 1)                       = 13
>munmap(0xF0300000, 532480)                      = 0
>bind(13, 0xFFBEDCA0, 16, 3)                     = 0
>munmap(0xF0200000, 532480)                      = 0
>getsockname(13, 0xFFBEDCA0, 0xFFBEDC9C, 1)      = 0
>poll(0xFA181B48, 0, 10)                         = 0
>connect(13, 0xFFBEDAE8, 16, 1)                  = 0
>poll(0xF0081310, 1, 1000)                       = 1
>close(13)                                       = 0
>accept(4, 0xF008137C, 0xF008139C, 1)            = 14
>close(4)                                        = 0
>close(14)                                       = 0
>lwp_cond_broadcast(0x0023D620)                  = 0
>lwp_cond_wait(0x0023D620, 0x0023D608, 0xEFA81490) = 0
>mprotect(0xF0002000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
>lwp_mutex_wakeup(0x0023D608)                    = 0
>sigprocmask(SIG_SETMASK, 0xFF38AD68, 0x00000000) = 0
>lwp_sema_wait(0xFEF0DE30)                       = 0
>lwp_sema_post(0xFEF0DE30)                       = 0
>lwp_mutex_lock(0x0023D608)                      = 0
>lwp_exit()
>lwp_mutex_wakeup(0x000BCFC0)                    = 0
>lwp_cond_broadcast(0xFF38B210)                  = 0
>munmap(0xF0000000, 532480)                      = 0
>lwp_mutex_lock(0x000BCFC0)                      = 0
>mprotect(0xEFA02000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
>sigprocmask(SIG_SETMASK, 0xFF38AD68, 0x00000000) = 0
>lwp_sema_wait(0xFEF0DE30)                       = 0
>lwp_sema_post(0xFEF0DE30)                       = 0
>lwp_mutex_lock(0xFF385558)                      = 0
>lwp_mutex_wakeup(0xFF385558)                    = 0
>lwp_mutex_lock(0xFF38B1D8)                      = 0
>lwp_mutex_wakeup(0xFF38B1D8)                    = 0
>lwp_cond_broadcast(0xFF38B210)                  = 0
>lwp_cond_broadcast(0x0023FE30)                  = 0
>munmap(0xEFA00000, 532480)                      = 0
>lwp_exit()
>lwp_cond_wait(0x0023FE30, 0x0023FE18, 0x00000000) = 0
>lwp_mutex_wakeup(0x0023FE18)                    = 0
>lwp_mutex_lock(0x0023FE18)                      = 0
>poll(0xFA181B48, 0, 10)                         = 0
>lwp_mutex_wakeup(0x000BCEE0)                    = 0
>lwp_mutex_lock(0x000BCEE0)                      = 0
>lwp_cond_broadcast(0x00242470)                  = 0
>lwp_cond_wait(0x00242470, 0x00242458, 0x00000000) = 0
>mprotect(0xEFE02000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
>sigprocmask(SIG_SETMASK, 0xFF38AD68, 0x00000000) = 0
>lwp_sema_post(0xFEF0DE30)                       = 0
>lwp_sema_wait(0xFEF0DE30)                       = 0
>lwp_exit()
>so_socket(2, 2, 0, "", 1)                       = 4
>mprotect(0xEFD02000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
>bind(4, 0xFFBEDCA0, 16, 3)                      = 0
>sigprocmask(SIG_SETMASK, 0xFF38AD68, 0x00000000) = 0
>getsockname(4, 0xFFBEDCA0, 0xFFBEDC9C, 1)       = 0
>lwp_exit()
>connect(4, 0xFFBEDAE8, 16, 1)                   = 0
>lwp_cond_broadcast(0xFF38B210)                  = 0
>munmap(0xEFE00000, 532480)                      = 0
>poll(0xEFB812E0, 1, 1000)                       = 1
>close(4)                                        = 0
>munmap(0xEFD00000, 532480)                      = 0
>accept(8, 0xEFB8134C, 0xEFB8136C, 1)            = 13
>close(8)                                        = 0
>lwp_cond_broadcast(0x004AA7C8)                  = 0
>lwp_cond_wait(0x004AA7C8, 0x004AA7B0, 0xEF581490) = 0
>lwp_mutex_wakeup(0x004AA7B0)                    = 0
>lwp_mutex_lock(0x004AA7B0)                      = 0
>lwp_mutex_wakeup(0x000BD420)                    = 0
>lwp_mutex_lock(0x000BD420)                      = 0
>lwp_cond_broadcast(0x00247840)                  = 0
>mprotect(0xEF502000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
>lwp_cond_wait(0x00247840, 0x00247828, 0x00000000) = 0
>sigprocmask(SIG_SETMASK, 0xFF38AD68, 0x00000000) = 0
>lwp_sema_post(0xFEF0DE30)                       = 0
>lwp_mutex_wakeup(0x00247828)                    = 0
>lwp_sema_wait(0xFEF0DE30)                       = 0
>lwp_exit()
>lwp_cond_broadcast(0xFF38B210)                  = 0
>lwp_mutex_lock(0x00247828)                      = 0
>lwp_mutex_wakeup(0x000BD340)                    = 0
>munmap(0xEF500000, 532480)                      = 0
>poll(0xFA181B48, 0, 10)                         = 0
>lwp_mutex_lock(0x000BD340)                      = 0
>mprotect(0xEF902000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
>sigprocmask(SIG_SETMASK, 0xFF38AD68, 0x00000000) = 0
>lwp_sema_wait(0xFEF0DE30)                       = 0
>lwp_sema_post(0xFEF0DE30)                       = 0
>lwp_mutex_lock(0xFF385558)                      = 0
>lwp_mutex_wakeup(0xFF385558)                    = 0
>lwp_cond_broadcast(0xFF38B210)                  = 0
>lwp_exit()
>lwp_cond_broadcast(0x00245D88)                  = 0
>munmap(0xEF900000, 532480)                      = 0
>lwp_cond_wait(0x00245D88, 0x00245D70, 0x00000000) = 0
>lwp_mutex_wakeup(0x00245D70)                    = 0
>lwp_mutex_lock(0x00245D70)                      = 0
>lwp_mutex_wakeup(0x000BD378)                    = 0
>lwp_mutex_lock(0x000BD378)                      = 0
>so_socket(2, 2, 0, "", 1)                       = 4
>mprotect(0xEF802000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
>bind(4, 0xFFBEDC88, 16, 3)                      = 0
>send(13, "150301\00201\0", 7, 0)                = 7
>sigprocmask(SIG_SETMASK, 0xFF38AD68, 0x00000000) = 0
>lwp_sema_wait(0xFEF0DE30)                       = 0
>close(13)                                       = 0
>lwp_sema_post(0xFEF0DE30)                       = 0
>lwp_cond_broadcast(0xFF38B210)                  = 0
>mprotect(0xEFB02000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
>lwp_exit()
>getsockname(4, 0xFFBEDC88, 0xFFBEDC84, 1)       = 0
>munmap(0xEF800000, 532480)                      = 0
>sigprocmask(SIG_SETMASK, 0xFF38AD68, 0x00000000) = 0
>sysinfo(SI_HOSTNAME, "host.name.domain", 256) = 31
>lwp_sema_wait(0xFEF0DE30)                       = 0
>lwp_sema_post(0xFEF0DE30)                       = 0
>open64("/etc/.name_service_door", O_RDONLY)     Err#2 ENOENT
>lwp_mutex_lock(0xFF385558)                      = 0
>lwp_mutex_wakeup(0xFF385558)                    = 0
>lwp_exit()
>open("/etc/hosts", O_RDONLY)                    = 8
>lwp_cond_broadcast(0xFF38B210)                  = 0
>fstat64(8, 0xFFBEA9E0)                          = 0
>munmap(0xEFB00000, 532480)                      = 0
>ioctl(8, TCGETA, 0xFFBEA96C)                    Err#25 ENOTTY
>poll(0xFA181B48, 0, 10)                         = 0
>read(8, " #\n #   I n t e r n e t".., 8192)     = 156
>llseek(8, 0, SEEK_CUR)                          = 156
>close(8)                                        = 0
>open64("/etc/.name_service_door", O_RDONLY)     Err#2 ENOENT
>open("/etc/hosts", O_RDONLY)                    = 8
>fstat64(8, 0xFFBEACD8)                          = 0
>ioctl(8, TCGETA, 0xFFBEAC64)                    Err#25 ENOTTY
>read(8, " #\n #   I n t e r n e t".., 8192)     = 156
>llseek(8, 0xFFFFFFFFFFFFFFD1, SEEK_CUR)         = 109
>close(8)                                        = 0
>open64("/etc/.name_service_door", O_RDONLY)     Err#2 ENOENT
>open("/etc/hosts", O_RDONLY)                    = 8
>fstat64(8, 0xFFBEADC8)                          = 0
>ioctl(8, TCGETA, 0xFFBEAD54)                    Err#25 ENOTTY
>read(8, " #\n #   I n t e r n e t".., 8192)     = 156
>llseek(8, 0, SEEK_CUR)                          = 156
>close(8)                                        = 0
>connect(4, 0xFFBEDAD0, 16, 1)                   = 0
>accept(10, 0xEF68139C, 0xEF6813BC, 1)           = 12
>lwp_mutex_lock(0x0002C0A8)                      = 0
>lwp_mutex_wakeup(0xFF3E9D38)                    = 0
>lwp_mutex_lock(0xFF3E9D38)                      = 0
>lwp_cond_broadcast(0x00252830)                  = 0
>lwp_cond_wait(0x00252830, 0x00252818, 0x00000000) = 0
>lwp_mutex_wakeup(0x00252818)                    = 0
>lwp_mutex_lock(0x00252818)                      = 0
>lwp_mutex_wakeup(0x000BCCB0)                    = 0
>lwp_mutex_lock(0x000BCCB0)                      = 0
>lwp_mutex_wakeup(0xFF3E9D38)                    = 0
>lwp_mutex_lock(0xFF3E9D38)                      = 0
>poll(0xFA181B48, 0, 10)                         = 0
>lwp_mutex_wakeup(0xFF3E9D38)                    = 0
>lwp_mutex_lock(0xFF3E9D38)                      = 0
>lwp_mutex_wakeup(0xFF3E9D38)                    = 0
>lwp_mutex_lock(0xFF3E9D38)                      = 0
>setsockopt(12, 65535, 128, 0xEF681448, 8, 1)    = 0
>setsockopt(12, 6, 1, 0xEF681448, 4, 1)          = 0
>setsockopt(4, 65535, 128, 0xFFBEDDA0, 8, 1)     = 0
>close(4)                                        = 0
>mprotect(0xEF602000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
>sigprocmask(SIG_SETMASK, 0xFF38AD68, 0x00000000) = 0
>close(10)                                       = 0
>lwp_sema_post(0xFEF0DE30)                       = 0
>lwp_sema_wait(0xFEF0DE30)                       = 0
>lwp_mutex_wakeup(0xFF385558)                    = 0
>lwp_mutex_lock(0xFF385558)                      = 0
>lwp_mutex_lock(0xFF38B1D8)                      = 0
>lwp_mutex_wakeup(0xFF38B1D8)                    = 0
>lwp_cond_broadcast(0xFF38B210)                  = 0
>munmap(0xEF600000, 532480)                      = 0
>lwp_exit()
>mprotect(0xFE33A000, 6676, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
>lwp_cond_broadcast(0x0022C5B0)                  = 0
>lwp_kill(21, SIGUSR1)                           = 0
>    Received signal #16, SIGUSR1, in poll() [caught]
>      siginfo: SIGUSR1 pid=4698 uid=7101 code=-1
>poll(0xF04814E8, 0, 15000)                      Err#4 EINTR
>sigprocmask(SIG_SETMASK, 0xFF37EFE8, 0x00000000) = 0
>sigprocmask(SIG_SETMASK, 0xFF38AD68, 0x00000000) = 0
>setcontext(0xF0480E58)
>stat64("/cust/jakarta-tomcat-4.1.24/webapps", 0xF04814C8) = 0
>stat64("/cust/jakarta-tomcat-4.1.24/webapps", 0xF04814B8) = 0
>open64("/cust/jakarta-tomcat-4.1.24/webapps", O_RDONLY|O_NDELAY) = 4
>poll(0xFA181B48, 0, 10)                         = 0
>fcntl(4, F_SETFD, 0x00000001)                   = 0
>fstat64(4, 0xF0481528)                          = 0
>getdents64(4, 0x004AA7C0, 1048)                 = 304
>getdents64(4, 0x004AA7C0, 1048)                 = 0
>close(4)                                        = 0
>stat64("/cust/jakarta-tomcat-4.1.24/server/webapps/admin/WEB-INF/web.xm
l",
>0xF0481128) = 0
>access("/cust/jakarta-tomcat-4.1.24/server/webapps/admin/WEB-INF/web.xm
l",
>4) =
>0
>resolvepath("/cust/jakarta-tomcat-4.1.24/server/webapps/admin/WEB-
>INF/web.xml", "/cust/jakarta-tomcat-4.1.24/server/webapps/admin/WEB-
>INF/web.xml", 1024) = 64
>stat64("/cust/jakarta-tomcat-4.1.24/server/webapps/admin/WEB-INF/web.xm
l",
>0xF0481308) = 0
>stat64("/cust/jakarta-tomcat-4.1.24/server/webapps/admin/WEB-INF/web.xm
l",
>0xF0481308) = 0
>
>
>
>
>-------------------------------------------------
>This mail sent through IMP: http://horde.org/imp/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


Mime
View raw message