You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Delos Dai (JIRA)" <ji...@apache.org> on 2009/09/22 07:50:16 UTC

[jira] Created: (GERONIMODEVTOOLS-594) Geronimo server can't be deleted when it has been stopped in GEP

Geronimo server can't be deleted when it has been stopped in GEP
----------------------------------------------------------------

                 Key: GERONIMODEVTOOLS-594
                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-594
             Project: Geronimo-Devtools
          Issue Type: Bug
          Components: eclipse-plugin
    Affects Versions: 2.1.5, 2.2.0
            Reporter: Delos Dai
            Assignee: Delos Dai
            Priority: Minor
             Fix For: 2.1.5, 2.2.0


1. In eclipse, create an server instance with GEP
2. start the server instance in eclipse
3. stop the server instance in eclipse
4. delete the Geronimo server from file system, with file browser(such as "windows explorer"

The server is not able to be deleted from file system. 

Since the server has been stopped, the server should be able to be deleted from file system.

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


[jira] Resolved: (GERONIMODEVTOOLS-594) Geronimo server can't be deleted when it has been stopped in GEP

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

Delos Dai resolved GERONIMODEVTOOLS-594.
----------------------------------------

    Resolution: Fixed

There are two reasons blocking the deleting.

1) URLClassLoader used in GeronimoRuntimeDelegate will never close the file it opened. This is an known issue of URLClassLoader, so replace it with JarFileClassLoader defined in Geronimo code. But it cause st.core depends on the runtime plugin, such runtime.v22. Although it works fine now, to avoid potential issues, suggest Geronimo server can place JarFileClassLoader into packages of runtime.common

2) The new function of account management in GEP will open user account properties under <GERONIMO_HOME>/var/security/ for reading&writing. The file has to be closed once reading or writing has been completed.

#817504 for trunk and #817506 for 2.1.5 branch.

> Geronimo server can't be deleted when it has been stopped in GEP
> ----------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-594
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-594
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.1.5, 2.2.0
>            Reporter: Delos Dai
>            Assignee: Delos Dai
>            Priority: Minor
>             Fix For: 2.1.5, 2.2.0
>
>
> 1. In eclipse, create an server instance with GEP
> 2. start the server instance in eclipse
> 3. stop the server instance in eclipse
> 4. delete the Geronimo server from file system, with file browser(such as "windows explorer"
> The server is not able to be deleted from file system. 
> Since the server has been stopped, the server should be able to be deleted from file system.

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