Hi All,
We are done with the coding of moratorium module. However there are still some open issues, which are not implemented.
Once we get clarification on the open issues, we will send the updated patch. I m attaching a document with the mail, which describes the approach we have followed as well as open issues.
We checked out latest code from SVN but the build is getting failed because of test suite failure.
After applying the patch send by Dion, the test suite executes successfully but some other functional issues are coming, like, we are unable to create center, when we try to create meeting details for center we get following error -
javax.servlet.ServletException: Unable to find a value for "id" in object of class "org.mifos.application.meeting.util.helpers.WeekDay" using operator "."
Can anyone throw some light on this problem?
We checked out Revision >> 12167
Thanks & Regards,
Saurabh Kumar • Developer •
SunGard • Offshore Services • Divyasree Chambers, Langford Road,
Bangalore 560025 India
Tel +91-80-2222-0501 • Mobile
+91-9886945575 • Fax +91-80-2222-0511 • www.sungard.com
Hi Van,
I have integrated the code with revision 12171.
The test suite is running fine, and there are no build errors.
Please find the patch attached with the mail.
Do let me know if there are any issues.
Thanks & Regards,
Saurabh Kumar • Developer •
SunGard • Offshore Services • Divyasree Chambers, Langford Road,
Bangalore 560025 India
Tel +91-80-2222-0501 • Mobile
+91-9886945575 • Fax +91-80-2222-0511 • www.sungard.com
Hi All,
We have submitted patch for loan and moratorium module.
I was wondering whether they have been reviewed or not, it will be great if someone could review those patches and provide us comments on the same.
Thoughts and suggestions are welcomed.
Hi Saurabh,
Apologies for not responding to your email earlier this week with your patch. Van is currently on vacation (and will be for the next few weeks), so we are a little bit behind in reviewing patches. I will check in with the team and get back to you shortly with an idea of when we think we can have the patch reviewed and provide you with feedback.
Thanks,
Aliya
Hi Saurabh,
I checked in with the team and we have a developer, Tom Bostelmann, who will be reviewing your patch. I just want to set expectations that he has a couple other patches to review first (from Mayank and Dion for Loan Defaults and Offsetting features) in addition to his regular development work. But, I’m sure he’ll get you a response as soon as he can J
Thanks for checking in with us,
Aliya
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Hi Tom,
Thanks for reviewing the patch.
I m sending new patch, it contains code which is integrated with revision 12183.
Do let me know if there are still any issues.
Please note that the test suite in revision 12183 is getting failed (without our code.) After integrating our code, I have checked thoroughly and there are no issues because of our code.
Hi Saurabh,
When I look at the build server, revision 2183 does not seem to have any build issues or test failures. You may want to investigate things on your side again if you are still experiencing test failures in the latest code.
Aliya
Hi Aliya,
I have checked the code and I feel there might me some configuration issue with date.
There is some problem with setting of FiscalWeekStartDay --
<testcase classname="org.mifos.framework.components.configuration.business.TestConfiguration" name="testAreaOfficeConfiguration" time="0.0">
<failure message="expected:<2> but was:<0>" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: expected:<2> but was:<0>
at org.mifos.framework.components.configuration.business.TestConfiguration.assertForMeetingConfig(TestConfiguration.java:86)
at org.mifos.framework.components.configuration.business.TestConfiguration.testAreaOfficeConfiguration(TestConfiguration.java:52)
</failure>
</testcase>
In above failure of assertion it is trying to get FiscalWeekStartDay, whose value is 0 instead of two.
<testcase classname="org.mifos.application.accounts.savings.business.TestSavingsBO" name="testCalculateInterest_IntCalcFreqTenDays_minbal" time="0.888">
<failure message="expected:<Sat Apr 01 00:00:00 IST 2006> but was:<Mon Apr 03 00:00:00 IST 2006>" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: expected:<Sat Apr 01 00:00:00 IST 2006> but was:<Mon Apr 03 00:00:00 IST 2006>
at org.mifos.application.accounts.savings.business.TestSavingsBO.testCalculateInterest_IntCalcFreqTenDays_minbal(TestSavingsBO.java:2390)
</failure>
</testcase>
Any idea, what might be the problem??
For reference I m attaching the test suite report with mail.
Hi Saurabh,
Currently, if I’m not mistaken, we have a bug where the test suite fails when the time zone is not set to Pacific timezone. This may be what is causing the issue for you. Can you try changing your system timezone to Pacific Time and running the test suite again? Hopefully this will resolve your issue.
Thanks,
issue #1491 covers unit test problems encountered when running in
different timezones:
https://mifos.dev.java.net/issues/show_bug.cgi?id=1491
--
Adam Monsen
Hi Keith,
Welcome to the Mifos project! We’d absolutely welcome any contributions you’d be willing to make in this area. When you have some code you would like to submit, you can submit it in a patch which one of our developers can review. The code submission process is detailed here: http://mifos.org/developers/technical-orientation/code-submission-process-1
When you are ready to start working on this issue, you may want to update the bug in the issue tracker (set the status to ‘started’) and email the mailing list that you are working on it so that there are no duplicate efforts.
If you have any questions along the way, feel free to email this list for guidance and we’ll be happy to help you out.
Thanks for your interest in contributing,
Aliya
From: mifos-devel...@lists.sourceforge.net [mailto:mifos-devel...@lists.sourceforge.net] On Behalf Of Keith Pierce
Sent: Tuesday, November 13, 2007
11:47 AM
To: Developer
Hi Saurabh,
Currently, if I'm not mistaken, we have a bug where the test suite fails when the time zone is not set to Pacific timezone. This may be what is causing the issue for you. Can you try changing your system timezone to Pacific Time and running the test suite again? Hopefully this will resolve your issue.
Thanks,
Aliya
From: mifos-devel...@lists.sourceforge.net [mailto:mifos-devel...@lists.sourceforge.net] On Behalf Of Saurabh Kumar
Sent: Monday, November 12, 2007 11:00 PM
To: Developer
Subject: Re: [Mifos-developer] Patch for moratorium module....
Hi Aliya,
I have checked the code and I feel there might me some configuration issue with date.
There is some problem with setting of FiscalWeekStartDay --
<testcase classname="org.mifos.framework.components.configuration.business.TestConfiguration" name="testAreaOfficeConfiguration" time="0.0">
<failure message ="expected:<2> but was:<0>" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: expected:<2> but was:<0>
at org.mifos.framework.components.configuration.business.TestConfiguration.assertForMeetingConfig(TestConfiguration.java:86)
at org.mifos.framework.components.configuration.business.TestConfiguration.testAreaOfficeConfiguration(TestConfiguration.java:52)
</failure>
</testcase>
In above failure of assertion it is trying to get FiscalWeekStartDay, whose value is 0 instead of two.
<testcase classname="org.mifos.application.accounts.savings.business.TestSavingsBO" name="testCalculateInterest_IntCalcFreqTenDays_minbal" time="0.888">
<failure message ="expected:<Sat Apr 01 00:00:00 IST 2006> but was:<Mon Apr 03 00:00:00 IST 2006>" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: expected:<Sat Apr 01 00:00:00 IST 2006> but was:<Mon Apr 03 00:00:00 IST 2006>
Another good option would be to fix the bug and submit a fix with the code :)
You can add this to your patch of you would like or you can submit the fix as a separate patch.
Aliya, is there an issue number associated with this?
Hi Tom,
I tried by changing the timezone to Pacific and the testsuite passed successfully.
Please find the patch for moratorium module attached with the mail.
As far as the issue regarding failing of testsuite because of different timezones is concerned, I am looking into that. Will update you as soon as I crack the problem.
Hi Keith,
You can go ahead with fixing of this issue.
I investigated this issue and I think I have found the cause of problem. I m listing the issues, which I think are creating the problem –
1) In ConfigurationInitializer class we have a method createSystemConfiguration(), this method returns SystemConfiguration object.
For creating SystemConfiguration we have hardcoded the value for timeZone, I think we need to remove this hardcoding and instead of that we need to get default time zone or user’s timezone.
2) Moreover if you check TestSavingsHelper class, we have a testcase testGetNextInterestCalculationDateEveryMonth() (which is getting failed because of this problem); there we are calling two methods, namely getNextScheduleDate() & getDate(); getDate() is fine, but in getNextScheduleDate() method we are getting date from MeetingBO object, by calling getNextScheduleDateAfterRecurrence(). I think problem is there in MeetingBO. In MeetingBO we are creating instance of GregorianCalendar without specifying the timeZone. And in java if you don’t specify timeZone, your date will be interpreted using the the local default TimeZone. If the user has not configured it correctly in his OS, you may get Pacific Standard time or GMT, without warning.
Therefore, I think here we need to create instance of GregorianCalendar by specifying user’s timezone.
3) Also, in MeetingBO we are using one method from DateUtils class, namely getCalendarDate; in this method again we are creating instance of GregorianCalendar without specifying timeZone.
I feel the above mentioned issues are root cause of problem. Do let me know if I m wrong or if I can be of any help.
Hi Tom,
Please find the patch for moratorium module.
I have merged our code with latest revision from svn, i.e. revision 12192.
There were no build errors and the test suite passed successfully.
Do let me know if there are any issues.
Please ignore my previous patch because after I had sent my previous patch, revision 12192 was checked in; so I had to merge with the new revision.
Thanks & Regards,
Saurabh Kumar • Developer •
SunGard • Offshore Services • Divyasree Chambers, Langford Road,
Bangalore 560025 India
Tel +91-80-2222-0501 • Mobile
+91-9886945575 • Fax +91-80-2222-0511 • www.sungard.com
-----Original Message-----
From:
mifos-devel...@lists.sourceforge.net
[mailto:mifos-devel...@lists.sourceforge.net] On Behalf Of Tom Bostelmann
Sent: Friday, November 09, 2007
4:30 AM
Here is the patch for issue 1491. Before submitting, I updated the mifos project and re-ran all unit tests successfully.
Keith Pierce
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Hi Tom,
Thanks for reviewing the patch.
As far as duplicate files are concerned, I m following the existing design of mifos.
In existing design we are using separate struts-config (and other files) for testing purpose.
I have referred existing modules for that (for example holiday or other module).
Hi Tom,
Thanks for reviewing the patch.
As far as duplicate files are concerned, I m following the existing design of mifos.
In existing design we are using separate struts-config (and other files) for testing purpose.
I have referred existing modules for that (for example holiday or other module).
Thanks & Regards,
Hi Tom,
Are you referring to “CactusStrutsTestCase”, coz for testing deployed code we need to use “CactusStrutsTestCase” as base class for our testcases.
Even if we use same struts-config(validation.xml,etc), that won’t serve purpose of testing deployed code, coz “MockStrutsTestCase” uses a set of HttpServlet mock objects to simulate the container environment without requiring a running servlet engine.
“CactusStrutsTestCase” uses the “Cactus testing framework” to test Struts classes in the actual server container, allowing for a testing environment more in line with the actual deployment environment.
Tell me if I m wrong or if I m thinking in wrong direction.
Moreover if we try to point to struts-config in src directory it will give following error, which clearly states that we need to have struts-config file in the directory from which we are trying to run testcases.
servletunit.struts.ExceptionDuringTestError: A NullPointerException was thrown. This may indicate an error in your ActionForm, or it may indicate that the Struts ActionServlet was unable to find struts config file. TestCase is running from D:\latest code\mifos directory. Context directory has not been set. Try calling setContextDirectory() with a relative or absolute path. struts config file must be found under the context directory, the directory the test case is running from, or in the classpath.
at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:303)
at org.mifos.application.moratorium.struts.action.TestMoratoriumAction.testCreateForClient(TestMoratoriumAction.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
------------
Root Cause:
------------
java.lang.NullPointerException
at servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:231)
at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:290)
at org.mifos.application.moratorium.struts.action.TestMoratoriumAction.testCreateForClient(TestMoratoriumAction.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Even if we use same struts-config(validation.xml,etc), that won't serve purpose of testing deployed code, coz "MockStrutsTestCase" uses a set of HttpServlet mock objects to simulate the container environment without requiring a running servlet engine.
Moreover if we try to point to struts-config in src directory it will give following error, which clearly states that we need to have struts-config file in the directory from which we are trying to run testcases.
servletunit.struts.ExceptionDuringTestError : A NullPointerException was thrown. This may indicate an error in your ActionForm, or it may indicate that the Struts ActionServlet was unable to find struts config file. TestCase is running from D:\latest code\mifos directory. Context directory has not been set. Try calling setContextDirectory() with a relative or absolute path. struts config file must be found under the context directory, the directory the test case is running from, or in the classpath.
at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java :303)
at org.mifos.application.moratorium.struts.action.TestMoratoriumAction.testCreateForClient (TestMoratoriumAction.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java :76)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java :38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests (RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run (RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main (RemoteTestRunner.java:196)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main (RemoteTestRunner.java:196)
Hi Tom,
Thanks for your comments.
I got your point regarding one struts-config file.
In my previous mail, I had mentioned about Cactus for testing deployed code, do you want me to dig more on that???
Thanks & Regards,
Saurabh Kumar • Developer •
SunGard • Offshore Services • Divyasree Chambers, Langford Road,
Bangalore 560025 India
Tel +91-80-2222-0501 • Mobile
+91-9886945575 • Fax +91-80-2222-0511 • www.sungard.com
-----Original Message-----
From:
mifos-devel...@lists.sourceforge.net
[mailto:mifos-devel...@lists.sourceforge.net] On Behalf Of Tom Bostelmann
Sent: Monday, December 03, 2007 6:03 AM
To: Developer
Subject: Re: [Mifos-developer]
Patch for moratorium module....
Apologies for not getting back to you earlier Saurabh. I included responses to your questions inline...
Even if we use same struts-config(validation.xml,etc), that won't serve purpose of testing deployed code, coz "MockStrutsTestCase" uses a set of HttpServlet mock objects to simulate the container environment without requiring a running servlet engine.
I understand that it doesn't start up a servlet engine
- it emulates one. but i'm assuming that you created a
struts-config/validation.xml because the emulator will also simulate the use of
configuration files like struts-config and the validation configuration.
If the testing framework that we're using uses a struts-config, it should use
the one that's being deployed.
I'm trying to avoid having duplicate code. A developer can come in and
make changes to the struts-config in the main 'src' directory without updating
the one in 'test'. If that occurs we're no longer testing the correct
configuration.
Moreover if we try to point to struts-config in src directory it will give following error, which clearly states that we need to have struts-config file in the directory from which we are trying to run testcases.
Yes, I know. I need you to figure out how to fix this.
-Tom
Hi Tom,
Are you referring to “CactusStrutsTestCase”, coz for testing deployed code we need to use “CactusStrutsTestCase” as base class for our testcases.
Even if we use same struts-config(validation.xml,etc), that won’t serve purpose of testing deployed code, coz “MockStrutsTestCase” uses a set of HttpServlet mock objects to simulate the container environment without requiring a running servlet engine.
“CactusStrutsTestCase” uses the “Cactus testing framework” to test Struts classes in the actual server container, allowing for a testing environment more in line with the actual deployment environment.
Tell me if I m wrong or if I m thinking in wrong direction.
Moreover if we try to point to struts-config in src directory it will give following error, which clearly states that we need to have struts-config file in the directory from which we are trying to run testcases.
servletunit.struts.ExceptionDuringTestError: A NullPointerException was thrown. This may indicate an error in your ActionForm, or it may indicate that the Struts ActionServlet was unable to find struts config file. TestCase is running from D:\latest code\mifos directory. Context directory has not been set. Try calling setContextDirectory() with a relative or absolute path. struts config file must be found under the context directory, the directory the test case is running from, or in the classpath.
at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:303)
at org.mifos.application.moratorium.struts.action.TestMoratoriumAction.testCreateForClient(TestMoratoriumAction.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
------------
Root Cause:
------------
java.lang.NullPointerException
at servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:231)
at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:290)
at org.mifos.application.moratorium.struts.action.TestMoratoriumAction.testCreateForClient(TestMoratoriumAction.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
Hi Tom,
We have tried all the possible options for the problem but we are unable to find the solution.
We tried following options >>
1) place the directory that contains struts-config in CLASSPATH
2) used setConfigFile() to set the location of struts-config file
3) provided absolute path for the struts-config file
Infact we are exhausted with all the options we had.
Can you give us some possible direction through which we can approach this problem or else I think someone else on community can take up this issue.