<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html" />
  <link rel="self" type="application/atom+xml" href="http://www.insideria.com/atom.xml" />
  <id>tag:www.insideria.com,2009://34/tag:www.insideria.com,2008://34.22710-</id>
  <updated>2009-11-18T16:39:48Z</updated>
  <title>Comments for Anatomy of an Enterprise Flex RIA Part 2: Running the Sample Code (http://www.insideria.com/2008/01/running-the-sample-code-last.html)</title>
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.21-en</generator>
  <entry>
    <id>tag:www.insideria.com,2008://34.22710</id>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blogs.oreilly.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=34/entry_id=22710" title="Anatomy of an Enterprise Flex RIA Part 2: Running the Sample Code" />
    <published>2008-01-28T13:00:00Z</published>
    <updated>2008-10-01T01:39:05Z</updated>
    <title>Anatomy of an Enterprise Flex RIA Part 2: Running the Sample Code</title>
    <summary>In the last installment of our Development Series Anatomy of an Enterprise Flex RIA, we looked at the tools we&apos;ll be discussing in this series. Now we&apos;re going to look at the sample code that uses those tools as a way to show Flex working in an enterprise setting.  Ready to dig in?  We&apos;ve got sample code and full specs...</summary>
    <author>
      <name>Tony Hillerson</name>
      
    </author>
    
    <category term="Features" />
    
    <content type="html" xml:lang="en" xml:base="http://www.insideria.com/">
      <![CDATA[<div class="ap_r" style="margin: 16px;"><a href="http://www.insideria.com/upload/2008/01/running_the_sample_code_last/riaseries_part2.jpg" class="highslide" onclick="return hs.expand(this)"><img src="http://www.insideria.com/upload/2008/01/running_the_sample_code_last/riaseries_part2.jpg" alt="riaseries_part2.jpg" title="Click to enlarge" width="148"/></a></div><a href="http://www.insideria.com/2008/01/anatomy-of-an-enterprise-flex.html">Last installment</a> we looked at the tools we'll be discussing in this series. Now we're going to look at the sample code that uses those tools as a way to show Flex working in an enterprise setting.

<p>To run the sample code you need to do a little preparation:<br />
<ol><br />
<li>1. Create a database called <span class="yellowinlinecode"><em>bookie</em></span>. </li><br />
<li>2. Unzip <span class="yellowinlinecode"><em><a href="http://downloads.oreilly.com/digitalmedia/insideria/enterprise-flex-code.zip">enterprise-flex-code.zip</a></em></span> to a working directory.</li><br />
<li>3. Unzip <span class="yellowinlinecode"><em><a href="http://downloads.oreilly.com/digitalmedia/insideria/m2_repository.zip">m2_repository.zip</a></em></span> and copy the contents into <span class="yellowinlinecode"><em>${user.home}/.m2/repository</em></span>. </li></ol></p>

<p><br />
<div class="ap_r" style="width:180px;"><a href="http://www.oreilly.com/catalog/9780596514402/?CMP=ILC-dm_nav_related-books" target="_blank"><img border="0" src="http://www.oreilly.com/catalog/covers/9780596514402_cat.gif" width="180" height="233" /></a><br />
<div class="apcaption"><a href="http://www.oreilly.com/catalog/9780596514402/?CMP=ILC-dm_nav_related-books" target="_blank">Get your copy of Tony Hillerson's Enterprise Application Development with Flex.</a></div></div>Inside <span class="yellowinlinecode"><em>src</em></span> is a directory for the main source of the project, called <span class="yellowinlinecode"><em>main</em></span>. At the same level is a folder for test code, called <span class="yellowinlinecode"><em>test</em></span>. The code goes in the <span class="yellowinlinecode"><em>main</em></span> and <span class="yellowinlinecode"><em>test</em></span> directories and is organized by the type of language&#8212;in this case, a <span class="yellowinlinecode"><em>java</em></span> directory holds the Java code in the data project directory, and a <span class="yellowinlinecode"><em>java</em></span> and <span class="yellowinlinecode"><em>flex</em></span> directory in the web project.  </p>

<p>On a Mac, this should be in <span class="yellowinlinecode"><em>/Users/&lt;your username&gt;/.m2</em></span>. On Linux, this should be in <span class="yellowinlinecode"><em>/home/&lt;your username&gt;/.m2</em></span>. On Windows, this will be in <span class="yellowinlinecode"><em>C:\Documents and Settings\&lt;your username&gt;\.m2</em></span>.</p>

<p>Edit the properties files in the working directory for your system:</p>

<p>In <span class="yellowinlinecode"><project root>/development.properties</span>, change <span class="yellowinlinecode"><strong>jboss.deploy.dir</strong></span> to point to the deploy directory of your JBoss installation.In <span class="yellowinlinecode"><project root>/bookie-data edit jdbc.properties.mysql</span>, set the username, password, and any other database-specific information to match your system&#8217;s. In <span class="yellowinlinecode"><project root>/bookie-ui edit mxml.project.properties</span>, change the <span class="yellowinlinecode"><strong>flex.sdk.bin.dir</strong></span> to the directory containing the <span class="redinlinecode">mxmlc</span> compiler and <span class="yellowinlinecode">deploy.dir</span> to match <span class="yellowinlinecode">your jboss deploy directory/bookie.ear/bookie.war</span>.</p>

<p>Run maven build: At a command prompt in the root of your project, run <span class="redinlinecode">`mvn package`</span>.</p>

<p>Run ant deploy: At a command prompt in the root of your project, run <span class="redinlinecode">`ant dev-deploy`</span>.<br />
<ol><li>1. Start JBoss.</li><br />
<li>2. Point your browser at <span class="redinlinecode">http://localhost:8080/bookie</span>.</li><br />
<li>3. Log in with card number 123456.</li><br />
<li>4. Try out the application!</li></ol><br />
 <br />
<strong>Our Project: Bookie</strong></p>

<p><strong>Introducing Bookie</strong></p>

<p>Our project is for an imaginary online book reservation application called Bookie. This application will be a self-service system for a hypothetical library. It will allow a user to log in with a library card number, search for books, and reserve them online so that by the time she gets to the library, the books will be ready for her to pick up.</p>

<p>It also allows library administrators to add and update information regarding authors and their books. While they&#8217;re working, they&#8217;ll also see automated notifications of new book reservations so that they can be prepared when a user shows up to get the book she reserved.</p>

<p><strong>Use Cases</strong></p>

<p>A <span class="yellowinlinecode"><em>use case</em></span>, or <span class="yellowinlinecode"><em>user story</em></span>, as mentioned earlier, describes the functionality we want our application to offer users. A use case highlights the functionality we need to include in our application, not just as raw functionality but also as proposed solutions to problems that users would like to have solved. You can think of a use case as a story that describes the way the user will use the application. </p>

<p>For instance:</p>

<p>&#8220;The user enters his shipping information, including state, and the system calculates the tax for that state."</p>

<p>Use cases don&#8217;t make technical demands explicitly, such as what kind of database schema to use or which language to use, nor do they use jargon or technical terms.</p>

<p>Table 1 and Table 2 list the use cases for Bookie. We&#8217;ll make them simple and condensed&#8212;simpler than they would be &#8220;in the wild"; just the titles, really. We have use cases that discuss both user and administrator stories.</p>

<table width="430"><tr><th scope="col" colspan="2" style="font-size: 11px; font-weight: bold; color: #525252; border: 1px solid #d7d7d7; letter-spacing: 2px;text-transform: uppercase; text-align: left; padding: 6px 6px 6px 12px; background-color: #f2f2f2;">Table 1: user Use Cases </th></tr><tr><th scope="col" style="font-size: 11px; font-weight: bold; color: #525252; border: 1px solid #d7d7d7; letter-spacing: 2px; text-transform: uppercase; text-align: left; padding: 6px 6px 6px 12px; background-color: #f2f2f2;">USE CASE NAME </th><th scope="col" style="font-size: 11px; font-weight: bold; color: #525252; border: 1px solid #d7d7d7; letter-spacing: 2px;text-transform: uppercase; text-align: left; padding: 6px 6px 6px 12px; background-color: #f2f2f2;">DESCRIPTION</th></tr><tr><td valign="top" style="width: 40%; border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;"> Sign In</td><td valign="top" style="width: 60%; border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Users will sign in to the application with their library card number. This is all the authentication we&#8217;ll do in this simple application, but it will be enough to identify a user against whom we can save data in the database.</td></tr><tr><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Find by Author</td><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">The user will be able to find all the books by a certain author.</td></tr><tr><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Find by Subject</td><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">The user will be able to find all the books under a certain subject.</td></tr><tr><td valign="top" style="border-left: 1px solid #d7d7d7;border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Find by Title </td><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">The user will be able to search for books by the book&rsquo;s title.</td></tr><tr><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Browse Authors </td><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">The user can browse a list of all authors.</td></tr><tr><td valign="top" style="border-left: 1px solid #d7d7d7;border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;"> Browse Titles</td><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">The user can browse a list of all titles.</td></tr><tr><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Browse Subjects </td><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">The user can browse a list of all subjects.</td></tr><tr><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Find Author </td><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">The user can search for a specific author by name.</td></tr><tr><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Find Subject </td><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">The user can search for a subject by name.</td></tr></table><br  /><table width="430"><tr><th scope="col" colspan="2" style="font-size: 11px; font-weight: bold; color: #525252; border: 1px solid #d7d7d7; letter-spacing: 2px;text-transform: uppercase; text-align: left; padding: 6px 6px 6px 12px; background-color: #f2f2f2;">Table 2: administrator Use Cases </th></tr><tr><th scope="col" style="font-size: 11px; font-weight: bold; color: #525252; border: 1px solid #d7d7d7; letter-spacing: 2px;text-transform: uppercase; text-align: left; padding: 6px 6px 6px 12px; background-color: #f2f2f2;">USE CASE NAME </th><th scope="col" style="font-size: 11px; font-weight: bold; color: #525252; border: 1px solid #d7d7d7; letter-spacing: 2px;text-transform: uppercase; text-align: left; padding: 6px 6px 6px 12px; background-color: #f2f2f2;">DESCRIPTION</th></tr><tr><td valign="top" style="width: 40%; border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Create, Update, Delete Subjects </td><td valign="top" style="width: 60%; border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Administrators can manage all the subjects in the system.</td></tr><tr><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Create, Update, Delete Books </td><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Administrators can manage all the books in the system. This includes assigning the book, author, and subject.</td></tr><tr><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Create, Update, Delete Authors </td><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Administrators can manage all the authors in the system.</td></tr><tr><td valign="top" style="border-left: 1px solid #d7d7d7;border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Create, Update, Delete Users </td><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Administrators can manage all the users in the system.</td></tr><tr><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Check Books Out </td><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Administrators can manage the outstanding reservations and mark them checked out as they&rsquo;re picked up.</td></tr><tr><td valign="top" style="border-left: 1px solid #d7d7d7;border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;"> Check Books In </td><td valign="top" style="border: 1px solid #d7d7d7; background: #fff; padding: 6px 6px 6px 12px; color: #525252;">Administrators can manage a list of checked out books, and check them in as they&rsquo;re dropped off.</td></tr></table>

<p><br />
This is a nice, small project with just a few use cases, which should let us get a sense of the process and use the tools we&#8217;ve learned without dealing with a lot of technical details. Each section that follows discusses a &#8220;layer" of the application. The layers build from the database to the data model to the service interaction to the user interface of the application, giving you a chance to study the technology used at each layer.</p>

<p>Next installment we'll start to break the project down and show how we'll use Maven to automate the process of building the project's code.  You can always find the entire series <a href="http://www.insideria.com/series-anatomy-flex.html">here</a>.</p>]]>
      
    </content>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2014724</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2014724" />
    <title>Comment from Rostislav Siryk on 2008-01-28</title>
    <author>
        <name>Rostislav Siryk</name>
        <uri>http://en.flash-ripper.com/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://en.flash-ripper.com/">
        <![CDATA[<p>A little suggestion: it would be good to have a simple example of the command for the "1. Create a database called bookie." It would be very useful for the non-DBA specialists, who won't spend a lot of time working with DB, but just needs it to get application running.</p>

<p>Use cases explanation — very good and clear. I like how consistently you're putting the material in the learning stream, waiting for next parts.</p>]]>
    </content>
    <published>2008-01-28T13:54:37Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2014730</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2014730" />
    <title>Comment from Tony Hillerson on 2008-01-28</title>
    <author>
        <name>Tony Hillerson</name>
        <uri>http://thillerson.blogspot.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://thillerson.blogspot.com">
        <![CDATA[<p>Good point Rostislav. I find the easiest way to create a database once you have mysql installed is to run this command from a console: `mysqladmin -u create `. Others may want to install a graphical client like the one here: <a href="http://dev.mysql.com/downloads/gui-tools/5.0.html.">http://dev.mysql.com/downloads/gui-tools/5.0.html.</a></p>

<p>Two other notes, I'm trying to get the links to the example files up here, so stay tuned with that.</p>

<p>Also, there seems to have been some HTML issues with the Maven paths. They should be as follows:</p>

<p>Mac:<br />
/Users/*user name*/.m2</p>

<p>Linux:<br />
/home/*user name*/.m2</p>

<p>Windows:<br />
C:\Documents and Settings\*user name*\.m2</p>]]>
    </content>
    <published>2008-01-28T16:54:59Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2014785</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2014785" />
    <title>Comment from Rostislav Siryk on 2008-01-30</title>
    <author>
        <name>Rostislav Siryk</name>
        <uri>http://en.flash-ripper.com/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://en.flash-ripper.com/">
        <![CDATA[<p>Tony, thanks for the corrections, I'm following the series.</p>]]>
    </content>
    <published>2008-01-30T12:37:13Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2014795</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2014795" />
    <title>Comment from Martin on 2008-01-30</title>
    <author>
        <name>Martin</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Tony,</p>

<p>when I run "mvn package", i get build error ("failed to resolve artifacts"):</p>

<p>Missing:<br />
----------<br />
1) microcontainer.jboss.ejb3:hibernate-all:jar:rc9<br />
...<br />
2) microcontainer.jboss.ejb3:jboss-ejb3-all:jar:rc9<br />
...<br />
3) microcontainer.jboss.ejb3:thirdparty-all:jar:rc9<br />
...<br />
4) org.apache.db.ddlutils:ddlutils:jar:1.0-SNAPSHOT<br />
...<br />
----------<br />
4 required artifacts are missing.</p>

<p>for artifact:<br />
  lcds.examples.bookie:bookie-data:jar:1.0-SNAPSHOT</p>

<p>from the specified remote repositories:<br />
  central (http://repo1.maven.org/maven2)</p>

<p><br />
I went to look for the first 3 files but could not find them at <br />
<a href="http://repo1.maven.org/maven2/microcontainer/">http://repo1.maven.org/maven2/microcontainer/</a> where it tried to download them from.</p>

<p>I am new to maven so I really do not know how to resolve this. Any input will be appreciated! :)</p>

<p>thanks</p>]]>
    </content>
    <published>2008-01-30T18:53:54Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2014796</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2014796" />
    <title>Comment from Martin on 2008-01-30</title>
    <author>
        <name>Martin</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>AAaah :D</p>

<p>It is all good! hehe </p>

<p>I had not extracted m2_repository.zip correctly.</p>

<p>Cheers</p>]]>
    </content>
    <published>2008-01-30T19:21:11Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2014802</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2014802" />
    <title>Comment from Martin on 2008-01-30</title>
    <author>
        <name>Martin</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Just to give heads up...</p>

