Hi
I managed to solve the previous problem. Udai, Thanks a lot! :)
The solution was eclipse->project->clean. Also I was doing stuff on the eclipse
during the time, so there might have been locks on the files, as Udai suggested.
But I have run into more, this time with acceptance testing ( it takes 71 min
to come to this !). I have attached the files. Could anyone please tell me
whats wrong.
When the acceptance test suite started it launched my browser with some skype
link in the URL. Also it did start tomcat on 8083. So the problem's something
to do with selenium, I guess?
I am really sorry I won't be able to send the patch over today. It is extremely
frustrating that I have the patch 'all ready' but its taking unacceptable
amount of time to confirm that it is indeed 'all ready'. :(
Will try my best to post it on/by Monday.
Thank you and regards
Chandan
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Friday, September 11, 2009 3:54 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [Mifos-functional] [Mifos-developer] FEATURE: enforced agerangefor
new clients
Hi Adam
I have run into a few problems while building the application.
Basically, I created the patch using the latest code and applied the patch to
the latest code.
'mvn clean test' does a successful build.
The test code that I added was in the class ClientCustActionFormTest, they
checked for string dates, minimum age and maximum age.
And after 'mvn -Dmaven.test.skip clean install' I use the webapp and it works
according to what I had programmed it to.
When I did an mvn clean install I get a build failure at the surefire
integration test point. The first time it failed because the client DOB that
old tests were assuming was of the pattern '20/03/2006'. So clearly after
validation they would fail [invalid age]. So I did a find/replace of all those
strings in that file.
When I did an mvn clean install again. There were a few errors that seemed
unrelated to what I was doing [class not found excpetion]. I have attached the
stack traces to this mail. Can you please confirm my assessment of these? If
yes then I can go ahead and send the patch.
I downloaded the source in the morning. There were no other errors.
Thank you and regards
Chandan
Sungard Technology Services
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Friday, September 11, 2009 10:33 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [Mifos-functional] [Mifos-developer] FEATURE: enforced agerange
for new clients
Hi Adam Feuer
It was great meeting you and Matt too :)
Regarding the notes for date validation, they are as following;
1) Grameen Koota wants validation for the new Client creation screen. The
problems they are facing is that since there is no/limited validation there are
lots of data that is either plain wrong or doesn't conform to their rules.
2)Since they are planning to roll out the Micro Insurance product you
mentioned, it is imperative that they have clean data and they also enter clean
data in the future.
3)Regarding the specifications.
a) Currently they need an age validation [age range] that will be applied
globally to all the clients.
b) They are also concerned that some string [non-numeric] patterns are accepted
by the system.
Apart from these,
c) They haven't communicated any need for age ranges being part of the product
offering, but obviously any such feature would give them more options. But,
they don't have a requirement for it currently.
d) During the course of my discussion with them I did happen to ask them if
they wanted to have similar age verifications for their personnel screen. They
said it would be helpful ( They have a minimum age specification for now). But
again, this is just a simple replication of the process for the client screen
with probably an additional parameter in the configuration file.
Adam M, I will be sending the patch by the end of the day. It will be able to
handle the cases (a) and (b).
Thank you and regards
Chandan
Sungard Technology Services
Bangalore
-----Original Message-----
From: Ryan Whitney [mailto:[email protected]]
Sent: Thursday, September 10, 2009 8:41 PM
To: Mifos software development; Mifos functional discussions
Subject: Re: [Mifos-functional] [Mifos-developer] FEATURE: enforced age range
for new clients
On 9/10/09 17:09, "Adam Feuer" <[email protected]> wrote:
> On Thu, Sep 10, 2009 at 3:49 PM, Ryan Whitney
> <[email protected]> wrote:
>> Moving this to the functional list as its more appropriate there
>> I would expand on Puspadhar¹s request and add in a more feature request for
>> adding in flexible product requirements. So instead of just putting in age
>> check, the MFI could easily configure different type of loan checks that are
>> relevant to their operations.
>
> Ryan,
>
> Hi, I am just back from meetings with Sungard today, and I chatted
> with Chandan about this feature - and yesterday had some discussions
> with GK about the specification and need for this feature.
>
> It would be good to have some more validation on other products.
> However, my understanding is that GK urgently needs the feature as
> Chandan has programmed it to support the rollout of a microinsurance
> product. Chandan said he will forward his notes on the validation
> business requirements to the list so we can look at them and make
> suggestions.
>
> Is there a way we can accept Chandan's patch quickly, so that GK is
> happy, and then look at how to do validation for various product
> fields in the longer term? What are your thoughts?
Adam,
I was responding to Puspadhar's e-mail about asking for age verification at
a product level. I think Chandan's request are fine for age check for the
client and the configuration ideas that Adam M sent were spot on (In fact, I
know a few other MFI's have asked for age verification).
Ryan
--
Ryan Whitney
Mifos Technical Program Manager
[email protected]
Mifos - Technology that Empowers Microfinance (www.mifos.org)
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Mifos-functional mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-functional
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Mifos-functional mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-functional
-------------------------------------------------------------------------------
Test set: TestSuite
-------------------------------------------------------------------------------
Tests run: 543, Failures: 1, Errors: 0, Skipped: 541, Time elapsed: 1,817.605
sec <<< FAILURE!
springTestContextPrepareTestInstance(org.mifos.test.acceptance.client.AddNoteTest)
Time elapsed: 0 sec <<< FAILURE!
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.mifos.test.acceptance.client.AddNoteTest': Autowiring of methods
failed; nested exception is java.lang.RuntimeException: Could not start
Selenium session: Failed to start new browser session: Error while launching
browser
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:256)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:998)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:329)
at
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:110)
at
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
at
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:255)
at
org.springframework.test.context.testng.AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance(AbstractTestNGSpringContextTests.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:609)
at
org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:421)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:158)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:89)
at
org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:169)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:106)
at org.testng.TestRunner.runWorkers(TestRunner.java:759)
at org.testng.TestRunner.privateRun(TestRunner.java:592)
at org.testng.TestRunner.run(TestRunner.java:486)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
at org.testng.SuiteRunner.run(SuiteRunner.java:204)
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
at org.testng.TestNG.run(TestNG.java:784)
at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)
at
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Caused by: java.lang.RuntimeException: Could not start Selenium session: Failed
to start new browser session: Error while launching browser
at
com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at
org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:42)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy14.start(Unknown Source)
at
org.mifos.test.acceptance.framework.UiTestCaseBase.setSelenium(UiTestCaseBase.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:536)
at
org.springframework.beans.factory.annotation.InjectionMetadata.injectMethods(InjectionMetadata.java:117)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:253)
... 35 more
Caused by: com.thoughtworks.selenium.SeleniumException: Failed to start new
browser session: Error while launching browser
at
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
at
com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:262)
at
com.thoughtworks.selenium.HttpCommandProcessor.start(HttpCommandProcessor.java:223)
at
com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:81)
... 56 more
Caused by: java.lang.RuntimeException: Could not start Selenium session: Failed
to start new browser session: Error while launching browser
at
com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at
org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:42)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy14.start(Unknown Source)
at
org.mifos.test.acceptance.framework.UiTestCaseBase.setSelenium(UiTestCaseBase.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:536)
at
org.springframework.beans.factory.annotation.InjectionMetadata.injectMethods(InjectionMetadata.java:117)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:253)
... 35 more
Caused by: com.thoughtworks.selenium.SeleniumException: Failed to start new
browser session: Error while launching browser
at
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
at
com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:262)
at
com.thoughtworks.selenium.HttpCommandProcessor.start(HttpCommandProcessor.java:223)
at
com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:81)
... 56 more
Sep 11, 2009 7:29:04 PM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [test-context.xml]
Sep 11, 2009 7:29:05 PM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[acceptancePropertyConfigurer.xml]
Sep 11, 2009 7:29:05 PM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[ui-test-context.xml]
Sep 11, 2009 7:29:05 PM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[acceptancePropertyConfigurer.xml]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean 'configurationLocator': replacing
[Generic bean: class [org.mifos.framework.util.ConfigurationLocator];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [acceptancePropertyConfigurer.xml]] with [Generic bean:
class [org.mifos.framework.util.ConfigurationLocator]; scope=singleton;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [acceptancePropertyConfigurer.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean 'defaultAcceptanceTestProperties':
replacing [Generic bean: class [null]; scope=singleton; abstract=false;
lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=configurationLocator;
factoryMethodName=getSpringFilePath; initMethodName=null;
destroyMethodName=null; defined in class path resource
[acceptancePropertyConfigurer.xml]] with [Generic bean: class [null];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=configurationLocator; factoryMethodName=getSpringFilePath;
initMethodName=null; destroyMethodName=null; defined in class path resource
[acceptancePropertyConfigurer.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean
'defaultAcceptanceTestNonDatabaseProperties': replacing [Generic bean: class
[null]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=configurationLocator; factoryMethodName=getSpringFilePath;
initMethodName=null; destroyMethodName=null; defined in class path resource
[acceptancePropertyConfigurer.xml]] with [Generic bean: class [null];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=configurationLocator; factoryMethodName=getSpringFilePath;
initMethodName=null; destroyMethodName=null; defined in class path resource
[acceptancePropertyConfigurer.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean 'customAcceptanceTestProperties':
replacing [Generic bean: class [null]; scope=singleton; abstract=false;
lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=configurationLocator;
factoryMethodName=getSpringFilePath; initMethodName=null;
destroyMethodName=null; defined in class path resource
[acceptancePropertyConfigurer.xml]] with [Generic bean: class [null];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=configurationLocator; factoryMethodName=getSpringFilePath;
initMethodName=null; destroyMethodName=null; defined in class path resource
[acceptancePropertyConfigurer.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean 'propertyConfigurer': replacing
[Generic bean: class
[org.springframework.beans.factory.config.PropertyPlaceholderConfigurer];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [acceptancePropertyConfigurer.xml]] with [Generic bean:
class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [acceptancePropertyConfigurer.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[ui-test-context.xml]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[acceptancePropertyConfigurer.xml]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean 'configurationLocator': replacing
[Generic bean: class [org.mifos.framework.util.ConfigurationLocator];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [acceptancePropertyConfigurer.xml]] with [Generic bean:
class [org.mifos.framework.util.ConfigurationLocator]; scope=singleton;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [acceptancePropertyConfigurer.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean 'defaultAcceptanceTestProperties':
replacing [Generic bean: class [null]; scope=singleton; abstract=false;
lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=configurationLocator;
factoryMethodName=getSpringFilePath; initMethodName=null;
destroyMethodName=null; defined in class path resource
[acceptancePropertyConfigurer.xml]] with [Generic bean: class [null];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=configurationLocator; factoryMethodName=getSpringFilePath;
initMethodName=null; destroyMethodName=null; defined in class path resource
[acceptancePropertyConfigurer.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean
'defaultAcceptanceTestNonDatabaseProperties': replacing [Generic bean: class
[null]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=configurationLocator; factoryMethodName=getSpringFilePath;
initMethodName=null; destroyMethodName=null; defined in class path resource
[acceptancePropertyConfigurer.xml]] with [Generic bean: class [null];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=configurationLocator; factoryMethodName=getSpringFilePath;
initMethodName=null; destroyMethodName=null; defined in class path resource
[acceptancePropertyConfigurer.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean 'customAcceptanceTestProperties':
replacing [Generic bean: class [null]; scope=singleton; abstract=false;
lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=configurationLocator;
factoryMethodName=getSpringFilePath; initMethodName=null;
destroyMethodName=null; defined in class path resource
[acceptancePropertyConfigurer.xml]] with [Generic bean: class [null];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false;
factoryBeanName=configurationLocator; factoryMethodName=getSpringFilePath;
initMethodName=null; destroyMethodName=null; defined in class path resource
[acceptancePropertyConfigurer.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean 'propertyConfigurer': replacing
[Generic bean: class
[org.springframework.beans.factory.config.PropertyPlaceholderConfigurer];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [acceptancePropertyConfigurer.xml]] with [Generic bean:
class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [acceptancePropertyConfigurer.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean 'seleniumSpeedControl': replacing
[Generic bean: class
[org.mifos.test.acceptance.framework.util.SeleniumSpeedControl];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [ui-test-context.xml]] with [Generic bean: class
[org.mifos.test.acceptance.framework.util.SeleniumSpeedControl];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [ui-test-context.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean 'selenium': replacing [Generic bean:
class [com.thoughtworks.selenium.DefaultSelenium]; scope=singleton;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [ui-test-context.xml]] with [Generic bean: class
[com.thoughtworks.selenium.DefaultSelenium]; scope=singleton; abstract=false;
lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true;
primary=false; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null; defined in class path resource
[ui-test-context.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean 'databaseTestUtils': replacing
[Generic bean: class [org.mifos.test.framework.util.DatabaseTestUtils];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [ui-test-context.xml]] with [Generic bean: class
[org.mifos.test.framework.util.DatabaseTestUtils]; scope=singleton;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [ui-test-context.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean 'dbUnitUtilities': replacing [Generic
bean: class [org.mifos.test.acceptance.framework.DbUnitUtilities];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [ui-test-context.xml]] with [Generic bean: class
[org.mifos.test.acceptance.framework.DbUnitUtilities]; scope=singleton;
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0;
autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [ui-test-context.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
registerBeanDefinition
INFO: Overriding bean definition for bean 'initRemote': replacing [Generic
bean: class
[org.mifos.test.acceptance.remote.InitializeApplicationRemoteTestingService];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [ui-test-context.xml]] with [Generic bean: class
[org.mifos.test.acceptance.remote.InitializeApplicationRemoteTestingService];
scope=singleton; abstract=false; lazyInit=false; autowireMode=0;
dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null;
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in
class path resource [ui-test-context.xml]]
Sep 11, 2009 7:29:06 PM
org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing
org.springframework.context.support.genericapplicationcont...@765a16: display
name [org.springframework.context.support.genericapplicationcont...@765a16];
startup date [Fri Sep 11 19:29:06 IST 2009]; root of context hierarchy
Sep 11, 2009 7:29:06 PM
org.springframework.context.support.AbstractApplicationContext
obtainFreshBeanFactory
INFO: Bean factory for application context
[org.springframework.context.support.genericapplicationcont...@765a16]:
org.springframework.beans.factory.support.defaultlistablebeanfact...@de1b8a
Sep 11, 2009 7:29:06 PM org.mifos.framework.util.ConfigurationLocator getFile
INFO: ConfigurationLocator found configuration file:
F:\mifos_src_9_9_2009\acceptanceTests\target\test-classes\org\mifos\config\resources\acceptanceDatabase.properties
Sep 11, 2009 7:29:06 PM org.mifos.framework.util.ConfigurationLocator getFile
INFO: ConfigurationLocator found configuration file:
F:\mifos_src_9_9_2009\acceptanceTests\target\test-classes\org\mifos\config\resources\acceptanceTest.properties
Sep 11, 2009 7:29:06 PM
org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from URL
[file:F:/mifos_src_9_9_2009/acceptanceTests/target/test-classes/org/mifos/config/resources/acceptanceDatabase.properties]
Sep 11, 2009 7:29:06 PM
org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from URL
[file:F:/mifos_src_9_9_2009/acceptanceTests/target/test-classes/org/mifos/config/resources/acceptanceTest.properties]
Sep 11, 2009 7:29:06 PM
org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from class path resource []
Sep 11, 2009 7:29:06 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
INFO: Pre-instantiating singletons in
org.springframework.beans.factory.support.defaultlistablebeanfact...@de1b8a:
defining beans
[configurationLocator,defaultAcceptanceTestProperties,defaultAcceptanceTestNonDatabaseProperties,customAcceptanceTestProperties,propertyConfigurer,dataSource,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,seleniumSpeedControl,selenium,databaseTestUtils,dbUnitUtilities,initRemote,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor];
root of factory hierarchy
Sep 11, 2009 7:29:07 PM
org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
INFO: Loaded JDBC driver: com.mysql.jdbc.Driver
Sep 11, 2009 7:29:07 PM
org.mifos.test.acceptance.framework.util.SeleniumSpeedControl <init>
INFO: Delay after each Selenium method call: 0ms
Sep 11, 2009 7:59:20 PM org.springframework.test.context.TestContextManager
prepareTestInstance
SEVERE: Caught exception while allowing TestExecutionListener
[org.springframework.test.context.support.dependencyinjectiontestexecutionliste...@221e9e]
to prepare test instance [org.mifos.test.acceptance.client.addnotet...@115273a]
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.mifos.test.acceptance.client.AddNoteTest': Autowiring of methods
failed; nested exception is java.lang.RuntimeException: Could not start
Selenium session: Failed to start new browser session: Error while launching
browser
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:256)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:998)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:329)
at
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:110)
at
org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
at
org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:255)
at
org.springframework.test.context.testng.AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance(AbstractTestNGSpringContextTests.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:609)
at
org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:421)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:158)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:89)
at
org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:169)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:106)
at org.testng.TestRunner.runWorkers(TestRunner.java:759)
at org.testng.TestRunner.privateRun(TestRunner.java:592)
at org.testng.TestRunner.run(TestRunner.java:486)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
at org.testng.SuiteRunner.run(SuiteRunner.java:204)
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
at org.testng.TestNG.run(TestNG.java:784)
at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)
at
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:141)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Caused by: java.lang.RuntimeException: Could not start Selenium session: Failed
to start new browser session: Error while launching browser
at
com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at
org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:42)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy14.start(Unknown Source)
at
org.mifos.test.acceptance.framework.UiTestCaseBase.setSelenium(UiTestCaseBase.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:536)
at
org.springframework.beans.factory.annotation.InjectionMetadata.injectMethods(InjectionMetadata.java:117)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:253)
... 35 more
Caused by: com.thoughtworks.selenium.SeleniumException: Failed to start new
browser session: Error while launching browser
at
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
at
com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandProcessor.java:262)
at
com.thoughtworks.selenium.HttpCommandProcessor.start(HttpCommandProcessor.java:223)
at
com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:81)
... 56 more
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Mifos-functional mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-functional