Vasilisa  Sidorova created IGNITE-1369:
------------------------------------------

             Summary: CacheClientPortableQueryExample need to update javadoc
                 Key: IGNITE-1369
                 URL: https://issues.apache.org/jira/browse/IGNITE-1369
             Project: Ignite
          Issue Type: Bug
          Components: documentation
    Affects Versions: 1.1.4
            Reporter: Vasilisa  Sidorova
            Priority: Minor


CacheClientPortableQueryExample fails with exception:
{noformat}
Exception in thread "main" org.apache.ignite.cache.CacheExistsException: Failed 
to start cache (a cache with the same name is already started): 
CacheClientPortableQueryExampleOrganizations
        at 
org.apache.ignite.internal.processors.cache.GridCacheProcessor.dynamicStartCache(GridCacheProcessor.java:2133)
        at 
org.apache.ignite.internal.processors.cache.GridCacheProcessor.dynamicStartCache(GridCacheProcessor.java:2094)
        at 
org.apache.ignite.internal.IgniteKernal.createCache(IgniteKernal.java:2392)
        at 
org.apache.ignite.examples.portable.datagrid.CacheClientPortableQueryExample.main(CacheClientPortableQueryExample.java:87)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
{noformat}
if it's running with node from command line. And 
CacheClientPortableQueryExample is running OK with GridExampleNodeStartup. So, 
it's need to delete text:
{noformat}
* Alternatively you can run {@link ExamplePortableNodeStartup} in another JVM 
which will
 * start node with {@code examples/config/portable/example-ignite-portable.xml} 
configuration.
{noformat}
from example description



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to