1 Reply Latest reply: Mar 25, 2013 3:18 AM by Jonathan.Knight RSS

    Not able to start Coherence Server on Unix environment

    998116
      Hi,

      I am trying to configure Coherence-Web on Weblogic server on Unix. But when i try to start the server getting the below error.

      I am tried with Coherence 3.7.1 but say Bad class version so then tried with Coherence 3.6.1

      And i used the below commond to run the server.

      java -Xms128m -Xmx128m -Dcom.sun.management.jmxremote -Dtangosol.coherence.management=all -Dtangosol.coherence.management.remote=true -cp "$COHERENCE_HOME/lib/coherence.jar:$COHERENCE_HOME/lib/coherence-web-spi.war" -Dtangosol.coherence.cacheconfig=session-cache-config.xml com.tangosol.net.DefaultCacheServer

      2013-03-22 13:08:23.245/4.372 Oracle Coherence GE 3.6.1.0 <Info> (thread=main, member=n/a): Loaded Reporter configuration from "jar:file:$COHERENCE_HOME/lib/coherence.jar!/reports/report-group.xml"
      Exception in thread "main" (Wrapped: Failed to load the factory) java.lang.reflect.InvocationTargetException
      at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
      at com.tangosol.net.DefaultCacheFactoryBuilder.getDefaultFactory(DefaultCacheFactoryBuilder.java:419)
      at com.tangosol.net.DefaultCacheFactoryBuilder.getSingletonFactory(DefaultCacheFactoryBuilder.java:113)
      at com.tangosol.net.DefaultCacheFactoryBuilder.getFactory(DefaultCacheFactoryBuilder.java:173)
      at com.tangosol.net.DefaultCacheFactoryBuilder.getConfigurableCacheFactory(DefaultCacheFactoryBuilder.java:149)
      at com.tangosol.net.CacheFactory.getConfigurableCacheFactory(CacheFactory.java:657)
      at com.tangosol.net.DefaultCacheServer.getDefaultConfigurableCacheFactory(DefaultCacheServer.java:364)
      at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
      at com.tangosol.util.ClassHelper.newInstance(ClassHelper.java:662)
      at com.tangosol.net.DefaultCacheFactoryBuilder.getDefaultFactory(DefaultCacheFactoryBuilder.java:381)
      ... 6 more
      Caused by: (Wrapped: Failed to load cache configuration: session-cache-config.xml) java.io.IOException: The cache configuration is missing: "session-cache-config.xml", loader=null
      at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
      at com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:330)
      at com.tangosol.run.xml.XmlHelper.loadFileOrResource(XmlHelper.java:281)
      at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultConfigurableCacheFactory.java:396)
      at com.tangosol.net.DefaultConfigurableCacheFactory.loadConfig(DefaultConfigurableCacheFactory.java:382)
      at com.tangosol.net.DefaultConfigurableCacheFactory.<init>(DefaultConfigurableCacheFactory.java:148)
      ... 12 more
      Caused by: java.io.IOException: The cache configuration is missing: "session-cache-config.xml", loader=null
      at com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:316)
      ... 16 more

      I really appreciated the support.