Menu

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

Accepted
nobody
None
Medium
AppServer
Defect
2014-01-28
2010-05-25
Anonymous
No

Originally created by: philzoio...@googlemail.com
Originally owned by: philzoio...@googlemail.com

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.java:425)
        at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
        at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java: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(ServletContextResource.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(ModuleResourceUtils.java:32)
        Truncated. see log file for complete stacktrace

Discussion

  • Anonymous

    Anonymous - 2010-05-25

    Originally posted by: philzoio...@googlemail.com

    (No comment was entered for this change.)

    Labels: -Component-Web Component-AppServer

     
  • Anonymous

    Anonymous - 2010-09-11

    Originally posted by: philzoio...@googlemail.com

    (No comment was entered for this change.)

    Labels: -Milestone-Release1.0.1 Milestone-Release-1.1

     
  • Anonymous

    Anonymous - 2012-12-19

    Originally posted by: philzoio...@googlemail.com

    (No comment was entered for this change.)

    Labels: -Milestone-Release-1.1

     
  • Anonymous

    Anonymous - 2014-01-02

    Originally posted by: viswesh...@gmail.com

    Did we have a resolution for the same? I am having the same error

     
  • Anonymous

    Anonymous - 2014-01-28

    Originally posted by: philzoio...@googlemail.com

    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?

     

Log in to post a comment.