Skip to content

BinaryGrailsPlugin fails during startup on weblogic 12.1.3 #9701

@yvesf

Description

@yvesf

I'm referring to this change: b0e5375

The value of isJar is calculated by testing baseResourceString startsWith jar:.
For unknown reasons on weblogic it starts with zip: instead. Then it fails in the next line in the call to IOUtils.findApplicationDirectoryFile instead of taking null for projectDirectory. This completely blocks launching a grails application from an ear file on weblogic.

Please check if you can use org.springframework.util.ResourceUtils#isJarURL(URL).
In spring3 this weblogic behaviour is documented javadoc, however this comment vanished somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions