The classpath in server1.log lists absolute paths for everything except Gemfire-JMS-Integration-0.0.1-SNAPSHOT.jar. You might want to try using an absolute path instead of a relative path.
Other than that, your start server command looks like what I see in one of the geode tests. -Kirk On Mon, Dec 28, 2015 at 3:40 PM, Nikhil Chandrappa <[email protected]> wrote: > 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/> >