<p>After many unsuccessful attempts I finally got the application to successfully build and deploy. It definitely was a learning, hands on experience. Thanks for the little challenge, Tony! :P</p>

<p>A few points:</p>

<p>First, I commented out line 22 (parallel>true) in code/bookie-data/pom.xml. It was throwing java exceptions for some reason...</p>

<p>Second, I commented out line 16 to 25 in code/bookie-data/src/test/resources/testng.xml. This disables the "Functional Tests" for unit testing that was giving off all kinds of errors and preventing the successful build. I just really wanted to build it at this point, nothing more! :P</p>

<p>Third, in the m2_repository.zip file there was a wrongly named directory: com/adobe/flex should be com/adobe/flex2 ...</p>

<p>Fourth, in code/bookie-ui/build.xml I had to append ".exe" to "mxmlc" like "${flex.sdk.bin.dir}/mxmlc.exe" (lines 33, 47 & 61). Maybe I didnt install the flex sdk right, dunno whats the deal (I am running win xp)..</p>

<p>Unfortunately, although the procedure populated my bookie database, compiled sources files and deployed the output to the jboss server, after opening <a href="http://localhost:8080/bookie/">http://localhost:8080/bookie/</a> and entering 123456 as card number the app popped up a msg saying "Unable to sign in"?! bleh...I looked at the jboss output and it said that it couldnt establsh database connection..</p>

