Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 252940

Re: GemFire Not Reading gemfire.properties As Expected

$
0
0

Hi Steve,

 

If we're looking at the same code, then spring-nanotrader-service-support/src/main/resources/META-INF/spring/cache/spring-nanotrader-service-support.xml contains the line

 

<util:properties id="props" location="classpath:/gemfire.properties" />

 

So Spring-gemfire is trumping whatever you're passing in on the command line. You could do a couple of things:

 

  1. Modify this line directly with a file reference to your properties file
  2. Ensure the directory is on the classpath
  3. Using Spring's property resolving, parameterize this value and pass your own value in as a system property.

 

--Jens

 

P.S. If you're building from the command line, you can avoid executing maven tests by calling maven with 'mvn -DskipTests=true ...' thus avoiding the need to comment out tests.


Viewing all articles
Browse latest Browse all 252940

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>