You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org> on 2006/07/27 15:05:14 UTC
[jira] Closed: (DAYTRADER-9) MarketSummary fix for NPE with less
than 106 quotes
[ http://issues.apache.org/jira/browse/DAYTRADER-9?page=all ]
Matt Hogstrom closed DAYTRADER-9.
---------------------------------
Fix Version/s: 1.2
Resolution: Fixed
Assignee: Matt Hogstrom
Thanks Slava...patches applied and tested. Cheers.
Sending trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java
Sending trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb/TradeBean.java
Transmitting file data ..
Committed revision 426057.
> MarketSummary fix for NPE with less than 106 quotes
> ---------------------------------------------------
>
> Key: DAYTRADER-9
> URL: http://issues.apache.org/jira/browse/DAYTRADER-9
> Project: DayTrader
> Issue Type: Improvement
> Components: EJB Tier
> Affects Versions: 1.1
> Environment: All OS / all platforms
> Reporter: Slava
> Assigned To: Matt Hogstrom
> Fix For: 1.2
>
> Attachments: DAYTRADER-9.patch, DAYTRADER-9_updated.patch
>
>
> This is a fix for the NPE in the MarketSummary.jsp and TradeHome.jsp thrown when the Daytrader database contains only 100 or less quotes. (see http://issues.apache.org/jira/browse/GERONIMO-1674)
> The current default configuration is 200 users and 400 quotes. As previously discussed, it takes long time to populate Daytrader database with as many user/quotes.
> This fix solves that problem. No NPE will be thrown if the database is populated with less than 105 quotes. This will speed up significantly the functional test with Daytrader.
> However, to retrieve market summary data you still need to have more than 106 quotes in the database. Therefore for performance measurments with Daytrader should be done using higher number of users/quotes.
> Slava
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira