axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilina Gunarathne (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2626) HotUpdate fails on custom deployers
Date Wed, 02 May 2007 02:39:15 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493000
] 

Thilina Gunarathne commented on AXIS2-2626:
-------------------------------------------

Commited  a quick and dirty fix to get this to work..http://svn.apache.org/viewvc?view=rev&rev=534294

public class WSInfo {
    private String fileName;
@@ -49,6 +50,10 @@
        this.fileName = fileName;
        this.lastModifiedDate = lastModifiedDate;
        this.deployer = deployer;
+        //TODO: This is a temporary fix for the hot update in custom deployers
+        if (!(deployer instanceof ServiceDeployer)) {
+           this.type=2;
+        }
    }

This needs a better fix..

> HotUpdate fails on custom deployers
> -----------------------------------
>
>                 Key: AXIS2-2626
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2626
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Thilina Gunarathne
>            Priority: Critical
>
> >+    public static final int TYPE_SERVICE = 0;
> >+    public static final int TYPE_MODULE = 1;
> >+
> >    /**
> >     * To check whether the file is a module or a servise
> >     */
> >+    private int type = TYPE_SERVICE;
> Above make the hot deploy logic to treat all the deployed services as .aar or equivalent
(TYPE_SERVICE).. Hot update on custom deployers fails to undeploy service before deploying
again, which gives rise to an Exception.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message