<p>grr  :(</p>]]>
    </content>
    <published>2008-01-30T21:49:54Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2014808</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2014808" />
    <title>Comment from Mauro on 2008-01-31</title>
    <author>
        <name>Mauro</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Followed Martin's suggestion and deployed succesfully, but when going to <a href="http://localhost:8080/bookie">http://localhost:8080/bookie</a> got the following error</p>

<p>Suggestions?</p>

<p>[MessagingError message='No service is configured to handle messages of type 'flex.data.messages.DataMessage'.']<br />
	at mx.messaging.config::ServerConfig$/getServiceIdForMessage()<br />
	at mx.data::Metadata()<br />
	at mx.data::ConcreteDataService()<br />
	at mx.data::ConcreteDataService$/getService()<br />
	at mx.data.mxml::DataService/set destination()<br />
	at lcds.examples.bookie.business::Services/_DataService1_i()<br />
	at lcds.examples.bookie.business::Services()<br />
	at index/_Services1_i()<br />
	at index()<br />
	at _index_mx_managers_SystemManager/create()<br />
	at mx.managers::SystemManager/initializeTopLevelWindow()<br />
	at mx.managers::SystemManager/docFrameHandler()<br />
</p>]]>
    </content>
    <published>2008-01-31T14:01:43Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2014810</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2014810" />
    <title>Comment from Martin on 2008-01-31</title>
    <author>
        <name>Martin</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Finally, after digging deep..I managed to run the app successfully..jeje</p>

<p>What was missing was the jboss mysql connector. You can find info here:</p>

<p><a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAMysqlDatasource">http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAMysqlDatasource</a></p>

<p>Also, do not set a password to the root account of the mysql server! I have not idea why this was messing things up but after removing the password even the Functional Unit Test seemed to run ok. </p>

<p>I am a total newbie regarding maven, mysql, and jboss but I got the application to run after sweating for a day! hurrah! :D</p>]]>
    </content>
    <published>2008-01-31T16:07:05Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2014861</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2014861" />
    <title>Comment from Tony Hillerson on 2008-02-04</title>
    <author>
        <name>Tony Hillerson</name>
        <uri>http://thillerson.blogspot.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://thillerson.blogspot.com">
        <![CDATA[<p>@Martin - that's good to hear. It sounds like I need some errata posted up here. Can you contact me at this email so I can figure out exactly what went wrong?</p>]]>
    </content>
    <published>2008-02-04T16:43:04Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2014938</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2014938" />
    <title>Comment from Giridhar on 2008-02-06</title>
    <author>
        <name>Giridhar</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Excellet Article , Author gave  the global insight into  different flavours of technologies and how we can use these.</p>

<p>Hi Martin, </p>

<p>               I could able to build and deploy the application on jboss , getting the same error "Unable to Sign In"</p>

<p> Could you please explain how you resovled the this issue ?</p>

<p>   I have properly confgured the  database connection ... Am I missing some thing ??</p>

<p>   I will be waiting for the next part of the series....</p>

<p>Thanks,<br />
Giridhar </p>]]>
    </content>
    <published>2008-02-07T03:40:10Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2014995</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2014995" />
    <title>Comment from Mihir on 2008-02-09</title>
    <author>
        <name>Mihir</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Can somebody help me?</p>

<p>I get the following error when issuing the 'mvn package' commnad</p>

<p>load-schema:<br />
[ddlToDatabase] Read schema file C:\Eclipse\flex_projects\code\bookie-data\src\d<br />
ata\schema.xml<br />
[ddlToDatabase] Database platform MySQL does not support database creation via J<br />
DBC or there was an error while creating it: Database <br />
creation is not supported<br />
for the database platform MySQL<br />
Feb 9, 2008 8:03:11 PM org.apache.ddlutils.platform.PlatformImplBase evaluateBat<br />
ch</p>

<p>I dont know enough about MySQL or the DDLUtils.  </p>

<p>I also get a build failure error because the tests did not all pass.  Anybody else getting the same issue?</p>

<p>Thanks.</p>]]>
    </content>
    <published>2008-02-09T20:08:06Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2015005</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2015005" />
    <title>Comment from John on 2008-02-10</title>
    <author>
        <name>John</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>@Mihir <br />
checkout the bookie-data build file.  looks like mysql is not supported, thus the error.  It creates the schema just doesnt populate the data.  I Havent dug any deeper.</p>

<p>@Mauro<br />
Did you ever figure this out?  I am getting the EXACT same error.</p>]]>
    </content>
    <published>2008-02-10T17:19:11Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2015013</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2015013" />
    <title>Comment from Martin on 2008-02-10</title>
    <author>
        <name>Martin</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Folks, make sure your root mySQL account does not have password...this is how it is configured in the properties files in a few places. (you can try and find them all but that will be more tedious :P )</p>

<p>For the people getting the above error: Ignore it! :D The reason is that it tries to create a database called bookie but this is either not supported or since you created the bookie db already in the first step, it throws an error when seeing it exists, obviously.</p>

<p>Also, data is put in the database when running the tests so if you cant pass the tests your database will stay empty...</p>

<p>Hope I helped! :D<br />
</p>]]>
    </content>
    <published>2008-02-10T23:22:27Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2015026</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2015026" />
    <title>Comment from John on 2008-02-11</title>
    <author>
        <name>John</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>@Mauro</p>

