[
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