Bug 1167293 - Modify shopping-cart quickstart not to throw the javax.ejb.NoSuchEJBException
Summary: Modify shopping-cart quickstart not to throw the javax.ejb.NoSuchEJBException
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Quickstarts
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: sgilda
QA Contact: Nikoleta Hlavickova
URL:
Whiteboard:
Depends On: 1167983
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-24 12:02 UTC by Nikoleta Hlavickova
Modified: 2015-01-14 18:20 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-01-14 18:20:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nikoleta Hlavickova 2014-11-24 12:02:19 UTC
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

Comment 8 sgilda 2015-01-14 18:20:50 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.