<p>you need to have fds.swc under /frameworks/lib directory.</p>

<p>dont forget ds_rb.swc under /locale/en_US either.</p>]]>
    </content>
    <published>2008-02-11T17:39:15Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2015081</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2015081" />
    <title>Comment from ashok on 2008-02-12</title>
    <author>
        <name>ashok</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>i am getting the below error while building the package. I have installed log4j using maven, after I was getting the error, but it did not help. Did anybody else hit a similar issue?</p>

<p>============================================<br />
[INFO] Building Bookie Example Data Project<br />
[INFO]    task-segment: [package]<br />
[INFO] ------------------------------------------------------------------------<br />
[INFO] [resources:resources]<br />
[INFO] Using default encoding to copy filtered resources.<br />
[INFO] [antrun:run {execution: ant-data-tasks}]<br />
[INFO] Executing tasks</p>

<p>data-tasks:<br />
     [echo] Using Database at jdbc:mysql://localhost:3306/bookie</p>

<p>load-schema:<br />
[INFO] ------------------------------------------------------------------------<br />
[ERROR] BUILD ERROR<br />
[INFO] ------------------------------------------------------------------------<br />
[INFO] Error executing ant tasks</p>

<p>Embedded error: The following error occurred while executing this line:<br />
java.lang.NoClassDefFoundError: org/apache/log4j/Level<br />
[INFO] ------------------------------------------------------------------------<br />
[INFO] Trace<br />
============================================<br />
</p>]]>
    </content>
    <published>2008-02-12T16:55:37Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2015241</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2015241" />
    <title>Comment from Steve on 2008-02-15</title>
    <author>
        <name>Steve</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Ive been trying to get this to run for over a week now and keep getting the following.  Has anyone resolved this?</p>

<p>[MessagingError message='No service is configured to handle messages of type 'flex.data.messages.DataMessage'.']<br />
at mx.messaging.config::ServerConfig$/getServiceIdForMessage()<br />
at mx.data::Metadata()<br />
at mx.data::ConcreteDataService()<br />
at mx.data::ConcreteDataService$/getService()<br />
at mx.data.mxml::DataService/set destination()<br />
at lcds.examples.bookie.business::Services/_DataService1_i()<br />
at lcds.examples.bookie.business::Services()<br />
at index/_Services1_i()<br />
at index()<br />
at _index_mx_managers_SystemManager/create()<br />
at mx.managers::SystemManager/initializeTopLevelWindow()<br />
at mx.managers::SystemManager/docFrameHandler()</p>]]>
    </content>
    <published>2008-02-15T21:16:32Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2015270</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2015270" />
    <title>Comment from ashok on 2008-02-17</title>
    <author>
        <name>ashok</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>I finally got my application to run. I had to make a few changes though. </p>

<p>1. Added the following line to build.xml under code\bookie-data.<br />
</p>

<p>Without this, the compile was failing, with the error in my previous post.</p>

<p>2. I had to provide the password for the mysql in jdbc.properties.mysql present under code\bookie-data.</p>

<p>3. Also followed  Martin's advice(below) which i am pasting below<br />
"<br />
First, I commented out line 22 (parallel>true) in code/bookie-data/pom.xml. It was throwing java exceptions for some reason...<br />
"</p>]]>
    </content>
    <published>2008-02-17T20:42:40Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2015271</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2015271" />
    <title>Comment from ashok on 2008-02-17</title>
    <author>
        <name>ashok</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Hi Steve,<br />
Do you have the below tools installed under your repository.<br />
02/13/2008  09:38 PM              flex-bootstrap<br />
02/13/2008  09:38 PM              flex-messaging<br />
02/13/2008  09:38 PM              flex-messaging-common<br />
02/13/2008  09:38 PM              flex-messaging-opt<br />
02/13/2008  09:38 PM              flex-messaging-req</p>

<p>I think you are missing the LiveCycle Data Services. </p>]]>
    </content>
    <published>2008-02-17T20:47:03Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2015280</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2015280" />
    <title>Comment from Cyrill on 2008-02-18</title>
    <author>
        <name>Cyrill</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>I've got the same problem like steve.</p>

<p>@ashok: do you mean the jar libraries in path C:\dev\tools\jboss\jboss-4.2.2.GA\server\default\deploy\bookie.ear\bookie.war\WEB-INF\lib ?</p>

<p>if yes.. i have those installed.</p>]]>
    </content>
    <published>2008-02-18T09:34:26Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2015598</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2015598" />
    <title>Comment from MC on 2008-03-01</title>
    <author>
        <name>MC</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>is there a fix for this error?  I've not been able to resovle....  it seems that lcds are setup ok.</p>

<p>[MessagingError message='No service is configured to handle messages of type 'flex.data.messages.DataMessage'.']<br />
	at mx.messaging.config::ServerConfig$/getServiceIdForMessage()<br />
	at mx.data::Metadata()<br />
	at mx.data::ConcreteDataService()<br />
	at mx.data::ConcreteDataService$/getService()<br />
	at mx.data.mxml::DataService/set destination()<br />
	at lcds.examples.bookie.business::Services/_DataService1_i()<br />
	at lcds.examples.bookie.business::Services()<br />
	at index/_Services1_i()<br />
	at index()<br />
	at _index_mx_managers_SystemManager/create()<br />
	at mx.managers::SystemManager/initializeTopLevelWindow()<br />
	at mx.managers::SystemManager/docFrameHandler()</p>

<p><br />
</p>]]>
    </content>
    <published>2008-03-01T14:30:38Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2015655</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2015655" />
    <title>Comment from Paul W on 2008-03-05</title>
    <author>
        <name>Paul W</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>In case anyone got the Interface IBindingClient was not found error, you need to download the lastest flex sdk and copy the jars under lib directory in the zip and overwrite those in your flex sdk dir.</p>]]>
    </content>
    <published>2008-03-05T12:15:51Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2015656</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2015656" />
    <title>Comment from Paul W on 2008-03-05</title>
    <author>
        <name>Paul W</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Anybody got this error "That card number was not found"? </p>

<p>I query the books table and people table, and both row counts are zero, there must be a sql script somewhere that inserts the data...</p>]]>
    </content>
    <published>2008-03-05T13:33:51Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2015663</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2015663" />
    <title>Comment from Tony Hillerson on 2008-03-05</title>
    <author>
        <name>Tony Hillerson</name>
        <uri>http://thillerson.blogspot.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://thillerson.blogspot.com">
        <![CDATA[<p>@Paul W - Running the tests should leave the sample data in the database, is this not what you're seeing?</p>]]>
    </content>
    <published>2008-03-05T15:55:38Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2015672</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2015672" />
    <title>Comment from Paul W on 2008-03-05</title>
    <author>
        <name>Paul W</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Thanks Tony, whew! I finally got it working, what i found out was that, do not comment out the line 16 to 25 in code/bookie-data/src/test/resources/testng.xml, cos that have to do with inserting the data into the tables. And with that uncommented out, errors will be thrown becos i set a password for root login on mysql. so to reset the password, do a login to mysql, and do SET PASSWORD = PASSWORD('') to clear the root password, that will essentially fix all the problems.</p>

<p>Jboss is still throwing some exceptions, but i think those are related to jms queues table setup, which can be ignored i think.</p>]]>
    </content>
    <published>2008-03-05T22:09:38Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2016116</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2016116" />
    <title>Comment from Cyrill on 2008-03-25</title>
    <author>
        <name>Cyrill</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>I tried this tutorial a second time from 0 but at the end I received again the error:</p>

