Bug 1167293
| Summary: | Modify shopping-cart quickstart not to throw the javax.ejb.NoSuchEJBException | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Nikoleta Hlavickova <nziakova> |
| Component: | Quickstarts | Assignee: | sgilda |
| Status: | CLOSED NOTABUG | QA Contact: | Nikoleta Hlavickova <nziakova> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4.0 | CC: | bmaxwell, bsutter, david.lloyd, jkudrnac, pmuir, spagop, wfink |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-01-14 18:20:50 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1167983 | ||
| Bug Blocks: | |||
This is not a quickstart bug. This is coming from the JBoss EAP server. An issue was created for Wildfly, so I am closing this as not a bug. |
Description of problem: Readme for the shopping-cart quickstarts says: The client calls getCartContents() to make sure the shopping cart was removed after checkout. This results in a javax.ejb.NoSuchEJBException trace in the server, proving the cart was removed. Please modify the quickstart not to throw the exception. Although the error is expected according to the readme, proving that the cart was removed can be done without an error in server log. It would be much nicer to have the quickstarts without unnecessary exceptions. Version-Release number of selected component (if applicable): EAP 6.4.0.DR10 How reproducible: always Steps to Reproduce: 1. configure Maven settings to use EAP 6.4.0.DR10 Maven repozitory 2. follow instructions in the quickstart's readme Actual results: After running the client application an error is logged: ERROR [org.jboss.as.ejb3.invocation] (EJB default - 5) JBAS014134: EJB Invocation failed on component ShoppingCartBean for method public abstract java.util.HashMap org.jboss.as.quickstarts.sfsb.ShoppingCart.getCartContents(): javax.ejb.NoSuchEJBException: JBAS014300: Could not find EJB with id {...]} Expected results: No errors when running the client application