Bug 777892 (SOA-420)

Summary: error in helloworld_hibernate_action QS readme file
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Jehudi Castro Sierra <jcastro>
Component: ExamplesAssignee: tcunning
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.2 CR3CC: mvecera
Target Milestone: ---   
Target Release: 4.2 CP01   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-420
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-02 09:15:55 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:
Attachments:
Description Flags
server.log.zip none

Description Jehudi Castro Sierra 2008-02-13 09:42:27 UTC
Date of First Response: 2008-02-15 08:35:05
project_key: SOA

One of the steps is : "Make sure that you have MySQL running before starting this quickstart.  Once it is running, execute 'ant createdb' to create the database."
 $ ant createdb
Buildfile: build.xml

BUILD FAILED
Target "createdb" does not exist in the project "Quickstart_helloworld_hibernate_action".

Comment 1 Len DiMaggio 2008-02-15 13:35:05 UTC
The quickstart was changed to use HSQLDB:

http://viewvc.jboss.org/cgi-bin/viewvc.cgi/labs/labs/jbossesb/trunk/product/samples/quickstarts/helloworld_hibernate_action/build.xml?r1=15015&r2=15014&pathrev=15015

In September 2007.

The problem here is that the readme file was not updated.



Comment 2 Jehudi Castro Sierra 2008-02-15 14:55:04 UTC
15:27:22,434 INFO  [STDOUT] onSave
15:27:22,434 INFO  [STDOUT] Hibernate: insert into orders (unique_id, product, quantity, price) values (null, ?, ?, ?)
15:27:22,435 INFO  [STDOUT] Hibernate: call identity()
15:27:22,697 INFO  [STDOUT] Hibernate: select order0_.unique_id as unique1_0_, order0_.product as product0_, order0_.quantity as quantity0_, order0_.price as price0_ from orders order0_
15:27:22,706 INFO  [STDOUT] onLoad
15:27:22,771 INFO  [STDOUT] 
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
15:27:22,771 INFO  [STDOUT] id [1]product [null]  quantity [null]  price [null] 
15:27:22,771 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Comment 3 Jehudi Castro Sierra 2008-02-15 14:55:04 UTC
Attachment: Added: server.log.zip


Comment 4 Jehudi Castro Sierra 2008-02-15 14:57:29 UTC
whit HSQLDB seeing the message above in the console, but the GUI output looks good

Comment 6 Jehudi Castro Sierra 2008-02-18 09:35:18 UTC
Link: Added: This issue depends JBESB-1551


Comment 7 tcunning 2008-02-25 23:29:37 UTC
Remove references to createdb and MySQL setup - this QS now uses hsqldb by default.

drseuss:helloworld_hibernate_action tcunning$ svn commit
Sending        helloworld_hibernate_action/readme.txt
Transmitting file data .
Committed revision 18588.



Comment 8 Jehudi Castro Sierra 2008-04-02 09:15:55 UTC
Verified in CP01