geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Closed: (GERONIMO-4998) restart of --inPlace deployed webapps fails to pick up new jars
Date Thu, 24 Dec 2009 01:26:29 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-4998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Jencks closed GERONIMO-4998.
----------------------------------

    Resolution: Invalid

This is working as designed.  We look at WEB-INF/lib only when deploying the war, not when
starting it. You can add classes to a jar that was already there, or WEB-INF/classes, but
you need to redeploy the app to pick up additional jars.

Changing this would involve pretty much completely rejecting geronimo's idea of "predeploying"
ee apps as geronimo plugins, so it would take an extremely persuasive use case to make me
want to change this behavior.  We might rethink this for geronimo 3 but I really doubt any
change would be possible for 2.x.

> restart of --inPlace deployed webapps fails to pick up new jars
> ---------------------------------------------------------------
>
>                 Key: GERONIMO-4998
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4998
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>         Environment: 2.2.1-SNAPSHOT
> Build 	2009.12.16-21:27:41.386-0500
>            Reporter: J├╝rgen Weber
>         Attachments: t.jsp, web.xml
>
>
> see also http://old.nabble.com/Cannot-reinitialize-webapp-td26700488s134.html
> Deploy an exploded web app with --inPlace
> Add jars to WEB-INF/lib
> restart web app using console
> The new jars are not known to the web app.
> /projekte/geronimo-tomcat6-javaee5-2.2.1-SNAPSHOT/bin ./deploy.sh --port 1699 -u system
-p manager deploy --inPlace /projekte/t
> Reproduce: deploy the attached mini web app 
> add http://www.jspwiki.org/attach/HowToManuallyIntegrateFCKEditor/FCK.jar
> redeploy using console
> http://localhost:8080/t/t.jsp
> gives
> Resource is: null 
> undeploy app and deploy as above
> http://localhost:8080/t/t.jsp
> gives
> Resource is: jar:file:/projekte/t/WEB-INF/lib/FCK.jar!/ini/jspwiki_module.xml 

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


Mime
View raw message