Bug 1028986
Summary: | shopping-cart qiuckstart not working | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Nikoleta Hlavickova <nziakova> |
Component: | Quickstarts | Assignee: | sgilda |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Nikoleta Hlavickova <nziakova> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.2.0 | CC: | benevides, bsutter, dandread, jawilson, jdoyle, jkudrnac, myarboro, pmuir, pslavice, sgilda, spagop |
Target Milestone: | CR2 | ||
Target Release: | EAP 6.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-12-15 16:22:32 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: |
Description
Nikoleta Hlavickova
2013-11-11 12:24:42 UTC
It appears this didn't work in EAP 6.1.1 GA either. I need to investigate further. EAP 6.1.0 GA didn't work either. Adding Serge Pagop to the bug since he's the owner and may know what is wrong. Please fix also this inconsistency: README says: The client sends a remote method invocation to the stateful session bean to buy two Memory sticks and one MacBook Air Laptop Log (also in README) says: Buying a "JBoss Enterprise Application Platform 6" Buying another "JBoss Enterprise Application Platform 6" Buying a "JBoss SOA Platform 6" Print cart: 1 JBoss SOA Platform 6 2 JBoss Enterprise Application Platform 6 Did we ship with 6.1 or did we hold this QS back from that release? John, we shipped this one with every release. I don't believe the bug was discovered until now. Wolf is looking at it now for me. If he doesn't have time to figure it out, Rafael volunteered to look at this one. The behaviour is correct so far, the messages might changed due to the different releases. I've changed the logging output of the client demo and replace the ERROR message with a message that this Exception is expected. Also add comments to the README. See PR https://github.com/wfink/jboss-eap-quickstarts/pull/1 This quickstart was confusing. The the checkout() method in the session bean is annotated with @Remove, so the bean is removed by the container after checkout. The console displayed "ERROR: Cannot access cart after Checkout!", when actually the cart was successully removed, as expected. The 'NoSuchEJBException' in the server log verified that the EJB was removed, again an expected result. Wolf changed the messaging and updated the instructions to make it cleared. I did a few minor edits to make the cart contents consistent and to make the results a bit more obvious as well. Fix is in this commit: https://github.com/jboss-developer/jboss-eap-quickstarts/commit/00b3b9167d560af0cf12e893c5b8dc7712991964 I would propose this is not a blocker as this was a case of the user not correctly understanding the instructions :-) The quickstart instructions clearly state you should expect to see an exception. Setting blocker flag to empty (let's see if that works). However, as exceptions, even those that are intended, can frighten people, I do think making it doubly clear it's expected will help. But I would suggest no need to apply this to EAP 6.2.0.GA, if we are close to a deadline. I checked with Paul and these changes will make the CR1 build. :-) Brian Stansberry checked in a few updates with this commit: https://github.com/jboss-developer/jboss-eap-quickstarts/commit/ce414a153d629b1e7c7df7d02359ca2c1a183b95 Ignore the above comment. It's for another bug. (In reply to sgilda from comment #8) > I did a few minor edits to make the cart contents consistent The new sentence is a bit weird: The client sends a remote method invocation to the stateful session bean to buy two copies of “JBoss Enterprise Application Platform 6” and one copy of “JBoss SOA Platform 6”. I suggest replacing "copy/copies" by "subscription/subscriptions" if we want to leave this example with buying JBoss EAP and SOA Platform. Maybe some different kind of good would be better in next release but this is the easiest fix at the moment. I am lowering the severity as the main issue is fixed and this is only a minor one. Changed it to read: The client sends a remote method invocation to the stateful session bean to buy two "JBoss Enterprise Application Platform 6" subscriptions and one "JBoss SOA Platform 6" subscription. Fixed in this commit: https://github.com/jboss-developer/jboss-eap-quickstarts/commit/37c46e4e8dbfc4ec8041161fa0b3d8f1a8db6695 Verified for EAP 6.2.0 CR2 |