Petals BC SOAP

All resource are not properly closed

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 4.0.2, 4.0.3
  • Fix Version/s: 4.4.0
  • Component/s: None
  • Security Level: Public
  • Description:

    When remove component, it keep file descriptor open.
    Use lsof command to verify.
    This behaviour doesn't happen all the time.

  • Environment:
    NA
  1. toAxis151.patch
    (4 kB)
    Christophe DENEUX
    Thu, 4 Nov 2010 - 17:02:51 +0100

Issue Links

Activity

Mathieu Carrolle made changes - Mon, 19 Jul 2010 - 11:51:05 +0200
Field Original Value New Value
Assignee Nicolas Oddoux [ noddoux ]
Hide
noddoux added a comment - Wed, 11 Aug 2010 - 14:22:57 +0200 - edited

lsof -p <pid> | grep soap =>
java 6031 noddoux DEL REG 8,1 4194810 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/jetty-6.1.9.jar
java 6031 noddoux DEL REG 8,1 4194801 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/servlet-api-2.3.jar
java 6031 noddoux DEL REG 8,1 4194750 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/axis2-kernel-1.4.1.jar
java 6031 noddoux DEL REG 8,1 4194772 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/wstx-asl-3.2.4.jar
java 6031 noddoux DEL REG 8,1 4194760 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/jaxb-impl-2.1.6.jar
java 6031 noddoux DEL REG 8,1 4194754 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/petals-cdk-jbidescriptor-2.0.3.jar
java 6031 noddoux 168r REG 8,1 54618 4194754 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/petals-cdk-jbidescriptor-2.0.3.jar (deleted)
java 6031 noddoux 180r REG 8,1 849481 4194760 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/jaxb-impl-2.1.6.jar (deleted)
java 6031 noddoux 192r REG 8,1 520092 4194772 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/wstx-asl-3.2.4.jar (deleted)
java 6031 noddoux 203r REG 8,1 1292508 4194750 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/axis2-kernel-1.4.1.jar (deleted)
java 6031 noddoux 204r REG 8,1 77977 4194801 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/servlet-api-2.3.jar (deleted)
java 6031 noddoux 235r REG 8,1 498315 4194810 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/jetty-6.1.9.jar (deleted)

Show
noddoux added a comment - Wed, 11 Aug 2010 - 14:22:57 +0200 - edited lsof -p <pid> | grep soap => java 6031 noddoux DEL REG 8,1 4194810 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/jetty-6.1.9.jar java 6031 noddoux DEL REG 8,1 4194801 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/servlet-api-2.3.jar java 6031 noddoux DEL REG 8,1 4194750 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/axis2-kernel-1.4.1.jar java 6031 noddoux DEL REG 8,1 4194772 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/wstx-asl-3.2.4.jar java 6031 noddoux DEL REG 8,1 4194760 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/jaxb-impl-2.1.6.jar java 6031 noddoux DEL REG 8,1 4194754 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/petals-cdk-jbidescriptor-2.0.3.jar java 6031 noddoux 168r REG 8,1 54618 4194754 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/petals-cdk-jbidescriptor-2.0.3.jar (deleted) java 6031 noddoux 180r REG 8,1 849481 4194760 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/jaxb-impl-2.1.6.jar (deleted) java 6031 noddoux 192r REG 8,1 520092 4194772 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/wstx-asl-3.2.4.jar (deleted) java 6031 noddoux 203r REG 8,1 1292508 4194750 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/axis2-kernel-1.4.1.jar (deleted) java 6031 noddoux 204r REG 8,1 77977 4194801 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/servlet-api-2.3.jar (deleted) java 6031 noddoux 235r REG 8,1 498315 4194810 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/jetty-6.1.9.jar (deleted)
Hide
noddoux added a comment - Tue, 14 Sep 2010 - 15:13:59 +0200

Au bout d'un peu plus d'une heure, lsof -p <pid> | grep soap =>
java 6031 noddoux DEL REG 8,1 4194760 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/jaxb-impl-2.1.6.jar
java 6031 noddoux DEL REG 8,1 4194754 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/petals-cdk-jbidescriptor-2.0.3.jar
java 6031 noddoux 168r REG 8,1 54618 4194754 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/petals-cdk-jbidescriptor-2.0.3.jar (deleted)
java 6031 noddoux 180r REG 8,1 849481 4194760 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/jaxb-impl-2.1.6.jar (deleted)

