Letractively / impala

Automatically exported from code.google.com/p/impala
0 stars 0 forks source link

Some application servers don't allow for deployment of non-exploded war #336

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Applies as of r5600

This applies for Weblogic 10.3.3.0, and I believe also for IBM Websphere V 7.0.

Need to investigate whether there is a simple way to address this, or
whether to simply to add instructions to the wiki to the effect that the
application needs to be exploded before deployment.

On Weblogic 10.3.3.0, message is:

<25-May-2010 09:34:42 o'clock BST> <Warning> <Deployer> <BEA-149078> <Stack
trace for message 149004
weblogic.application.ModuleException:
        at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1514)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
        at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.ja
va:425)
        at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:
41)
        at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.jav
a:119)
        Truncated. see log file for complete stacktrace

Caused By: java.io.FileNotFoundException: ServletContext resource
[/WEB-INF/modules/main-1.0.jar] cannot be resolved to
absolute file path - web application archive not expanded?
        at org.springframework.web.util.WebUtils.getRealPath(WebUtils.java:234)
        at
org.springframework.web.context.support.ServletContextResource.getFile(ServletCo
ntextResource.java:142)
        at
org.impalaframework.util.ResourceUtils.getFiles(ResourceUtils.java:60)
        at
org.impalaframework.util.ResourceUtils.getFiles(ResourceUtils.java:51)
        at
org.impalaframework.module.source.ModuleResourceUtils.loadModuleResource(ModuleR
esourceUtils.java:32)
        Truncated. see log file for complete stacktrace

Original issue reported on code.google.com by philzoio...@googlemail.com on 25 May 2010 at 8:40

GoogleCodeExporter commented 9 years ago

Original comment by philzoio...@googlemail.com on 25 May 2010 at 8:42

GoogleCodeExporter commented 9 years ago

Original comment by philzoio...@googlemail.com on 11 Sep 2010 at 9:17

GoogleCodeExporter commented 9 years ago

Original comment by philzoio...@googlemail.com on 19 Dec 2012 at 9:50

GoogleCodeExporter commented 9 years ago
Did we have a resolution for the same? I am having the same error

Original comment by viswesh...@gmail.com on 2 Jan 2014 at 4:38

GoogleCodeExporter commented 9 years ago
Don't have any solution lined up for this. To be fair, not likely to actively 
seek one out, but happy to apply any patches or update the wiki if any solution 
is found.

What application server/version are you using?

Original comment by philzoio...@googlemail.com on 28 Jan 2014 at 9:32