Hi All, I am trying to start a cache server from gfsh with spring context configuration file and I receive a exception saying,
java.io.FileNotFoundException: class path resource
[spring/context/spring-context.xml] cannot be opened because it does not
exist
Following is Start Server command
start server --name=server1 --server-port=0 --classpath=../target/
*Gemfire-JMS-Integration-0.0.1-SNAPSHOT.jar*:/Users/nchandrappa
/Documents/workspace/Gemfire-JMS-Integration/grid/lib/* --properties-file=
config/gemfire.properties --cache-xml-file=config/serverCache.xml
*--spring-xml-location=spring/context/spring-context.xml*
--initial-heap=100m --max-heap=100m
*Jar Structure*
Gemfire-JMS-Integration
src
main
- java
- resources
spring
context
spring-context.xml
*serverCache.xml*
<cache>
<pdx read-serialized="true" persistent="false"/>
<initializer>
<class-name>
org.springframework.data.gemfire.support.SpringContextBootstrappingInitializer
</class-name>
<parameter name="basePackages">
<string>io.pivotal.gemfire.core,io.pivotal.jms.core</string>
</parameter>
</initializer>
</cache>
*gemfire.properties*
mcast-port=0
locators=localhost[10334]
log-level=config
please let me know, if I have missed any configurations in start server
command that I've mentioned above.
Thanks,
Nikhil
--
*Nikhil Chandrappa *| Data Engineer | New York
(315) 396 - 3789 | [email protected] | Pivotal Software Inc.
<http://www.pivotal.io/>
server1.log
Description: Binary data
