1 Reply Latest reply on Oct 2, 2012 1:53 PM by mircea.markus

    Unable to start cache! java.net.MalformedURLException: no protocol

    vigue

      Hi!

      I'm trying to use the GUI Demo to start a cache.

      I have done my xml configuration file:

      <infinispan>

              <global>

                      <transport clusterName="demoCluster">

                              <properties>

                                      <property name="configurationFile" value="jgroups.xml"/>

                              </properties>

                      </transport>

                      <globalJmxStatistics enabled="true"/>

              </global>

       

              <default>

                      <jmxStatistics enabled="true"/>

                      <clustering mode="distribution">

                              <l1 enabled="true" lifespan="60000"/>

                              <hash numOwners="1" rehashRpcTimeout="120000"/>

                              <sync/>

                      </clustering>

              </default>

       

      </infinispan>

       

      Now, I run the GUI: ./runGuiDemo.sh -Dinfinispan.configuration=file:/config.xml

      Then, I press the button startCache and the next exception appear:

       

          

      ERROR [InfinispanDemo] (pool-1-thread-1) Unable to start cache!

      java.net.MalformedURLException: no protocol: -Dinfinispan.configuration=file:/config.xml

       

      Exception in thread "pool-1-thread-1" java.lang.RuntimeException: java.net.MalformedURLException: no protocol: -Dinfinispan.configuration=file:/config.xml

      Caused by: java.net.MalformedURLException: no protocol: -Dinfinispan.configuration=file:/config.xml

       

       

       

      Can anyone tell what is happening and what can I do so solve this problem?

      Thanks!!!!