You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Sachin Patel (JIRA)" <de...@geronimo.apache.org> on 2006/02/16 00:17:08 UTC

[jira] Created: (GERONIMO-1631) NoSuchConfigException when restarting app after undeploying

NoSuchConfigException when restarting app after undeploying
-----------------------------------------------------------

         Key: GERONIMO-1631
         URL: http://issues.apache.org/jira/browse/GERONIMO-1631
     Project: Geronimo
        Type: Bug
  Components: deployment  
    Versions: 1.0    
    Reporter: Sachin Patel
     Fix For: 1.1


If I have config A that imports config B.  If undeploy is invoked on B... then...

Module B/B unloaded.
Module B/B uninstalled.
Undeployed B/B

So module B is not being stopped, thus resulting in a NoSuchConfigException on B when the server is restarted.

If A is undeployed before B, then all is ok.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1631) NoSuchConfigException when restarting app after undeploying

Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1631?page=all ]

Rakesh Midha updated GERONIMO-1631:
-----------------------------------

       Patch Info: [Patch Available]
    Fix Version/s: 2.0
                       (was: Verification Required)
         Assignee:     (was: Rakesh Midha)


Unassigning and marking patch available so that someone can review it

> NoSuchConfigException when restarting app after undeploying
> -----------------------------------------------------------
>
>                 Key: GERONIMO-1631
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1631
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 1.0
>            Reporter: Sachin Patel
>             Fix For: 2.0
>
>         Attachments: undeploydependecies.patch
>
>
> If I have config A that imports config B.  If undeploy is invoked on B... then...
> Module B/B unloaded.
> Module B/B uninstalled.
> Undeployed B/B
> So module B is not being stopped, thus resulting in a NoSuchConfigException on B when the server is restarted.
> If A is undeployed before B, then all is ok.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (GERONIMO-1631) NoSuchConfigException when restarting app after undeploying

Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevan Miller closed GERONIMO-1631.
----------------------------------

    Resolution: Won't Fix

Doesn't sound like there's a problem. Closing... Re-open if you disagree...

> NoSuchConfigException when restarting app after undeploying
> -----------------------------------------------------------
>
>                 Key: GERONIMO-1631
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1631
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 1.0
>            Reporter: Sachin Patel
>            Assignee: Rakesh Midha
>             Fix For: 2.1
>
>         Attachments: undeploydependecies.patch
>
>
> If I have config A that imports config B.  If undeploy is invoked on B... then...
> Module B/B unloaded.
> Module B/B uninstalled.
> Undeployed B/B
> So module B is not being stopped, thus resulting in a NoSuchConfigException on B when the server is restarted.
> If A is undeployed before B, then all is ok.

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


[jira] Assigned: (GERONIMO-1631) NoSuchConfigException when restarting app after undeploying

Posted by "Prasad Kashyap (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Kashyap reassigned GERONIMO-1631:
----------------------------------------

    Assignee: Rakesh Midha

> NoSuchConfigException when restarting app after undeploying
> -----------------------------------------------------------
>
>                 Key: GERONIMO-1631
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1631
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 1.0
>            Reporter: Sachin Patel
>            Assignee: Rakesh Midha
>             Fix For: 2.0
>
>         Attachments: undeploydependecies.patch
>
>
> If I have config A that imports config B.  If undeploy is invoked on B... then...
> Module B/B unloaded.
> Module B/B uninstalled.
> Undeployed B/B
> So module B is not being stopped, thus resulting in a NoSuchConfigException on B when the server is restarted.
> If A is undeployed before B, then all is ok.

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


[jira] Updated: (GERONIMO-1631) NoSuchConfigException when restarting app after undeploying

Posted by "Prasad Kashyap (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Kashyap updated GERONIMO-1631:
-------------------------------------

    Fix Version/s:     (was: 2.0-M5)
                   2.0

> NoSuchConfigException when restarting app after undeploying
> -----------------------------------------------------------
>
>                 Key: GERONIMO-1631
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1631
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 1.0
>            Reporter: Sachin Patel
>             Fix For: 2.0
>
>         Attachments: undeploydependecies.patch
>
>
> If I have config A that imports config B.  If undeploy is invoked on B... then...
> Module B/B unloaded.
> Module B/B uninstalled.
> Undeployed B/B
> So module B is not being stopped, thus resulting in a NoSuchConfigException on B when the server is restarted.
> If A is undeployed before B, then all is ok.

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


[jira] Commented: (GERONIMO-1631) NoSuchConfigException when restarting app after undeploying

Posted by "Sachin Patel (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1631?page=comments#action_12366563 ] 

Sachin Patel commented on GERONIMO-1631:
----------------------------------------

This can be reproduced with the modules on http://people.apache.org/~sppatel/temp/

(1) Install TestEJB
(2) Install TestWar (which contains an import to TestEJB)
(3) Uninstall TestEJB
(4) Restart
(5) NoSuchConfig on TestEJB

> NoSuchConfigException when restarting app after undeploying
> -----------------------------------------------------------
>
>          Key: GERONIMO-1631
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1631
>      Project: Geronimo
>         Type: Bug
>   Components: deployment
>     Versions: 1.0
>     Reporter: Sachin Patel
>      Fix For: 1.1

>
> If I have config A that imports config B.  If undeploy is invoked on B... then...
> Module B/B unloaded.
> Module B/B uninstalled.
> Undeployed B/B
> So module B is not being stopped, thus resulting in a NoSuchConfigException on B when the server is restarted.
> If A is undeployed before B, then all is ok.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1631) NoSuchConfigException when restarting app after undeploying

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks updated GERONIMO-1631:
-----------------------------------

    Fix Version/s:     (was: 2.0)
                   2.1

