I am using M1. is it merged in github source ?

Thanks




On Sat, Feb 13, 2016 at 11:56 AM, Sai Boorlagadda <[email protected]>
wrote:

> Hello Alan,
>
> Are you using the M1 release archive or checked out source from github?
>
> If you are using M1 release archive, pulse is not yet included into M1.
>
> Sai
>
> On Sat, Feb 13, 2016 at 8:35 AM, Alan Kash <[email protected]> wrote:
>
>> Hi Udo,
>>
>> I again gave it a shot,
>>
>> gfsh>start locator --name=l1 --bind-address=192.168.20.109
>> --hostname-for-clients=192.168.20.109
>>
>> gfsh>start server --name=l1s1
>>
>> gfsh>create region --name=regionA --type=REPLICATE_PERSISTENT
>>
>>
>> 1. Client (RESOLVED)
>>
>> IntelliJ 15 - SUCCESS
>>
>> I tried NetBeans 8.1 - SUCCESS
>>
>> 2. Pulse (PENDING) :
>>
>> gfsh>start pulse
>> Launched GemFire Pulse
>>
>> gfsh>Created new window in existing browser session.
>>
>> It is trying to connect to localhost:7070/pulse by default, I tried
>> changing the IP address to 192.168.20.109:7070/pulse - I still get HTTP
>> 404 error.
>>
>> I tried the same configuration on OS X 10.11, it is throwing the same
>> error.
>>
>>
>> Thanks,
>> Alan
>>
>>
>> On Sat, Feb 13, 2016 at 3:17 AM, Udo Kohlmeyer <[email protected]>
>> wrote:
>>
>>> Hi there Alan,
>>>
>>> I've just tried the 5 minute guide and it worked for me.
>>>
>>> I would just like to confirm the following:
>>>
>>>    - You started both locator and server
>>>    - Could you try connecting to the locator from the client using
>>>    "localhost"
>>>       - Otherwise we might have to tell the locator to directly bind to
>>>       an ip address using 'start locator --name=ll 
>>> --bind-address=192.168.20.109
>>>       --hostname-for-clients==192.168.20.109'
>>>    - When starting pulse is it trying to connect to 'localhost' or
>>>    '192.168.20.109'?
>>>
>>> --Udo
>>>
>>> On 13/02/2016 4:24 pm, Alan Kash wrote:
>>>
>>> Thanks, that resolved the locator issue.
>>>
>>> gfsh>status locator --name=l1
>>> Locator in /home/z/store/geode/apache-geode-1.0.0-incubating.M1/l1 on
>>> 192.168.20.109[10334] as l1 is currently online.
>>> Process ID: 13124
>>> Uptime: 19 seconds
>>> GemFire Version: 1.0.0-incubating.M1
>>> Java Version: 1.8.0_66
>>> Log File: /home/z/store/geode/apache-geode-1.0.0-incubating.M1/l1/l1.log
>>> JVM Arguments: -Dgemfire.enable-cluster-configuration=true
>>> -Dgemfire.load-cluster-configuration-from-dir=false
>>> -Dgemfire.launcher.registerSignalHandlers=true -Djava.awt.headless=true
>>> -Dsun.rmi.dgc.server.gcInterval=9223372036854775806
>>> Class-Path:
>>> /home/z/store/geode/apache-geode-1.0.0-incubating.M1/lib/gemfire-core-1.0.0-incubating.M1.jar:/home/z/store/geode/apache-geode-1.0.0-incubating.M1/lib/gemfire-core-dependencies.jar
>>>
>>> Cluster configuration service is up and running.
>>>
>>>
>>> I am following 5 minute guide -
>>> https://cwiki.apache.org/confluence/display/GEODE/Index#Index-Geodein5minutes
>>>
>>> Two more issues :
>>>
>>> 1. Pulse shows HTTP 404 error (problem accessing /pulse) after starting
>>> from gfsh
>>>
>>> gfsh>start pulse
>>> Launched GemFire Pulse
>>>
>>> gfsh>Created new window in existing browser session.
>>>
>>> 2. When I connect using Java, it throw "NoAvailableLocatorsException"
>>>
>>> public static void main(String[] args) {
>>>     ClientCache cache = new ClientCacheFactory()
>>>             .addPoolLocator("192.168.20.109", 10334)
>>>             .create();
>>>     Region<String, String> region = cache
>>>             .<String, 
>>> String>createClientRegionFactory(ClientRegionShortcut.CACHING_PROXY)
>>>             .create("r1");
>>>
>>>     region.put("1", "Hello");
>>>     region.put("2", "World");
>>>
>>>     for (Map.Entry<String, String> entry : region.entrySet()) {
>>>         System.out.format("Key = %s, Value = %s\n", entry.getKey(), 
>>> entry.getValue());
>>>     }
>>> }
>>>
>>> ${gemfire-pattern}${gemfire-pattern}${gemfire-pattern}${gemfire-pattern}
>>> java.net.SocketException: Connection reset
>>> at java.net.SocketInputStream.read(SocketInputStream.java:209)
>>> ~[?:1.8.0_66]
>>> at java.net.SocketInputStream.read(SocketInputStream.java:141)
>>> ~[?:1.8.0_66]
>>> at java.net.SocketInputStream.read(SocketInputStream.java:223)
>>> ~[?:1.8.0_66]
>>> at java.io.FilterInputStream.read(FilterInputStream.java:83)
>>> ~[?:1.8.0_66]
>>> at java.io.DataInputStream.readByte(DataInputStream.java:265)
>>> ~[?:1.8.0_66]
>>> at
>>> com.gemstone.gemfire.internal.InternalDataSerializer.basicReadObject(InternalDataSerializer.java:2883)
>>> ~[gemfire-core-1.0.0-incubating-SNAPSHOT.jar:?]
>>> at
>>> com.gemstone.gemfire.DataSerializer.readObject(DataSerializer.java:3249)
>>> ~[gemfire-core-1.0.0-incubating-SNAPSHOT.jar:?]
>>> at
>>> com.gemstone.gemfire.distributed.internal.tcpserver.TcpClient.requestToServer(TcpClient.java:122)
>>> ~[gemfire-core-1.0.0-incubating-SNAPSHOT.jar:?]
>>> at
>>> com.gemstone.gemfire.distributed.internal.tcpserver.TcpClient.requestToServer(TcpClient.java:78)
>>> ~[gemfire-core-1.0.0-incubating-SNAPSHOT.jar:?]
>>> at
>>> com.gemstone.gemfire.cache.client.internal.AutoConnectionSourceImpl.queryOneLocator(AutoConnectionSourceImpl.java:188)
>>> [gemfire-core-1.0.0-incubating-SNAPSHOT.jar:?]
>>> at
>>> com.gemstone.gemfire.cache.client.internal.AutoConnectionSourceImpl.queryLocators(AutoConnectionSourceImpl.java:220)
>>> [gemfire-core-1.0.0-incubating-SNAPSHOT.jar:?]
>>> at
>>> com.gemstone.gemfire.cache.client.internal.AutoConnectionSourceImpl$UpdateLocatorListTask.run2(AutoConnectionSourceImpl.java:374)
>>> [gemfire-core-1.0.0-incubating-SNAPSHOT.jar:?]
>>> at
>>> com.gemstone.gemfire.cache.client.internal.PoolImpl$PoolTask.run(PoolImpl.java:1250)
>>> [gemfire-core-1.0.0-incubating-SNAPSHOT.jar:?]
>>> at
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>>> [?:1.8.0_66]
>>> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
>>> [?:1.8.0_66]
>>> at
>>> com.gemstone.gemfire.internal.ScheduledThreadPoolExecutorWithKeepAlive$DelegatingScheduledFuture.run(ScheduledThreadPoolExecutorWithKeepAlive.java:250)
>>> [gemfire-core-1.0.0-incubating-SNAPSHOT.jar:?]
>>> at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>> [?:1.8.0_66]
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>> [?:1.8.0_66]
>>> at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]
>>> ${gemfire-pattern}Exception in thread "main"*
>>> com.gemstone.gemfire.cache.client.NoAvailableLocatorsException: Unable to
>>> connect to any locators in the list [/192.168.20.109:10334
>>> <http://192.168.20.109:10334>]*
>>> at
>>> com.gemstone.gemfire.cache.client.internal.AutoConnectionSourceImpl.findServer(AutoConnectionSourceImpl.java:136)
>>> at
>>> com.gemstone.gemfire.cache.client.internal.ConnectionFactoryImpl.createClientToServerConnection(ConnectionFactoryImpl.java:207)
>>> at
>>> com.gemstone.gemfire.cache.client.internal.pooling.ConnectionManagerImpl.borrowConnection(ConnectionManagerImpl.java:215)
>>> at
>>> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:134)
>>> at
>>> com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:113)
>>> at
>>> com.gemstone.gemfire.cache.client.internal.PoolImpl.execute(PoolImpl.java:703)
>>> at
>>> com.gemstone.gemfire.cache.client.internal.PutOp.execute(PutOp.java:99)
>>> at
>>> com.gemstone.gemfire.cache.client.internal.ServerRegionProxy.put(ServerRegionProxy.java:198)
>>> at
>>> com.gemstone.gemfire.internal.cache.LocalRegion.serverPut(LocalRegion.java:2973)
>>> at
>>> com.gemstone.gemfire.internal.cache.LocalRegion.cacheWriteBeforePut(LocalRegion.java:3109)
>>> at
>>> com.gemstone.gemfire.internal.cache.AbstractRegionMap.invokeCacheWriter(AbstractRegionMap.java:3131)
>>> at
>>> com.gemstone.gemfire.internal.cache.AbstractRegionMap.basicPut(AbstractRegionMap.java:2895)
>>> at
>>> com.gemstone.gemfire.internal.cache.LocalRegion.virtualPut(LocalRegion.java:5780)
>>> at
>>> com.gemstone.gemfire.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:118)
>>> at
>>> com.gemstone.gemfire.internal.cache.LocalRegion.basicPut(LocalRegion.java:5182)
>>> at
>>> com.gemstone.gemfire.internal.cache.LocalRegion.validatedPut(LocalRegion.java:1574)
>>> at
>>> com.gemstone.gemfire.internal.cache.LocalRegion.put(LocalRegion.java:1557)
>>> at
>>> com.gemstone.gemfire.internal.cache.AbstractRegion.put(AbstractRegion.java:321)
>>> at io.palindrome.geode.HelloGeode.main(HelloGeode.java:20)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:497)
>>> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
>>> ${gemfire-pattern}${gemfire-pattern}${gemfire-pattern}${gemfire-pattern}
>>> Process finished with exit code 1
>>>
>>> Am I missing something here ?
>>>
>>>
>>> Thanks,
>>> Aman
>>>
>>>
>>>>
>>>
>>>
>>
>
>
> --
> Sai Boorlagadda
>

Reply via email to