Hey Anthony,
TransactionContextInterceptor is still used in the GenericDaoBase causing the
following error when starting cloudstack:
2014-09-23 22:10:38.962:WARN::Nested in
org.springframework.context.ApplicationContextException: Failed to start bean
'cloudStackLifeCycle'; nested exception is
com.cloud.utils.exception.CloudRuntimeException: Caught: null:
java.lang.NullPointerException
at
com.cloud.utils.db.GenericDaoBase.customSearchIncludingRemoved(GenericDaoBase.java:464)
at
com.cloud.utils.db.GenericDaoBase.customSearch(GenericDaoBase.java:515)
at
com.cloud.upgrade.dao.VersionDaoImpl.getCurrentVersion(VersionDaoImpl.java:127)
at
com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:424)
at
org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.checkIntegrity(CloudStackExtendedLifeCycle.java:65)
at
org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.start(CloudStackExtendedLifeCycle.java:55)
at
org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:167)
at
org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51)
at
org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:339)
at
org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:143)
I’ve reverted the commit
commit 093fa6f0a53bd031a09e4042c3aa25860bc947e5
Author: Anthony Xu <[email protected]>
Date: Tue Sep 23 16:48:14 2014 -0700
removed unused class
ramework/db/src/com/cloud/utils/db/TransactionContextInterceptor.java
This could have been caught by running the simulator tests. You can make
jenkins run them for you by creating a branch called either hotfix/something or
bugfix/something and push that branch. Jenkins will pick that up with job
http://jenkins.buildacloud.org/view/simulator/job/simulator-hotfix-trigger/
Cheers,
Hugo