Axis2
  1. Axis2
  2. AXIS2-3297

Service classloading issues when undeploying and redeploying a service with the same name.

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Component/s: kernel
    • Labels:
      None
    • Environment:
      Windows XP/Jboss 4.2.

      Description

      I have a service called 'Maker' that generates new services upon client requests. If it creates and deploys a new service called 'myService' for instance and then later removes this service (deletes from repository), and then generates an entirely new service with the same name, but with totally different functionality (ie., class name is the same, but has different functionality, the service.xml is similar, and the wsdl is totally different), it appears that when the client invokes the new service that the original service's (the service that was removed) class is executed instead of the class that is associated with the new service. It appears that Axis2 is performing some service caching that is not getting replaced by new service deployment. If I stop and restart the jboss server such that Axis2 is started from scratch, it loads everything just fine and the new class for that service is executed when the service is invoked by the client just as expected.

        Activity

        Tony Dean created issue -
        Deepal Jayasinghe made changes -
        Field Original Value New Value
        Resolution Cannot Reproduce [ 5 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Tony Dean made changes -
        Resolution Cannot Reproduce [ 5 ]
        Status Resolved [ 5 ] Reopened [ 4 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Tony Dean
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development