You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jürgen Weber (JIRA)" <ji...@apache.org> on 2009/12/23 18:40:29 UTC
[jira] Created: (GERONIMO-4998) restart of --inPlace deployed
webapps fails to pick up new jars
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.
[jira] Closed: (GERONIMO-4998) restart of --inPlace deployed
webapps fails to pick up new jars
Posted by "David Jencks (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (GERONIMO-4998) restart of --inPlace deployed
webapps fails to pick up new jars
Posted by "Jürgen Weber (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jürgen Weber updated GERONIMO-4998:
-----------------------------------
Attachment: t.jsp
web.xml
> 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.