<p>[MessagingError message='No service is configured to handle messages of type 'flex.data.messages.DataMessage'.']</p>

<p>I have the all the flex jar files in the follwing 2 directories.</p>

<p>....jboss-4.2.2.GA\server\default\deploy\bookie.ear\bookie.war\WEB-INF\flex\jars<br />
....jboss-4.2.2.GA\server\default\deploy\bookie.ear\bookie.war\WEB-INF\lib</p>

<p><br />
Is this problem a jboss issue?.. Which JBoss version do you recommend?</p>

<p>Cyrill</p>]]>
    </content>
    <published>2008-03-25T09:41:16Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2016344</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2016344" />
    <title>Comment from Vol on 2008-04-03</title>
    <author>
        <name>Vol</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>"you need to have fds.swc under /frameworks/lib directory.</p>

<p>dont forget ds_rb.swc under /locale/en_US either."</p>

<p>   But where to get them ?</p>]]>
    </content>
    <published>2008-04-03T14:30:02Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2016585</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2016585" />
    <title>Comment from Steve on 2008-04-15</title>
    <author>
        <name>Steve</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>With all the hoops and errors that everyone seems to have to address, why not update the article and files so everyone else new to the article won't have to fight their way through them???</p>

<p>Thanks to all who have posted various work arounds to the errors and incorrect files!</p>]]>
    </content>
    <published>2008-04-15T13:24:32Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2016596</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2016596" />
    <title>Comment from Steve Bick on 2008-04-15</title>
    <author>
        <name>Steve Bick</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>This is ridiculous! I've spent way too much time trying to get the app just to compile. </p>

<p>I'm running into the same problem as above re: <br />
IBindingClient was not found error</p>

<p>I have the release version of Flex SDK 3, verified the paths and jar files. I still get the error. Did something change from the beta version of Flex 3 to the release that would prevent this from compiling?</p>]]>
    </content>
    <published>2008-04-15T15:58:57Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2016600</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2016600" />
    <title>Comment from Roberto Cota on 2008-04-15</title>
    <author>
        <name>Roberto Cota</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>@Steve: I had the same problem, use the v2.0.1 SDK to compile. Change the mxml.project.properties file to point to the right SDK, mine is:</p>

<p>flex.sdk.bin.dir=C:/Program Files/Adobe/Flex Builder 3/sdks/2.0.1/bin</p>

<p>I agree with Steve, I'm having lots of problems, specifically with the "No service is configured to handle.." issue. I hit a wall on that one...</p>]]>
    </content>
    <published>2008-04-15T20:03:39Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2016703</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2016703" />
    <title>Comment from Peter Delaney on 2008-04-21</title>
    <author>
        <name>Peter Delaney</name>
        <uri>http://www.putnam.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.putnam.com">
        <![CDATA[<p>Hello;  I am having a problem with mvn package;  actually the problem is with the ant task "compile-index" that gets called by maven.</p>

<p>If I execute ant compile-index in the bookie-ui directory I get the following error message:</p>


<i>
C:\Temp\FlexExample\code\bookie-ui\build.xml:33: Execute failed: java.io.IOException: CreateProcess: C:\tools\flex3\bin\mxmlc -context-root /bookie -load-config C:\Temp\FlexExample\code\bookie-ui\src\main\bookie.war\WEB-INF\flex\flex-config.xml -services C:\Temp\FlexExample\code\bookie-ui\src\main\bookie.war\WEB-INF\flex\services-config.xml index.mxml error=193
</i>


<p><br />
The mxmlc compiler is complaining about the index.mxml file.   </p>

<p>Does nayone have any ideas?</p>]]>
    </content>
    <published>2008-04-22T00:53:03Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2017239</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2017239" />
    <title>Comment from christophe on 2008-05-19</title>
    <author>
        <name>christophe</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Hello,</p>

<p>I manage to compile, test, package and deploy but when I try the url I have the same problem than some other :<br />
[MessagingError message='No service is configured to handle messages of type 'flex.data.messages.DataMessage'.']<br />
at mx.messaging.config::ServerConfig$/getServiceIdForMessage()<br />
at mx.data::Metadata()<br />
at mx.data::ConcreteDataService()<br />
at mx.data::ConcreteDataService$/getService()<br />
at mx.data.mxml::DataService/set destination()<br />
at lcds.examples.bookie.business::Services/_DataService1_i()<br />
at lcds.examples.bookie.business::Services()<br />
at index/_Services1_i()<br />
at index()<br />
at _index_mx_managers_SystemManager/create()<br />
at mx.managers::SystemManager/initializeTopLevelWindow()<br />
at mx.managers::SystemManager/docFrameHandler()</p>

<p>Can you help me please ?</p>]]>
    </content>
    <published>2008-05-19T20:01:13Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2017412</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2017412" />
    <title>Comment from Roberto Cota on 2008-05-28</title>
    <author>
        <name>Roberto Cota</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Looks like no one can help with this one....</p>]]>
    </content>
    <published>2008-05-28T20:04:55Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2017545</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2017545" />
    <title>Comment from jim jones on 2008-06-04</title>
    <author>
        <name>jim jones</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>I'm having a problem.</p>

<p>The "mvn package" command seems to work fine... downloads a bunch of stuff.. but it fails at the end on the tests.</p>

<p>the directories created when I unzipped the repositories are (my userid is "administrator") are...</p>

<p>(there are 4 of them)<br />
-----------------------------<br />
C:\Documents and Settings\Administrator\.m2\repository\com<br />
C:\Documents and Settings\Administrator\.m2\repository\org<br />
C:\Documents and Settings\Administrator\.m2\repository\commons-betwixt<br />
C:\Documents and Settings\Administrator\.m2\repository\microcontainer</p>

<p>what im noticing is that there is no EAR file that's been built so then of course the ANT build fails.. and there s nothing in the C:\projects\bookie-ear directory except for the pom.xml file.</p>

<p>Am I missing something?</p>

