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>

Similar Messages

  • SSIS custom execute sql task : Failed with error

    I am developing a custom SSIS task for running sql task. But it fails with error - I'm trying to set the resultsetbinding to be used by next task in workflow.
    Error: 0xC0014054 at CustomSSISTask: Failed to lock variable "User::id" for read access with error 0xC0010001 "The variable cannot be found. This occurs when an attempt is made to retrieve a variable from the Variables collection on a container
    during execution of the package, and the variable is not there. The variable name may have changed or the variable is not being created.".
    Error: 0xC002F210 at CustomSSISTask, Execute SQL Task: Executing the query "SELECT id FROM sysobjects WHERE name = 'sysrowsets..." failed with the following error: "Failed to lock variable "User::id" for read access with error 0xC0010001
    "The variable cannot be found. This occurs when an attempt is made to retrieve a variable from the Variables collection on a container during execution of the package, and the variable is not there. The variable name may have changed or the variable is
    not being created.".
    ". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
    Warning: 0x80019002 at CustomSSISTask: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (3) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches
    the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
    Task failed: CustomSSISTask
    Here is the code sample I'm trying , 
            public override DTSExecResult Execute(Connections connections, VariableDispenser variableDispenser,
                                                  IDTSComponentEvents componentEvents, IDTSLogging log, object transaction)
                MessageBox.Show("testing:");
                try
                    // Add the SQL Task
                    Package package = new Package();
                    package.Executables.Add("STOCK:SQLTask");
                    Microsoft.SqlServer.Dts.Runtime.Variable variable = package.Variables.Add("id", false, "User", 0);
                     // Get the task host wrapper
                    TaskHost taskHost = package.Executables[0] as TaskHost;
                    // Get the task object
                    ExecuteSQLTask task = taskHost.InnerObject as ExecuteSQLTask;
                    // Set core properties
                    task.Connection = connections[0].Name;
                    task.SqlStatementSource = "SELECT id FROM sysobjects WHERE name = 'sysrowsets'";
                    //task.SqlStatementSource =
                    //    "SELECT PersonID from [AmalgaSpeedTableData].[SpeedTable].[DimPerson] where PersonIntID  = '1'";
                    task.SqlStatementSourceType = SqlStatementSourceType.DirectInput;
                    // Add result set binding, map the id column to variable
                    IDTSResultBinding resultBinding = task.ResultSetBindings.Add();
                    //IDTSResultBinding resultBinding = task.ResultSetBindings.GetBinding(0);
                    resultBinding.ResultName = "variable";
                    resultBinding.DtsVariableName = variable.QualifiedName; //"User::id";
                    task.Execute(connections, variableDispenser, componentEvents, log, transaction);
                catch (Exception ex)
                    throw new ArgumentException(ex.Message);
                return DTSExecResult.Success;
    It doesnt throw any exception but custom task fails.
    Later I will be also using parametersetbindings to pass some input parameters to this task , since I'm stuck for out param - blocked moving ahead.
    Any help would be greatly appreciated.
    Thanks
    Sang

    Hi, could you check whether the following threads help:
    http://stackoverflow.com/questions/5787621/ssis-package-failed-to-locak-variable-for-read-access-with-error-0xc0010001
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/40ee7eff-5ec1-426f-a1a8-ab85b40b51aa/error-variable-can-not-be-found-while-executing-package-from-the-net-code?forum=sqlintegrationservices
    Regards, Leo

  • 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

  • DAC ETL tasks failing with Error Code

    Here is a copy of just 1 of the tasks that fail. I did search for this and found reference to increasing DB Processes to 500 but that had no effect.
    I have tried to reduce the number of Maximum Sessions in Setup to but it had no effect.
    Some of the tasks completed. The remaining stay as Failed even after re-running ETL.
    Using Informatica 8.1.1 SP5 32bit
    Build: 7.9.5.1.011209.1448
    Release Version: Oracle Business Intelligence Applications 7.9.5.1
    Package: 011209.1448
    Oracle 32bit 10g client
    Windows Server 2003 R2 64bit
    Details:
    pmcmd startworkflow -u Administrator -p **** -s 10.1.11.69:4006 -f SDE_ORAR12_Adaptor -lpf D:\OracleBI\DAC\Informatica\parameters\SDE_ORAR12_Adaptor.SDE_ORA_Stage_ValueSetHier_Extract_Full.txt SDE_ORA_Stage_ValueSetHier_Extract_Full
    Status Desc : Failed
    WorkFlowMessage :
    =====================================
    STD OUTPUT
    =====================================
    Informatica(r) PMCMD, version [8.1.1 SP5], build [186.0822], Windows 32-bit
    Copyright (c) Informatica Corporation 1994 - 2008
    All Rights Reserved.
    Invoked at Thu Apr 15 14:39:18 2010
    Connected to Integration Service at [10.1.11.69:4006]
    Folder: [SDE_ORAR12_Adaptor]
    Workflow: [SDE_ORA_Stage_ValueSetHier_Extract_Full] version [1].
    Workflow run status: [Failed]
    Workflow run error code: [36331]
    Workflow run error message: [WARNING: Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] failed and its "fail parent if this task fails" setting is turned on. So, Workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full] will be failed.]
    Start time: [Thu Apr 15 14:38:58 2010]
    End time: [Thu Apr 15 14:39:03 2010]
    Workflow log file: [d:\Informatica\PowerCenter8.1.1\server\infa_shared\WorkflowLogs\SDE_ORA_Stage_ValueSetHier_Extract_Full.log]
    Workflow run type: [User request]
    Run workflow as user: [Administrator]
    Integration Service: [PowerCenter_Integration_Service]
    Disconnecting from Integration Service
    Completed at Thu Apr 15 14:39:18 2010
    =====================================
    ERROR OUTPUT
    =====================================
    Error Message : Unknown reason for error code 36331
    ErrorCode : 36331
    Workflow Log.
    INFO : LM_36435 [Thu Apr 15 14:38:58 2010] : (4716|4956) Starting execution of workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full] in folder [SDE_ORAR12_Adaptor] last saved by user [Administrator].
    INFO : LM_44195 [Thu Apr 15 14:38:58 2010] : (4716|4956) Workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full] service level [SLPriority:5,SLDispatchWaitTime:1800].
    INFO : VAR_27085 [Thu Apr 15 14:38:58 2010] : (4716|4956) Parameter file [d:\Informatica\PowerCenter8.1.1\server\infa_shared\Temp\SDE_ORA_Stage_ValueSetHier_Extract_Full_a04956] is opened for [workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full]].
    INFO : LM_36330 [Thu Apr 15 14:38:58 2010] : (4716|4956) Start task instance [Start]: Execution started.
    INFO : LM_36318 [Thu Apr 15 14:38:58 2010] : (4716|4956) Start task instance [Start]: Execution succeeded.
    INFO : LM_36505 : (4716|4956) Link [Start --> SDE_ORA_Stage_ValueSetHier_Extract_Full]: empty expression string, evaluated to TRUE.
    INFO : LM_36388 [Thu Apr 15 14:38:58 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] is waiting to be started.
    INFO : LM_36330 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full]: Execution started.
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6793 Fetching initialization properties from the Integration Service. : (Thu Apr 15 14:38:58 2010)]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [DISP_20305 The [Preparer] DTM with process id [7972] is running on node [node01_OBIEEDEV01].
    : (Thu Apr 15 14:38:58 2010)]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [PETL_24036 Beginning the prepare phase for the session.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6721 Started [Connect to Repository].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6722 Finished [Connect to Repository]. It took [0.234368] seconds.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6794 Connected to repository [PowerCenter] in domain [Domain_OBIEEDEV01] user [Administrator]]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6721 Started [Fetch Session from Repository].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6722 Finished [Fetch Session from Repository]. It took [0.234367] seconds.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [VAR_27028 Use override value [DataWarehouse] for session parameter:[$DBConnection_OLAP].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [VAR_27028 Use override value [ORA_R12] for session parameter:[$DBConnection_OLTP].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [VAR_27028 Use override value [9] for mapping parameter:[$$DATASOURCE_NUM_ID].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [VAR_27027 Use default value [] for mapping parameter:[mplt_BC_ORA_ValueSetHier.$$LAST_EXTRACT_DATE].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6721 Started [Partition Group Formation].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6722 Finished [Partition Group Formation]. It took [0.031249] seconds.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [PETL_24037 Finished the prepare phase for the session.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6792 Notifying the Integration Service that the prepare phase has been completed. : (Thu Apr 15 14:38:59 2010)]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6228 Writing session output to log file [d:\Informatica\PowerCenter8.1.1\server\infa_shared\SessLogs\SDE_ORAR12_Adaptor.SDE_ORA_Stage_ValueSetHier_Extract_Full.log].]
    INFO : LM_36682 [Thu Apr 15 14:38:59 2010] : (4716|4960) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full]: started a process with pid [7972] on node [node01_OBIEEDEV01].
    ERROR : LM_36320 [Thu Apr 15 14:39:03 2010] : (4716|4964) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full]: Execution failed.
    WARNING : LM_36331 : (4716|4964) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] failed and its "fail parent if this task fails" setting is turned on. So, Workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full] will be failed.
    ERROR : LM_36320 [Thu Apr 15 14:39:03 2010] : (4716|4964) Workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full]: Execution failed.
    Thanks

    Can you please post the session log?
    Thanks,
    Austin

  • 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>

  • 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.

  • The task failed with error: Invalid BPM Object context key, can any one hel

    The application works fine on version 5.7. I am trying to migrate to 10.3 angetting the error when tried to execute task. This is coming up from opening a jsp page; don't know exact code/line number as the error message is in a popup window and doesn't show it clearly in logs:
    The task could not be successfully executed. Reason: 'fuego.xobject.util.InvalidContextKey: Invalid BPM Object context key'.
    See log file for more information [Error code: workspace-1255544311265]
    The log shows the below starting from just before the error upto the complete error msg:
    ExecutionDispatcher.actionId: RUN_INSTANCE_TASK
    WamJsp: commit prepare.
    java.lang.NullPointerException
    java.lang.NullPointerException
         at fuegoblock.net.NewJSP$1.prepare(NewJSP.java:185)
         at fuego.web.execution.InteractiveInvocation.retryExecution(InteractiveInvocation.java:72)
         at fuego.web.execution.InteractiveExecution.retry(InteractiveExecution.java:246)
         at fuego.web.papi.TaskExecutor.runInstanceTask(TaskExecutor.java:375)
         at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:98)
         at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117)
         at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:229)
         at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:220)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:83)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.GeneratedMethodAccessor201.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
         at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
         at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
         at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
         at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    Unexpected Error:The task could not be successfully executed.
    Reason: 'fuego.xobject.util.InvalidContextKey: Invalid BPM Object context key'.
    Can any one please help?
    Javed

    Hi Javed,
    I'm having similar error. What was the root cause of your problem? How did you fix that?
    Thanks,
    Bharat

  • ReleaseRequest failed with error code 0x80004005 \ Task Sequence Manager could not release active TS request. code 80004005

    Hi All,
    I am trying to deploy an OS but the deployment is failing part way through. I have searched the logs and identified the error: Task Sequence Manager could not release active TS request. code 80004005
    If anyone could assist with this is would be much appreciated.
    Many thanks
    Logs below:
    <![LOG[Unlocked ActualConfig successfully]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="0" thread="1752" file="policyutil.cpp:7898">
    <![LOG[Unlocked policy transaction lock successfully]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="0" thread="1752" file="policyutil.cpp:7904">
    <![LOG[Raising event:
    instance of CCM_PolicyAgent_SettingsEvaluationComplete
    ClientID = "GUID:8388E2E2-7642-4436-88D0-FC9335F6D56E";
    DateTime = "20141218122103.273000+000";
    PolicyNamespace = "\\\\wst0339\\root\\ccm\\policy\\machine\\actualconfig";
    ProcessID = 1748;
    ThreadID = 1752;
    ]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="event.cpp:729">
    <![LOG[Successfully submitted event to the Status Agent.]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="0" thread="1752" file="event.cpp:747">
    <![LOG[End TS policy evaluation]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="policyutil.cpp:10580">
    <![LOG[Policy evaluation initiated]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="utils.cpp:3387">
    <![LOG[Sending success status message]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="tsmanager.cpp:659">
    <![LOG[MP server http://LONSVR0150.uk.ham.local. Ports 80,443. CRL=false.]LOG]!><time="12:21:03.273+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="utils.cpp:4855">
    <![LOG[Setting authenticator]LOG]!><time="12:21:03.288+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="utils.cpp:4877">
    <![LOG[Set authenticator in transport]LOG]!><time="12:21:03.288+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="libsmsmessaging.cpp:7592">
    <![LOG[Sending StatusMessage]LOG]!><time="12:21:03.304+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="libsmsmessaging.cpp:4020">
    <![LOG[Setting message signatures.]LOG]!><time="12:21:03.320+00" date="12-18-2014" component="TSManager" context="" type="0" thread="1752" file="libsmsmessaging.cpp:1292">
    <![LOG[Setting the authenticator.]LOG]!><time="12:21:03.320+00" date="12-18-2014" component="TSManager" context="" type="0" thread="1752" file="libsmsmessaging.cpp:1322">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: LONSVR0150.uk.ham.local:80  CCM_POST /ccm_system/request]LOG]!><time="12:21:03.320+00" date="12-18-2014" component="TSManager" context="" type="1"
    thread="1752" file="libsmsmessaging.cpp:8422">
    <![LOG[Request was succesful.]LOG]!><time="12:21:03.351+00" date="12-18-2014" component="TSManager" context="" type="0" thread="1752" file="libsmsmessaging.cpp:8758">
    <![LOG[Finalize logging request ignored from process 1748]LOG]!><time="12:21:03.351+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="tslogging.cpp:1737">
    <![LOG[Waiting for CcmExec service to be fully operational]LOG]!><time="12:21:03.351+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="utils.cpp:4019">
    <![LOG[CcmExec service is up and fully operational]LOG]!><time="12:21:03.351+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="utils.cpp:4024">
    <![LOG[Access handle will be read from _SMSTSActiveRequestHandle]LOG]!><time="12:21:03.351+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="tsmanagerutils.cpp:99">
    <![LOG[Access handle: {9F9B91DA-055D-4B32-9817-52C369835080}]LOG]!><time="12:21:03.351+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="tsmanagerutils.cpp:111">
    <![LOG[Attempting to release request using {9F9B91DA-055D-4B32-9817-52C369835080}]LOG]!><time="12:21:03.351+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752"
    file="tsmanagerutils.cpp:118">
    <![LOG[CoCreateInstance succeeded]LOG]!><time="12:21:03.382+00" date="12-18-2014" component="TSManager" context="" type="1" thread="1752" file="tsmanagerutils.cpp:133">
    <![LOG[pISoftwareExecutionRequestMgr->ReleaseRequest(ActiveRequestGUID), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanagerutils.cpp,136)]LOG]!><time="12:21:03.382+00" date="12-18-2014" component="TSManager"
    context="" type="0" thread="1752" file="tsmanagerutils.cpp:136">
    <![LOG[ReleaseRequest failed with error code 0x80004005]LOG]!><time="12:21:03.382+00" date="12-18-2014" component="TSManager" context="" type="3" thread="1752" file="tsmanagerutils.cpp:136">
    <![LOG[Task Sequence Manager could not release active TS request. code 80004005]LOG]!><time="12:21:03.382+00" date="12-18-2014" component="TSManager" context="" type="2" thread="1752"
    file="tsmanagerutils.cpp:165">
    <![LOG[Process completed with exit code 0]LOG]!><time="12:21:03.413+00" date="12-18-2014" component="TSMBootstrap" context="" type="1" thread="1728" file="commandline.cpp:1098">
    <![LOG[Exiting with return code 0x00000000]LOG]!><time="12:21:03.413+00" date="12-18-2014" component="TSMBootstrap" context="" type="1" thread="1728" file="tsmbootstrap.cpp:1032">
    <![LOG[Process completed with exit code 0]LOG]!><time="12:21:03.413+00" date="12-18-2014" component="OSDSetupHook" context="" type="1" thread="788" file="commandline.cpp:1098">
    <![LOG[Task sequence completed 0x00000000]LOG]!><time="12:21:03.413+00" date="12-18-2014" component="OSDSetupHook" context="" type="1" thread="788" file="basesetuphook.cpp:1384">
    <![LOG[Uninstalling Setup Hook]LOG]!><time="12:21:06.552+00" date="12-18-2014" component="OSDSetupHook" context="" type="1" thread="788" file="basesetuphook.cpp:1427">
    <![LOG[Removing setup hook from registry.]LOG]!><time="12:21:06.552+00" date="12-18-2014" component="OSDSetupHook" context="" type="0" thread="788" file="vistasetuphook.cpp:143">
    <![LOG[Successfully removed C:\WINDOWS\system32\OSDGINA.DLL]LOG]!><time="12:21:06.552+00" date="12-18-2014" component="OSDSetupHook" context="" type="1" thread="788" file="basesetuphook.cpp:1183">
    <![LOG[Successfully removed C:\WINDOWS\system32\OSDSETUPHOOK.EXE]LOG]!><time="12:21:06.552+00" date="12-18-2014" component="OSDSetupHook" context="" type="1" thread="788" file="basesetuphook.cpp:1183">
    <![LOG[Successfully removed C:\WINDOWS\system32\_SMSOSDSetup]LOG]!><time="12:21:06.552+00" date="12-18-2014" component="OSDSetupHook" context="" type="1" thread="788" file="basesetuphook.cpp:1220">

    4005 can mean a few things,  Some common can be  The wrong BIOS time,  or a a bad Hard drive.   look at those two first. 

  • Task sequence failed with error code 0x80070002

    I am facing issue in OS deployment my machine PXE boot successfully but on the step of apply operating I got an error "task sequence failed with error code 0x80070002" 
    I see lot of thread describes to add Network Access Account I already added but still I receive same error please help
    Usama Arif

    i had this happen on two of my dp's the other day.  It drove me nuts,  I ended up  removing the DP Role,  removing the server from SCCM
    I then deleted all files on the  'D :'  drive
    after everything was deleted, I re-added the  Server to SCCM and gave it the DP Role back. 
    I then added the DP Back to the  DP Group to receive all packages that was on it before.    then finally once everything was re-uploaded my users were able to pxe boot again

  • Task Sequence has failed with error code: 0x80070570

    I've created task sequence for Windows XP OS Deployment. WinPE boot image loads successfully, Partitions are formatted successfully too. But during "Applying image 1 from volume C:\" I receive following error:
    Task Sequence: My_task_sequence_name has failed with error code: 0x80070570.
    What I need to do? Any ideas? (My computer has following details: ASUS P5KSE motherboard, Core 2 Duo, SATA HDD, Atheros L1 adapter)

    No, a build and capture task sequence automates the build of the image removing any and all human intervention so that rebuilding or refreshing an image becomes a simple matter. Building images by actually manually installing Windows is anti-IT.
    File corruption can be caused by many, many things; e.g., anti-virus, physical disk errors, network transmit errors, etc.
    Jason | http://myitforum.com/cs2/blogs/jsandys | http://blogs.catapultsystems.com/jsandys/default.aspx | Twitter @JasonSandys

  • SCOM 2012 SP1 "Task invocation failed with error code -2146232576"

    Hi,
    I`m trying to discover a Linux RHEL 5.9 Server which is in another untrusted domain and from the Discovery wizard I receive the following error:
    Task invocation failed with error code -2146232576. Error message was 0x80131700.
    Any ideas ?
    Greetings.

    Hi,
    @Simon, I restart the SCOM services and I also verify the UAC and it's disabled.
    @Mai Ali, thank you for you reply. I don't have a "&" symbol in my password, but only a "$" ..I hope it's fine.
    If the SCOM discovery doesn't work, I installed the agent manually on the Linux server.
    BTW I also use a "monuser" account configured using this procedure:
    http://social.technet.microsoft.com/wiki/contents/articles/7375.configuring-sudo-elevation-for-unix-and-linux-monitoring-with-system-center-2012-operations-manager.aspx
    I also verify the ports 22 and 5723 and are opened, but I also noticed that if you restart the scxadmin, is listening on HTTPS on port 1207.
    Now..if I try to re-discover the Linux server from SCOM, I receive the following error:
    "The pool managing the instance is not available or the location monitoring object cannot be found"
    Regards.

  • Time Machine Backup Failed - Copy stage failed with error:11

    My TM backups started to fail on a Mac Book Pro running 10.5.8 a few weeks ago with the 'Copy stage failed with error:11' message. It seemed to happen after coming out of hibernation from clamshelling the laptop.
    This happened a few times before when I had initially set TM up so to 'fix' it I just blew away the TM backups and started fresh. I would rather not do that this time as I have accumulated 3 months worth of backups.
    My TM is on a samba share, I've searched a bit and followed a guide:
    http://blog.robberthamburg.nl/mac-osx-leopard-repair-a-time-machine-error-11-pro blem
    to try and fix the problem by deleting a .inProgress backup but this has not helped. unfortunately this has did not fix it. I had also read that there are sometimes problems with TM and Spotlight indexing so I have turned spotlight off completely. Still no luck.
    Here is a log dump of my latest backup attempt:
    Sep 12 01:31:59 lysithea /System/Library/CoreServices/backupd[763]: Backup requested by user
    Sep 12 01:31:59 lysithea /System/Library/CoreServices/backupd[763]: Starting standard backup
    Sep 12 01:32:04 lysithea /System/Library/CoreServices/backupd[763]: Mounted network destination using URL: smb://mdaemon@io:139/timemachine_lysithea
    Sep 12 01:32:04 lysithea /System/Library/CoreServices/backupd[763]: Backup destination mounted at path: /Volumes/timemachine_lysithea
    Sep 12 01:32:06 lysithea /System/Library/CoreServices/backupd[763]: Disk image /Volumes/timemachinelysithea/lysithea0025bcdeabda.sparsebundle mounted at: /Volumes/lysithea Time Machine
    Sep 12 01:32:06 lysithea /System/Library/CoreServices/backupd[763]: Backing up to: /Volumes/lysithea Time Machine/Backups.backupdb
    Sep 12 01:35:44 lysithea /System/Library/CoreServices/backupd[763]: No pre-backup thinning needed: 7.61 GB requested (including padding), 89.80 GB available
    Sep 12 01:35:44 lysithea /System/Library/CoreServices/backupd[763]: Waiting for index to be ready (-1 < 0)
    Sep 12 01:40:51 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 01:45:49 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 01:50:50 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 01:55:49 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:00:50 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:05:49 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:10:50 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:15:52 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:20:52 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:25:51 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:30:50 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:32:05 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:32:37 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:33:09 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:33:42 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:35:52 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:38:38 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:39:08 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:39:51 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:40:27 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:42:12 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:42:43 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    Sep 12 02:43:12 lysithea /System/Library/CoreServices/backupd[763]: Stopping backup.
    Sep 12 02:43:12 lysithea /System/Library/CoreServices/backupd[763]: Error: (-43) SrcErr:NO Copying /Users/mdaemon/Library/Preferences/com.apple.DirectoryUtility.plist to /Volumes/lysithea Time Machine/Backups.backupdb/lysithea/2009-09-12-013213.inProgress/466ADDEF-7D04-45 15-B024-C02ADF152EA7/Macintosh HD/Users/mdaemon/Library/Preferences
    Sep 12 02:43:12 lysithea /System/Library/CoreServices/backupd[763]: Copied 16247 files (5.9 GB) from volume Macintosh HD.
    Sep 12 02:43:12 lysithea /System/Library/CoreServices/backupd[763]: Copy stage failed with error:11
    Sep 12 02:43:18 lysithea /System/Library/CoreServices/backupd[763]: Backup failed with error: 11
    Sep 12 02:43:18 lysithea /System/Library/CoreServices/backupd[763]: Restarting backup after linking failure.
    Sep 12 02:43:18 lysithea /System/Library/CoreServices/backupd[763]: Starting standard backup
    Sep 12 02:43:18 lysithea /System/Library/CoreServices/backupd[763]: Backup destination alias resolved to path: /Volumes/timemachine_lysithea
    Sep 12 02:43:18 lysithea /System/Library/CoreServices/backupd[763]: Disk image /Volumes/timemachinelysithea/lysithea0025bcdeabda.sparsebundle mounted at: /Volumes/lysithea Time Machine
    Sep 12 02:43:18 lysithea /System/Library/CoreServices/backupd[763]: Backing up to: /Volumes/lysithea Time Machine/Backups.backupdb
    Sep 12 02:43:42 lysithea /System/Library/CoreServices/backupd[763]: Waiting for index to be ready (-1 < 0)
    Sep 12 02:51:03 lysithea /System/Library/CoreServices/backupd[763]: No pre-backup thinning needed: 509.8 MB requested (including padding), 83.21 GB available
    Sep 12 02:51:03 lysithea /System/Library/CoreServices/backupd[763]: Waiting for index to be ready (-1 < 0)
    Sep 12 02:51:09 lysithea /System/Library/CoreServices/backupd[763]: Indexing a file failed. Returned -12 for: /.DS_Store, /Volumes/lysithea Time Machine/Backups.backupdb/lysithea/2009-09-12-013213.inProgress/AB3F09D7-61EB-4D 9F-B0EF-AC4C1E0712EA/Macintosh HD/.DS_Store
    Sep 12 02:51:09 lysithea /System/Library/CoreServices/backupd[763]: Aborting backup because indexing a file failed.
    Sep 12 02:51:09 lysithea /System/Library/CoreServices/backupd[763]: Stopping backup.
    Sep 12 02:51:09 lysithea /System/Library/CoreServices/backupd[763]: Copied 0 files (0 bytes) from volume Macintosh HD.
    Sep 12 02:51:09 lysithea /System/Library/CoreServices/backupd[763]: Copy stage failed with error:11
    Sep 12 02:51:14 lysithea /System/Library/CoreServices/backupd[763]: Backup failed with error: 11
    Sep 12 02:51:15 lysithea /System/Library/CoreServices/backupd[763]: Ejected Time Machine disk image.
    Sep 12 02:51:18 lysithea /System/Library/CoreServices/backupd[763]: Ejected Time Machine network volume.
    Any help would be greatly appreciated

    mattdaemon wrote:
    My TM is on a samba share
    First problem: this is *not supported by Apple:* http://support.apple.com/kb/HT1733
    to try and fix the problem by deleting a .inProgress backup but this has not helped.
    Second problem: deleting (or changing or moving) things in TM backups via the Finder can hopelessly corrupt them.
    Sep 12 01:35:44 lysithea /System/Library/CoreServices/backupd[763]: Waiting for index to be ready (-1 < 0)
    Sep 12 01:40:51 lysithea /System/Library/CoreServices/backupd[763]: Bulk setting Spotlight attributes failed.
    These can usually be stopped by excluding the backups from any anti-virus scanning, and Spotlight indexing, at least on supported volumes. Unless you're sure you have Spotlight off entirely, try excluding your backups via System Preferences > Spotlight > Privacy.
    Sep 12 02:43:12 lysithea /System/Library/CoreServices/backupd[763]: Error: (-43) SrcErr:NO Copying /Users/mdaemon/Library/Preferences/com.apple.DirectoryUtility.plist to /Volumes/lysithea Time Machine/Backups.backupdb/lysithea/2009-09-12-013213.inProgress/466ADDEF-7D04-45 15-B024-C02ADF152EA7/Macintosh HD/Users/mdaemon/Library/Preferences
    Sep 12 02:51:09 lysithea /System/Library/CoreServices/backupd[763]: Indexing a file failed. Returned -12 for: /.DS_Store, /Volumes/lysithea Time Machine/Backups.backupdb/lysithea/2009-09-12-013213.inProgress/AB3F09D7-61EB-4D 9F-B0EF-AC4C1E0712EA/Macintosh HD/.DS_Store
    Sep 12 02:51:09 lysithea /System/Library/CoreServices/backupd[763]: Aborting backup because indexing a file failed.
    Both of these appear to indicate problems on your backup drive, perhaps directory problems. For a supported one, a +*Repair Disk+* (not permissions) will often fix it. If there's a way to run that on your backups, it's worth a try.
    It's also possible there's a problem on your internal HD, so it's worth doing a +*Verify Disk+* (not permissions) on it, too, via Disk Utility. If that shows errors, you'll have to boot from your Install disc and use it's copy of DU to repair them.

  • 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

  • Preverification failed with error code 255 on Mac OS

    Hello all,
    First up cheers to sun for creating the JME Platform SDK for MAC OS X. I downloaded and installed it the other day. All went well until I tried to compile the blasted thing and I got the following error. I've searched online and come up with nothing.
    /../nbproject/build-impl.xml:309: Preverification failed with error code 255.
            at org.netbeans.mobility.antext.PreverifyTask.execute(PreverifyTask.java:226)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
            at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            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.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:278)
            at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:497)
            at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)Apparently the error is in the build-impl.xml file. When I looked in this file the following line was the one giving me guff.
            <nb-preverify srcdir="${preverify.sources.dir}" destdir="${preverify.classes.dir}" classpath="${platform.bootclasspath}:${extra.classpath}" configuration="${platform.configuration}" platformhome="${platform.home}" platformtype="${platform.type}" commandline="${platform.preverifycommandline}"/>Anyone have any ideas??
    Cheers.

    pre-init:
    pre-load-properties:
    exists.config.active:
    exists.netbeans.user:
    exists.user.properties.file:
    load-properties:
    exists.platform.active:
    exists.platform.configuration:
    exists.platform.profile:
    init:
    post-init:
    pre-preprocess:
    deps-jar:
    conditional-clean:
    pre-clean:
    do-clean:
    post-clean:
    preprocess:
    Created dir: C:\prakash\sip\build\preprocessed
    Pre-processing 2 file(s) into C:\prakash\sip\build\preprocessed directory.
    post-preprocess:
    extract-libs:
    Created dir: C:\prakash\sip\build\compiled
    pre-compile:
    compile:
    Compiling 2 source files to C:\prakash\sip\build\compiled
    Copying 1 file to C:\prakash\sip\build\compiled
    post-compile:
    obfuscate-check:
    pre-obfuscate:
    obfuscate:
    Building jar: C:\prakash\sip\build\before-obfuscation.jar
    Copying jar file (C:\prakash\sip\build\before-obfuscation.jar) to C:\prakash\sip\build\obfuscated.jar.
    Created dir: C:\prakash\sip\build\obfuscated
    Expanding: C:\prakash\sip\build\obfuscated.jar into C:\prakash\sip\build\obfuscated
    post-obfuscate:
    pre-preverify:
    preverify:
    Created dir: C:\prakash\sip\build\preverified
    Preverifying 1698 file(s) into C:\prakash\sip\build\preverified directory.
    Error preverifying class com.sun.midp.jadtool.AppDescriptor
    VERIFIER ERROR com/sun/midp/jadtool/AppDescriptor.storeKeyStore(Ljava/lang/String;[C)V:
    Cannot find class java/io/FileOutputStream
    C:\prakash\sip\nbproject\build-impl.xml:269: Preverification failed with error code 1.
    BUILD FAILED (total time: 1 minute 7 seconds)
    Question:
    how can i resolve this problem?
    can anyone help me? .........

  • CcmSetup failed with error code 0x80004005 - windows 8.1

    using sccm 2012 r2, trying to push to a windows 8.1 client i get:
    <![LOG[==========[ ccmsetup started in process 7416 ]==========]LOG]!><time="16:05:28.041+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9272" file="ccmsetup.cpp:9437">
    <![LOG[Running on platform X64]LOG]!><time="16:05:28.042+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9272" file="util.cpp:1837">
    <![LOG[Updated security on object C:\WINDOWS\ccmsetup\cache\.]LOG]!><time="16:05:28.042+00" date="01-15-2014" component="ccmsetup" context="" type="0" thread="9272" file="ccmsetup.cpp:9281">
    <![LOG[Launch from folder C:\WINDOWS\ccmsetup\]LOG]!><time="16:05:28.042+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9272" file="ccmsetup.cpp:721">
    <![LOG[CcmSetup version: 5.0.7958.1000]LOG]!><time="16:05:28.042+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9272" file="ccmsetup.cpp:727">
    <![LOG[In ServiceMain]LOG]!><time="16:05:28.044+00" date="01-15-2014" component="ccmsetup" context="" type="0" thread="9468" file="ccmsetup.cpp:3365">
    <![LOG[Running on 'Microsoft Windows 8.1 Pro' (6.3.9600). Service Pack (0.0). SuiteMask = 272. Product Type = 18]LOG]!><time="16:05:28.084+00" date="01-15-2014" component="ccmsetup" context="" type="1"
    thread="9468" file="util.cpp:1919">
    <![LOG[Ccmsetup command line: "C:\WINDOWS\ccmsetup\ccmsetup.exe" /runservice /config:MobileClient.tcf]LOG]!><time="16:05:28.084+00" date="01-15-2014" component="ccmsetup" context="" type="1"
    thread="9468" file="ccmsetup.cpp:3590">
    <![LOG[Command line parameters for ccmsetup have been specified.  No registry lookup for command line parameters is required.]LOG]!><time="16:05:28.084+00" date="01-15-2014" component="ccmsetup" context=""
    type="1" thread="9468" file="ccmsetup.cpp:3775">
    <![LOG[Command line: "C:\WINDOWS\ccmsetup\ccmsetup.exe" /runservice /config:MobileClient.tcf]LOG]!><time="16:05:28.084+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468"
    file="ccmsetup.cpp:3776">
    <![LOG[SslState value: 224]LOG]!><time="16:05:28.085+00" date="01-15-2014" component="ccmsetup" context="" type="0" thread="9468" file="ccmsetup.cpp:4425">
    <![LOG[CCMHTTPPORT:    80]LOG]!><time="16:05:28.086+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:8617">
    <![LOG[CCMHTTPSPORT:    443]LOG]!><time="16:05:28.087+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:8632">
    <![LOG[CCMHTTPSSTATE:    224]LOG]!><time="16:05:28.087+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:8650">
    <![LOG[CCMHTTPSCERTNAME:    ]LOG]!><time="16:05:28.087+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:8668">
    <![LOG[FSP:    ]LOG]!><time="16:05:28.087+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:8720">
    <![LOG[CCMFIRSTCERT:    1]LOG]!><time="16:05:28.087+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:8778">
    <![LOG[Config file:      C:\WINDOWS\ccmsetup\MobileClientUnicode.tcf]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468"
    file="ccmsetup.cpp:4539">
    <![LOG[Retry time:       10 minute(s)]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:4540">
    <![LOG[MSI log file:     C:\WINDOWS\ccmsetup\Logs\client.msi.log]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468"
    file="ccmsetup.cpp:4541">
    <![LOG[MSI properties:    INSTALL="ALL" SMSSITECODE="consto" CCMHTTPPORT="80" CCMHTTPSPORT="443" CCMHTTPSSTATE="224" CCMFIRSTCERT="1"]LOG]!><time="16:05:28.088+00"
    date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:4542">
    <![LOG[Source List:]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:4550">
    <![LOG[                  \\TA-SRV-SC.constoplc.local\SMSClient]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup"
    context="" type="1" thread="9468" file="ccmsetup.cpp:4557">
    <![LOG[                  \\TA-SRV-SC.constoPLC.LOCAL\SMSClient]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup"
    context="" type="1" thread="9468" file="ccmsetup.cpp:4566">
    <![LOG[MPs:]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:4569">
    <![LOG[                  TA-SRV-SC.constoplc.local]LOG]!><time="16:05:28.088+00" date="01-15-2014" component="ccmsetup" context=""
    type="1" thread="9468" file="ccmsetup.cpp:4584">
    <![LOG[MapNLMCostDataToCCMCost() returning Cost 0x1]LOG]!><time="16:05:28.091+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmutillib.cpp:5479">
    <![LOG[No version of the client is currently detected.]LOG]!><time="16:05:28.093+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:2748">
    <![LOG[Folder 'Microsoft\Configuration Manager' not found. Task does not exist.]LOG]!><time="16:05:28.094+00" date="01-15-2014" component="ccmsetup" context="" type="0" thread="9468" file="wintask.cpp:622">
    <![LOG[Updated security on object C:\WINDOWS\ccmsetup\.]LOG]!><time="16:05:28.095+00" date="01-15-2014" component="ccmsetup" context="" type="0" thread="9468" file="ccmsetup.cpp:9281">
    <![LOG[A Fallback Status Point has not been specified.  Message with STATEID='100' will not be sent.]LOG]!><time="16:05:28.095+00" date="01-15-2014" component="ccmsetup" context="" type="1"
    thread="9468" file="ccmsetup.cpp:9763">
    <![LOG[Running as user "SYSTEM"]LOG]!><time="16:05:28.118+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9468" file="ccmsetup.cpp:1995">
    <![LOG[A Fallback Status Point has not been specified.  Message with STATEID='328' will not be sent.]LOG]!><time="16:05:28.118+00" date="01-15-2014" component="ccmsetup" context="" type="1"
    thread="9468" file="ccmsetup.cpp:9763">
    <![LOG[CcmSetup failed with error code 0x80004005]LOG]!><time="16:05:28.119+00" date="01-15-2014" component="ccmsetup" context="" type="1" thread="9272" file="ccmsetup.cpp:10879">
    any ideas why its failing?

    Hi,
    I've seen the same error on a customer where we had Windows Intune Client (SCCM) installed previously. Did you try it on a newly deployed computer? If you had Intune or another CCM client on it previously make sure you clean it up. Here is a well formulated
    instruction:
    http://douwevanderuit.wordpress.com/2014/01/30/removing-windows-intune-client/
    Usually when deploying to many clients we use a startup script, there is a great one that Jason Sandys made in the link below.
    http://blog.configmgrftw.com/configmgr-client-startup-script/
    There should be no problems deploying SCCM 2012 R2 clients on Windows 8.1 unless there is something wrong with either the setup or the client computer.
    All the best, Jesper Hassing - MCTS SCCM 2012 - MCSA 2012 Server - MCP

Maybe you are looking for

  • 'Save as' in CS3 action doesn't change to target directory

    I just re-built my PC with Vista x64 and re-installed PS CS3 from scratch upgrading to 10.0.1 from the auto update. I need this for LR2 to integrate. Since the re-build (I was on XP x64 previously) one of my actions which includes a 'Save As', which

  • My Adobe Acrobat 10 Pro creates PDFs with a graph background.  How do I make the background white?

    My Adobe Acrobat 10 Pro creates PDFs with a GRAPH background.  How do I make the scanned documents have a normal white background?

  • Why do my PC not push to My Mac,Iphone4sIpad2

    I'm finding that the I Cloud is not that easy to work with. On my MacBook I enter things an it doesn't push to my 2 PCs I enter on my IPad2 and get same problem On my PC   Icloud I found I had 7 or 10 different Calenders so I deleted some, Can't seem

  • Appending Outlook safe senders list via GPO

    I am trying to append a known safe email address to my list of 'Safe Senders' in Outlook 2007 and 2010. In our GPO I went into the ADM file for Office 2010, edited the Options > Preferences > Junk Email > Specify path to safe senders list In there I

  • BADI for FMBBC ?

    Hi Experts, iam Working on Budget Workflow. After the creation of FMBBC, when i press Prepost. i want to trigger my Workflow? Which BADI is Suited for me ?  My BO is BUS0050 and Event is Prepostdocument ? Plz help me ?