ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Muthu <muthu.kumara...@gmail.com>
Subject Re: MyBatis Ignite L2 cache Integration does not work with Ignite 2.0
Date Thu, 25 May 2017 09:26:30 GMT
Below is the console log that shows the default-config.xml being correctly
picked up when its placed in the config directory of IGNITE_HOME after
downloading ignite (though the confusing warning towards the end still
persists the grid name can be seen correctly there).

Even with this when i debugged it i see that the call
"sqlSession.selectOne(command.getName(), param);" in
"org.apache.ibatis.binding.MapperMethod.execute()" appears to get stuck &
never returns past that line in the debugger. I am sending this console log
separately to make it easier to read due to the number of lines,

C:\Users\Administrator\Documents\Work\server>echo %IGNITE_HOME%
C:\Users\Administrator\Documents\apache-ignite-fabric-2.0.0-bin\

C:\Users\Administrator\Documents\Work\server>java -Xdebug
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
-Dserver.port=8888 -Ddb.host=10.30.3.24 -Ddb.port=5432 -Ddb.name=postgres
-DIGNITE_QUIET=false -jar target\server-
ignite-l2cache-poc-0.0.1-SNAPSHOT.jar
Listening for transport dt_socket at address: 8787

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.5.2.RELEASE)

2017-05-25 01:56:15.102  INFO 8008 --- [           main]
c.b.dcm.server.ObjectCacheApplication    : Starting ObjectCacheApplication
v0.0.1-SNAPSHOT on VM-W2K8-50-168 with PID 8008
(C:\Users\Administrator\Documents\Work\server\target\s
erver-ignite-l2cache-poc-0.0.1-SNAPSHOT.jar started by Administrator in
C:\Users\Administrator\Documents\Work\server)
2017-05-25 01:56:15.114  INFO 8008 --- [           main]
c.b.dcm.server.ObjectCacheApplication    : No active profile set, falling
back to default profiles: default
2017-05-25 01:56:15.535  INFO 8008 --- [           main]
ationConfigEmbeddedWebApplicationContext : Refreshing
org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@530612ba:
startup date [Thu May 25
01:56:15 PDT 2017]; root of context hierarchy
2017-05-25 01:56:18.715  INFO 8008 --- [           main]
o.s.b.f.xml.XmlBeanDefinitionReader      : Loading XML bean definitions
from class path resource [applicationContext.xml]
2017-05-25 01:56:19.501  INFO 8008 --- [           main]
o.s.b.f.s.DefaultListableBeanFactory     : Overriding bean definition for
bean 'org.springframework.transaction.config.internalTransactionAdvisor'
with a different definition: r
eplacing [Root bean: class
[org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor];
scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=true; primary=false; f
actoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null] with [Root bean: class [null]; scope=;
abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0;
autowireCandidate=true; primary=false;
 factoryBeanName=org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration;
factoryMethodName=transactionAdvisor; initMethodName=null;
destroyMethodName=(inferred); defined in class path resource [org/springfr
amework/transaction/annotation/ProxyTransactionManagementConfiguration.class]]
2017-05-25 01:56:19.504  INFO 8008 --- [           main]
a.ConfigurationClassBeanDefinitionReader : Skipping bean definition for
[BeanMethod:name=transactionalEventListenerFactory,declaringClass=org.springframework.transaction.annotat
ion.AbstractTransactionManagementConfiguration]: a definition for bean
'org.springframework.transaction.config.internalTransactionalEventListenerFactory'
already exists. This top-level bean definition is considered as an override.
2017-05-25 01:56:20.385  INFO 8008 --- [           main]
f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject'
annotation found and supported for autowiring
2017-05-25 01:56:21.468  INFO 8008 --- [           main]
trationDelegate$BeanPostProcessorChecker : Bean
'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration'
of type [org.springframework.transaction.ann
otation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$fe2280f3]
is not eligible for getting processed by all BeanPostProcessors (for
example: not eligible for auto-proxying)
2017-05-25 01:56:22.851  INFO 8008 --- [           main]
s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s):
8888 (http)
2017-05-25 01:56:22.889  INFO 8008 --- [           main]
o.apache.catalina.core.StandardService   : Starting service Tomcat
2017-05-25 01:56:22.893  INFO 8008 --- [           main]
org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache
Tomcat/8.5.11
2017-05-25 01:56:23.206  INFO 8008 --- [ost-startStop-1]
o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded
WebApplicationContext
2017-05-25 01:56:23.207  INFO 8008 --- [ost-startStop-1]
o.s.web.context.ContextLoader            : Root WebApplicationContext:
initialization completed in 7677 ms
2017-05-25 01:56:23.921  INFO 8008 --- [ost-startStop-1]
o.s.b.w.servlet.ServletRegistrationBean  : Mapping servlet:
'dispatcherServlet' to [/]
2017-05-25 01:56:23.942  INFO 8008 --- [ost-startStop-1]
o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter:
'characterEncodingFilter' to: [/*]
2017-05-25 01:56:23.943  INFO 8008 --- [ost-startStop-1]
o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter:
'hiddenHttpMethodFilter' to: [/*]
2017-05-25 01:56:23.944  INFO 8008 --- [ost-startStop-1]
o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter:
'httpPutFormContentFilter' to: [/*]
2017-05-25 01:56:23.944  INFO 8008 --- [ost-startStop-1]
o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter:
'requestContextFilter' to: [/*]
----??????????????------*2017-05-25 01:56:25.936  INFO 8008 --- [
main] o.s.b.f.xml.XmlBeanDefinitionReader      : Loading XML bean
definitions from URL
[file:/C:/Users/Administrator/Documents/apache-ignite-fabric-2.0.0-bin/config/default-config.xml*
----??????????????------
]
2017-05-25 01:56:25.980  INFO 8008 --- [           main]
o.s.c.support.GenericApplicationContext  : Refreshing
org.springframework.context.support.GenericApplicationContext@53fd0d10:
startup date [Thu May 25 01:56:25 PDT 2017]; root o
f context hierarchy
....
....
INFO:

>>>    __________  ________________
>>>   /  _/ ___/ |/ /  _/_  __/ __/
>>>  _/ // (7 7    // /  / / / _/
>>> /___/\___/_/|_/___/ /_/ /___/
>>>
>>> ver. 2.0.0#20170430-sha1:d4eef3c6
>>> 2017 Copyright(C) Apache Software Foundation
>>>
>>> Ignite documentation: http://ignite.apache.org

May 25, 2017 1:56:27 AM org.apache.ignite.logger.java.JavaLogger info
*----??????????????------ INFO: Config URL:
file:/C:/Users/Administrator/Documents/apache-ignite-fabric-2.0.0-bin/config/default-config.xml
*----??????????????------
May 25, 2017 1:56:27 AM org.apache.ignite.logger.java.JavaLogger info
INFO: Daemon mode: off
May 25, 2017 1:56:27 AM org.apache.ignite.logger.java.JavaLogger info
INFO: OS: Windows Server 2008 R2 6.1 amd64
May 25, 2017 1:56:27 AM org.apache.ignite.logger.java.JavaLogger info
INFO: OS user: Administrator
May 25, 2017 1:56:27 AM org.apache.ignite.logger.java.JavaLogger info
INFO: PID: 8008
May 25, 2017 1:56:27 AM org.apache.ignite.logger.java.JavaLogger info
INFO: Language runtime: Java Platform API Specification ver. 1.8
May 25, 2017 1:56:27 AM org.apache.ignite.logger.java.JavaLogger info
INFO: VM information: Java(TM) SE Runtime Environment 1.8.0_131-b11 Oracle
Corporation Java HotSpot(TM) 64-Bit Server VM 25.131-b11
May 25, 2017 1:56:27 AM org.apache.ignite.logger.java.JavaLogger info
INFO: VM total memory: 3.6GB
May 25, 2017 1:56:27 AM org.apache.ignite.logger.java.JavaLogger info
INFO: Remote Management [restart: off, REST: on, JMX (remote: off)]
May 25, 2017 1:56:27 AM org.apache.ignite.logger.java.JavaLogger info
INFO:
IGNITE_HOME=C:\Users\Administrator\Documents\apache-ignite-fabric-2.0.0-bin\
May 25, 2017 1:56:27 AM org.apache.ignite.logger.java.JavaLogger info
INFO: VM arguments: [-Xdebug,
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n,
-Dserver.port=8888, -Ddb.host=10.30.3.24, -Ddb.port=5432,
-Ddb.name=postgres, -DIGNITE_QUIET=false]
May 25, 2017 1:56:27 AM org.apache.ignite.logger.java.JavaLogger info
INFO: System cache's MemoryPolicy size is configured to 40 MB. Use
MemoryConfiguration.systemCacheMemorySize property to change the setting.
May 25, 2017 1:56:27 AM org.apache.ignite.logger.java.JavaLogger info
INFO: Configured caches [in 'default' memoryPolicy: ['ignite-sys-cache',
'ignite-atomics-sys-cache', 'myBatisObjectCache2']]
May 25, 2017 1:56:27 AM org.apache.ignite.logger.java.JavaLogger warning
....
....
May 25, 2017 1:56:37 AM org.apache.ignite.logger.java.JavaLogger info
INFO:

>>> +----------------------------------------------------------------------+
>>> Ignite ver. 2.0.0#20170430-sha1:d4eef3c68ff116ee34bc13648cd82c640b3ea072
>>> +----------------------------------------------------------------------+
>>> OS name: Windows Server 2008 R2 6.1 amd64
>>> CPU(s): 4
>>> Heap: 3.6GB
>>> VM name: 8008@VM-W2K8-50-168
*----??????????????------ >>> Ignite instance name: myBatisObjectGrid *
*----??????????????------*
>>> Local node [ID=9F0DD9D0-B418-4B55-A686-D9F1AF1A40F5, order=96,
clientMode=false]
>>> Local node addresses: [VM-W2K8-50-168.englab.brocade.com/0:0:0:0:0:0:0:1,
VM-W2K8-50-168.englab.brocade.com/10.24.50.168,
VM-W2K8-50-168.englab.brocade.com/127.0.0.1, /192.168.56.1,
/2620:100:0:fe07:2c72:f331:9245:123d]
>>> Local ports: TCP:11211 TCP:47100 UDP:47400 TCP:47500

May 25, 2017 1:56:37 AM org.apache.ignite.logger.java.JavaLogger info
INFO: Topology snapshot [ver=96, servers=1, clients=0, CPUs=4, heap=3.6GB]
*----??????????????------ 2017-05-25 01:56:37.799  INFO 8008 ---
[           main] o.s.b.f.xml.XmlBeanDefinitionReader      : Loading XML
bean definitions from file
[C:\Users\Administrator\Documents\Work\server\config\default-config.xml] *
*----??????????????------**----??????????????------ 2017-05-25
01:56:37.800  WARN 8008 --- [           main]
o.m.caches.ignite.IgniteCacheAdapter     : Initializing the default cache.
Consider properly configuring 'config/default-config.xml' instead.
**----??????????????------
*
May 25, 2017 1:56:37 AM org.apache.ignite.logger.java.JavaLogger info
INFO: Started cache [name=com.brocade.dcm.domain.mapper.PostsMapper,
memoryPolicyName=null, mode=PARTITIONED]
May 25, 2017 1:56:37 AM org.apache.ignite.logger.java.JavaLogger info


Thanks
Muthu



Regards,
Muthu

-- The latest fact in modern technology isn't that machines will begin to
think like people, but that people will begin to think like machines.
-- Nothing exists except atoms and empty space, everything else is opinion
- *Democritus*

On Thu, May 25, 2017 at 1:50 AM, Muthu <muthu.kumaran.l@gmail.com> wrote:

>
> Okay one thing i have confirmed again now (i am running a windows vm) for
> mybatis-ignite if i do not download ignite (apache-ignite-fabric-2.0.0-bin),
> set IGNITE_HOME to the downloaded location & copy my default-config.xml to
> the config directory of the IGNITE_HOME the ignite configuration in that
> file is never read..below is the console log for it where i have marked
> some lines with a marker (----??????????????------) to highlight the
> same...i also see this stated as a requirement in the code for mybatis
> ignite cache adapter..see http://www.mybatis.org/ignite-
> cache/jacoco/org.mybatis.caches.ignite/IgniteCacheAdapter.java.html. Are
> you sure in your case it picked up the default-config.xml or did it just
> start ignite with defaults just like the below.
>
>
> [01:30:20] (wrn) Failed to resolve IGNITE_HOME automatically for class
> codebase [class=class o.a.i.i.util.IgniteUtils, e=URI is not hierarchical]
> ----??????????????------[01:30:20] *(wrn) Default Spring XML file not
> found (is IGNITE_HOME set?): config/default-config.xml *
> ----??????????????------
> 2017-05-25 01:30:20.921 ERROR 12204 --- [
> main]                                          : Failed to resolve
> default logging config file: config/java.util.logging.properties
> Console logging handler is not configured.
> 2017-05-25 01:30:22.048  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  :
>
> >>>    __________  ________________
> >>>   /  _/ ___/ |/ /  _/_  __/ __/
> >>>  _/ // (7 7    // /  / / / _/
> >>> /___/\___/_/|_/___/ /_/ /___/
> >>>
> >>> ver. 2.0.0#20170430-sha1:d4eef3c6
> >>> 2017 Copyright(C) Apache Software Foundation
> >>>
> >>> Ignite documentation: http://ignite.apache.org
>
> 2017-05-25 01:30:22.049  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : Config URL: n/a
> 2017-05-25 01:30:22.049  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : Daemon mode: off
> 2017-05-25 01:30:22.050  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : OS: Windows Server 2008 R2 6.1
> amd64
> 2017-05-25 01:30:22.050  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : OS user: Administrator
> 2017-05-25 01:30:22.060  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : PID: 12204
> 2017-05-25 01:30:22.061  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : Language runtime: Java
> Platform API Specification ver. 1.8
> 2017-05-25 01:30:22.062  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : VM information: Java(TM) SE
> Runtime Environment 1.8.0_131-b11 Oracle Corporation Java HotSpot(TM)
> 64-Bit Server VM 25.131-b11
> 2017-05-25 01:30:22.063  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : VM total memory: 3.6GB
> 2017-05-25 01:30:22.063  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : Remote Management [restart:
> off, REST: on, JMX (remote: off)]
> 2017-05-25 01:30:22.064  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : IGNITE_HOME=null
> 2017-05-25 01:30:22.064  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : VM arguments: [-Xdebug,
> -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n,
> -Dserver.port=8888, -Ddb.host=10.30.3.24, -Ddb
> .port=5432, -Ddb.name=postgres, -DIGNITE_QUIET=false]
> 2017-05-25 01:30:22.067  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : System cache's MemoryPolicy
> size is configured to 40 MB. Use MemoryConfiguration.systemCacheMemorySize
> property to change the setting
> .
> 2017-05-25 01:30:22.071  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : Configured caches [in
> 'default' memoryPolicy: ['ignite-sys-cache', 'ignite-atomics-sys-cache']]
> 2017-05-25 01:30:22.092  WARN 12204 --- [  pub-#11%null%]
> o.apache.ignite.internal.GridDiagnostic  : This operating system has been
> tested less rigorously: Windows Server 2008 R2 6.1 amd64. Our team will
> appreciate the feedback if you
>  experience any problems running ignite in this environment.
> 2017-05-25 01:30:22.104  WARN 12204 --- [  pub-#14%null%]
> o.apache.ignite.internal.GridDiagnostic  : Initial heap size is 256MB
> (should be no less than 512MB, use -Xms512m -Xmx512m).
> 2017-05-25 01:30:22.342  INFO 12204 --- [           main] o.a.i.i.p.plugin.IgnitePluginProcessor
> : Configured plugins:
> 2017-05-25 01:30:22.344  INFO 12204 --- [           main] o.a.i.i.p.plugin.IgnitePluginProcessor
> :   ^-- None
> 2017-05-25 01:30:22.346  INFO 12204 --- [           main] o.a.i.i.p.plugin.IgnitePluginProcessor
> :
> 2017-05-25 01:30:22.566  INFO 12204 --- [           main] o.a.i.s.c.tcp.TcpCommunicationSpi
> : Successfully bound communication NIO server to TCP port [port=47100,
> locHost=0.0.0.0/0.0.0.0, selectorsCnt=4, selectorSpins=0, paired
> Conn=false]
> 2017-05-25 01:30:22.647  WARN 12204 --- [           main] o.a.i.s.c.tcp.TcpCommunicationSpi
> : Message queue limit is set to 0 which may lead to potential OOMEs when
> running cache operations in FULL_ASYNC or PRIMARY_SYNC modes d
> ue to message queues growth on sender and receiver sides.
> 2017-05-25 01:30:22.716  WARN 12204 --- [           main] o.a.i.s.c.noop.NoopCheckpointSpi
> : Checkpoints are disabled (to enable configure any GridCheckpointSpi
> implementation)
> 2017-05-25 01:30:22.810  WARN 12204 --- [           main] o.a.i.i.m.c.GridCollisionManager
> : Collision resolution is disabled (all jobs will be activated upon
> arrival).
> 2017-05-25 01:30:22.814  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : Security status
> [authentication=off, tls/ssl=off]
> 2017-05-25 01:30:23.473  WARN 12204 --- [           main] i.p.c.d.
> IgniteCacheDatabaseSharedManager : No user-defined default MemoryPolicy
> found; system default of 1GB size will be used.
> 2017-05-25 01:30:23.984  INFO 12204 --- [           main]
> o.a.i.i.p.r.p.tcp.GridTcpRestProtocol    : Command protocol successfully
> started [name=TCP binary, host=0.0.0.0/0.0.0.0, port=11211]
> 2017-05-25 01:30:24.414  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : Non-loopback local IPs:
> 10.24.50.168, 192.168.56.1, 2620:100:0:fe07:2c72:f331:9245:123d,
> fe80:0:0:0:0:5efe:a18:32a8%net4, fe80:0:0:0:
> 0:5efe:c0a8:3801%net5, fe80:0:0:0:2c72:f331:9245:123d%eth3,
> fe80:0:0:0:697d:f11d:92cb:4697%eth4
> 2017-05-25 01:30:24.416  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : Enabled local MACs:
> 00000000000000E0, 00505687525E, 0A002700000D
> 2017-05-25 01:30:24.527  INFO 12204 --- [           main]
> o.a.i.spi.discovery.tcp.TcpDiscoverySpi  : Successfully bound to TCP port
> [port=47500, localHost=0.0.0.0/0.0.0.0, locNodeId=0ea5fc00-c34e-417d-
> 8fce-0615f9eec00b]
> 2017-05-25 01:30:24.545  WARN 12204 --- [           main] .s.d.t.i.m.TcpDiscoveryMulticastIpFinder
> : TcpDiscoveryMulticastIpFinder has no pre-configured addresses (it is
> recommended in production to specify at least one address in Tcp
> DiscoveryMulticastIpFinder.getAddresses() configuration property)
> 2017-05-25 01:30:26.850  INFO 12204 --- [omm-0-#17%null%] o.a.i.s.c.tcp.TcpCommunicationSpi
> : Accepted incoming communication connection [locAddr=/127.0.0.1:47100,
> rmtAddr=/127.0.0.1:53348]
> 2017-05-25 01:30:27.726  INFO 12204 --- [           main] o.a.i.i.p.cache.GridCacheProcessor
> : Started cache [name=ignite-sys-cache, memoryPolicyName=sysMemPlc,
> mode=REPLICATED]
> 2017-05-25 01:30:27.756  INFO 12204 --- [           main] o.a.i.i.p.cache.GridCacheProcessor
> : Started cache [name=ignite-atomics-sys-cache,
> memoryPolicyName=sysMemPlc, mode=PARTITIONED]
> 2017-05-25 01:30:28.098  INFO 12204 --- [orker-#30%null%] .i.p.c.
> GridCachePartitionExchangeManager : Skipping rebalancing (nothing
> scheduled) [top=AffinityTopologyVersion [topVer=94, minorTopVer=0],
> evt=NODE_JOINED, node=0ea5fc00-c34e
> -417d-8fce-0615f9eec00b]
> 2017-05-25 01:30:28.257  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : Performance suggestions for
> grid  (fix if possible)
> 2017-05-25 01:30:28.262  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : To disable, set
> -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
> 2017-05-25 01:30:28.265  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  :   ^-- Enable G1 Garbage
> Collector (add '-XX:+UseG1GC' to JVM options)
> 2017-05-25 01:30:28.267  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  :   ^-- Specify JVM heap max
> size (add '-Xmx<size>[g|G|m|M|k|K]' to JVM options)
> 2017-05-25 01:30:28.268  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  :   ^-- Set max direct memory
> size if getting 'OOME: Direct buffer memory' (add '-XX:MaxDirectMemorySize=<size>[g|G|m|M|k|K]'
> to JVM op
> tions)
> 2017-05-25 01:30:28.270  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  :   ^-- Disable processing of
> calls to System.gc() (add '-XX:+DisableExplicitGC' to JVM options)
> 2017-05-25 01:30:28.271  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : Refer to this page for more
> performance suggestions: https://apacheignite.readme.
> io/docs/jvm-and-system-tuning
> 2017-05-25 01:30:28.272  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  :
> 2017-05-25 01:30:28.274  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  : To start Console Management &
> Monitoring run ignitevisorcmd.{sh|bat}
> 2017-05-25 01:30:28.275  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  :
> 2017-05-25 01:30:28.279  INFO 12204 --- [           main]
> org.apache.ignite.internal.IgniteKernal  :
>
> >>> +-----------------------------------------------------------
> -----------+
> >>> Ignite ver. 2.0.0#20170430-sha1:d4eef3c68ff116ee34bc13648cd82c
> 640b3ea072
> >>> +-----------------------------------------------------------
> -----------+
> >>> OS name: Windows Server 2008 R2 6.1 amd64
> >>> CPU(s): 4
> >>> Heap: 3.6GB
> >>> VM name: 12204@VM-W2K8-50-168
> ----??????????????------>>> *Local node
> [ID=0EA5FC00-C34E-417D-8FCE-0615F9EEC00B, order=94, clientMode=false] *
> ----??????????????------
> >>> Local node addresses: [VM-W2K8-50-168.englab.
> brocade.com/0:0:0:0:0:0:0:1, VM-W2K8-50-168.englab.brocade.
> com/10.24.50.168, VM-W2K8-50-168.englab.brocade.com/127.0.0.1, /
> 192.168.56.1, /2620:100:0:fe07:2c72:f331:9245:123d]
> >>> Local ports: TCP:11211 TCP:47100 UDP:47400 TCP:47500
>
> 2017-05-25 01:30:28.296  INFO 12204 --- [           main] o.a.i.i.m.d.GridDiscoveryManager
> : Topology snapshot [ver=94, servers=1, clients=0, CPUs=4, heap=3.6GB]
> 2017-05-25 01:30:28.313  INFO 12204 --- [           main] o.s.b.f.xml.XmlBeanDefinitionReader
> : Loading XML bean definitions from file [C:\Users\Administrator\
> Documents\Work\server\config\default-config.xml]
> ----??????????????------2017-05-25 01:30:28.315*  WARN 12204 ---
> [           main] o.m.caches.ignite.IgniteCacheAdapter     : Initializing
> the default cache. Consider properly configuring
> 'config/default-config.xml' instead. *----??????????????------
> ----??????????????------2017-05-25 01:30:28.466*  INFO 12204 ---
> [orker-#30%null%] o.a.i.i.p.cache.GridCacheProcessor       : Started cache
> [name=com.brocade.dcm.domain.mapper.PostsMapper, memoryPolicyName=null,
> mode=PARTITIONED]* ----??????????????------
>
>
> Regards,
> Muthu
>
> On Thu, May 25, 2017 at 12:58 AM, Roman Shtykh <rshtykh@yahoo.com> wrote:
>
>> I didn't download and start any other node -- one server node is started
>> according to your configuration (default-config.xml) when you use MyBatis
>> caching. So it was only one node.
>> If you have an Ignite cluster and want your new node (you start for L2
>> cache), please make sure that your L2 cache have identical configuration.
>>
>> No warnings, just a normal Ignite start.
>>
>> -- Roman
>>
>>
>>
>>
>>
>> On Thursday, May 25, 2017 3:57 PM, mlekshma <muthu.kumaran.l@gmail.com>
>> wrote:
>>
>>
>>
>> Hmm...so its something in my environment then?....also couple of
>> questions..did you have to first download ignite & setup IGNITE_HOME env
>> variable? Also did you first start ignite from the command line by placing
>> the default-config.xml from the project (under config dir of server
>> project)
>> in the IGNITE_HOME config dir? Do you see mybatis ignite cache adapter
>> picking up the configuration from it?...or do you see something like this
>> in
>> the logs "Initializing the default cache. Consider properly configuring
>> 'config/default-config.xml' instead."....and when the objects are cached
>> are
>> they being part of the configured grid?
>>
>>
>>
>> --
>> View this message in context: http://apache-ignite-users.705
>> 18.x6.nabble.com/MyBatis-Ignite-L2-cache-Integration-does-
>> not-work-with-Ignite-2-0-tp13126p13137.html
>>
>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>
>>
>>
>

Mime
View raw message