Hi all,
I am trying to update a weblogic 8 ear to deploy in weblogic 10. We are currently using spring 1.2 and will upgrade spring after the ear successfully deploys in weblogic 10. I keep getting a Could not resolve placeholder 'staff.filename' .
Here is what some of the code looks like:
applicationContext.xml
authAppContext.xmlCode:<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="locations"> <list> <value>classpath://ici_app.properties</value> </list> </property> </bean>
ici_app.propertiesCode:<bean id="targetMemberAdminDAO" class="org.ici.icinet.dao.JNDIMemberAdminDAOImpl" autowire="byName" destroy-method="destroy"> <property name="searchBase"><value>${ldap.search.base}</value></property> <property name="authenticatingContextProperties"> <props> <prop key="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</prop> <prop key="java.naming.provider.url">ldap://${ldap.host}:${ldap.port}/${ldap.search.base}</prop> </props> </property> <property name="ldapContextProperties"> <props> <prop key="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</prop> <prop key="java.naming.provider.url">ldap://${ldap.host}:${ldap.port}/${ldap.search.base}</prop> <prop key="java.naming.security.principal">${ldap.admin.dn}</prop> <prop key="java.naming.security.credentials">${ldap.admin.password}</prop> <prop key="java.naming.security.authentication">simple</prop> <prop key="com.sun.jndi.ldap.connect.pool">true</prop> </props> </property> </bean> <bean id=":ldapRefresh" name="ldapRefresh" class="org.ici.icinet.admin.refresh.LDAPRefreshImpl" autowire="byName" singleton="false"> <property name="iciStaffFile"><value>${staff.filename}</value></property> </bean>
Other placeholders in the same properties file are resolved. I am totally stumped Any help would be greatly appreciated.Code:#LDAP User ldap.port=389 ldap.pool.size=5 ldap.pool.max=10 ldap.pool.timeout=3600000 #LDAP ICIstaff file ldap.icistaff.file.delimiter=: staff.filename=classpath://icistaff.txt


Reply With Quote