<p>the other thing is that I'm pointing to this location for my mxml compiler... C:/Program Files/Adobe/Flex Builder 3 Plug-in/sdks/3.0.0/bin</p>]]>
    </content>
    <published>2008-06-04T19:29:06Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2017800</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2017800" />
    <title>Comment from Mary on 2008-06-12</title>
    <author>
        <name>Mary</name>
        <uri>http://www.orlandoinfo.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.orlandoinfo.com">
        <![CDATA[<p>Hi,<br />
  I was able to build the project using Maven<br />
  I also was able to run and deploy it with Ant.<br />
  <br />
  I am getting a STATUS 404 error when I type in <a href="http://localhost:8080/bookie">http://localhost:8080/bookie</a> into the browser. (The requested resource /bookie is not available.)</p>

<p>  The JBoss App Server is up because the main JBoss page comes up.(http://localhost:8080)</p>

<p>  Any suggestions are welcome. Thanks!</p>

<p>Mary</p>]]>
    </content>
    <published>2008-06-12T21:44:58Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2017824</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2017824" />
    <title>Comment from Giridhar on 2008-06-13</title>
    <author>
        <name>Giridhar</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Hi Guys,</p>

<p>       I guess every one can build this application using FLEX 2.01 COMPILER . its pretty straight.<br />
   <br />
  But I want use the latest SDK Flex3, then I ran into lot of problems. <br />
   <br />
     here is the right way to build with Flex3, If you use Flex3 sdk , you will certainly see this beatutiful error<br />
  <br />
"IBindingClient was not found error"</p>

<p>Now pl follow the bellow step if you want compile successfully,</p>

<p><br />
1. download Lastes LCDS , i have downloaded the LCDS2.5.1 edtion.</p>

<p>2. I guess you alaredy downloaded the latest Flex3 SDK, if not download it and unzip it some where on the disk<br />
 <br />
   doesnt matter where it is .</p>

<p>3. Now goto the  folder where you have downloaded the enterprise-flex-code.zip, </p>

<p>I have unzipped in "enterprise-flex-code"</p>

<p>   goto the folder where you have Flex3 SDK,<br />
 I have on  "flex_sdk_3.0.0.477"<br />
          goto "flex_sdk_3.0.0.477\frameworks\libs"</p>

<p>copy flex.swc, framework.swc,, rpc.swc, utilities.swc files to below folder </p>

<p>enterprise-flex-code\code\bookie-ui\src\main\bookie.war\WEB-INF\flex\libs</p>

<p>4.   Now you need fds.swc file , which you will find in LCDS2.5.1 installation.<br />
 To get this I have downloaded LCDS2.5.1<br />
Now this is the time to goto the folder where LCDS2.5.1 instaled , I have on c:\lcds</p>

<p>  you will find flex.war, deploy on jboss server , goto the tmp floder of jboss, you will find the file fds.swc</p>

<p>On my box, location is </p>

<p>jboss-4.2.2.GA\server\default\tmp\deploy\tmp1905flex-exp.war\WEB-INF\flex\libs</p>

<p>Now copy fds.swc to </p>

<p>enterprise-flex-code\code\bookie-ui\src\main\bookie.war\WEB-INF\flex\libs<br />
  <br />
5. you are good with fds, but if you compile now you get strange error locale issue "en_US"<br />
To fix this, you need  copy </p>

<p>framework_rb.swc, rpc_rb.swc from </p>

<p>"flex_sdk_3.0.0.477\frameworks\locale\en_US"</p>

<p>to</p>

<p>"enterprise-flex-code\code\bookie-ui\src\main\bookie.war\WEB-INF\flex\locale\en_US"</p>

<p>6. Now copy "fds_rb.swc"  from </p>

<p>jboss-4.2.2.GA\server\default\tmp\deploy\tmp1905flex-exp.war\WEB-INF\flex\locale\en_US</p>

<p>to <br />
enterprise-flex-code\code\bookie-ui\src\main\bookie.war\WEB-INF\flex\locale\en_US</p>

<p>You are all set now </p>

<p>6. JUST RUN "mvn package"</p>

<p>it will build successfully</p>

<p>thnks<br />
Giridhar </p>]]>
    </content>
    <published>2008-06-13T19:27:53Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2018449</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2018449" />
    <title>Comment from Sal on 2008-07-01</title>
    <author>
        <name>Sal</name>
        <uri>http://n/a</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://n/a">
        <![CDATA[<p>Hi everyone!</p>

<p>My friend and I got the book and have been dealing for a while trying to find out how to get this bookie example working and as most people here our build fail after countless tries. We've got to the point of having almost everything installed (not without pain) although We are not Java pros unfortunately even though we are somewhat experienced in Flex/Flash, and... although on the bright side both of us never, never, never give up ;)</p>

<p>Now on our macmini running WINXP SP2 we have the following configuration (some stuff may be irrelevant here but we figured would be good to mention for completion's sake): <br />
1) Maven 2.0.9, <br />
2) Ant-1.7.0, <br />
3) Embedded Jboss beta3, <br />
4) Jboss 4.2.2.GA,  <br />
5) LCDS 2.6 Beta,<br />
6) Flex 3 SDK,<br />
7) Eclipse JEE Ganymede,<br />
8) Adobe Flex Builder 3 Plugin for Eclipse (TRIAL),<br />
9) JDK 1.5.0_15,<br />
10) JRE 1.5.0_15 (why we have this I don't know :P since we installed 1.6.0_06)<br />
11) JRE 1.6.0_06,<br />
12) VisualSVN 1.5, <br />
13) Apache 2.2.9, <br />
14) MySQL 5.0.51b<br />
15) MySQL gui-tools noinstall 5.0 r12<br />
16) PHP 5.2.6, <br />
17) FileZilla Server version 0.9.25 beta,</p>

<p>I guess we have all I need (and some more) to go through Tony's e-book, unfortunately we had no much luck until now.. partially for inexperience, and partially because the instructions are not exactly clear (to us at least). Several points are confusing... <br />
To give you just one example of a confusing instance: in part 1 there is no mention about adding a Path in environment  variables for mxmlc that's why when typing mxmlc --version in DOS prompt kept failing. To a seasoned programmer this may be a "Duh!", for us... not yet :)</p>

<p>Usually we keep going over everything, trying to get it right hoping not to hit a brick wall, but I guess and at this point we are facing a quite tall and thick brick wall :(.<br />
It's good to see that even advanced users are having problem, we started to think we were the only once having problems with the building process ;P. </p>

<p>So after all the pain, and the days of reading all we could get our eyes on, we are still  stuck with maven reporting a build failure, complaining about 5 missing dependencies:</p>

<p>1) com.adobe.flex2:flex-bootstrap:jar:2.0.1<br />
2) com.adobe.flex2:flex-messaging:jar:2.0.1<br />
3) com.adobe.flex2:flex-messaging-common:jar:2.0.1<br />
4) com.adobe.flex2:flex-messaging-opt:jar:2.0.1<br />
5) com.adobe.flex2:flex-messaging-req:jar:2.0.1</p>

<p>Our problem is that we do not know how to solve this missing dependencies being completelyu new to maven/ant and we do not know how to deploy LCDS to JBOSS (jsut copy the war file somewhere in the JBOSS folers, shouldn't some xml have info about that war file?)</p>

<p>If anyone has a pointer to help us move forward, we would really appreciate it... thank you everyone!</p>

<p>Best<br />
Sal</p>]]>
    </content>
    <published>2008-07-02T04:58:51Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2018492</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2018492" />
    <title>Comment from Sal on 2008-07-04</title>
    <author>
        <name>Sal</name>
        <uri>http://n/a</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://n/a">
        <![CDATA[<p>Thanks for the help Giridhar, we followed the instruction to the T (we even removed LCDS 2.6 Beta2 and installed 2.5.1) but the build was still NOT successful and this is the 3rd week we are dealing with MR. Hillerson (who's MIA when it comes to helping about problems related to his book). We still get the same error where maven is reporting the error "Failed to resolve artifact" related to:</p>

<p>com.adobe.flex2:flex-bootstrap:jar:2.0.1<br />
com.adobe.flex2:flex-messaging:jar:2.0.1<br />
com.adobe.flex2:flex-messaging-common:jar:2.0.1<br />
com.adobe.flex2:flex-messaging-opt:jar:2.0.1<br />
com.adobe.flex2:flex-messaging-req:jar:2.0.1</p>

<p>If anyone has any info to get this example going please share it with the community. Would be much appreciated!<br />
Thanks!</p>

<p>PS: we tried to do an mvn install: install file as the command line suggests in the reported failure below but did not work yielding to the Nth "build failure" report from maven.</p>

<p>This is the (almost) entire report from command line (if it helps):</p>

<p>Missing:<br />
----------<br />
1) com.adobe.flex2:flex-bootstrap:jar:2.0.1</p>

<p>  Try downloading the file manually from the project website.</p>

<p>  Then, install it using the command:<br />
      mvn install:install-file -DgroupId=com.adobe.flex2 -DartifactId=flex-bootstrap -Dversion=2.0.1 -Dpackaging=jar -Dfile=/path/to/file</p>

<p>  Alternatively, if you host your own repository you can deploy the file there:<br />
      mvn deploy:deploy-file -DgroupId=com.adobe.flex2 -DartifactId=flex-bootstrap -Dversion=2.0.1 -Dpackaging=jar -Dfile=/path/to/file -Dur<br />
l=[url] -DrepositoryId=[id]</p>

<p>  Path to dependency:<br />
        1) lcds.examples.bookie:bookie-ui:war:1.0-SNAPSHOT<br />
        2) com.adobe.flex2:flex-bootstrap:jar:2.0.1</p>

