You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "viola.lu (JIRA)" <ji...@apache.org> on 2011/01/19 09:28:43 UTC
[jira] Created: (GERONIMO-5765) Display a warning message when a
WAB is deployed in admin console
Display a warning message when a WAB is deployed in admin console
-----------------------------------------------------------------
Key: GERONIMO-5765
URL: https://issues.apache.org/jira/browse/GERONIMO-5765
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: deployment
Affects Versions: 3.0-M2, 3.0
Reporter: viola.lu
Fix For: 3.0-M2, 3.0
Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-5765) Display a warning message when
web application is deployed with WAB manifest
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998142#comment-12998142 ]
Jarek Gawor commented on GERONIMO-5765:
---------------------------------------
In revision 1073584 I updated the code that displays that warning to execute a little bit later - after a deployed was found for the module.
> Display a warning message when web application is deployed with WAB manifest
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-5765) Display a warning message when a
WAB is deployed in admin console
Posted by "Rex Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994681#comment-12994681 ]
Rex Wang commented on GERONIMO-5765:
------------------------------------
Currently, wab will be deployed as a war through our deployer. GERONIMO-5764 will support bundle deployment through deployer. For now, just record a warning message that inform user they are deploying a wab not a java ee war.
Will commit this change to M2 but not trunk for now.
> Display a warning message when a WAB is deployed in admin console
> -----------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-5765) Display a warning message when web
application is deployed with WAB manifest
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor updated GERONIMO-5765:
----------------------------------
Summary: Display a warning message when web application is deployed with WAB manifest (was: Display a warning message when a WAB is deployed in admin console)
> Display a warning message when web application is deployed with WAB manifest
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-5765) Display a warning message when a
WAB is deployed in admin console
Posted by "viola.lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983608#action_12983608 ]
viola.lu commented on GERONIMO-5765:
------------------------------------
This jira is related with previous jira: https://issues.apache.org/jira/browse/GERONIMO-5588
> Display a warning message when a WAB is deployed in admin console
> -----------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-5765) Display a warning message when
web application is deployed with WAB manifest
Posted by "Rex Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995207#comment-12995207 ]
Rex Wang commented on GERONIMO-5765:
------------------------------------
So, how about change the message to "The WAB will be deployed as a regular Java EE Web application. However, we recommend you to install the Web OSGi bundle by using standard OSGi installation."
IIUC, for GEP, I suppose it will call the Deployer and the warning codes will be executed, isn't it?
----
JarFile moduleJar = new JarFile(moduleFile);
Manifest mf = moduleJar.getManifest();
if (mf!=null && mf.getMainAttributes().getValue("Web-ContextPath")!= null){
log.warn("The WAB will be deployed as a regular Java EE Web application. The recommended way to install a bundle is using a standard OSGi installation.");
}
----
> Display a warning message when web application is deployed with WAB manifest
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-5765) Display a warning message when a
WAB is deployed in admin console
Posted by "David Jencks (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986200#action_12986200 ]
David Jencks commented on GERONIMO-5765:
----------------------------------------
I think that when you try to deploy something we should use all the information we recognize. So if you deploy a web app that is actually a wab, we should deploy it as a wab. (When there is an osgi jca spec presumably when you deploy an osgi-enabled connector, it should deploy that way). However, we should tell the user that we deployed it as a wab rather than as a javaee application as part of the information about the results.
> Display a warning message when a WAB is deployed in admin console
> -----------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-5765) Display a warning message when
web application is deployed with WAB manifest
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995197#comment-12995197 ]
Jarek Gawor commented on GERONIMO-5765:
---------------------------------------
I think we agree on the root problem. I just think the current warning message is not clear, it is put in the wrong place, and doesn't address the case if somebody is deploying an application from Eclipse. I believe my suggestion addresses all of these problems.
> Display a warning message when web application is deployed with WAB manifest
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (GERONIMO-5765) Display a warning
message when a WAB is deployed in admin console
Posted by "Rex Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994687#comment-12994687 ]
Rex Wang edited comment on GERONIMO-5765 at 2/15/11 8:31 AM:
-------------------------------------------------------------
commit to 3.0 M2 branch At revision: 1070803
won't make this change in trunk.
was (Author: rwonly):
commit to 3.0 M2 branch At revision: 1070803
won't do this in trunk.
> Display a warning message when a WAB is deployed in admin console
> -----------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (GERONIMO-5765) Display a warning message when web
application is deployed with WAB manifest
Posted by "viola.lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
viola.lu closed GERONIMO-5765.
------------------------------
close it.
> Display a warning message when web application is deployed with WAB manifest
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-5765) Display a warning message when a
WAB is deployed in admin console
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986272#action_12986272 ]
Jarek Gawor commented on GERONIMO-5765:
---------------------------------------
Right. I think it makes sense to log a INFO message when a WAB is deployed and/or undeployed. It also would be nice to see WABs in the admin console.
> Display a warning message when a WAB is deployed in admin console
> -----------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-5765) Display a warning message when
web application is deployed with WAB manifest
Posted by "Rex Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995191#comment-12995191 ]
Rex Wang commented on GERONIMO-5765:
------------------------------------
The original issue reported by this jira is that if we deploy a wab, it will be treated as a war and all the osgi manifest and web-contextpath header will be ignored by our deployer. So I add such message. In future, I think if we deploy a osgi bundle, it should be recognized and deployed as a real bundle(as said in GERONIMO-5764 ). So such message won't have any meaning either in deployer or Tomcat/JettyWebModuleBuilder. Just a workaround for M2.
> Display a warning message when web application is deployed with WAB manifest
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-5765) Display a warning message when
web application is deployed with WAB manifest
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995339#comment-12995339 ]
Jarek Gawor commented on GERONIMO-5765:
---------------------------------------
I believe you are right about GEP calling Deployer. But there is no need to open the jar file on each deploy and read its manifest. We only need to do that for web applications. Unless we want to make this very generic and check every module for basic OSGi manifest and warn that for example "Deploying module as a regular Java EE application. Its existing OSGi manifest will be ignored".
I'm ok with the generic approach just make sure to close the JarFile :) and check for Bundle-SymbolicName header only. Also, the change to DeploymentPortlet is unnecessary - just checking the extension is insufficient.
> Display a warning message when web application is deployed with WAB manifest
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-5765) Display a warning message when a
WAB is deployed in admin console
Posted by "Rex Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994695#comment-12994695 ]
Rex Wang commented on GERONIMO-5765:
------------------------------------
to see WABs in the admin console, I think we can add a new column in osgi portlet that shows if a bundle is a wab. We can also do the same for blueprint bundles.
> Display a warning message when a WAB is deployed in admin console
> -----------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-5765) Display a warning message when
web application is deployed with WAB manifest
Posted by "Rex Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997621#comment-12997621 ]
Rex Wang commented on GERONIMO-5765:
------------------------------------
OK. Sorry for reply late. Commit the changes to 3.0_M2 branch At revision: 1073197.
Thanks!
> Display a warning message when web application is deployed with WAB manifest
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (GERONIMO-5765) Display a warning message when web
application is deployed with WAB manifest
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor resolved GERONIMO-5765.
-----------------------------------
Resolution: Fixed
Fix Version/s: (was: 3.0)
> Display a warning message when web application is deployed with WAB manifest
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0-M2
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-5765) Display a warning message when a
WAB is deployed in admin console
Posted by "Rex Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994687#comment-12994687 ]
Rex Wang commented on GERONIMO-5765:
------------------------------------
commit to 3.0 M2 branch At revision: 1070803
won't do this in trunk.
> Display a warning message when a WAB is deployed in admin console
> -----------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (GERONIMO-5765) Display a warning message when a
WAB is deployed in admin console
Posted by "Rex Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rex Wang reassigned GERONIMO-5765:
----------------------------------
Assignee: Rex Wang
> Display a warning message when a WAB is deployed in admin console
> -----------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-5765) Display a warning message when a
WAB is deployed in admin console
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995170#comment-12995170 ]
Jarek Gawor commented on GERONIMO-5765:
---------------------------------------
The changes in 1070803 are not correct. The messages displayed by the changes are misleading. They imply that a WAB is being deployed when in fact the module will be deployed and treated as a regular web application.
What I think we need to do now is modify the Tomcat/JettyWebModuleBuilder to check whether the standalone war application has OSGi manifest & Web-ContextPath header. If it does then we display a warning that even though the application has proper OSGi manifest, the application will be deployed as a regular web application and not a WAB.
> Display a warning message when a WAB is deployed in admin console
> -----------------------------------------------------------------
>
> Key: GERONIMO-5765
> URL: https://issues.apache.org/jira/browse/GERONIMO-5765
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0-M2, 3.0
> Reporter: viola.lu
> Assignee: Rex Wang
> Fix For: 3.0-M2, 3.0
>
>
> Now WAB has to be deployed via karaf shell like a regular bundle, so if you deploy it via admin console, deployer will just recognize it as java ee web application, not osgi WAB.
> So display a warning message to inform users.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira