In my gradle base project I'm trying upgrade spring (spring-boot-starter-jetty) dependency from 2.7.6 to 3.0.5 And looks everything start up and work fine. However during start up I noticed logs from JNDI loop up.

DEBUG o.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/logging.group]
DEBUG o.s.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/logging.group] not found - trying original name [logging.group]. javax.naming.NameNotFoundException: env is not bound; remaining name 'env/logging.group'
DEBUG o.springframework.jndi.JndiTemplate - Looking up JNDI object with name [logging.group]
DEBUG o.s.jndi.JndiPropertySource - JNDI lookup for name [logging.group] threw NamingException with message: null. Returning null.
DEBUG o.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/logging.group]
DEBUG o.s.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/logging.group] not found - trying original name [logging.group]. javax.naming.NameNotFoundException: env is not bound; remaining name 'env/logging.group'
DEBUG o.springframework.jndi.JndiTemplate - Looking up JNDI object with name [logging.group]
DEBUG o.s.jndi.JndiPropertySource - JNDI lookup for name [logging.group] threw NamingException with message: null. Returning null.
DEBUG o.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/logging.level]
DEBUG o.s.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/logging.level] not found - trying original name [logging.level]. javax.naming.NameNotFoundException: env is not bound; remaining name 'env/logging.level'
DEBUG o.springframework.jndi.JndiTemplate - Looking up JNDI object with name [logging.level]
DEBUG o.s.jndi.JndiPropertySource - JNDI lookup for name [logging.level] threw NamingException with message: null. Returning null.
DEBUG o.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/logging.level]
DEBUG o.s.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/logging.level] not found - trying original name [logging.level]. javax.naming.NameNotFoundException: env is not bound; remaining name 'env/logging.level'
DEBUG o.springframework.jndi.JndiTemplate - Looking up JNDI object with name [logging.level]
DEBUG o.s.jndi.JndiPropertySource - JNDI lookup for name [logging.level] threw NamingException with message: null. Returning null.
DEBUG o.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/logging.level.org.springframework]
DEBUG o.s.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/logging.level.org.springframework] not found - trying original name [logging.level.org.springframework]. javax.naming.NameNotFoundException: env is not bound; remaining name 'env/logging.level.org.springframework'
DEBUG o.springframework.jndi.JndiTemplate - Looking up JNDI object with name [logging.level.org.springframework]
DEBUG o.s.jndi.JndiPropertySource - JNDI lookup for name [logging.level.org.springframework] threw NamingException with message: null. Returning null.
DEBUG o.springframework.jndi.JndiTemplate - Looking up JNDI object with name [java:comp/env/logging.level.org.hibernate]
DEBUG o.s.jndi.JndiLocatorDelegate - Converted JNDI name [java:comp/env/logging.level.org.hibernate] not found - trying original name [logging.level.org.hibernate]. javax.naming.NameNotFoundException: env is not bound; remaining name 'env/logging.level.org.hibernate'
DEBUG o.springframework.jndi.JndiTemplate - Looking up JNDI object with name [logging.level.org.hibernate]
DEBUG o.s.jndi.JndiPropertySource - JNDI lookup for name [logging.level.org.hibernate] threw NamingException with message: null. Returning null.

As I found to turn off JNDI I should set in spring application.properties file

spring.jndi.enabled=false or org.eclipse.jetty.jndi=false

But it looks like this options doesn't work in spring boot 3 because still I see the JNDI look up logs.

Comment From: snicoll

@nibexo thanks for the report. I am trying to get my head around what you're trying to report and I am not sure where to look. To get support, please share a small project that works with 2.7.10 and fails with 3.0.5(and please explain what works mean in this context).

You can share the sample by attaching a zip to this issue or sharing a link to a GitHub repository.

Comment From: spring-projects-issues

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Comment From: spring-projects-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.