Hi!
I'm trying to change the runtime environment, but I also see the line in a log file:
[ WARN] 22:47:57 RuntimeEnvironmentPropertiesConfigurer - Unable to determine runtime environment, using default environment 'development'
Default settings for RuntimeEnvironmentPropertiesConfigurer is used in applicaionContext.xml :
<bean id="blConfiguration" class="org.broadleafcommerce.common.config.RuntimeEnvironmentPropertiesConfigurer" />
I run broadleaf on tomcat and specially change /etc/init.d/tomcat7-site.sh that it shows JAVA_OPTS on startup:
"Starting Tomcat servlet engine for site tomcat7 with JAVA_OPTS=-Druntime.environment=production -Djava.awt.headless=true -Xmx512m -XX:+UseConcMarkSweepGC"
but still used the default environment.
Help me please. What am I doing wrong?
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.