Skip to content

JndiPropertySource getProperty throws Exception [SPR-8490] #13136

@spring-projects-issues

Description

@spring-projects-issues

Robert Starzer opened SPR-8490 and commented

JndiPropertySource (Object getProperty(String name) throws JndiLookupFailureException) should return null if the property was not found; now it throws an exception and the web context does not startup.

Also what's unclear for me is (in my case) the missing "java:/comp/env/" prefix for looking up
properties defined in multiple property sources.


Affects: 3.1 M2

Issue Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions