You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Guillaume Sauthier (JIRA)" <ax...@ws.apache.org> on 2004/10/28 18:07:33 UTC
[jira] Updated: (AXIS-1631) Missing TypeMapping removal when undeploy service
[ http://issues.apache.org/jira/browse/AXIS-1631?page=history ]
Guillaume Sauthier updated AXIS-1631:
-------------------------------------
Attachment: patch.txt
undeploy typeMappings (first try ;))
> Missing TypeMapping removal when undeploy service
> -------------------------------------------------
>
> Key: AXIS-1631
> URL: http://issues.apache.org/jira/browse/AXIS-1631
> Project: Axis
> Type: Bug
> Components: Deployment / Registries
> Versions: 1.2RC2
> Environment: Debian Linux, Java 1.4.2_05, JOnAS 4.2.0
> Reporter: Guillaume Sauthier
> Attachments: patch.txt
>
> I saw in axis sources that when we deploy a service, there are several things done. One of them is to register type mapping.
> When a service a undeployed, reverse things as done except unregistering type mapping.
> The scenario is the following :
> I create a ClassLoader for each service I deploy (contains the Bean A class), so deploying a service for the first will create a new ClassLoader (say CL_1), Axis Admin class will merge my deploy.wsdd into the registry and load my described Beans (say A loaded from CL_1).
> But if I undeploy the service, TypeMapping is not changed, not removed (we're stuck with Bean A from CL1).
> To finish, I redeploy the same service (creating a new ClassLoader (CL_B)), but TypeMapping for the service is not changed (Bean A from CL_1). And the following error comes when I call the deployed service, while deserializing Bean A : DeserializerImpl has created the right object instance (Bean A from CL_2) but the setter/getter method invoked come from Bean A from CL_1 !!! And thus, that causes the following IllegalArgumentException !!!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira