Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-2615

JBoss does't unload web services classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • None
    • None
    • None

      We have an application that comunicate with a webservice (Federal Government of Brazil) constantly, step by 5 or 10 seconds.

      We have created web service consumer classes by using the following command point to the WSDL file:

      wsconsume -k -p br.com.compliancefiscal.nfe.ejb.sefaz.ws.nfestatusservico -v NfeStatusServico.wsdl

      This tool, was generated this classes:

      NfeStatusServico.java
      NfeStatusServico_Service.java
      NfeStatusServicoNF.java
      NfeStatusServicoNFResponse.java
      NfeStatusServicoSoap.java
      ObjectFactory.java
      package-info.java

      The problem is. When running... every call this webservice generate a new loadclass. Viewing in the JConsole tool, we can note that whe app starts it have aproximatelly 15000 classes loaded, and afeter 10 hours running we can se that the jvm has increased up to 70000 classes loaded, and only 252 classes unloaded.

      I have the screenshot that show this.

      What can occours to causing this BIG load classes for same class ?

      PS: The app does not run any other service. It just start a method that connect to the specified webservice and return a String info. A TimerService trigger start the process steb by 5 seconds.

      Thanks.

      Edson Gonçalez.

        1. generated_source_classes.zip
          4 kB
        2. screenshot-1.jpg
          screenshot-1.jpg
          190 kB
        3. screenshot-2.jpg
          screenshot-2.jpg
          174 kB
        4. screenshot-3.jpg
          screenshot-3.jpg
          293 kB
        5. screenshot-4.jpg
          screenshot-4.jpg
          246 kB

              rhn-support-asoldano Alessio Soldano
              edson.goncalez_jira Edson Goncalez (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: