flexunit 4.1 B3 Ant task fails to run Air-based tests

Folks,
I am using FlexUnit4.1 Beta 3 and am seeing the <flexunit> Ant task fail when running tests that use the Air libraries. The project in question used to test just fine with version 4.0 earlier this year, but I just dusted it off after a branch change and tried re-running with 4.1and started seeing the failure.Here is the relevant console output:
[com.djte.library:flexunit] Validating task attributes ...
[com.djte.library:flexunit] Generating default values ...
[com.djte.library:flexunit] Using default working dir [C:\EclipseWorkspace3.5\report.renderer_tests_2\Source\Flex]
[com.djte.library:flexunit] Using the following settings for the test run:
[com.djte.library:flexunit]     FLEX_HOME: [C:\iFABS_DE\dev\vert-d3flxcmn24\204100.32.0.20100926233508_d3flxcmn24]
[com.djte.library:flexunit]     haltonfailure: [false]
[com.djte.library:flexunit]     headless: [false]
[com.djte.library:flexunit]     display: [99]
[com.djte.library:flexunit]     localTrusted: [true]
[com.djte.library:flexunit]     player: [air]
[com.djte.library:flexunit]     port: [1024]
[com.djte.library:flexunit]     swf: [C:\EclipseWorkspace3.5\report.renderer_tests_2\build\report.renderer.tests.unit.swf]
[com.djte.library:flexunit]     timeout: [1800000ms]
[com.djte.library:flexunit]     toDir: [C:\EclipseWorkspace3.5\report.renderer_tests_2\build\reports\xml]
[com.djte.library:flexunit] Setting up server process ...
[com.djte.library:flexunit] Starting server ...
[com.djte.library:flexunit] OS: [Windows]
[com.djte.library:flexunit] Opening server socket on port [1024].
[com.djte.library:flexunit] Waiting for client connection ...
[com.djte.library:flexunit] Launching player:
[com.djte.library:flexunit] Found AIR version: 1.5
BUILD FAILED
C:\public\JavaTools\DJTE\latest\DjteLibrary\library.xml:57: The following error occurred while executing this line:
: Error launching the test runner.
The error message is not very specific... The last output seen before the failure is "Found AIR version: 1.5". This makes me wonder if the problem is related to how I have Air installed on my Windows XP machine. Come to think of it, I am not sure exactly how the host machine should be configured to run FlexUnit tests that require Air.  Do I really need Air to be installed?  I have Air 2.0.3.13070 installed, but the <flexunit> task thinks it found version 1.5 - hmmm...  I also have the debug Flash 10 player, and SWF appplications are configued to run using this player. Flex tests run fine, just not Air tests.  What am I missing?
I see that 4.1 RC1 is now out, so I will grab that and give it a try.
If anyone who tests air more often has any advice - I am all ears!
Thanks,
Trevor

Thanks for your responses, Brian!
Yes, I think I see the immediate problem.  The problem is that there is no Air runtime in our customized Flex SDK (based on 3.2), even though it appears to have the Air compile libraries. I had been attempting to use this custom SDK to run FlexUnit with, and I think that needs to change.
Why was I doing this?
Well, I had tripped over some problems with 4.1 earlier on when I attempted to run it without having FLEX_HOME set in the environment. So, now I have been setting FLEX_HOME programmatically in my code before calling the <flexunit> task. And I had figured that it would be a good idea to set FLEX_HOME to the same SDK that the tests had been built with, i.e. our customized one.  Now I am thinking that this is not necessary, since our end users will never have access to this SDK. I now think that I should be able to install a new stock Adobe Flex SDK on my CI server, install the Air runtime into it, and then use that location when I set FLEX_HOME.  Is that how others are doing it?  If anyone could validate this approach, I would be grateful.
One question that arises in my mind now: How does the Air runtime get into the Flex SDK? I have installed the Air runtime using the installer from Adobe some time ago, so I am not quite sure what all that did.  I assume the  Air installer finds all the Flex SDKs on your machine and inserts the runtime in each location appropriately? Again, pardon my ignorance...
I have just tried out the above idea, i.e. setting FLEX_HOME to a different SDK that has Air runtime, and the <flexunit> task worked when I ran it!  An Air window opened, the tests ran, and reports were generated. So, it would appear my problem is solved! Cool beans!
Brian, you made some comments about another possible issue with the "custom app descriptor".  I am not sure if that applies to me or not.  How would I know whether or not we need that support?  Again, I know it would help if I was the developer who had actually written the Flex tests, but I am not...
Anyway, I hope this thread helps other folks who are having similar issues.  I am going to reinstall a fresh Adobe SDK and the Air installer on a clean machine next, and see if the tests will run there.
Before ending this thread, I do want to point out that the ant task might have need of improvement in the case in which the user attempts to run the air "player" but the Air runtime is not setup in the SDK. On Windows, the ant process simply hung at this point, apparently thinking that the launch of the player had been successful, but in reality, the message about the air runtime being not found had occurred. It might be nice if it exited gracefully with a warning message instead of hanging. Just a suggestion...
Brian, as always, thanks again for your help with this issue.You guys are doing a great job with this project. Please keep it up!
Thanks,
Trevor

Similar Messages

  • Flexunit 4.1 beta 1 ant task fails if SDK or project dir contains spaces

    downloaded FlexUnit 4.1 beta 1 for its directory scanning and test loading support.  found a problem - if either the SDK dir (e.g. C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0) or the project dir (e.g. C:\Documents and Settings\flexuser\My Documents\mike\Adobe Flash Builder 4\AntFlexUnit4.1betaSampleCIProject) contain spaces, the flexunit ant task will fail, as the following output indicates:
    <snip>
    [flexunit] '+flexlib'
    [flexunit] 'C:\Program'
    [flexunit] 'Files\Adobe\Adobe'
    [flexunit] 'Flash'
    [flexunit] 'Builder'
    [flexunit] '4\sdks\4.0.0\frameworks'
    [flexunit] '-output'
    [flexunit] 'C:\Documents'
    [flexunit] 'and'
    [flexunit] 'Settings\flexuser\My'
    [flexunit] 'Documents\mike\Adobe'
    [flexunit] 'Flash'
    [flexunit] 'Builder'
    [flexunit] '4\AntFlexUnit4.1betaSampleCIProject\target\bin\TestRunner.swf'
    <snip>
    BUILD FAILED
    C:\Documents and Settings\flexuser\My Documents\mike\Adobe Flash Builder 4\AntFlex
    Unit4.1betaSampleCIProject\build.xml:72: Compilation failed:
    command line: Error: default arguments may not be interspersed with other options
    everything worked fine if i relocated both the SDK and project dir.  unfortunately most of our developers use SDK and project directories with spaces.
    what's the ETA for beta 2 ;-) ?  anxious to integrate this excellent new feature once the spacing problem is resolved.
    thanks.
    -mike

    @mike - Ok I've updated my fork @ http://github.com/blegros/flexunit with the fix.  If you don't want to build from source, you can download the flexunit.zip file from my fork and just pull the Ant task out to use temporarily.  You can find the artifact from my fork's build @ http://flexunit.digitalprimates.net:8080/view/Contributors/job/blegros/lastSuccessfulBuild /artifact/flexunit.zip.
    Let me know if this works out for you.
    -Brian

  • ANT Tasks Fail with Flex 4.5 SDK

    Hi, I am trying to build the StrobeMediaPlayback project with the build.xml found in the trunk. I am using the ant -v to show you the output here:
    compile.unittest:
        [mkdir] Created dir: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build/StrobeMediaPlaybackTest
        [mxmlc] Loading configuration file /Users/dave/Code/svn/StrobeMediaPlayback/trunk/player/StrobeMediaPlaybackTest/StrobeMedia PlaybackTest-build-config.xml
        [mxmlc] /Applications/Adobe Flash Builder 4/plugins/com.adobe.flexbuilder.flexunit_4.0.1.277662/flexunitframework/libs/version4libs /Common/flexunit_0.9.swc(mx.core:ScrollControlBase)
        [mxmlc]
        [mxmlc] Error: Declaration of style 'textDecoration' conflicts with previous declaration in /Developer/SDKs/flex_sdk_4/frameworks/libs/spark.swc(spark.components.supportClasses:Grou pBase).
        [mxmlc]
        [mxmlc] /Applications/Adobe Flash Builder 4/plugins/com.adobe.flexbuilder.flexunit_4.0.1.277662/flexunitframework/libs/version4libs /Common/flexunit_0.9.swc(mx.controls:Button)
        [mxmlc]
        [mxmlc] Error: Declaration of style 'textDecoration' conflicts with previous declaration in /Developer/SDKs/flex_sdk_4/frameworks/libs/spark.swc(spark.components.supportClasses:Grou pBase).
        [mxmlc]
      [antcall] Exiting /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml.
      [antcall] Exiting /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml.
    BUILD FAILED
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:45: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:55: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:100: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:55: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:100: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    ... 17 more
    Caused by: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:100: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    ... 30 more
    Caused by: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at flex.ant.FlexTask.executeInProcess(Unknown Source)
    at flex.ant.FlexTask.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
    ... 42 more
    --- Nested Exception ---
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:55: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:100: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:100: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    ... 30 more
    Caused by: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at flex.ant.FlexTask.executeInProcess(Unknown Source)
    at flex.ant.FlexTask.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
    ... 42 more
    --- Nested Exception ---
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:100: The following error occurred while executing this line:
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:397)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at flex.ant.FlexTask.executeInProcess(Unknown Source)
    at flex.ant.FlexTask.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
    ... 42 more
    --- Nested Exception ---
    /Users/dave/Code/svn/StrobeMediaPlayback/trunk/build.xml:220: mxmlc task failed
    at flex.ant.FlexTask.executeInProcess(Unknown Source)
    at flex.ant.FlexTask.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Total time: 30 seconds
    dave$

    the flex tasks for 4.6 are pretty unreliable for me when deploying to networks

  • Clientgen Ant Task fails with "ClassNotFoundException: [B"

    I'm trying to run the clientgen Ant Task and I get weird error: a java.lang.ClassNotFoundException: [B
    Maybe Im missing something on my classpath but the cryptic message is preventing me from determining what exactly.
    Do you guys have any ideas?
    Extract build.xml:
    <clientgen ear="${expl.dir}"
    serviceName="SwiftcomInterfaceService"
    packageName="com.jnj.gtsc.swiftcom2.business.swiftcom.business.webservice.client"
    useServerTypes="True"
         warName="InterfaceWS"
         savewsdl="true"
    clientJar="${dist.dir}/swiftcomWS_client.jar" >
    <classpath refid="wsclient-classpath" />
    </clientgen>
    wsclient-classpath:
    contains only Weblogic 8.1 sp 6 webservice.jar and webserviceclient.jar
    Stacktrace:
    [clientgen] Generating client jar for swiftcom2Ear(SwiftcomInterfaceService) ...
    [clientgen] weblogic.webservice.server.ConfigException: unable to load class:[ java.lang.ClassNotFoundException: [B
    [clientgen] at weblogic.webservice.server.WebServiceFactory.loadClass(WebServiceFactory.java:1295)
    [clientgen] at weblogic.webservice.dd.MethodDescriptor.<init>(MethodDescriptor.java:45)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.registerOperation(WebServiceFactory.java:813)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.initOperations(WebServiceFactory.java:633)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.createFromMBean(WebServiceFactory.java:220)
    [clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.getWebServiceRuntime(WSDLGenImpl.java:240)
    [clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.run(WSDLGenImpl.java:135)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromEAR(ClientGenImpl.java:454)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:348)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:352)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:208)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    [clientgen] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    [clientgen] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:196)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:235)

    I found out what the problem was: wrong version of JDK.
    I was calling my Ant script from Maven and it was executing the Ant script with the Java 6. Once I set the JAVA_HOME in the Maven call to a 1.4 JDK it worked.
    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>exec-maven-plugin</artifactId>
                        <version>1.2</version>
                        <executions>
                             <execution>
                                  <id>run-ant</id>
                                  <phase>package</phase>
                                  <goals>
                                       <goal>exec</goal>
                                  </goals>
                             </execution>
                        </executions>
                        <configuration>
                             <executable>cmd.exe</executable>
                             <commandlineArgs>/X /C ${env.ANT_HOME}/bin/ant build-all</commandlineArgs>
                             <environmentVariables>
                                  <JAVA_HOME>${jdk-1.4}</JAVA_HOME>
                             </environmentVariables>
                        </configuration>
                   </plugin>

  • WSUS reinstall on 2012 SCCM server post-installation task fails to run/finish

    I had to re-install WSUS on a 2012 R2 SCCM server (Windows 2012), and am running into several issues re-installing. It may help to point out that the SCCM SQL server is remote, so this isn't a WSUS / SQL 2012 issue.
    The sticky post at the top of the WSUS forum has helpful troubleshooting information, and I have tried going through this as well as many other threads on this very topic of re-installing WSUS.
    1. Roles for WSUS and WID were removed successfully. The WSUS Website was manually deleted from IIS. As this is a SCCM server, removing the IIS role is not an option.
    2. I removed the existing WID database files for SUSDB
    3. After rebooting, I verified registry keys were gone, system files were cleaned up, and deleted the program files\update services directory
    4. This isn't a permission issue, as I have clearly installed this before on this server.
    5. Registry keys, system files, and susdb files no longer exist, and the server has rebooted cleanly.
    6. I am able to add the WSUS role selecting WID, and this installs WID without any errors. At this point, simply clicking the post installation task fails, generates an empty .tmp file in my %appdata%\temp folder, and exits the MMC. 
    7. This file is blank. Absolutely empty, so I couldn't really troubleshoot any post installation tasks.
    8. Further investigation shows that the 'C:\Program Files\Update Services\Tools\' directory is gone, and isn't being
    generated.
    9. Ok... DISM /online /Cleanup-Image /Scanhealth didn't return any issues, so I copied the wsusutil out of the windows\WinSxS directory.
    10. Yey! wsusutil postinstall runs, but bombs out on the IIS portion. It generated the DB without an issue, but results
    in an IIS generation error. So, I installed WSUS on a clean 2012 install, then copied over the program files\updateServices directory to reclaim the missing files. 
    The log files show --
    2013-12-06 10:30:34  Configuring IIS...
    2013-12-06 10:30:35  Start: ConfigureWebsite
    2013-12-06 10:30:36  Configuring website on port 8530
    2013-12-06 10:30:39  System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
       at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
       at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
       at Microsoft.UpdateServices.Administration.UseCustomWebSite.ExecuteIisCustomAction(String arguments)
       at Microsoft.UpdateServices.Administration.UseCustomWebSite.Install(Int32 portNumber)
       at Microsoft.UpdateServices.Administration.UseCustomWebSite.InstallAndConfigure(IisConfiguration& iisConfiguration, Int32 newPortNumber)
       at Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
       at Microsoft.UpdateServices.Administration.PostInstall.Run()
       at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
    ... ok - tripple checked that network service has permissions to .net and windows\temp folders.
    netstat -a doesn't show anything running on port 8530 ( in case this was some weird port check in use)
    Which goes back to the missing directory problem -- further net searches show that this is a reoccurring issue for some OOBE... sfc /verifyonly shows ... nothing.
    What is left to be done at this point? The missing folders from the program directory seems to be a problem for some with some users right out of the box. I have read many other threads where users just formatted and started over. Not exactly a solution
    - any help out there on this issue? Any suggestions to determine what file is missing, or generating the IIS issues?

    Part of the post install tasks wanted to download some items including the tools folder.
    Can you expand on this please. The WSUS post-install tasks do not download anything, except what is acquired during the initial synchronization with Microsoft.
    Because of my group policy the WSUS server was trying to download the updates from itself even though it was not setup yet.
    What update(s) was the WSUS server trying to "download"?
    In fact, if the WSUS Server was not setup yet (but you already had a GPO in place), then the first issue here was performing deployment steps out of order.
    But still.... except for the actual installation binaries for the WSUS Server Role on a WS2008SP2/WS2008R2 system, there's nothing the WSUS server needs to get from either Windows Update or a WSUS server. This scenario is actually discussed hundreds of times
    in this forum, but complicating matters, this thread isn't about installing WSUS V3.2 on a WS2008SP2/WS2008R2 system, it's about installing WSUS v65 on a WS2012 system, so I'm a bit confused as to what the actual installation environment is that we're discussing.
    I changed the WSUS server to get it's windows updates from Microsoft and then the post install task succeeded.
    I'd really like to get some more details about what exactly in the "post-install task" was dependent upon content from WU/WSUS.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • DesignWebCenterSpaces clean-stage ant task failed with error

    I followed the WC PS4 Developer Guide to Extend WC Spaces. For this I modified my config.properties and did as was mentioned in the guide. However when I run the ant "clean-stage" on build.xml I get the below error :-
    Can someone help to get this resolved ?
    Note: I have included antcontrib.jar in the specified location ${jdeveloper.install.home.directory}/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar
    Error:
    Buildfile: C:\JDeveloper\mywork\DesignWebCenterSpaces\DesignWebCenterSpaces\WebCenterSpacesExtensionLibrary\build.xml
    clean:
    [echo] ----------------------------
    [echo] ----Cleaning deploy directory ---
    [echo] ----------------------------
    init:
    pre-compile:
    [echo] ----------------------------
    [echo] ----Updating the manifest file with the
    correct version specification and implementation version
    [echo] ----------------------------
    BUILD FAILED
    C:\JDeveloper\mywork\DesignWebCenterSpaces\DesignWebCenterSpaces\WebCenterSpacesExtensionLibrary\internal-targets.xml:73: if doesn't support the nested "bool" element.
    Total time: 0 seconds

    internal-targets.xml
    <?xml version="1.0" encoding="US-ASCII" ?>
    <project name="WebCenterSpacesSharedLibExtensionInternal" default="init" basedir="."
    xmlns:wls="oracle.webcenter.tools.wls">
    <import file="internal-targets.xml"/>
    <property file="../config.properties"/>
    <property file="build.properties"/>
    <taskdef resource="net/sf/antcontrib/antcontrib.properties">
    <classpath>
    <pathelement location="${jdeveloper.install.home.directory}/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar"/>
    </classpath>
    </taskdef>
    <taskdef name="ojdeploy"
    classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask"
    uri="oraclelib:OJDeployAntTask"
    classpath="${oracle.jdeveloper.ant.library}"/>
    <target name="init">
    <tstamp/>
    <mkdir dir="${output.dir}"/>
    <mkdir dir="${custom.profile.attribute.home}/classes"/>
    <mkdir dir="${custom.oam.task.flow.home}/classes"/>
    <mkdir dir="${custom.jar.custompagegstaskflow.home}/classes"/>
    <mkdir dir="${custom.rulebased.resource.home}/classes"/>
    <mkdir dir="${custom.java.code.home}/classes"/>
    <mkdir dir="${extending.spaces.home.dir}/RuleBasedResources/classes"/>
    <mkdir dir="${extending.spaces.home.dir}/JavaCodeAndSessionTimeout/classes"/>
    </target>
    <target name="clean" description="Cleans the project">
    <echo> ----Cleaning deploy directory ---</echo>
    <delete includeemptydirs="true" quiet="true">
    <fileset dir="${extending.spaces.home.dir}/deploy" includes="**/*"/>
    <fileset dir="${output.dir}" includes="**/*"/>
    <fileset dir="${custom.jar.custompagegstaskflow.out.dir}" includes="**/*"/>
    <fileset dir="${custom.profile.attribute.out.dir}" includes="**/*"/>
    <fileset dir="${custom.oam.task.flow.out.dir}" includes="**/*"/>
    <fileset dir="${oracle.jdeveloper.deploy.dir}" includes="**/*"/>
    <fileset dir="${custom.profile.attribute.home}/classes" includes="**/*"/>
    <fileset dir="${custom.oam.task.flow.home}/classes" includes="**/*"/>
    <fileset dir="${custom.jar.custompagegstaskflow.home}/classes" includes="**/*"/>
    <fileset dir="${extending.spaces.out.dir}" includes="**/*"/>
    <fileset dir="${extending.spaces.home}/classes" includes="**/*"/>
    <fileset dir="${extending.spaces.home.dir}/RuleBasedResources/deploy" includes="**/*"/>
    <fileset dir="${extending.spaces.home.dir}/JavaCodeAndSessionTimeout/deploy" includes="**/*"/>
    <fileset dir="${extending.spaces.home.dir}/RuleBasedResources/classes" includes="**/*"/>
    <fileset dir="${extending.spaces.home.dir}/JavaCodeAndSessionTimeout/classes" includes="**/*"/>
    </delete>
    </target>
    <target name="clean-local-manifest-file"
    description="This target cleans up the locally created manifest
    properties file">
    <delete file="manifestImpl.properties" quiet="true"/>
    </target>
    <target name="pre-compile" description="Specifies the version number for the manifest file">
    <property value="${restart.implementation.version.suffix}" name="restartVer"/>
    <if>
    <length string="${restartVer}" when="greater" trim="true" length="30" />
    <then>
    <property name="propValue" value="1"/>
    </then>
    <else>
    <property name="propValue" value="${restartVer}"/>
    </else>
    </if>
    <if>
    <!--Checking if the manifest file is available -->
    <available file="manifestImpl.properties" property="propavailable"/>
    <then>
    <property file="manifestImpl.properties"/>
    <!--Getting the larger of the 2 numbers, from the properties
    and the local manifest file -->
    <property value="${lastNumber}" name="lastCount"/>
    <if>
    <bool>
    <isgreaterthan arg1="${lastCount}" arg2="${propValue}"/>
    </bool>
    <then>
    <property name="valueToConsider" value="${lastCount}"/>
    </then>
    <else>
    <property name="valueToConsider" value="${propValue}"/>
    </else>
    </if>
    </then>
    <else>
    <!--Setting the property file if it does not exist-->
    <propertyfile file="manifestImpl.properties"
    comment="Implementation Version">
    <entry key="implVersion" value="${default.implementation.version}"/>
    </propertyfile>
    <property name="valueToConsider" value="${propValue}"/>
    </else>
    </if>
    <!--From the obtained value incrementing the value by one-->
    <var name="op1" value="${valueToConsider}"/>
    <var name="op2" value="1"/>
    <var name="op" value="+"/>
    <math result="result" operand1="${op1}"
    operation="${op}" operand2="${op2}" datatype="int"/>
    <!--Setting the value in properties file-->
    <propertyfile file="manifestImpl.properties">
    <entry key="lastNumber" type="int" value="${result}"/>
    </propertyfile>
    <property file="manifestImpl.properties"/>
    <property name="tempManifestImpelVersion" value="${implVersion}.${result}"/>
    <propertyfile file="manifestImpl.properties">
    <entry key="manifest.implementation.version"
    value="${tempManifestImpelVersion}"/>
    </propertyfile>
    <copy file="${manifest.template.directory}/MANIFEST.MF.TEMPL"
    tofile="${manifest.file.directory}/MANIFEST.MF"
    overwrite="true">
    <filterset>
    <filter token="IMPLEMENTATION_VERSION"
    value="${tempManifestImpelVersion}"/>
    <filter token="LIBRARY_NAME"
    value="${customer.library.name}"/>
    <filter token="CUSTOMER_NAME"
    value="${customer.name}"/>
    </filterset>
    </copy>
    <path id="custom.profile.attribute.classpath">
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/search-crawl-spi.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/search-admin.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/search-auth-plugin.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/search-auth-share.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/search-crawl-ses.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/search-crawl-ucm.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/search-api.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/search-adapter.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/search-model.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/search-service-view.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/search-skin.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/searchlet.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/activity-streaming-model.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/security-extension.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/peopleconnections-preference-model.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/peopleconnections-profile-model.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/serviceframework.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/modules/javax.jsp_1.2.0.0_2-1.jar"/>
    <pathelement path="${extending.spaces.home.dir}/ProfileCrawler/classes"/>
    </path>
    <path id="library.JSF.1.2">
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jsf_1.0.0.0_1-2-15.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.jsf_1.2.9/glassfish.jstl_1.2.0.1.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.jsf_1.2.9/javax.jsf_1.1.0.0_1-2.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.jsf_1.2.9/wls.jsf.di.jar"/>
    </path>
    <path id="library.WebCenter.Common">
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/command-api.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/command-spi.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/generalsettings-model.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/lifecycle-client.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/lifecycle-model.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/lifecycle-service.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/lock-service-model.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/search-api.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/search-adapter.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/search-model.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/scope-service-model.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/security-extension.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/serviceframework.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/wc-concurrent.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.portlet.server_11.1.1/oracle-portlet-api.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.portlet.server_11.1.1/wsrp-container.jar"/>
    </path>
    <path id="library.WebCenter.Spaces.Client">
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/webcenter-core-api.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/spaces-api.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/spaces-webservice-client.jar"/>
    </path>
    <path id="library.ADF.Common.Runtime">
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.view_11.1.1/trinidad-api.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.share_11.1.1/adfsharembean.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.share_11.1.1/adflogginghandler.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.javacache_11.1.1/cache.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.security_11.1.1/adf-share-security.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.security_11.1.1/adf-controller-security.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle/modules/javax.activation_1.1.0.0_1-1.jar"/>
    </path>
    <path id="library.Webcenter-app-core-model.jar">
    <pathelement location="../SourceFiles/lib/webcenter-app-core-model.jar"/>
    </path>
    <path id="library.Spaces-model.jar">
    <pathelement location="../SourceFiles/lib/spaces-model.jar"/>
    </path>
    <path id="library.Spaces-model-web.jar">
    <pathelement location="../SourceFiles/lib/spaces-model-web.jar"/>
    </path>
    <path id="library.MDS.Runtime">
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar"/>
    </path>
    <path id="library.MDS.Runtime.Dependencies">
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.mds_11.1.1/oramds.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.share_11.1.1/adflogginghandler.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/modules/javax.servlet_1.0.0.0_2-5.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/modules/javax.jsp_1.2.0.0_2-1.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/wlserver_10.3/server/ext/jdbc/oracle/11g/ojdbc6_g.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/jlib/commons-cli-1.0.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.bali.share_11.1.1/share.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.xmlef_11.1.1/xmlef.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.dms_11.1.1/dms.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle/modules/javax.activation_1.1.0.0_1-1.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.xdk_11.1.0/xml.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.javacache_11.1.1/cache.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.ucp_11.1.0.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.odl_11.1.1/ojdl.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.javatools_11.1.1/javatools-nodeps.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/modules/javax.management_1.2.1.jar"/>
    <pathelement location="${jdeveloper.install.home.directory}/modules/javax.management.j2ee_1.0.jar"/>
    </path>
    <path id="classpath">
    <path refid="library.JSF.1.2"/>
    <path refid="library.WebCenter.Common"/>
    <path refid="library.WebCenter.Spaces.Client"/>
    <path refid="library.ADF.Common.Runtime"/>
    <path refid="library.Webcenter-app-core-model.jar"/>
    <path refid="library.Spaces-model.jar"/>
    <path refid="library.Spaces-model-web.jar"/>
    <path refid="library.MDS.Runtime"/>
    <path refid="library.MDS.Runtime.Dependencies"/>
    <path refid="custom.profile.attribute.classpath"/>
    </path>
    <echo> ----Pre custom java code ---</echo>
    <javac destdir="${custom.java.code.home}/classes" classpathref="classpath"
    debug="${javac.debug}" nowarn="${javac.nowarn}"
    deprecation="${javac.deprecation}" encoding="Cp1252" source="1.6"
    target="1.6">
    <src path="${custom.java.code.home}/src"/>
    </javac>
    <patternset id="copy.java.code.patterns">
    <include name="**/*.gif"/>
    <include name="**/*.GIF"/>
    <include name="**/*.jpg"/>
    <include name="**/*.JPG"/>
    <include name="**/*.jpeg"/>
    <include name="**/*.JPEG"/>
    <include name="**/*.png"/>
    <include name="**/*.PNG"/>
    <include name="**/*.properties"/>
    <include name="**/*.xml"/>
    <include name="**/*.ejx"/>
    <include name="**/*.xcfg"/>
    <include name="**/*.cpx"/>
    <include name="**/*.dcx"/>
    <include name="**/*.sva"/>
    <include name="**/*.wsdl"/>
    <include name="**/*.ini"/>
    <include name="**/*.tld"/>
    <include name="**/*.tag"/>
    <include name="**/*.xlf"/>
    <include name="**/*.xsl"/>
    <include name="**/*.xsd"/>
    </patternset>
    <copy todir="${custom.java.code.home}/classes">
    <fileset dir="${custom.java.code.home}/src">
    <patternset refid="copy.java.code.patterns"/>
    </fileset>
    </copy>
    </target>
    <target name="stage" description="Deploy JDeveloper profiles"
    depends="init, pre-compile">
    <echo> ----Compiling Custom Java Code ---</echo>
    <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
    executable="${oracle.jdeveloper.ojdeploy.path}"
    ora:buildscript="${custom.java.code.out.dir}/ojdeploy-build.xml"
    ora:statuslog="${custom.java.code.out.dir}/ojdeploy-statuslog.xml">
    <ora:deploy>
    <ora:parameter name="workspace"
    value="${oracle.jdeveloper.workspace.path}"/>
    <ora:parameter name="project"
    value="JavaCodeAndSessionTimeout"/>
    <ora:parameter name="profile"
    value="custom_webcenter_spaces_customJavaCode"/>
    <ora:parameter name="nocompile" value="false"/>
    <ora:parameter name="outputfile"
    value="${custom.java.code.jar.name}"/>
    </ora:deploy>
    </ora:ojdeploy>
    <echo> ----Compling Custom WebCenterSpaces ---</echo>
    <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
    executable="${oracle.jdeveloper.ojdeploy.path}"
    ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
    ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
    <ora:deploy>
    <ora:parameter name="workspace"
    value="${oracle.jdeveloper.workspace.path}"/>
    <ora:parameter name="project"
    value="${oracle.jdeveloper.project.name}"/>
    <ora:parameter name="profile"
    value="custom_webcenter_spaces_war"/>
    <ora:parameter name="nocompile" value="false"/>
    <ora:parameter name="outputfile"
    value="${oracle.jdeveloper.deploy.outputfile}"/>
    </ora:deploy>
    </ora:ojdeploy>
    <echo> Wrote the war to the following
    location ${oracle.jdeveloper.deploy.dir}/${shared.library.name} </echo>
    <mkdir dir="${oracle.jdeveloper.deploy.dir}/exploded"/>
    <mkdir dir="${oracle.jdeveloper.deploy.dir}/exploded/${customer.library.name}.war"/>
    <unzip src="${oracle.jdeveloper.deploy.dir}/${shared.library.name}"
    dest="${oracle.jdeveloper.deploy.dir}/exploded/${customer.library.name}.war"/>
    </target>
    <target name="init-wls">
    <path id="wls.classpath">
    <pathelement path="${wls.home}/server/lib/weblogic.jar"/>
    <pathelement path="${wls.home}/server/lib/xqrl.jar"/>
    </path>
    <taskdef name="wldeploy" classpathref="wls.classpath"
    classname="weblogic.ant.taskdefs.management.WLDeploy"/>
    </target>
    </project>

  • Jwsc Ant task fails with exception java.lang.AssertionError: java.io.IOExce

    I have the following task in my Ant file:
         <target name="build-service">
              <jwsc srcdir="src" destdir="${ear-dir}">
                   <jws file="examples/webservices/hello_world/HelloWorldImpl.java" />
              </jwsc>
         </target>The 'HelloWorldImpl.java' file is the following:
    package examples.webservices.hello_world;
    import javax.jws.WebService;
    @WebService(name = "HelloWorldPortType", serviceName = "HelloWorldService")
    public class HelloWorldImpl {
        public String sayHelloWorld(String message) {
            System.out.println("sayHelloWorld:" + message);
            return "Here is the message: '" + message + "'";
    }When I run 'build-service' And target I get the following error:
    ...build.xml:24: java.lang.AssertionError: java.io.IOExceptionI've tried to find this problem resolution but unsuccessfully.
    Could anyone help this or give a reasonable advice about this exception reason.

    Was getting this exception because of weblogic-container-binding.jar+ library missing. Added this library to classpath and the issue released.

  • Task fails while running Full load ETL

    Hi All,
    I am running full load ETL For Oracle R12(vanila Instance) HR But 4 tasks are failing SDE_ORA_JobDimention, SDE_ORA_HRPositionDimention, SDE_ORA_CodeDimension_Pay_level and SDE_ORA_CodeDimensionJob, I changed the parameter for all these task as mentioned in the Installation guide and rebuilled. Please help me out.
    Log is like this for SDE_ORA_JobDimention
    DIRECTOR> VAR_27028 Use override value [DataWarehouse] for session parameter:[$DBConnection_OLAP].
    DIRECTOR> VAR_27028 Use override value [ORA_R12] for session parameter:[$DBConnection_OLTP].
    DIRECTOR> VAR_27028 Use override value [9] for mapping parameter:[$$DATASOURCE_NUM_ID].
    DIRECTOR> VAR_27027 Use default value [] for mapping parameter:[mplt_BC_ORA_JobDimension.$$JOBCODE_FLXFLD_SEGMENT_COL].
    DIRECTOR> VAR_27027 Use default value [] for mapping parameter:[mplt_BC_ORA_JobDimension.$$JOBFAMILYCODE_FLXFLD_SEGMENT_COL].
    DIRECTOR> VAR_27027 Use default value [] for mapping parameter:[mplt_BC_ORA_JobDimension.$$LAST_EXTRACT_DATE].
    DIRECTOR> VAR_27028 Use override value [DEFAULT] for mapping parameter:[$$TENANT_ID].
    DIRECTOR> TM_6014 Initializing session [SDE_ORA_JobDimension_Full] at [Fri Sep 26 10:52:05 2008]
    DIRECTOR> TM_6683 Repository Name: [Oracle_BI_DW_Base]
    DIRECTOR> TM_6684 Server Name: [Oracle_BI_DW_Base_Integration_Service]
    DIRECTOR> TM_6686 Folder: [SDE_ORAR12_Adaptor]
    DIRECTOR> TM_6685 Workflow: [SDE_ORA_JobDimension_Full]
    DIRECTOR> TM_6101 Mapping name: SDE_ORA_JobDimension [version 1]
    DIRECTOR> TM_6827 [C:\Informatica\PowerCenter8.1.1\server\infa_shared\Storage] will be used as storage directory for session [SDE_ORA_JobDimension_Full].
    DIRECTOR> CMN_1805 Recovery cache will be deleted when running in normal mode.
    DIRECTOR> CMN_1802 Session recovery cache initialization is complete.
    DIRECTOR> TM_6703 Session [SDE_ORA_JobDimension_Full] is run by 32-bit Integration Service [node01_HSCHBSCGN20031], version [8.1.1], build [0831].
    MANAGER> PETL_24058 Running Partition Group [1].
    MANAGER> PETL_24000 Parallel Pipeline Engine initializing.
    MANAGER> PETL_24001 Parallel Pipeline Engine running.
    MANAGER> PETL_24003 Initializing session run.
    MAPPING> CMN_1569 Server Mode: [ASCII]
    MAPPING> CMN_1570 Server Code page: [MS Windows Latin 1 (ANSI), superset of Latin1]
    MAPPING> TM_6151 Session Sort Order: [Binary]
    MAPPING> TM_6156 Using LOW precision decimal arithmetic
    MAPPING> TM_6180 Deadlock retry logic will not be implemented.
    MAPPING> TM_6307 DTM Error Log Disabled.
    MAPPING> TE_7022 TShmWriter: Initialized
    MAPPING> TM_6007 DTM initialized successfully for session [SDE_ORA_JobDimension_Full]
    DIRECTOR> PETL_24033 All DTM Connection Info: [<NONE>].
    MANAGER> PETL_24004 Starting pre-session tasks. : (Fri Sep 26 10:52:13 2008)
    MANAGER> PETL_24027 Pre-session task completed successfully. : (Fri Sep 26 10:52:14 2008)
    DIRECTOR> PETL_24006 Starting data movement.
    MAPPING> TM_6660 Total Buffer Pool size is 32000000 bytes and Block size is 1280000 bytes.
    READER_1_1_1> DBG_21438 Reader: Source is [dev], user [apps]
    READER_1_1_1> BLKR_16003 Initialization completed successfully.
    WRITER_1_*_1> WRT_8146 Writer: Target is database [orcl], user [obia], bulk mode [ON]
    WRITER_1_*_1> WRT_8106 Warning! Bulk Mode session - recovery is not guaranteed.
    WRITER_1_*_1> WRT_8124 Target Table W_JOB_DS :SQL INSERT statement:
    INSERT INTO W_JOB_DS(JOB_CODE,JOB_NAME,JOB_DESC,JOB_FAMILY_CODE,JOB_FAMILY_NAME,JOB_FAMILY_DESC,JOB_LEVEL,W_FLSA_STAT_CODE,W_FLSA_STAT_DESC,W_EEO_JOB_CAT_CODE,W_EEO_JOB_CAT_DESC,AAP_JOB_CAT_CODE,AAP_JOB_CAT_NAME,ACTIVE_FLG,CREATED_BY_ID,CHANGED_BY_ID,CREATED_ON_DT,CHANGED_ON_DT,AUX1_CHANGED_ON_DT,AUX2_CHANGED_ON_DT,AUX3_CHANGED_ON_DT,AUX4_CHANGED_ON_DT,SRC_EFF_FROM_DT,SRC_EFF_TO_DT,DELETE_FLG,DATASOURCE_NUM_ID,INTEGRATION_ID,TENANT_ID,X_CUSTOM) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    WRITER_1_*_1> WRT_8270 Target connection group #1 consists of target(s) [W_JOB_DS]
    WRITER_1_*_1> WRT_8003 Writer initialization complete.
    WRITER_1_*_1> WRT_8005 Writer run started.
    READER_1_1_1> BLKR_16007 Reader run started.
    READER_1_1_1> RR_4029 SQ Instance [mplt_BC_ORA_JobDimension.Sq_Jobs] User specified SQL Query [SELECT
    PER_JOBS.JOB_ID,
    PER_JOBS.BUSINESS_GROUP_ID,
    PER_JOBS.JOB_DEFINITION_ID,
    PER_JOBS.DATE_FROM,
    PER_JOBS.DATE_TO,
    PER_JOBS.LAST_UPDATE_DATE AS CHANGED_ON_DT,      PER_JOBS.LAST_UPDATED_BY, PER_JOBS.CREATED_BY, PER_JOBS.CREATION_DATE,
    PER_JOB_DEFINITIONS.LAST_UPDATE_DATE AS AUX1_CHANGED_ON_DT,
    PER_JOB_DEFINITIONS.JOB_DEFINITION_ID,
    PER_JOBS.NAME,
    PER_JOBS.JOB_INFORMATION1, PER_JOBS.JOB_INFORMATION3,
    PER_JOBS. AS JOB_FAMILY_CODE, PER_JOB_DEFINITIONS.  AS JOB_CODE,
      '0' AS X_CUSTOM
    FROM
    PER_JOBS, PER_JOB_DEFINITIONS
    WHERE
    PER_JOBS.JOB_DEFINITION_ID = PER_JOB_DEFINITIONS.JOB_DEFINITION_ID]
    WRITER_1_*_1> WRT_8158
    *****START LOAD SESSION*****
    Load Start Time: Fri Sep 26 10:53:05 2008
    Target tables:
    W_JOB_DS
    READER_1_1_1> RR_4049 SQL Query issued to database : (Fri Sep 26 10:53:05 2008)
    READER_1_1_1> CMN_1761 Timestamp Event: [Fri Sep 26 10:53:06 2008]
    READER_1_1_1> RR_4035 SQL Error [
    ORA-01747: invalid user.table.column, table.column, or column specification
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT
    PER_JOBS.JOB_ID,
    PER_JOBS.BUSINESS_GROUP_ID,
    PER_JOBS.JOB_DEFINITION_ID,
    PER_JOBS.DATE_FROM,
    PER_JOBS.DATE_TO,
    PER_JOBS.LAST_UPDATE_DATE AS CHANGED_ON_DT, PER_JOBS.LAST_UPDATED_BY, PER_JOBS.CREATED_BY, PER_JOBS.CREATION_DATE,
    PER_JOB_DEFINITIONS.LAST_UPDATE_DATE AS AUX1_CHANGED_ON_DT,
    PER_JOB_DEFINITIONS.JOB_DEFINITION_ID,
    PER_JOBS.NAME,
    PER_JOBS.JOB_INFORMATION1, PER_JOBS.JOB_INFORMATION3,
    PER_JOBS. AS JOB_FAMILY_CODE, PER_JOB_DEFINITIONS. AS JOB_CODE,
    '0' AS X_CUSTOM
    FROM
    PER_JOBS, PER_JOB_DEFINITIONS
    WHERE
    PER_JOBS.JOB_DEFINITION_ID = PER_JOB_DEFINITIONS.JOB_DEFINITION_ID
    Oracle Fatal Error
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT
    PER_JOBS.JOB_ID,
    PER_JOBS.BUSINESS_GROUP_ID,
    PER_JOBS.JOB_DEFINITION_ID,
    PER_JOBS.DATE_FROM,
    PER_JOBS.DATE_TO,
    PER_JOBS.LAST_UPDATE_DATE AS CHANGED_ON_DT, PER_JOBS.LAST_UPDATED_BY, PER_JOBS.CREATED_BY, PER_JOBS.CREATION_DATE,
    PER_JOB_DEFINITIONS.LAST_UPDATE_DATE AS AUX1_CHANGED_ON_DT,
    PER_JOB_DEFINITIONS.JOB_DEFINITION_ID,
    PER_JOBS.NAME,
    PER_JOBS.JOB_INFORMATION1, PER_JOBS.JOB_INFORMATION3,
    PER_JOBS. AS JOB_FAMILY_CODE, PER_JOB_DEFINITIONS. AS JOB_CODE,
    '0' AS X_CUSTOM
    FROM
    PER_JOBS, PER_JOB_DEFINITIONS
    WHERE
    PER_JOBS.JOB_DEFINITION_ID = PER_JOB_DEFINITIONS.JOB_DEFINITION_ID
    Oracle Fatal Error].
    READER_1_1_1> CMN_1761 Timestamp Event: [Fri Sep 26 10:53:06 2008]
    READER_1_1_1> BLKR_16004 ERROR: Prepare failed.
    WRITER_1_*_1> WRT_8333 Rolling back all the targets due to fatal session error.
    WRITER_1_*_1> WRT_8325 Final rollback executed for the target [W_JOB_DS] at end of load
    WRITER_1_*_1> WRT_8035 Load complete time: Fri Sep 26 10:53:06 2008
    LOAD SUMMARY
    ============
    WRT_8036 Target: W_JOB_DS (Instance Name: [W_JOB_DS])
    WRT_8044 No data loaded for this target
    WRITER_1__1> WRT_8043 ****END LOAD SESSION*****
    MANAGER> PETL_24031
    ***** RUN INFO FOR TGT LOAD ORDER GROUP [1], CONCURRENT SET [1] *****
    Thread [READER_1_1_1] created for [the read stage] of partition point [mplt_BC_ORA_JobDimension.Sq_Jobs] has completed. The total run time was insufficient for any meaningful statistics.
    Thread [TRANSF_1_1_1] created for [the transformation stage] of partition point [mplt_BC_ORA_JobDimension.Sq_Jobs] has completed. The total run time was insufficient for any meaningful statistics.
    Thread [WRITER_1_*_1] created for [the write stage] of partition point [W_JOB_DS] has completed. The total run time was insufficient for any meaningful statistics.
    MANAGER> PETL_24005 Starting post-session tasks. : (Fri Sep 26 10:53:06 2008)
    MANAGER> PETL_24029 Post-session task completed successfully. : (Fri Sep 26 10:53:06 2008)
    MAPPING> TM_6018 Session [SDE_ORA_JobDimension_Full] run completed with [0] row transformation errors.
    MANAGER> PETL_24002 Parallel Pipeline Engine finished.
    DIRECTOR> PETL_24013 Session run completed with failure.
    DIRECTOR> TM_6022
    SESSION LOAD SUMMARY
    ================================================
    DIRECTOR> TM_6252 Source Load Summary.
    DIRECTOR> CMN_1740 Table: [Sq_Jobs] (Instance Name: [mplt_BC_ORA_JobDimension.Sq_Jobs])
         Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
    DIRECTOR> TM_6253 Target Load Summary.
    DIRECTOR> CMN_1740 Table: [W_JOB_DS] (Instance Name: [W_JOB_DS])
         Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
    DIRECTOR> TM_6023
    ===================================================
    DIRECTOR> TM_6020 Session [SDE_ORA_JobDimension_Full] completed at [Fri Sep 26 10:53:07 2008]

    To make use of the warehouse you would probably want to connect to an EBS instance in order to populate the warehouse.
    Since the execution plan you intend to run is designed for the EBS data-model. I guess if you really didn't want to connect to the EBS instance to pull data you could build one using the universal adapter. This allows you to load out of flat-files if you wish, but I wouldn't reccomend making this a habit for actual implementation as it does create another potential point of failure (populating the flat-files).
    Thanks,
    Austin

  • [svn] 3105: SDK-15764, SDK-15765 -- Two long standing Ant task bugs.

    Revision: 3105
    Author: [email protected]
    Date: 2008-09-04 15:05:39 -0700 (Thu, 04 Sep 2008)
    Log Message:
    SDK-15764, SDK-15765 -- Two long standing Ant task bugs.
    - Ant Tasks fail when setting fork="true" and there are spaces in the path name
    - Setting fork="true" in Ant Tasks leads to warning
    The issue with spaces is that forked tasks construct a stringified commandline, since Java doesn't allow you to pass real String[] to a new process. When not forking, we can pass the original String[], which makes spaces irrelevent. So the fix uses a Commandline.toString(String[]) which is designed to wrap arguments with spaces correctly with quotes, so the commandline tokenizes correctly.
    Bugs: SDK-15764 SDK-15765
    QA: This affects ant calls for _all_ FlexTasks where fork=true. It would be great if we have tests for both fork="true" and "false" where we tested paths and arguments with and without spaces -- off the top of my head, good ones to try: +flexlib=/path/with spaces/, -define=CONFIG::foo,"bar with spaces", and any other arguments you can think of. Also very important: Test passing space arguments without quotes, with single quotes, with double quotes, with a mixture (illegal), and with a mixture escaping the inner set of quotes (not sure if this should work or not, probably a stupid case to test unless quotes are allowed in paths).
    Doc: No
    Reviewer: Pete
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-15764
    http://bugs.adobe.com/jira/browse/SDK-15765
    http://bugs.adobe.com/jira/browse/SDK-15764
    http://bugs.adobe.com/jira/browse/SDK-15765
    Modified Paths:
    flex/sdk/branches/3.0.x/modules/antTasks/src/flex/ant/FlexTask.java

  • JWSC ant task  getting java.lang.NoSuchMethodError

    Hi all,
    I am trying to build a webservice with JWSC ant task in JDK 1.6 which uses JWS annotations and a few weblogic specific annotations.
    I am getting the following error while building it.
    However, when I build it from my IDE (eclipse) it works fine.
    i tried copying the libraries from eclipse and ran the build. But it didn't work.
    any one have faced this issue and resolved it ? Please let me know your suggestions.
    I am using weblogic 10.3 libraries to build the web service.
    jwsctest:
    [jwsc] JWS: processing module /CaseStatusWebService
    BUILD FAILED
    java.lang.NoSuchMethodError: weblogic.wsee.tools.anttasks.DelegatingJavacTask$ExposingJavac.getTempdir()Ljava/io/File;
    at weblogic.wsee.tools.anttasks.DelegatingJavacTask.getTempdir(DelegatingJavacTask.java:170)
    at weblogic.wsee.tools.anttasks.JwsModule.initialize(JwsModule.java:303)
    at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:252)
    at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:229)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    Thanks,
    Sriram

    Hi Sriram,
    Before running the ant task did you run the following startup script?
    /setWLSEnv.sh
    I found one of the customer in oracle knowledge base facing the similar issue like you and issue was solved after running the setWLSEnv startup script.
    If the issue is still not resolved after trying the above suggestion, please attach the build.xml to this thread to review the same.
    Thanks,
    Vijaya

  • Certain scheduled tasks do not run anymore after DST change

    Hi everyone,
    I noticed a problem on Server 2012 after daylight savings time was set effective last weekend in March. All scheduled tasks that are configured to run weekly on Monday through Friday don't run anymore! Tasks that are configured to run daily are OK. Shall
    I really put a wrapper script around the executable to check the weekday myself??? Another solution to work around this bug seems to be to set the start day after DST change day, then the weekly Jobs also run OK again.
    Many Greetings
    Michael

    We have experienced the same issues.  Just to put some more information out there (and confirm some points from above):
    We run 12 scheduled tasks on 2 servers.
    Machines are "Microsoft Windows Server 2012 Standard", ver. 6.2.9200 build 9200, HP ProLiant BL460c Gen8
    4 scheduled tasks did fine over the DST switch in March
    8 scheduled tasks failed to run
    All scheduled tasks that ran were set up with
    “Configure For” = “Windows Server 2012”
    All scheduled tasks that failed were set up with
    “Configure For” = “Windows Vista™, Windows Server™
    2008”.
    All scheduled tasks, both affected and unaffected, were scheduled as Weekly, Mon-Fri.
    Changing the "Configure For" field after the tasks failed to run did NOT fix the problem.
    Changing the time of a task after the task failed to run did NOT fix the problem
    Changing the "Start" date of a task after it failed to run DID fix the problem.
    Given that there are not a whole ton more complaints out on the web about this bug, it must be that the bug does not affect every instance of the scheduler on Windows Server 2012.  In other words, it must be only some particular configuration
    of Windows Server 2012 that causes this bug, otherwise surely there would be many many more complaints.  Can people who are experiencing this bug check and post configuration info so perhaps we can determine a common factor?  Thanks.

  • Java.lang.NullPointerException running flexunit ant task in 4.1 Beta 2

    Hello,
    After trying to debug this all day, I thought I would ask the community.
    I am trying out the new FU4.1 Beta 2 (3.5) from the downloads page.  We have a working CI system set up with 4.0, and I thought trying out 4.1 beta 2 would simply be a matter of replacing the binaries in my lib folder and re-running the ant script.  Evidently not, or else I am missing something.
    After updating to the 4.1 Beta 2 binaries, if I re-run a sample project in Eclipse, the build fails with a java NullPointerException when the <flexunit> ant task is invoked. We have an involved setup that uses the groovy AntBuilder and other esoteric constructs, so I thought I would create a very simple test script similar to the sample CI project to see if that would work.  Unfortunately, I am still seeing the NPE.  The worst part is that there is absolutely no debug information provided - no message, no traceback.  I even attached the Ant source and debugged it. I could see the NPE being caught, but it contained a null message and null traceback.
    Here is the simplified ant script:
    <project name="tests" basedir=".">
        <target name="test-init" depends="">
            <mkdir dir="${build.dir}"/>
            <mkdir dir="${reports.dir}"/>
            <mkdir dir="${reports.xml}"/>
            <mkdir dir="${reports.html}"/>
            <!-- Setup Flex and FlexUnit ant tasks -->
            <!-- You can set this directly so mxmlc will work correctly, or set
            <taskdef resource="flexUnitTasks.tasks" classpath="${lib}/flexUnitTasks-4.1.0-beta2.18.jar" />
        </target>
        <target name="run-flex-tests" depends="test-init">
          <sequential>
            <!-- Execute TestRunner.swf as FlexUnit tests and publish reports -->
            <flexunit
                swf="${build.dir}/TestRunner.swf"
                toDir="${reports.xml}"
                haltonfailure="false"
                verbose="true"
                localTrusted="true"
                timeout="60000"/>
            <!-- Generate readable JUnit-style reports -->
            <junitreport todir="${reports.xml}">
                <fileset dir="${reports.xml}">
                    <include name="TEST-*.xml" />
                </fileset>
                <report format="frames" todir="${reports.html}" />
            </junitreport>
          </sequential>   
        </target>
    </project>
    The output is:
    Buildfile: C:\EclipseWorkspace\tests\Source\Flex\build_test.xml
    test-init:
    run-flex-tests:
    [flexunit] Validating task attributes ...
    BUILD FAILED
    C:\EclipseWorkspace\tests\Source\Flex\build_test.xml:23: java.lang.NullPointerException
    Total time: 297 milliseconds
    Is there something obvious I am missing?
    Thanks for any help!
    Trevor

    Brian,
    OK, a colleague worked with me (thanks, John!) to debug the problem a little further, and I think we found the fundamental problem.  I wanted to post that info to save you some time...
    Aside: One thing we did have to do was to rebuild the flexUnitTasks.jar to include debug information, since the binary in the 4.1 beta 2 package did not have debug=true.  I'd suggest that we might want to change the build script to build the binaries with debug moving forward.
    Back to the problem.
    The NullPointerException is thrown in TaskConfiguration::validateSharedProperties(), when equals() is invoked. Here is the code snippet:
       //if we can't find the FLEX_HOME and we're using ADL or compilation
       if((flexHome == null || !flexHome.exists()) && (testRunConfiguration.getPlayer().equals("air") || shouldCompile()))
          throw new BuildException("Please specify, or verify the location for, the FLEX_HOME property.  "
                + "It is required when testing with 'air' as the player or when using the 'testSource' element.  "
                + "It should point to the installation directory for a Flex SDK.");
    In my case, I do not have a FLEX_HOME property set in Ant currently.  I'll bet most folks have this set, so the logic would run differently for them. For my case, the (flexHome == null) check is true.  That means that the testRunConfiguration.getPlayer().equals("air")check will occur next, and here is the problem. The "player" member is not set in the testRunConfiguration yet at this point, so testRunConfiguration.getPlayer() returns null. testRunConfiguration.setPlayer() is called in generateDefaults().  But generateDefaults() is not called until after validateSharedProperties() is called.  So, if properties initialization could be improved here and I think this code will run more robustly.
    I can work-around my issue temporarily by just setting a FLEX_HOME property in Ant.  But I hope you will agree that the initialization issue with "player" still should be addressed. Would you like me to open a bug report, or is this thread enough?
    Thanks,
    Trevor

  • Flexunit ant task on CI Server - rundll32.exe causing problems

    My team is using flexunit and a CI server running Hudson. On a development system, everything runs fine, and we get the reports just like we need them. It also works fine on the CI server when just the flexunit task is run, but the build fails when the CI server tries to run a full build - the build tries to run the tests and clean to prepare for the next build, but the clean fails because there is a "rundll32.exe" process using one of the files and it can't be deleted. We tracked this process down to the one run by the flexunit task.
    Our task is:
        <target name="xci-test" depends="set-flex-coverage-home, prepare-domain-metadata-to-war, prepare-sounds-to-war, prepare-domain-metadata-for-testing, compile-unit-test-flex">
            <echo>**** The flexunit target requires that you have the standalone flash player installed and configured to run .swf files automatically! ****</echo>
            <mkdir dir="${dir.flexgui.test.output}"/>
        <!-- Execute TestRunner.swf as FlexUnit tests and publish reports -->
        <!-- Please see http://docs.flexunit.org/index.php?title=Ant_Task -->
        <flexunit workingDir="${dir.flexgui.test.output}"   
                  swf="${dir.flexgui.build.war}/${flex.swf.name}test.swf"
                  toDir="${dir.flexgui.test.output}"
                  haltonfailure="false" verbose="true" localTrusted="true"
                                port="11028" timeout="40000"/>
            <!-- Generate readable JUnit-style reports -->
            <junitreport todir="${dir.flexgui.test.output}">
                <fileset dir="${dir.flexgui.test.output}">
                    <include name="TEST-*.xml"/>
                </fileset>
                <report format="frames" todir="${dir.flexgui.test.output}/"/>
            </junitreport>
            <sleep seconds="10"/>
        </target>
    I can reproduce this behavior on my dev machine by running "ant xci-test clean". We tried putting a sleep in to give the process time to shut down, no change. We attempted to use the 'command' option to the flexunit task to bypass the use of rundll32.exe, but then the flash player just hangs onto the file and the clean still fails. Since "ant xci-test" followed by "ant clean" works, we also tried running ant from within ant in order to force the process to stop, but that also didn't work. Any help on this would be greatly appreciated.
    Thanks for your time,
    Linden

    @Linden - Have not heard of this side effect from anyone as of yet, but good to know.  Sounds like the file lock is coming from the Flash Player and causing the spawning process (rundll32.exe) to hang around as well.  The FlexUnit team runs on Hudson using the FlexUnit Ant task, but we don't seem to encounter the same issue.  What's the longest interval you've tried to use with the sleep task?  Does the FP ever release its handle to the test SWF on your development machines?
    Not sure this is a problem with the FlexUnit Ant task, but in 4.2 we could try to explicitly kill the rundll32 process since we'll have the PID when the task launches it.  Head on over to JIRA and file a feature request for us and I'll see what I can do in the new year.  In the short term though, maybe try upgrading your version of the stand alone debug flash player to see if that helps.  Has anyone else seen this issue?  Could you possible just move the clean target to be called before the xci-test target is run?  Just some suggestions.
    -Brian

  • Passing extra compiler options to flexunit ANT task?

    Hi,
    Is there a way to send any extra compiler options to the <flexunit> ANT task?
    I'm using conditional compilation and compilation (mxmlc) is failing from the <flexunit> task:
    "Error: Access of undefined property DEBUG.
    CONFIG::DEBUG {"
    I tried sneaking "-define+=CONFIG::DEBUG,false" in with one of the other compiler options you can set on the <flexunit> task, but that just doesn't work or results in a validation error like this:
    "One of the directories specified as a 'testSource' element does not exist."
    Let me know if this is possible at all.
    Thanks,
    Wijnand

    Hi Brian,
    legrosb wrote:
    @Wijnand - Sorry for the belated response.
    Not late at all! I think a response within a day on a forum is quite fast!
    legrosb wrote:
    I thought I had captured this on the wiki, but it looks like I haven't, so thank you for the heads up.
    I'll also update the wiki @ http://docs.flexunit.org/index.php?title=Ant_Task to be more detailed regarding compilation so other don't have to dig. 
    Did you just do an update on that Wiki page or did I completely miss the part that explained the <flexunit> parameters?
    legrosb wrote:
    In 4.2, which is super pre-alpha right now, I've added support to accept a series of flex-config.xml files provided by the user.  Not sure if conditional compilation can be tackled with a custom flex-config.xml file, but if so then that'd be the feature that may help you.
    Yes, being able to add (+=) a custom config file will solve this problem for me. You can define properties and values like this:
    <flex-config>
        <compiler>
            <define>
                <name>CONFIG::DEBUG</name>
                <value>false</value>
            </define>
        </compiler>
    <flex-config>
    So in your AS code you can use:
    CONFIG::DEBUG {
        // Do something that only should be done in debug mode.
    I have another question, I ran into this one during testing my SWF with flexunit.
    unittest.xml:82: java.util.concurrent.ExecutionException: command [<testcase classname='com.tuenti.video.unittest.testcase.player::MockPlayerCase' name='loadPlayer' time='0.000'  status='success'/>] not understood
    I had a look at the FlexUnitSocketThread.parseInboundMessages method that throws this error and it looks like that your defined END_OF_SUCCESS doesn't entirely match what the SWF is spitting out. They are of by 1 space: END_OF_SUCCESS is defined as: "status=\"success\" />", whereas my SWF spits out the following: "status='success'/>" (single quotes and no space before the closing of the tag).
    It looks like I'm not the only one with the ExecutionException as it is reported on StackOverflow as well: http://stackoverflow.com/questions/3953677/flexunittasks-error-of-command-not-understood
    Cheers,
    Wijnand

  • Is there an ant task on FlexUnit to open browser with swf embedded?

    Here is the same (unanswered) question asked by someone else: http://forums.adobe.com/thread/740495?tstart=0#740495
    Basically I need to open my flex app in a browser window from ant, and the FlexUnit task apparently does not support this.
    I have downloaded a sample from FlexMonkey. When they (sample writers) execute flexunit in this sample, one of the arguments to FU is "url". However, I can find no evidence of this version of FU (that uses that "url" argument) existing anywhere. Using the swf argument doesn't work as documented in the previous question above. So I don't know if my problem is Flex version, or it's just not supported by FlexUnit.
    I'm using the Flex sdk 3.2.0 and the FU libraries below:
    flexunit-4.1.0-33-as3_3.5.0.12683.swc
    flexunit-4.1.0-33-flex_3.5.0.12683.swc
    flexunit-cilistener-4.1.0-33-3.5.0.12683.swc
    flexunit-uilistener-4.1.0-33-3.5.0.12683.swc
    flexUnitTasks-4.1.0-33.jar
    Please tell me if this issue has been solved and if so what libraries I need to implement it. If it is done for Flex 4.x, but not for Flex 3.2, perhaps you could guide me to the java source for the ant task for Flex 4.x so that I can implement this for Flex 3.2 or Flex 3.x.
    thanks,
    Phil

    @Linden - Have not heard of this side effect from anyone as of yet, but good to know.  Sounds like the file lock is coming from the Flash Player and causing the spawning process (rundll32.exe) to hang around as well.  The FlexUnit team runs on Hudson using the FlexUnit Ant task, but we don't seem to encounter the same issue.  What's the longest interval you've tried to use with the sleep task?  Does the FP ever release its handle to the test SWF on your development machines?
    Not sure this is a problem with the FlexUnit Ant task, but in 4.2 we could try to explicitly kill the rundll32 process since we'll have the PID when the task launches it.  Head on over to JIRA and file a feature request for us and I'll see what I can do in the new year.  In the short term though, maybe try upgrading your version of the stand alone debug flash player to see if that helps.  Has anyone else seen this issue?  Could you possible just move the clean target to be called before the xci-test target is run?  Just some suggestions.
    -Brian

Maybe you are looking for