In Spring/Tomcat, which configuration file do jndi lookups refer to?:
问题 I'm having trouble getting a Spring/Tomcat app to resolve a variable which appears as a property of a JndiFactoryObjectName bean in the application context. Here's the relevant bean entry: When I try to run it on the server, it comes up with this error: Caused by: javax.naming.NameNotFoundException: Name search.url is not bound in this Context This entry in server.xml doesn't seem to help: There's also an entry in (as seen from Eclipse/STS) Tomcat v6.0 Server at localhost Catalina localhost