[
http://jira.magnolia.info/browse/MAGNOLIA-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17166#action_17166
]
Fabrizio Giustina commented on MAGNOLIA-2270:
---------------------------------------------
> it is not correct to give false impression that you can't run as a war file
> in general.
the check here is clean and simple:
- if servletContext.getRealPath() returns null you are using an unexpanded war
in a container where magnolia will not run unexpanded.
- If you are using a expanded war or a unexpanded war in a server where
magnolia can run you will never see this message. If
servletContext.getRealPath() returns null it means that you are running a
unexpanded war in a server where this is not supported and the log clearly
helps you in fixing your configuration.
> Better logs and avoid NPEs when magnolia is started from an unexpanded war
> --------------------------------------------------------------------------
>
> Key: MAGNOLIA-2270
> URL: http://jira.magnolia.info/browse/MAGNOLIA-2270
> Project: Magnolia
> Issue Type: Improvement
> Affects Versions: 3.6 RC1
> Reporter: Fabrizio Giustina
> Assignee: Fabrizio Giustina
> Fix For: 3.6
>
>
> Magnolia doesn't work with if started from an unexpanded war, as we know, but
> we also should give a better output.
> 3.6-rc1 dies with an unhelpful NPE in MgnlServletContextListener
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------