[
https://issues.apache.org/jira/browse/IGNITE-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15069903#comment-15069903
]
ASF GitHub Bot commented on IGNITE-2168:
----------------------------------------
GitHub user VladimirErshov opened a pull request:
https://github.com/apache/ignite/pull/372
IGNITE-2168 Examples should destroy created caches: SpringBeanExample
fails after CacheBinaryAutoStoreExample
IGNITE-2168
Examples should destroy created caches: SpringBeanExample fails after
CacheBinaryAutoStoreExample
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/VladimirErshov/ignite ignite-2168
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/372.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #372
----
commit 717dab259e3f0287046ffcefa28cf9214ab65ff7
Author: sboikov <[email protected]>
Date: 2015-12-14T07:00:57Z
ignite-1.5 Fixed TcpDiscoveryMulticastIpFinder to request address on each
getRegisteredAddresses call
commit 6d96bb6a3219255b62af826e6806b1aa564bb005
Author: vozerov-gridgain <[email protected]>
Date: 2015-12-14T07:08:00Z
Fix to GridBinaryWildcardsSelfTest.
commit 4ae6292cface325f21237db5d18ce77dee380072
Author: vozerov-gridgain <[email protected]>
Date: 2015-12-14T07:08:29Z
Fixed failure in BinaryObjectBuilderSelfTest.testCopyFromInnerObject.
commit ed27fbdab9d8307b4db427866ed1094526c117c8
Author: vozerov-gridgain <[email protected]>
Date: 2015-12-14T07:08:47Z
Merge remote-tracking branch 'origin/ignite-1.5' into ignite-1.5
commit 3db14482091d01e96e1ae40a15cb903c3adcddbd
Author: vozerov-gridgain <[email protected]>
Date: 2015-12-14T07:19:24Z
Fixed failure in BinaryObjectBuilderSelfTest.testSetBinaryObject.
commit acb57c5eb95d11ebde5557618226d80f25ac610c
Author: sboikov <[email protected]>
Date: 2015-12-14T07:40:57Z
ignite-1.5 Fixed NPE in IgniteKernal.dumpDebugInfo.
commit ec2a64714c176f3a5aca60a058686d3354dc6a76
Author: sboikov <[email protected]>
Date: 2015-12-14T07:41:18Z
Merge remote-tracking branch 'origin/ignite-1.5' into ignite-1.5
commit 484a3afd05b9ad5a524a28c517ddc0a6b9dffcbc
Author: sboikov <[email protected]>
Date: 2015-12-14T07:58:57Z
ignite-1.5 Added waitForCondition in tests with TTL.
commit 47f1ced214b4176b13293386c1e2042c9cc20b32
Author: sboikov <[email protected]>
Date: 2015-12-14T08:09:17Z
ignite-1.5 Fixed test to override correct 'getConfiguration' method.
commit 4d086734833d96b7e2403ce4f17f763a1c75caab
Author: sboikov <[email protected]>
Date: 2015-12-14T08:27:33Z
ignite-1.5 Use TcpDiscoveryVmIpFinder in test.
commit de0b1badbf34538e04e7cf4be5378ef929fb6201
Author: Alexey Kuznetsov <[email protected]>
Date: 2015-12-14T08:33:09Z
ignite-1.5 Updated classnames.properties
commit beb64c34c271b7eac1388179b11f042b34fa0d60
Author: sboikov <[email protected]>
Date: 2015-12-14T08:34:07Z
ignite-1.5 Increased test timeouts.
commit 72e5b9adfdcfcad4b0002bbfc1cf20fd3a0ed149
Author: sboikov <[email protected]>
Date: 2015-12-14T08:34:32Z
Merge remote-tracking branch 'origin/ignite-1.5' into ignite-1.5
commit 4291edca326be4eafde331001238a9181333fbfc
Author: sboikov <[email protected]>
Date: 2015-12-14T09:01:51Z
ignite-1.5 Fixed CacheContinuousQueryFailoverAbstractSelfTest to do not
hang in case of errors.
commit 345fc27d90f8ae28697fc021d55c7b7a015faeee
Author: sboikov <[email protected]>
Date: 2015-12-14T09:18:16Z
ignite-1.5 Fixed test for offheap mode.
commit fdea7cfaf6ea26834d2694cbfc9634de8d24209b
Author: vozerov-gridgain <[email protected]>
Date: 2015-12-14T09:21:17Z
IGNITE-2150: Fixed invalid test scenario.
commit f3cc98b189dd4c4a4ad6325e6b9a6fa6db795099
Author: vozerov-gridgain <[email protected]>
Date: 2015-12-14T09:21:38Z
Merge remote-tracking branch 'origin/ignite-1.5' into ignite-1.5
commit f87b80f7bf6e38b3ebd21088d4e8aa11a505ed59
Author: vozerov-gridgain <[email protected]>
Date: 2015-12-14T09:40:22Z
IGNITE-2152: .NET: Intro text is added.
commit 6bf716afc490a3bec987e788d795fd979edbdd23
Author: sboikov <[email protected]>
Date: 2015-12-14T09:42:41Z
ignite-1.5 More info in GridPartitionedSingleGetFuture.toString.
commit 68d317952485dd0a4e09844a9cdbb3a0f23ae399
Author: sboikov <[email protected]>
Date: 2015-12-14T09:43:14Z
Merge remote-tracking branch 'origin/ignite-1.5' into ignite-1.5
commit 1224658fe0d4b572b9980fa5de65bbb043646377
Author: sboikov <[email protected]>
Date: 2015-12-14T10:17:06Z
ignite-1.5 Fixed NPE in GridPartitionedSingleGetFuture.
commit 3d9be34c104cc2e89e2422e4f9c3f126449c8162
Author: sboikov <[email protected]>
Date: 2015-12-14T10:31:40Z
ignite-1.5 Less unnecessary logging in test.
commit d6b46115147704f13c36aa59f307f77baf954e3f
Author: ashutak <[email protected]>
Date: 2015-12-14T11:17:37Z
ignite-2065: portable -> binary renaming (Fix platforms)
commit b906ed3f2e3c235ddaea9061af808e8e4b1c769c
Author: ashutak <[email protected]>
Date: 2015-12-14T12:09:46Z
IGNITE-2149: Fix compilation under Java 8
commit 84b9f58ebd1b07e88870c11973ce4e47d256a0b5
Author: Anton Vinogradov <[email protected]>
Date: 2015-12-14T12:32:30Z
Ignite-2087
commit 87bddf40c7cf30efef8e195deb86b22b48cba101
Author: vozerov-gridgain <[email protected]>
Date: 2015-12-14T13:12:38Z
Minor change to BinaryMetadata and BinarySchema write logic.
commit a50e963b5bc287d8d14753a1ba2f293645381b8c
Author: sboikov <[email protected]>
Date: 2015-12-14T13:21:47Z
ignite-1905 Added test reproducing issue
(IgniteStartCacheInTransactionSelfTest).
commit d14dc9368b2ab6654fb405c0be8d16f30974fe0c
Author: sboikov <[email protected]>
Date: 2015-12-14T13:33:27Z
ignite-1.5 Fixed race in
GridSessionCheckpointAbstractSelfTest.checkCheckpoints.
commit 0f98d519cabe7904cf4e872ac1f93cf9b743eb14
Author: sboikov <[email protected]>
Date: 2015-12-14T13:42:57Z
ignite-1.5 Fixed test.
commit be60351c060931cf6d922f24887442bdd891d714
Author: Yakov Zhdanov <[email protected]>
Date: 2015-12-14T14:12:48Z
fixed https://issues.apache.org/jira/browse/IGNITE-2157
----
> Examples should destroy created caches: SpringBeanExample fails after
> CacheBinaryAutoStoreExample
> -------------------------------------------------------------------------------------------------
>
> Key: IGNITE-2168
> URL: https://issues.apache.org/jira/browse/IGNITE-2168
> Project: Ignite
> Issue Type: Bug
> Components: general
> Affects Versions: 1.5
> Reporter: Sergey Kozlov
> Assignee: Vladimir Ershov
> Fix For: 1.6
>
>
> 1. Start remote node with examples/config/example-ignite.xml
> 2. Run DbH2ServerStartup
> 3. Run CacheBinaryAutoStoreExample ()
> 4. Run SpringBeanExample and get the following exception:
> {noformat}
> >>> Spring bean example started.
> log4j:WARN No appenders could be found for logger
> (org.springframework.core.env.StandardEnvironment).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
> info.
> [14:22:00] __________ ________________
> [14:22:00] / _/ ___/ |/ / _/_ __/ __/
> [14:22:00] _/ // (7 7 // / / / / _/
> [14:22:00] /___/\___/_/|_/___/ /_/ /___/
> [14:22:00]
> [14:22:00] ver. 1.5.0-b2#20151215-sha1:0c550aaa
> [14:22:00] 2015 Copyright(C) Apache Software Foundation
> [14:22:00]
> [14:22:00] Ignite documentation: http://ignite.apache.org
> [14:22:00]
> [14:22:00] Quiet mode.
> [14:22:00] ^-- Logging to file
> 'C:\Work\apache-ignite-fabric-1.5.0-b2-bin\work\log\ignite-0b6a932b.log'
> [14:22:00] ^-- To see **FULL** console log here add -DIGNITE_QUIET=false or
> "-v" to ignite.{sh|bat}
> [14:22:00]
> [14:22:00] OS: Windows 7 6.1 amd64
> [14:22:00] VM information: Java(TM) SE Runtime Environment 1.7.0_80-b15
> Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 24.80-b11
> [14:22:00] Initial heap size is 254MB (should be no less than 512MB, use
> -Xms512m -Xmx512m).
> [14:22:01] Configured plugins:
> [14:22:01] ^-- None
> [14:22:01]
> [14:22:02] Security status [authentication=off, tls/ssl=off]
> [14:22:03,911][ERROR][main][IgniteKernal] Got exception while starting (will
> rollback startup routine).
> class org.apache.ignite.IgniteException: Failed to load bean in application
> context [beanName=h2-example-db,
> igniteConfig=org.springframework.context.support.ClassPathXmlApplicationContext@7a64f150:
> startup date [Tue Dec 15 14:21:59 MSK 2015]; root of context hierarchy]
> at
> org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStoreFactory.create(CacheJdbcPojoStoreFactory.java:168)
> at
> org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStoreFactory.create(CacheJdbcPojoStoreFactory.java:96)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.createCache(GridCacheProcessor.java:1243)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.onKernalStart(GridCacheProcessor.java:774)
> at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:945)
> at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1659)
> at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1518)
> at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:974)
> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:534)
> at org.apache.ignite.IgniteSpring.start(IgniteSpring.java:66)
> at
> org.apache.ignite.IgniteSpringBean.afterPropertiesSet(IgniteSpringBean.java:128)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1627)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1564)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:725)
> at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
> at
> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
> at
> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
> at
> org.apache.ignite.examples.misc.springbean.SpringBeanExample.main(SpringBeanExample.java:57)
> 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:140)
> Caused by: class org.apache.ignite.IgniteCheckedException: Spring bean with
> provided name doesn't exist , beanName=h2-example-db]
> at
> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadBeanFromAppContext(IgniteSpringHelperImpl.java:220)
> at
> org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStoreFactory.create(CacheJdbcPojoStoreFactory.java:163)
> ... 29 more
> [14:22:03] Ignite node stopped OK [uptime=00:00:03:696]
> Exception in thread "main"
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'mySpringBean' defined in class path resource
> [org/apache/ignite/examples/misc/springbean/spring-bean.xml]: Invocation of
> init method failed; nested exception is class
> org.apache.ignite.IgniteCheckedException: Failed to load bean in application
> context [beanName=h2-example-db,
> igniteConfig=org.springframework.context.support.ClassPathXmlApplicationContext@7a64f150:
> startup date [Tue Dec 15 14:21:59 MSK 2015]; root of context hierarchy]
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:725)
> at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
> at
> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
> at
> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
> at
> org.apache.ignite.examples.misc.springbean.SpringBeanExample.main(SpringBeanExample.java:57)
> 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:140)
> Caused by: class org.apache.ignite.IgniteCheckedException: Failed to load
> bean in application context [beanName=h2-example-db,
> igniteConfig=org.springframework.context.support.ClassPathXmlApplicationContext@7a64f150:
> startup date [Tue Dec 15 14:21:59 MSK 2015]; root of context hierarchy]
> at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:975)
> at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1659)
> at
> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1518)
> at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:974)
> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:534)
> at org.apache.ignite.IgniteSpring.start(IgniteSpring.java:66)
> at
> org.apache.ignite.IgniteSpringBean.afterPropertiesSet(IgniteSpringBean.java:128)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1627)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1564)
> ... 17 more
> Caused by: class org.apache.ignite.IgniteException: Failed to load bean in
> application context [beanName=h2-example-db,
> igniteConfig=org.springframework.context.support.ClassPathXmlApplicationContext@7a64f150:
> startup date [Tue Dec 15 14:21:59 MSK 2015]; root of context hierarchy]
> at
> org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStoreFactory.create(CacheJdbcPojoStoreFactory.java:168)
> at
> org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStoreFactory.create(CacheJdbcPojoStoreFactory.java:96)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.createCache(GridCacheProcessor.java:1243)
> at
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.onKernalStart(GridCacheProcessor.java:774)
> at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:945)
> ... 25 more
> Caused by: class org.apache.ignite.IgniteCheckedException: Spring bean with
> provided name doesn't exist , beanName=h2-example-db]
> at
> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadBeanFromAppContext(IgniteSpringHelperImpl.java:220)
> at
> org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStoreFactory.create(CacheJdbcPojoStoreFactory.java:163)
> ... 29 more
> Process finished with exit code 1
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)