<p>2) com.adobe.flex2:flex-messaging:jar:2.0.1</p>

<p>  Try downloading the file manually from the project website.</p>

<p>  Then, install it using the command:<br />
      mvn install:install-file -DgroupId=com.adobe.flex2 -DartifactId=flex-messaging -Dversion=2.0.1 -Dpackaging=jar -Dfile=/path/to/file</p>

<p>  Alternatively, if you host your own repository you can deploy the file there:<br />
      mvn deploy:deploy-file -DgroupId=com.adobe.flex2 -DartifactId=flex-messaging -Dversion=2.0.1 -Dpackaging=jar -Dfile=/path/to/file -Dur<br />
l=[url] -DrepositoryId=[id]</p>

<p>  Path to dependency:<br />
        1) lcds.examples.bookie:bookie-ui:war:1.0-SNAPSHOT<br />
        2) com.adobe.flex2:flex-messaging:jar:2.0.1</p>

<p>3) com.adobe.flex2:flex-messaging-common:jar:2.0.1</p>

<p>  Try downloading the file manually from the project website.</p>

<p>  Then, install it using the command:<br />
      mvn install:install-file -DgroupId=com.adobe.flex2 -DartifactId=flex-messaging-common -Dversion=2.0.1 -Dpackaging=jar -Dfile=/path/to/<br />
file</p>

<p>  Alternatively, if you host your own repository you can deploy the file there:<br />
      mvn deploy:deploy-file -DgroupId=com.adobe.flex2 -DartifactId=flex-messaging-common -Dversion=2.0.1 -Dpackaging=jar -Dfile=/path/to/fi<br />
le -Durl=[url] -DrepositoryId=[id]</p>

<p>  Path to dependency:<br />
        1) lcds.examples.bookie:bookie-ui:war:1.0-SNAPSHOT<br />
        2) com.adobe.flex2:flex-messaging-common:jar:2.0.1</p>

<p>4) com.adobe.flex2:flex-messaging-opt:jar:2.0.1</p>

<p>  Try downloading the file manually from the project website.</p>

<p>  Then, install it using the command:<br />
      mvn install:install-file -DgroupId=com.adobe.flex2 -DartifactId=flex-messaging-opt -Dversion=2.0.1 -Dpackaging=jar -Dfile=/path/to/fil<br />
e</p>

<p>  Alternatively, if you host your own repository you can deploy the file there:<br />
      mvn deploy:deploy-file -DgroupId=com.adobe.flex2 -DartifactId=flex-messaging-opt -Dversion=2.0.1 -Dpackaging=jar -Dfile=/path/to/file<br />
-Durl=[url] -DrepositoryId=[id]</p>

<p>  Path to dependency:<br />
        1) lcds.examples.bookie:bookie-ui:war:1.0-SNAPSHOT<br />
        2) com.adobe.flex2:flex-messaging-opt:jar:2.0.1</p>

<p>5) com.adobe.flex2:flex-messaging-req:jar:2.0.1</p>

<p>  Try downloading the file manually from the project website.</p>

<p>  Then, install it using the command:<br />
      mvn install:install-file -DgroupId=com.adobe.flex2 -DartifactId=flex-messaging-req -Dversion=2.0.1 -Dpackaging=jar -Dfile=/path/to/fil<br />
e</p>

<p>  Alternatively, if you host your own repository you can deploy the file there:<br />
      mvn deploy:deploy-file -DgroupId=com.adobe.flex2 -DartifactId=flex-messaging-req -Dversion=2.0.1 -Dpackaging=jar -Dfile=/path/to/file<br />
-Durl=[url] -DrepositoryId=[id]</p>

<p>  Path to dependency:<br />
        1) lcds.examples.bookie:bookie-ui:war:1.0-SNAPSHOT<br />
        2) com.adobe.flex2:flex-messaging-req:jar:2.0.1</p>

<p>----------<br />
5 required artifacts are missing.</p>

<p>for artifact:<br />
  lcds.examples.bookie:bookie-ui:war:1.0-SNAPSHOT</p>

<p>from the specified remote repositories:<br />
  central (http://repo1.maven.org/maven2)</p>

<p><br />
[INFO] ------------------------------------------------------------------------<br />
[INFO] For more information, run Maven with the -e switch<br />
[INFO] ------------------------------------------------------------------------<br />
[INFO] Total time: 25 seconds<br />
[INFO] Finished at: Fri Jul 04 15:39:01 EDT 2008<br />
[INFO] Final Memory: 14M/26M<br />
[INFO] ------------------------------------------------------------------------</p>

<p>C:\projects\bookie\code> </p>]]>
    </content>
    <published>2008-07-04T20:01:32Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2018572</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2018572" />
    <title>Comment from Adam on 2008-07-08</title>
    <author>
        <name>Adam</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>To resolve the problems with missing the "com.adobe.flex2*" jars simply rename your maven repository directory ".m2\repository\com\adobe\flex" to ".m2\repository\com\adobe\flex2" as there is a mismatch between the directory in the project zip file and the bookie-ui/pom.xml</p>]]>
    </content>
    <published>2008-07-08T21:15:32Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2018689</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2018689" />
    <title>Comment from Adelbert on 2008-07-12</title>
    <author>
        <name>Adelbert</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Still same problems (MessagingError ... DataMessage...)<br />
that were mentioned above here.</p>

<p>Error msg: see below.</p>

<p>Even after solving the build issues <br />
and putting fds.swc & fds_rb.swc at the right place</p>

<p>When putting the contents of src/flex <br />
(index.mxml, lcds dir,etc.) at the web application <br />
root, the flex web-tier compiler does his work <br />
and the resulting index.swf works!</p>

<p>So it is a problem with the flex compiler phase<br />
in the ant build.xml file.</p>

<p>Anyone who knows how to solve the build?</p>

<p>The issue must be with the build snippet shown below...</p>

<p>Regards,<br />
Adelbert</p>

<p>error msg:<br />
--------------<br />
[MessagingError message='No service is configured to handle messages of type 'flex.data.messages.DataMessage'.']<br />
	at mx.messaging.config::ServerConfig$/getServiceIdForMessage()<br />
	at mx.data::Metadata()<br />
	at mx.data::ConcreteDataService()<br />
	at mx.data::ConcreteDataService$/getService()<br />
	at mx.data.mxml::DataService/set destination()<br />
	at lcds.examples.bookie.business::Services/_DataService1_i()</p>

<p>build snippet:<br />
-------------------<br />
<br />
			<br />
			<br />
			<br />
			<br />
			<br />
			<br />
			<br />
		</p>]]>
    </content>
    <published>2008-07-12T14:41:17Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2018690</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2018690" />
    <title>Comment from Adelbert on 2008-07-12</title>
    <author>
        <name>Adelbert</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>the build snippet:</p>