Show
noddoux added a comment - Tue, 14 Sep 2010 - 15:13:59 +0200 Au bout d'un peu plus d'une heure, lsof -p <pid> | grep soap => java 6031 noddoux DEL REG 8,1 4194760 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/jaxb-impl-2.1.6.jar java 6031 noddoux DEL REG 8,1 4194754 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/petals-cdk-jbidescriptor-2.0.3.jar java 6031 noddoux 168r REG 8,1 54618 4194754 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/petals-cdk-jbidescriptor-2.0.3.jar (deleted) java 6031 noddoux 180r REG 8,1 849481 4194760 /home/noddoux/petals-platform-3.2-SNAPSHOT/repository/components/petals-bc-soap-08-11-2010-021538003/install/jaxb-impl-2.1.6.jar (deleted)
Hide
noddoux added a comment - Tue, 14 Sep 2010 - 18:19:53 +0200 - edited

Necessary to upgrade Axis2 version to correct the problem (to the version 1.5).
Axis2 adds an application shutdown hook which keeps reference on SOAP component class instances (in the method start() of the class org.apache.axis2.engine.ListenerManager called indirectly by Jetty during initialization of the SOAP servlet).

Show
noddoux added a comment - Tue, 14 Sep 2010 - 18:19:53 +0200 - edited Necessary to upgrade Axis2 version to correct the problem (to the version 1.5). Axis2 adds an application shutdown hook which keeps reference on SOAP component class instances (in the method start() of the class org.apache.axis2.engine.ListenerManager called indirectly by Jetty during initialization of the SOAP servlet).
Hide
Christophe DENEUX added a comment - Thu, 4 Nov 2010 - 16:29:48 +0100

According to AXIS2-3861, the ListenerManager should be stopped also.

Show
Christophe DENEUX added a comment - Thu, 4 Nov 2010 - 16:29:48 +0100 According to AXIS2-3861, the ListenerManager should be stopped also.
Hide
Christophe DENEUX added a comment - Thu, 4 Nov 2010 - 17:02:51 +0100

A theorical patch to upgrade Axis2 to 1.5.1

Show
Christophe DENEUX added a comment - Thu, 4 Nov 2010 - 17:02:51 +0100 A theorical patch to upgrade Axis2 to 1.5.1
Christophe DENEUX made changes - Thu, 4 Nov 2010 - 17:02:51 +0100
Attachment toAxis151.patch [ 10442 ]
Christophe DENEUX made changes - Wed, 27 May 2015 - 08:00:01 +0200
Assignee Nicolas Oddoux [ noddoux ] Christophe DENEUX [ cdeneux ]
Christophe DENEUX made changes - Wed, 27 May 2015 - 08:00:04 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Wed, 27 May 2015 - 08:00:33 +0200
Show
Christophe DENEUX added a comment - Wed, 27 May 2015 - 08:00:33 +0200 Fixed by PETALSDISTRIB-109
Christophe DENEUX made changes - Wed, 27 May 2015 - 08:00:33 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 4.4.0 [ 10405 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Wed, 27 May 2015 - 08:00:53 +0200
Link This issue depends on PETALSDISTRIB-109 [ PETALSDISTRIB-109 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
23d 22h 54m
1
noddoux
Thu, 12 Aug 2010 - 09:41:09 +0200
Open Open In Progress In Progress
33d 8h 48m
1
noddoux
Tue, 14 Sep 2010 - 18:29:38 +0200
In Progress In Progress Open Open
41s
1
noddoux
Tue, 14 Sep 2010 - 18:30:19 +0200
Open Open In Progress In Progress
1715d 13h 29m
1
Christophe DENEUX
Wed, 27 May 2015 - 08:00:04 +0200
In Progress In Progress Resolved Resolved
29s
1
Christophe DENEUX
Wed, 27 May 2015 - 08:00:33 +0200

People

Dates

  • Created:
    Mon, 19 Jul 2010 - 10:47:01 +0200
    Updated:
    Wed, 27 May 2015 - 08:00:53 +0200
    Resolved:
    Wed, 27 May 2015 - 08:00:33 +0200