I'm not sure that I understand what the proposed behavior is.  Here's what I think should happen:

situation: app B depends on app A.
both A and B are running

undeploy A should result in:

B stops
A stops
A undeployed
B stopped but still in the g. repo.

Here's why:
If you are working on several apps with dependencies, such as A and B above, you may need to make minor changes to A.  This may well involve undeploying and redeploying A.  There is no need to undeploy B since everything will still work as long as you haven't changed the interface B uses from A.

Note that undeploying A should definitely leave B stopped.  If you shut down and restart geronimo, B should remain stopped.

> NoSuchConfigException when restarting app after undeploying
> -----------------------------------------------------------
>
>                 Key: GERONIMO-1631
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1631
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 1.0
>            Reporter: Sachin Patel
>            Assignee: Rakesh Midha
>             Fix For: 2.1
>
>         Attachments: undeploydependecies.patch
>
>
> If I have config A that imports config B.  If undeploy is invoked on B... then...
> Module B/B unloaded.
> Module B/B uninstalled.
> Undeployed B/B
> So module B is not being stopped, thus resulting in a NoSuchConfigException on B when the server is restarted.
> If A is undeployed before B, then all is ok.

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


[jira] Updated: (GERONIMO-1631) NoSuchConfigException when restarting app after undeploying

Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1631?page=all ]

Rakesh Midha updated GERONIMO-1631:
-----------------------------------

    Attachment: undeploydependecies.patch


Patch to undeploy all te dependencies with application undeploy.

please review and commit.

> NoSuchConfigException when restarting app after undeploying
> -----------------------------------------------------------
>
>                 Key: GERONIMO-1631
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1631
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 1.0
>            Reporter: Sachin Patel
>             Fix For: 2.0
>
>         Attachments: undeploydependecies.patch
>
>
> If I have config A that imports config B.  If undeploy is invoked on B... then...
> Module B/B unloaded.
> Module B/B uninstalled.
> Undeployed B/B
> So module B is not being stopped, thus resulting in a NoSuchConfigException on B when the server is restarted.
> If A is undeployed before B, then all is ok.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (GERONIMO-1631) NoSuchConfigException when restarting app after undeploying

Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1631?page=all ]

Rakesh Midha reassigned GERONIMO-1631:
--------------------------------------

    Assignee: Rakesh Midha

> NoSuchConfigException when restarting app after undeploying
> -----------------------------------------------------------
>
>                 Key: GERONIMO-1631
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1631
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 1.0
>            Reporter: Sachin Patel
>         Assigned To: Rakesh Midha
>             Fix For: Verification Required
>
>
> If I have config A that imports config B.  If undeploy is invoked on B... then...
> Module B/B unloaded.
> Module B/B uninstalled.
> Undeployed B/B
> So module B is not being stopped, thus resulting in a NoSuchConfigException on B when the server is restarted.
> If A is undeployed before B, then all is ok.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (GERONIMO-1631) NoSuchConfigException when restarting app after undeploying

Posted by "Matt Hogstrom (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1631?page=all ]

Matt Hogstrom updated GERONIMO-1631:
------------------------------------

    Fix Version/s: Verification Required
                       (was: 1.2)

> NoSuchConfigException when restarting app after undeploying
> -----------------------------------------------------------
>
>                 Key: GERONIMO-1631
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1631
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 1.0
>            Reporter: Sachin Patel
>             Fix For: Verification Required
>
>
> If I have config A that imports config B.  If undeploy is invoked on B... then...
> Module B/B unloaded.
> Module B/B uninstalled.
> Undeployed B/B
> So module B is not being stopped, thus resulting in a NoSuchConfigException on B when the server is restarted.
> If A is undeployed before B, then all is ok.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (GERONIMO-1631) NoSuchConfigException when restarting app after undeploying

Posted by "Rakesh Midha (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1631?page=comments#action_12453578 ] 
            
Rakesh Midha commented on GERONIMO-1631:
----------------------------------------


Question before I move further when you said "config A that imports config B" you mean  "Config A is dependent on config B" right?

I could not download the TestApplication you gave, so used mine TestEJB and TestWeb, my TestWeb define dependency on TestEJB application.

I followed your steps and got these results:
  Step (3)Uninstall TestEJB resulted in unInstallation of TestEJB application 
 and it also unloaded TestWar application. 
Hence when server restarted because for TestWar application load=false, the server started without TestWar

Which means unistalling of application unloads all the application dependent on tis application, which means no  "NoSuchConfig" exception.

This sounded wrong because if i tried to install TestWeb without installing TestEJB , it was never installed.

Which means TestWeb should also uninstall when TestEJB is uninstalled (and not just unloaded)

I am attaching a patch which uninstalls all the child applications (just like stop command, stops all the child applications also)

I hope this functaionallity is right? If it is, than please review and commit this patch. Otherwise ignore it.


> NoSuchConfigException when restarting app after undeploying
> -----------------------------------------------------------
>
>                 Key: GERONIMO-1631
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1631
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 1.0
>            Reporter: Sachin Patel
>         Assigned To: Rakesh Midha
>             Fix For: Verification Required
>
>
> If I have config A that imports config B.  If undeploy is invoked on B... then...
> Module B/B unloaded.
> Module B/B uninstalled.
> Undeployed B/B
> So module B is not being stopped, thus resulting in a NoSuchConfigException on B when the server is restarted.
> If A is undeployed before B, then all is ok.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira