You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org> on 2006/04/27 16:53:37 UTC

[jira] Created: (GERONIMO-1925) JSP Example Plugin Install/Uninstall/Install doesn't work

JSP Example Plugin Install/Uninstall/Install doesn't work
---------------------------------------------------------

         Key: GERONIMO-1925
         URL: http://issues.apache.org/jira/browse/GERONIMO-1925
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
  Components: Plugins  
    Versions: 1.1    
    Reporter: Aaron Mulder
     Fix For: 1.1


>From dev list:

I ran the following test with today's build :
1. From console click plugins --> Search Plugins --> Jakarta JSP
Examples   --> install plugin --> start g/jsp-examples../car
2. Web App Wars --> stop --> uninstall (jsp-examples)
3. repeat 1.
  After clicking on 'plugins' the warnings are printed. The car is
installed and started successfully and works. an error occurs in step2.
The stack trace appears during 'start ....' in step 3.

-- 
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] Resolved: (GERONIMO-1925) JSP Example Plugin Install/Uninstall/Install doesn't work

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1925?page=all ]
     
Aaron Mulder resolved GERONIMO-1925:
------------------------------------

    Resolution: Fixed
     Assign To: Dain Sundstrom  (was: Aaron Mulder)

> JSP Example Plugin Install/Uninstall/Install doesn't work
> ---------------------------------------------------------
>
>          Key: GERONIMO-1925
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1925
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: Plugins
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Dain Sundstrom
>     Priority: Critical
>      Fix For: 1.1

>
> From dev list:
> I ran the following test with today's build :
> 1. From console click plugins --> Search Plugins --> Jakarta JSP
> Examples   --> install plugin --> start g/jsp-examples../car
> 2. Web App Wars --> stop --> uninstall (jsp-examples)
> 3. repeat 1.
>   After clicking on 'plugins' the warnings are printed. The car is
> installed and started successfully and works. an error occurs in step2.
> The stack trace appears during 'start ....' in step 3.

-- 
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-1925) JSP Example Plugin Install/Uninstall/Install doesn't work

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1925?page=comments#action_12377462 ] 

Prasad Kashyap commented on GERONIMO-1925:
------------------------------------------

This I believe is happening due to the lock on the jars that the CL has. So even after the app is uninstalled, the jars in WEB-INF/lib stays behind. You cannot even delete the directory in the repo manually due to this lock. The server has to be stopped before you delete.

When you try to deploy the app again, the redeploy function is failing. (See http://issues.apache.org/jira/browse/GERONIMO-1907). 

> JSP Example Plugin Install/Uninstall/Install doesn't work
> ---------------------------------------------------------
>
>          Key: GERONIMO-1925
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1925
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: Plugins
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Critical
>      Fix For: 1.1

>
> From dev list:
> I ran the following test with today's build :
> 1. From console click plugins --> Search Plugins --> Jakarta JSP
> Examples   --> install plugin --> start g/jsp-examples../car
> 2. Web App Wars --> stop --> uninstall (jsp-examples)
> 3. repeat 1.
>   After clicking on 'plugins' the warnings are printed. The car is
> installed and started successfully and works. an error occurs in step2.
> The stack trace appears during 'start ....' in step 3.

-- 
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-1925) JSP Example Plugin Install/Uninstall/Install doesn't work

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1925?page=comments#action_12377695 ] 

Prasad Kashyap commented on GERONIMO-1925:
------------------------------------------

Dain has fixed this problem in G-1979 (http://issues.apache.org/jira/browse/GERONIMO-1979). This issue may be closed.

> JSP Example Plugin Install/Uninstall/Install doesn't work
> ---------------------------------------------------------
>
>          Key: GERONIMO-1925
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1925
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: Plugins
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Critical
>      Fix For: 1.1

>
> From dev list:
> I ran the following test with today's build :
> 1. From console click plugins --> Search Plugins --> Jakarta JSP
> Examples   --> install plugin --> start g/jsp-examples../car
> 2. Web App Wars --> stop --> uninstall (jsp-examples)
> 3. repeat 1.
>   After clicking on 'plugins' the warnings are printed. The car is
> installed and started successfully and works. an error occurs in step2.
> The stack trace appears during 'start ....' in step 3.

-- 
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-1925) JSP Example Plugin Install/Uninstall/Install doesn't work

Posted by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1925?page=comments#action_12377686 ] 

Dain Sundstrom commented on GERONIMO-1925:
------------------------------------------

I just committed a new class loader that should eliminate the file locks created by the class loader.  To enable the new class loader, simply use -DXorg.apache.geronimo.NewClassLoader=true

> JSP Example Plugin Install/Uninstall/Install doesn't work
> ---------------------------------------------------------
>
>          Key: GERONIMO-1925
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1925
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: Plugins
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Critical
>      Fix For: 1.1

>
> From dev list:
> I ran the following test with today's build :
> 1. From console click plugins --> Search Plugins --> Jakarta JSP
> Examples   --> install plugin --> start g/jsp-examples../car
> 2. Web App Wars --> stop --> uninstall (jsp-examples)
> 3. repeat 1.
>   After clicking on 'plugins' the warnings are printed. The car is
> installed and started successfully and works. an error occurs in step2.
> The stack trace appears during 'start ....' in step 3.

-- 
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-1925) JSP Example Plugin Install/Uninstall/Install doesn't work

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1925?page=comments#action_12377481 ] 

Aaron Mulder commented on GERONIMO-1925:
----------------------------------------

It is believed that this is caused by us leaking class loaders (potentially in thread locals) and if we cleaned all that up it should be fixed.

In the mean time, it may be possible to force the class loader to close.  Dain and Jason suggested trying something like the following in MultiParentClassLoader.destroy()

for (int i = 0; i < getURLs().length; i++) {
            URL url = getURLs()[i];
            if (url.getProtocol().equals("jar")) {
                try {
                    JarURLConnection connection = (JarURLConnection) url.openConnection();
                    if (connection.getJarFileURL().getProtocol().equals("file")) {
                        JarFile jarFile = connection.getJarFile();
                        if (jarFile != null) {
                            jarFile.close();
                        }
                    }
                } catch (Exception ignored) {
                }
            }
        }

> JSP Example Plugin Install/Uninstall/Install doesn't work
> ---------------------------------------------------------
>
>          Key: GERONIMO-1925
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1925
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: Plugins
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Critical
>      Fix For: 1.1

>
> From dev list:
> I ran the following test with today's build :
> 1. From console click plugins --> Search Plugins --> Jakarta JSP
> Examples   --> install plugin --> start g/jsp-examples../car
> 2. Web App Wars --> stop --> uninstall (jsp-examples)
> 3. repeat 1.
>   After clicking on 'plugins' the warnings are printed. The car is
> installed and started successfully and works. an error occurs in step2.
> The stack trace appears during 'start ....' in step 3.

-- 
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-1925) JSP Example Plugin Install/Uninstall/Install doesn't work

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1925?page=comments#action_12377427 ] 

Prasad Kashyap commented on GERONIMO-1925:
------------------------------------------

Here's my experience from a build that I installed on 4/28 (generated from continuum).

I was successfully able to install and start jsp-examples-jetty.
I was successfully able to serve pages from the app.
I successfully uninstalled the app.

Now when I go to the plugins page, the jsp-examples-jetty shows up in the list, ready for install.
When I try to reinstall the app, it says "geronimo/jsp-examples-jetty/1.1-SNAPSHOT/car (already present) ".

Yet, the app doesn't show in the list on the WARs page.



> JSP Example Plugin Install/Uninstall/Install doesn't work
> ---------------------------------------------------------
>
>          Key: GERONIMO-1925
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1925
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: Plugins
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Critical
>      Fix For: 1.1

>
> From dev list:
> I ran the following test with today's build :
> 1. From console click plugins --> Search Plugins --> Jakarta JSP
> Examples   --> install plugin --> start g/jsp-examples../car
> 2. Web App Wars --> stop --> uninstall (jsp-examples)
> 3. repeat 1.
>   After clicking on 'plugins' the warnings are printed. The car is
> installed and started successfully and works. an error occurs in step2.
> The stack trace appears during 'start ....' in step 3.

-- 
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-1925) JSP Example Plugin Install/Uninstall/Install doesn't work

Posted by "Kevan Miller (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1925?page=comments#action_12378232 ] 

Kevan Miller commented on GERONIMO-1925:
----------------------------------------

I've inverted the default ClassLoader. The new ClassLoader, JarFileClassLoader is now the default. To run with the old ClassLoader, use -DXorg.apache.geronimo.OldClassLoader=true

> JSP Example Plugin Install/Uninstall/Install doesn't work
> ---------------------------------------------------------
>
>          Key: GERONIMO-1925
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1925
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: Plugins
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Dain Sundstrom
>     Priority: Critical
>      Fix For: 1.1

>
> From dev list:
> I ran the following test with today's build :
> 1. From console click plugins --> Search Plugins --> Jakarta JSP
> Examples   --> install plugin --> start g/jsp-examples../car
> 2. Web App Wars --> stop --> uninstall (jsp-examples)
> 3. repeat 1.
>   After clicking on 'plugins' the warnings are printed. The car is
> installed and started successfully and works. an error occurs in step2.
> The stack trace appears during 'start ....' in step 3.

-- 
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-1925) JSP Example Plugin Install/Uninstall/Install doesn't work

Posted by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1925?page=all ]
     
Dain Sundstrom closed GERONIMO-1925:
------------------------------------


> JSP Example Plugin Install/Uninstall/Install doesn't work
> ---------------------------------------------------------
>
>          Key: GERONIMO-1925
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1925
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: Plugins
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Dain Sundstrom
>     Priority: Critical
>      Fix For: 1.1

>
> From dev list:
> I ran the following test with today's build :
> 1. From console click plugins --> Search Plugins --> Jakarta JSP
> Examples   --> install plugin --> start g/jsp-examples../car
> 2. Web App Wars --> stop --> uninstall (jsp-examples)
> 3. repeat 1.
>   After clicking on 'plugins' the warnings are printed. The car is
> installed and started successfully and works. an error occurs in step2.
> The stack trace appears during 'start ....' in step 3.

-- 
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-1925) JSP Example Plugin Install/Uninstall/Install doesn't work

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1925?page=all ]

Aaron Mulder updated GERONIMO-1925:
-----------------------------------

    Assign To: Aaron Mulder
     Priority: Critical  (was: Major)

> JSP Example Plugin Install/Uninstall/Install doesn't work
> ---------------------------------------------------------
>
>          Key: GERONIMO-1925
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1925
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: Plugins
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: Aaron Mulder
>     Priority: Critical
>      Fix For: 1.1

>
> From dev list:
> I ran the following test with today's build :
> 1. From console click plugins --> Search Plugins --> Jakarta JSP
> Examples   --> install plugin --> start g/jsp-examples../car
> 2. Web App Wars --> stop --> uninstall (jsp-examples)
> 3. repeat 1.
>   After clicking on 'plugins' the warnings are printed. The car is
> installed and started successfully and works. an error occurs in step2.
> The stack trace appears during 'start ....' in step 3.

-- 
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