<pre>

			
			
			
			
			
			
			
		
</pre>]]>
    </content>
    <published>2008-07-12T14:49:35Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2019453</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2019453" />
    <title>Comment from Silvano on 2008-07-30</title>
    <author>
        <name>Silvano</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Hello,</p>

<p>I'm having the unresolved problem of..</p>

<p>[MessagingError message='No service is configured to handle messages of type 'flex.data.messages.DataMessage'.']<br />
at mx.messaging.config::ServerConfig$/getServiceIdForMessage()<br />
at mx.data::Metadata()<br />
at mx.data::ConcreteDataService()<br />
at mx.data::ConcreteDataService$/getService()<br />
at mx.data.mxml::DataService/set destination()<br />
at lcds.examples.bookie.business::Services/_DataService1_i()<br />
at lcds.examples.bookie.business::Services()<br />
at index/_Services1_i()<br />
at index()<br />
at _index_mx_managers_SystemManager/create()<br />
at mx.managers::SystemManager/initializeTopLevelWindow()<br />
at mx.managers::SystemManager/docFrameHandler()</p>

<p>Can somebody help ?</p>]]>
    </content>
    <published>2008-07-31T04:18:58Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2020792</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2020792" />
    <title>Comment from Austin Dimmer on 2008-08-17</title>
    <author>
        <name>Austin Dimmer</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Hi Guys, I seem to get a new error! If anyone has any suggestions as to what to try, I would be much obliged!</p>

<p>-------------------------------------------------------------------------------<br />
Test set: TestSuite<br />
-------------------------------------------------------------------------------<br />
Tests run: 16, Failures: 1, Errors: 0, Skipped: 15, Time elapsed: 3.16 sec 
startEmbeddedJBoss(lcds.examples.bookie.entity.TestCrud)  Time elapsed: 0 sec  
java.lang.RuntimeException: java.util.zip.ZipException: The system cannot find the path specified<br />
	at org.jboss.util.file.JarArchiveBrowser.(JarArchiveBrowser.java:55)<br />
	at org.jboss.util.file.ArchiveBrowser.getBrowser(ArchiveBrowser.java:52)<br />
	at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:370)<br />
	at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:350)<br />
	at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:305)<br />
	at org.jboss.ejb3.embedded.EJB3StandaloneDeployer.create(EJB3StandaloneDeployer.java:440)<br />
	at lcds.examples.bookie.BaseEJBTest.startEmbeddedJBoss(BaseEJBTest.java:32)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
	at java.lang.reflect.Method.invoke(Method.java:585)<br />
	at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:552)<br />
	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:322)<br />
	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:156)<br />
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:223)<br />
	at org.testng.SuiteRunner.run(SuiteRunner.java:145)<br />
	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:901)<br />
	at org.testng.TestNG.runSuitesLocally(TestNG.java:863)<br />
	at org.testng.TestNG.run(TestNG.java:613)<br />
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:74)<br />
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)<br />
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
	at java.lang.reflect.Method.invoke(Method.java:585)<br />
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)<br />
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)<br />
Caused by: java.util.zip.ZipException: The system cannot find the path specified<br />
	at java.util.zip.ZipFile.open(Native Method)<br />
	at java.util.zip.ZipFile.(ZipFile.java:203)<br />
	at java.util.zip.ZipFile.(ZipFile.java:234)<br />
	at org.jboss.util.file.JarArchiveBrowser.(JarArchiveBrowser.java:50)<br />
	... 27 more</p>]]>
    </content>
    <published>2008-08-18T02:43:30Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2020938</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2020938" />
    <title>Comment from rico on 2008-08-21</title>
    <author>
        <name>rico</name>
        <uri>http://www.schneider-webanwendungen.de</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.schneider-webanwendungen.de">
        <![CDATA[<p>If I try to load the URL <a href="http://localhost:8080/bookie">http://localhost:8080/bookie</a> the swf file doesn't load completely. I see only the flex preloader and then the site hang up. JBoss is running correctly. I can successful connect to the mysql bookie db. If I call the swf file directly with the url file:///D:/Tools/jboss/server/default/deploy/bookie.ear/bookie.war/index.html or .../admin.html I see the correct flex-ui and the admin call shows the correctly filled db tables. But I can't log in. I think something is wrong with the folder hierarchie under the jboss deploy path. The JBoss server logs are fine. Here are my two property configuration files:</p>

<p>mxml.project.properties<br />
flex.sdk.bin.dir=D:/Adobe/Flex Builder 2 Plug-in/Flex SDK 2/bin<br />
deploy.dir=D:/Tools/jboss/server/default/deploy/bookie.ear/bookie.war/</p>

<p>and in</p>

<p>development.properties<br />
jboss.deploy.dir=D:/Tools/jboss/server/default/deploy</p>

<p>What is wrong?</p>]]>
    </content>
    <published>2008-08-21T22:53:02Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2020939</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2020939" />
    <title>Comment from rico on 2008-08-21</title>
    <author>
        <name>rico</name>
        <uri>http://www.schneider-webanwendungen.de</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.schneider-webanwendungen.de">
        <![CDATA[<p>If I try to load the URL <a href="http://localhost:8080/bookie">http://localhost:8080/bookie</a> the swf file doesn't load completely. I see only the flex preloader and then the site hang up. JBoss is running correctly. I can successful connect to the mysql bookie db. If I call the swf file directly with the url file:///D:/Tools/jboss/server/default/deploy/bookie.ear/bookie.war/index.html or .../admin.html I see the correct flex-ui and the admin call shows the correctly filled db tables. But I can't log in. I think something is wrong with the folder hierarchie under the jboss deploy path. The JBoss server logs are fine. Here are my two property configuration files:</p>

<p>mxml.project.properties<br />
flex.sdk.bin.dir=D:/Adobe/Flex Builder 2 Plug-in/Flex SDK 2/bin<br />
deploy.dir=D:/Tools/jboss/server/default/deploy/bookie.ear/bookie.war/</p>

<p>and in</p>

<p>development.properties<br />
jboss.deploy.dir=D:/Tools/jboss/server/default/deploy</p>

<p>What is wrong?</p>]]>
    </content>
    <published>2008-08-21T22:55:38Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2044261</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2044261" />
    <title>Comment from H on 2008-10-14</title>
    <author>
        <name>H</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Hello everyone,I bought this e-book a week ago. As everyone, Ive been struggling with the project setup.</p>

<p>The above answers were very helpful. Unfortunately as I solve problems, new ones keep popping up. I dont know if anyone had got this error yet. </p>

<p>Its concerning a flex-config file unable to open en-CA from locale .</p>

<p>Toni??? any ideas?anyone?</p>]]>
    </content>
    <published>2008-10-15T05:11:29Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22710-comment:2049453</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22710" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/01/running-the-sample-code-last.html#comment-2049453" />
    <title>Comment from charles on 2008-12-23</title>
    <author>
        <name>charles</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>@rico <br />
I also got the blank app, and to resolve it I use the flex3 sdk and updated the libs in the bookie app (see directions above). I had originally taken the easier path of using flex2, but I think lcds 2.51 needs flex 3</p>

<p>Although sometimes a bit terse, all the steps needed to resolve problems I encountered where in the comments here (thanks all!). I suggest tackling them one by one and you should get through it fine.</p>

<p>hth<br />
charles</p>]]>
    </content>
    <published>2008-12-23T15:03:52Z</published>
  </entry>

</feed
