gridgain / gridgain-old

267 stars 85 forks source link

GridClientApiExample (Windows 7 .Net Example) does not work #33

Closed vkudryav closed 10 years ago

vkudryav commented 10 years ago

The fragment of the log is below

+-------------------------------------------------------------------------------------+ GridGain ver. platform-ent-6.0.2#20140323-sha1:f9c796a1b29d2d7ce2737e681cbe578b5315d79f +-------------------------------------------------------------------------------------+ OS name: Windows 7 6.1 amd64 CPU(s): 4 Heap: 1.0GB VM name: 5732@Valk-PC Grid name: null Local node [ID=E7BB5ADF-22A4-4711-953F-E0A4ADD34CE1, order=2] Local node addresses: [/127.0.0.1] Local ports: TCP:8080 TCP:11211 TCP:47100 TCP:47500 GridGain documentation: http://www.gridgain.com/documentation

[09:21:23,917][INFO ][main][GridDiscoveryManager] Topology snapshot [ver=2, nodes=2, CPUs=4, heap=2.0GB] [09:21:46,411][WARN ][grid-nio-worker-0-#40%null%][GridTcpRestProtocol] No marshaller defined for NIO session, using PROTOBUF as default [ses=GridSelectorNioSessionImpl [selectorIdx=0, queueSize=0, writeBuf=null, readBuf=null, super=GridNioSessionImpl [locAddr=/127.0.0.1:11211, rmtAddr=/127.0.0.1:2479, createTime=1396542105496, closeTime=0, bytesSent=0, bytesRcvd=55, sndSchedTime=1396542105496, lastSndTime=1396542105496, lastRcvTime=1396542106388, readsPaused=false, filterChain=FilterChain[filters=[GridNioCodecFilter [parser=GridTcpRestParser [jdkMarshaller=GridJdkMarshaller [], protobufMarshaller=o.g.client.marshaller.protobuf.GridClientProtobufMarshaller@526b92b8], directMode=false], accepted=true]]] [09:21:46,821][ERROR][grid-nio-worker-0-#40%null%][GridTaskCommandHandler] Failed to execute task [name=o.g.examples.misc.client.api.ClientExampleTask, clientId=b81c6f67-5277-4712-898a-0ed53274bb81] class org.gridgain.grid.GridDeploymentException: Unknown task name or failed to auto-deploy task (was task (re|un)deployed?): org.gridgain.examples.misc.client.api.ClientExampleTask For more information see: Troubleshooting: http://bit.ly/GridGain-Troubleshooting Documentation Center: http://bit.ly/GridGain-Documentation

at org.gridgain.grid.kernal.processors.task.GridTaskProcessor.startTask(GridTaskProcessor.java:388)
at org.gridgain.grid.kernal.processors.task.GridTaskProcessor.execute(GridTaskProcessor.java:329)
agoncharuk commented 10 years ago

Please check if this resolves your issue: http://stackoverflow.com/questions/22824106/which-config-file-to-use-for-each-gg-example

vkudryav commented 10 years ago

Yes it works. Many Thanks