getting this error
20:35:02.921 [catalina-exec-24] ERROR o.s.web.servlet.DispatcherServlet - Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'uaaConfig' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Could not resolve placeholder 'environmentYamlKey' in string value "${environmentYamlKey}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'environmentYamlKey' in string value "${environmentYamlKey}" at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:211) ~[spring-beans-4.2.2.RELEASE.jar:4.2.2.RELEASE] at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.processProperties(PropertySourcesPlaceholderConfigurer.java:177) ~[spring-context-4.2.2.RELEASE.jar:4.2.2.RELEASE] at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(PropertySourcesPlaceholderConfigurer.java:152) ~[spring-context-4.2.2.RELEASE.jar:4.2.2.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284) ~[spring-context-4.2.2.RELEASE.jar:4.2.2.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java
Here is my config file. A similar config (different topology) was installed fine. I am suspecting it is postgres db issue during the install (I compared the non working setup log and the working setup log). Postgre is working fine (analytic)..Any feedback where I should look?
IP1=server1
IP2=server2
SSOIP=server1
MSIP=$IP1
MGMT_PORT=8080
ADMIN_EMAIL=email@email.com
APIGEE_ADMINPW=password
MS_SCHEME=http
PG_HOST=$IP2
PG_PORT=5432
PG_USER=apigee
PG_PWD=password
SSO_PROFILE="saml"
SSO_PUBLIC_URL_HOSTNAME=$SSOIP
SSO_PUBLIC_URL_PORT=9943
SSO_TOMCAT_PORT=9943
SSO_TOMCAT_PROFILE=SSL_TERMINATION
SSO_PUBLIC_URL_SCHEME=https SSO_TOMCAT_KEYSTORE_FILEPATH=/opt/apigee/customer/application/apigee-sso/tomcat-ssl/some.jks
SSO_TOMCAT_KEYSTORE_ALIAS=sso
SSO_TOMCAT_KEYSTORE_PASSWORD=password
SSO_ADMIN_NAME=ssoadmin
SSO_ADMIN_SECRET=Secret123
SSO_JWT_SIGNINIG_KEY_FILEPATH=/opt/apigee/customer/application/apigee-sso/jwt-keys/privkey.pem
SSO_JWT_VERIFICATION_KEY_FILEPATH=/opt/apigee/customer/application/apigee-sso/jwt-keys/pubkey.pem
SSO_SAML_IDP_NAME=ping
SSO_SAML_IDP_LOGIN_TEXT="Please log in to your IDP"
SSO_SAML_IDP_METADATA_URL=file:///opt/apigee/customer/application/apigee-sso/saml/metadata.xml
SSO_SAML_IDPMETAURL_SKIPSSLVALIDATION=n
SSO_SAML_SERVICE_PROVIDER_KEY=/opt/apigee/customer/application/apigee-sso/saml/server.key
SSO_SAML_SERVICE_PROVIDER_CERTIFICATE=/opt/apigee/customer/application/apigee-sso/saml/selfsigned.crt
SKIP_SMTP=n
SMTPHOST=smtpserver
SMTPUSER=email@email.com
SMTPPASSWORD=0
SMTPSSL=n
SMTPPORT=25
SMTPMAILFROM="email@email.com"
Solved! Go to Solution.
@chiki_sun I'm facing same error on my landscape too. How did you fix this ?
@chiki_sun I'm facing same error on my landscape too. How did you fix this ?
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |