Errata

Agile Enterprise Application Development with Flex

Errata for Agile Enterprise Application Development with Flex

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
00
00

Despite worked hard to run examples a couple of days ,I couldn't
I couldn't get it to see my mysql database. There are couple of properties files which define mysql datasource

Ramazan  Jul 24, 2009 
Printed Page 1
1

The associated download material with this book does not work.
After spending several evenings installing all of the required applications it was very disappointing to discover that the supplied code with this shortcut contains numerous bugs.

Please upload some amended source code examples as soon as possible.

Anonymous   
7
Run Maven Build fails

The download materials fail to build. The TESTS fail with the following error:

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
org.apache.maven.surefire.booter.SurefireExecutionException: Cannot set option parallel with value true; nested exception is java.lang.reflect.InvocationTargetException: null; nested exception is org.apache.maven.surefire.util.NestedRuntimeException: Cannot set option parallel with value true; nested exception is java.
lang.reflect.InvocationTargetException: null
org.apache.maven.surefire.util.NestedRuntimeException: Cannot set option parallel with value true; nested exception is java.lang.reflect.InvocationTargetException: null

Anonymous  Jul 02, 2008 
7
Run maven build

Unable to run mvn package successfully. First, I had to manually download ddlutils-10.jar and install in my local maven repository. None of the POM files in the code contain a dependency to ddlutils.

Then, when I ran mvn package in the root, I get the following error:

T E S T S
-------------------------------------------------------
Running TestSuite
org.apache.maven.surefire.booter.SurefireExecutionException: Cannot set option parallel with value t
rue; nested exception is java.lang.reflect.InvocationTargetException: null; nested exception is org.
apache.maven.surefire.util.NestedRuntimeException: Cannot set option parallel with value true; neste
d exception is java.lang.reflect.InvocationTargetException: null
org.apache.maven.surefire.util.NestedRuntimeException: Cannot set option parallel with value true; n
ested exception is java.lang.reflect.InvocationTargetException: null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.testng.conf.AbstractDirectConfigurator$Setter.invoke(AbstractDi
rectConfigurator.java:117)
at org.apache.maven.surefire.testng.conf.AbstractDirectConfigurator.configure(AbstractDirect
Configurator.java:63)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:71)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:33
8)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Caused by: java.lang.NullPointerException
at org.testng.TestNG.setParallel(TestNG.java:347)
... 15 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to C:\Users\Glenn\usr\local\code\bookie-data\target\surefire-reports for the individual
test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to C:\Users\Glenn\usr\local\code\bookie-data\target\surefire-reports for the individual
test results.
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor
.java:579)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec
ycleExecutor.java:499)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.
java:478)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL
ifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE
xecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to C:\Users\Glenn\usr\local\code\bookie-data\target\surefire-reports for the individual
test results.
at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor
.java:558)
... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Thu Oct 22 14:33:15 PDT 2009
[INFO] Final Memory: 12M/22M
[INFO] ------------------------------------------------------------------------

Glenn Silverman  Oct 22, 2009 
Printed Page 40
6.6.4, Session Beans, 2nd para, line 6

"The stateful beans will act as Data Access Objects" should instead be "The stateless beans will act as Data Access Objects"

Anonymous