Int[] to XML

Hi all,
i have a problem with the setVariableData-method within a <bpel:exec>-block. Within this block it gives an int[], which is to be stored into the signature element. During the execution of "setVariableData("input","payload","/tns:Vapi01Request/tns:signature",retSig);" I get the following error:
Error in <assign> expression: <to> value is empty at line "". The XPath expression : "/child::tns:Vapi01Request/child::tns:signature" returns zero node, when applied to document shown below:
<Vapi01Request xmlns="http://de/pdv/visj/web/vapiws/">
<host />
<mandant />
<user>matthias1</user>
<Signature />
</Vapi01Request>
Here is the cutout from my WSDL:
<types>
<schema attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://de/pdv/visj/web/vapiws/"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="Vapi01Request">
<complexType>
<sequence>
<element name="host" type="string"/>
                         <element name="mandant" type="string"/>
                         <element name="user" type="string"/>
                         <element name="Signature" maxOccurs="unbounded" type="int" />
</sequence>
</complexType>
</element>
<element name="Vapi01Response">
<complexType>
<sequence>
<element name="result" type="string"/>
</sequence>
</complexType>
</element>
</schema>
</types>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MESSAGE TYPE DEFINITION - Definition of the message types used as
part of the port type defintions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<message name="Vapi01RequestMessage">
<part name="payload" element="tns:Vapi01Request"/>
</message>
<message name="Vapi01ResponseMessage">
<part name="payload" element="tns:Vapi01Response"/>
</message>
What is the problem? What do I have to do??? I use the current versions of the BPEL designer and BPEL Process manager.
Thanks
Matthias

Hi Matthias,
The error message is correct, your query string has wrong node-name (lower case s) for Signature element.
/child::tns:Vapi01Request/child::tns:signature
Please correct to
/child::tns:Vapi01Request/child::tns:Signature
Because your document has upper case Signature.
<Vapi01Request xmlns="http://de/pdv/visj/web/vapiws/">
<host />
<mandant />
<user>matthias1</user>
<Signature />
</Vapi01Request>

Similar Messages

  • What is the best way to create a database schema from XML

    What is the best way to create a database schema from XML?
    i have  a complex XML file that I want to create a database from and consistently import new XML files of the same schema type. Currently I have started off by mapping the XSD into Excel and using Mysql for Excel to push into MySQL.
    There must be a more .net microsoft solution for this but I cannot locate the topic and tools by searching. What are the best tools and way to manage this?
    Taking my C# further

    Hi Saythj,
    When mentioning "a database schema from XML", do you mean the
    XML Schema Collections? If that is what you mean, when trying to import XML files of the same schema type, you may take the below approach.
    Create an XML Schema Collection basing on your complex XML, you can find
    many generating tools online to do that.
    Create a Table with the above created schema typed XML column as below.
    CREATE TABLE youTable( Col1 int, Col2 xml (yourXMLSchemaCollection))
    Load your XML files and try to insert the xml content into the table above from C# or some other approaches. The XMLs that can't pass the validation fail inserting into that table.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • How to get Total Number of XML Nodes?

    Hello All,
    I have a Flash program I'm doing in Actionscript 3, using CS6.
    I'm using the XMLSocket Class to read-in XML Data. I will write some sample XML Data that is being sent to the Flash
    program below...
    I know with this line here (below) I can access the 4th "element or node" of that XML Data.
         Accessing XML Nodes/Elements:
    // *I created an XML Variable called xml, and "e.data" contains ALL the XML Data
    var xml:XML = XML(e.data);
    // Accessing the 4th element of the data:
    xml.MESSAGE[3].@VAR;          --->     "loggedOutUsers"
    xml.MESSAGE[3].@TEXT;         --->     "15"
         SAMPLE XML DATA:
         <FRAME>
    0               <MESSAGE VAR="screen2Display" TEXT="FRAME_1"/>
    1               <MESSAGE VAR="numUsers" TEXT="27"/>
    2               <MESSAGE VAR="loggedInUsers" TEXT="12"/>
    3               <MESSAGE VAR="loggedOutUsers" TEXT="15"/>
    4               <MESSAGE VAR="admins" TEXT="2"/>
         </FRAME>
    I'm new to Flash and Actionscript but I'm very familiar with other languages and how arrays work and such, and I know for
    example, in a Shell Script to get the total number of elements in an array called "myArray" I would write something like
    this --> ${#myArray[@]}. And since processing the XML Data looks an awful lot like an array I figured there was maybe
    some way of accessing the total number of "elements/nodes" in the XML Data...?
    Any thoughts would be much appreciated!
    Thanks in Advance,
    Matt

    Hey vamsibatu, thanks again for the quick reply!
    Ohhh, ok I gotcha. That makes more sense.
    So I just tried this loop below and I guess I could use this and just keep assigning an int variable to the output so
    when it finishes I will be left with a variable containing the total number of elements:
    for (var x:int in xml.MESSAGE)
         trace("x == " + x);
    *Which OUTPUTS the Following:
    x == 0
    x == 1
    x == 2
    x == 3
    x == 4
    So I guess I could do something like this and when the loop completes I will be left with the total number of elements/nodes...
    var myTotal:int;
    for (var x:int in xml.MESSAGE)
        myTotal = x;
    // add '1' to myTotal since the XML Data is zero-based:
    myTotal += 1;
    trace("myTotal == " + myTotal);
    *Which Prints:
    "myTotal == 5"
    Thanks again for you suggestions, much appreciated!
    I think that should be good enough for what I needed. Thanks...
    Thanks Again,
    Matt

  • Report design for hierarchical xml data

    I need to create a report that shows hierarchical xml data. I already have an xml saved to a database. How would I go bout creating a design for such a report? Should I be doing groups on every parent with children? Any example?
    Thanks

    Hi markgoldin,
    I tested the issue in my local machine by following steps:
      1. Created a table and store the xml into the table with the following query:
    CREATE TABLE xmlTbl (id INT, xmlVal xml);
    INSERT INTO xmlTbl values(1,
    '<Customers>
    <Customer ID="11">
    <FirstName>Bobby</FirstName>
    <LastName>Moore</LastName>
    </Customer>
    <Customer ID="20">
    <FirstName>Crystal</FirstName>
    <LastName>Hu</LastName>
    </Customer>
    </Customers>'
     2. Created a stored procedure to retrieve data from the table with the following query:
    create procedure xml_report
    as
    DECLARE @xmlDoc XML;
    SELECT @xmlDoc = xmlVal FROM xmlTbl WHERE id=1;
    SELECT T.c.value('(@ID)','int') AS ID,
    T.c.value('(FirstName[1])','varchar(99)') AS firstName,
    T.c.value('(LastName[1])','varchar(99)') AS lastName
    FROM @xmlDoc.nodes('/Customers/Customer') T(c)
    GO
      3. In the Report Data pane, right-click Data Sources and click Add Data Source.
      4. For an embedded data source, verify that Embedded connection is selected. From the Type drop-down list, select a data source type; for example, Microsoft SQL Server or OLE DB. Type the connection string directly or click Edit to open the Connection
    Properties dialog box and select Server name and database name from the drop down list.
      5. For a shared data source, verify that Use shared data source reference is selected, then select a data source from the drop down list.
      6. Right-click DataSets and click Add Dataset, type a name for the dataset or accept the default name, In Data source, select the name of an existing shared data source, select StoredProcedure in Query type, then select xml_report from stored procedure
    name drop down list.
      7. In the Toolbox, click Table, and then click on the design surface.
      8. Drag the Date field from the dataset to the cells in the table.
    The following screenshot is for your reference:
    For more information about how to use the xml data type methods, please refer to the following document:
    http://msdn.microsoft.com/en-us/library/ms190798.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • Carriage return symbol is removed from XML

    Hello,
    It looks like SQL Server removes \r characters when parsing XML. So when my stored procedure receives values in xml for saving, all line breaks are represented as \n instead of \r\n.
    Is there any way I can force SQL Server not to remove \r characters? In the sample below Node1 value doesn't contain \r symbols.
    DECLARE @hDoc int
    DECLARE @Xml nvarchar(MAX)
    SET @Xml = N'<Root><Node1><![CDATA[' + nchar(13) + nchar(10) + N'Some ' + nchar(13) + nchar(10) + N' Value]]></Node1></Root>'
    EXEC sp_xml_preparedocument @hDoc OUTPUT, @Xml
    SELECT
    Node1
    ,convert(varbinary(max),Node1) -- Contains 0A00 in the start instead of 0D0A,
    ,charindex(nchar(13),Node1)
    FROM
    OPENXML(@hDoc, N'/Root', 2) WITH (Node1 NVARCHAR(MAX))
    EXEC sp_xml_removedocument @hDoc
    Thank you

    Hi dalong,
    The scenario you pointed is the behavior of the XML processor by default. If any characters with CARRIAGE RETURN (#xD), whenever CARRIAGE RETURN (#xD) is followed by LINE FEED (#xA) or not, will be translate to a single #xA character, to normalize all line
    breaks in external parsed entities on input before parsing.
    In this case, you may have a try to make use of REPLACE function in the SELECT statement to replace “nchar(10)” to “nchar(13)+nchar(10)”.
    Best Regards,
    Stephanie Lv
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Java Tree's & XML Files ??

    Hi ye's -
    Listen I'm a little stuck - and need yer help ??? If ye's can .........please -
    The problem is this -
    I have a Massive XML File containing all the different Categories, Tags, Tag Descriptions, Indicators and valid Subfields, Repeatable Subfields.
    Now - I need to build a Tree to illustrate all this information - however within my code I don't want to Compare it against the elements int the XML file since I'll have tonnes of different elements, making my code enormous -
    Is there a way I can code in java to loop through the XML file and build up my Tree as it goes along ????
    Here is a sample of the code I was using - but surely theres an easier way ? Can't keep continuing like this ;o(
    Lorraine
    public void parseDomTreeMarc(Element rootElement)
    NodeList BiblioTags = rootElement.getChildNodes();
    DefaultMutableTreeNode Category = null;
    DefaultMutableTreeNode Tag = null;
    for(int i = 0; i < BiblioTags.getLength(); i++)
         if(BiblioTags.item(i).getNodeName().compareTo("Title") == 0)
              NodeList CategoriesList = BiblioTags.item(i).getChildNodes();
              Category = new DefaultMutableTreeNode(CategoriesList.item(i).getNodeValue());
              for(int j = 0; j < CategoriesList.getLength(); j++)
                   if(CategoriesList.item(j).getNodeName().compareTo("TagValue") == 0)
                        NodeList TagList = CategoriesList.item(j).getChildNodes();
                        for(int k = 0; k < TagList.getLength(); k++)
                             switch(TagList.item(k).getNodeType())
                                  case Node.TEXT_NODE:
                                  if(TagList.item(k).getNodeValue().compareTo("") != 0)
                                       Tag = new DefaultMutableTreeNode(TagList.item(k).getNodeValue());
                                       Category.add(Tag);
                             if(TagList.item(k).getNodeName().compareTo("TitleDescription") == 0)
                                       etc...
                                       doing same piece of code for all elements more or less ...
         //Create Marc Tree
    final JTree marcTree = new JTree(Category);
    marcTree.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
    JScrollPane treeView1 = new JScrollPane(marcTree);
    this.getContentPane().add(treeView1, new XYConstraints(10, 350, 223, 197));

    Have emailed a jar file of sample code to the email address shown in your profie. Let me know if there's a better address to send it to
    Good luck!

  • "in-memory" XML lookup - NullPointerException

    I am using several static "in-memory" XML documents to store "lookup tables" and other resources (XSLs, SQLs, etc). I access resource within the XML lookups using XMLDocument.valueOf(xpathSearchString);. I am also building some XMLNode hashtables from which I clone nodes when a key is found.
    In both cases, I am getting an ephemeral NullPointerException:
    Cloning:
    ava.lang.NullPointerException
    java.lang.String java.lang.String.intern()
    void oracle.xml.parser.v2.XMLAttr.<init>(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
    oracle.xml.parser.v2.XMLAttr oracle.xml.parser.v2.NodeFactory.createAttribute(java.lang.String, java.lang.String)
    org.w3c.dom.Node oracle.xml.parser.v2.XMLNode.cloneNode(boolean)
    Selecting Node from Lookup:
    java.lang.NullPointerException
    java.lang.String java.lang.String.intern()
    java.lang.String oracle.xml.parser.v2.XSLParseString.getQname()
    int oracle.xml.parser.v2.XSLParseString.nextToken()
    void oracle.xml.parser.v2.PathExpr.<init>(oracle.xml.parser.v2.XSLParseString, boolean)
    oracle.xml.parser.v2.XSLExprBase oracle.xml.parser.v2.XSLNodeSetExpr.parse(oracle.xml.parser.v2.XSLParseString, boolean, boolean)
    oracle.xml.parser.v2.XSLExprBase oracle.xml.parser.v2.XSLNodeSetExpr.parse(oracle.xml.parser.v2.XSLParseString, boolean)
    oracle.xml.parser.v2.XSLNodeSetInt oracle.xml.parser.v2.XSLExprBase.createNodeSetExpr(java.lang.String, oracle.xml.parser.v2.NSResolver, oracle.xml.parser.v2.XSLStylesheet)
    org.w3c.dom.NodeList oracle.xml.parser.v2.XMLNode.selectNodes(java.lang.String, oracle.xml.parser.v2.NSResolver)
    I am stumped at this points. All the errors are coming from quite deep down in the Oracle API. I can not think of what I am doing that would affect things at that level.
    First gut response: I kind of think that it might have to do with the documents being static due to the String.intern() in the stack trace?
    Help!
    null

    Could you email the smallest possible testcase that reproduces the problem and include a URL to this discussion thread for reference?

  • What is the best way to create CRUD datagrids

    What is the best way to create CRUD datagrids that tell CF
    components to update sql tables. I find that I'm having to vreate
    all these columns with custom properites and its a bit of a chore:
    <mx:DataGridColumn id = "NatWest" dataField="NatWest"
    headerText="NatWest" editable="false"
    wordWrap="true"
    textAlign="right"
    headerStyleName="centered"
    labelFunction="price_labelFuncNatWest"
    sortCompareFunction="price_sortCompareFunc">
    I don't really want to use any wizards as I want control over
    my code.

    Hi Saythj,
    When mentioning "a database schema from XML", do you mean the
    XML Schema Collections? If that is what you mean, when trying to import XML files of the same schema type, you may take the below approach.
    Create an XML Schema Collection basing on your complex XML, you can find
    many generating tools online to do that.
    Create a Table with the above created schema typed XML column as below.
    CREATE TABLE youTable( Col1 int, Col2 xml (yourXMLSchemaCollection))
    Load your XML files and try to insert the xml content into the table above from C# or some other approaches. The XMLs that can't pass the validation fail inserting into that table.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Java.lang.NullPointerException in Parser

    Hi,
    I appreciate any idea that can help me.
    I'm processing a sql sentence that can retrive 10.000 rows with XSU.
    I generate xml files with 1000 rows from the resultset and then I transform this xmls into xml files based of Onix Standard.
    I've nullpointer exception in random way, but I supose that there is a problem when the xml files are transformed.
    There are any limitation for user parser and tranformer. I supose that there is a memory problem with this because the class consume a lot of CPU memory.
    Thank in advance.

    Thank every body.
    I increase -mx stack to 200 but the NullPointerexception followed showed in my screen.
    In that moment I'm running the java program with jdk1.2.2, because Jdeveloper look like very hard.
    Some of random exception are here:
    Java.lang.NullPointerException
    void java.io.OutputStreamWriter.write(char[], int, int)
    void oracle.xml.parser.v2.XMLOutputStream.flush()
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLDocument.print(oracle.xml.parser.v2.PrintDriver)
    void oracle.xml.parser.v2.XMLDocument.print(java.io.OutputStream)
    void onix.IsbnXmlProcessor.main(java.lang.String[])
    Exception in thread main
    Se genero la excepcion al instanciar un Stylesheet
    java.lang.NullPointerException
    java.lang.String java.lang.String.intern()
    java.lang.String oracle.xml.parser.v2.XSLParseString.getQname()
    int oracle.xml.parser.v2.XSLParseString.nextToken()
    oracle.xml.parser.v2.XSLExprBase oracle.xml.parser.v2.XSLNodeSetExpr.parse(oracle.xml.parser.v2.XSLParseString, boolean, boolean)
    oracle.xml.parser.v2.XSLPatternInt oracle.xml.parser.v2.XSLExprBase.createPattern(java.lang.String, oracle.xml.parser.v2.NSResolver)
    void oracle.xml.parser.v2.XSLTemplate.<init>(oracle.xml.parser.v2.XMLElement, oracle.xml.parser.v2.XSLStylesheet, int, int)
    void oracle.xml.parser.v2.XSLStylesheet.updateStylesheet(oracle.xml.parser.v2.XMLDocument, int)
    void oracle.xml.parser.v2.XSLStylesheet.initStylesheet(oracle.xml.parser.v2.XMLDocument, java.net.URL)
    void oracle.xml.parser.v2.XSLStylesheet.<init>(oracle.xml.parser.v2.XMLDocument, java.net.URL)
    void onix.XMLToFile.transform(oracle.xml.parser.v2.XMLDocument, java.lang.String, java.lang.String)
    void onix.IsbnXmlGenerator.main(java.lang.String[])
    Se genero la excepcion al procesarse el xsl
    java.lang.NullPointerException
    void oracle.xml.parser.v2.XSLProcessor.processXSL(oracle.xml.parser.v2.XSLStylesheet, oracle.xml.parser.v2.XMLDocument, java.io.OutputStream)
    void onix.XMLToFile.transform(oracle.xml.parser.v2.XMLDocument, java.lang.String, java.lang.String)
    void onix.IsbnXmlGenerator.main(java.lang.String[])
    Se genero onix_2000.xml
    java.lang.NullPointerException
    void java.lang.Runtime.gc()
    void java.lang.System.gc()
    void onix.IsbnXmlGenerator.main(java.lang.String[])
    Exception in thread main
    java.lang.NullPointerException
    java.lang.String java.lang.StringBuffer.toString()
    void oracle.xml.parser.v2.XMLPrintDriver.printEndTag(oracle.xml.parser.v2.XMLElement, boolean)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLDocument.print(oracle.xml.parser.v2.PrintDriver)
    void oracle.xml.parser.v2.XMLDocument.print(java.io.OutputStream)
    void onix.IsbnXmlGenerator.setGenerator(java.lang.String)
    void onix.IsbnXmlGenerator.<init>(java.lang.String)
    void onix.IsbnXmlProcessor.main(java.lang.String[])
    java.lang.NullPointerException
    void oracle.xml.parser.v2.XMLPrintDriver.printEndTag(oracle.xml.parser.v2.XMLElement, boolean)
    void oracle.xml.parser.v2.XMLPrintDriver.printEl ement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLDocument.print(oracle.xml.parser.v2.PrintDriver)
    void oracle.xml.parser.v2.XMLDocument.print(java.io.OutputStream)
    void onix.IsbnXmlGenerator.setGenerator(java.lang.String)
    void onix.IsbnXmlGenerator.<init>(java.lang.String)
    void onix.IsbnXmlProcessor.main(java.lang.String[])
    Somebody Know how can I use OracleXMLQuery getSAX method....I appreciate an examples.
    null

  • Error: Unparseable date with OracleXMLSave

    Hi,
    Error:
    oracle.xml.sql.OracleXMLSQLException: java.text.ParseException: Unparseable date: "03/18/2099"
    int oracle.xml.sql.dml.OracleXMLSave.insertXML(org.w3c.dom.Document)
    void b2b.RcvQueueListener.saveCsmToTso(oracle.xml.parser.v2.XMLDocument)
    void b2b.RcvQueueListener.<init>()
    void b2b.RcvQueueListener.main(java.lang.String[])
    I've tried to save a row in the database with OracleXMLSave:
    I use JDeveloper 3.1.1.2 with XDK 2.? and a local Oracle 8.1.6 unde NT.
    // XML Doc:
    <ROWSET>
    <ROW NUM="1">
    <CSM_NO>A29912</CSM_NO>
    <CRE_DAY_CSM>03/18/2099</CRE_DAY_CSM>
    <CSM_VOL_GRO_FRZ>59.89</CSM_VOL_GRO_FRZ>
    </ROW>
    </ROWSET>
    // Set java enviroment:
    Locale.setDefault(java.util.Locale.US);
    // Save Data with XSU like:
    OracleXMLSave sav =
    new OracleXMLSave(cn.getConnection(), "consignment_t");
    sav.insertXML(csmData);
    Same Error when trying to...
    (1) set date format for OracleXMLSave:
    > sav.setDateFormat("DD/MM/YYYYY");
    (2) set database parameter:
    > nls_date_format='DD/MM/YYYY';
    > nls_language='AMERICAN';
    (3) set registry (winnt)
    > nls_lang=AMERICAN_AMERICA.WEISO8859P1
    Help would be appreciated.
    Thanks in advance!
    Matthias.

    setDateFormat() is expecting a format mask that is valid for the java.text.SimpleDateFormat object.
    So, just do:
    setDateFormat("d/M/yyyy");
    null

  • ADR unable to create UpdateGroup/Deployment

    I'm having an issue with SCCM, where Auto-Deployment Rules are not creating the associated Software Update Groups.
    The ADR status in the SCCM 2012 Console shows '0x80004005 (Unspecified Error)'.
    I find this in rulenegine.log:
    ~ We need to create a new UpdateGroup/Deployment $$<SMS_RULE_ENGINE><09-07-2012 12:12:26.367+360><thread=5668 (0x1624)>
    *** declare @rc int, @errxml xml; EXEC @rc=sp_SetupCI 16793227, 0, @errxml out; select @rc, @errxml $$<SMS_RULE_ENGINE><09-07-2012 12:12:26.486+360><thread=5668 (0x1624)>
    *** *** Unknown SQL Error! $$<SMS_RULE_ENGINE><09-07-2012 12:12:26.488+360><thread=5668 (0x1624)>
    CADRuleCreateDeploymentAction::Enforce failed with error:-2147467259 $$<SMS_RULE_ENGINE><09-07-2012 12:12:26.493+360><thread=5668 (0x1624)>
    STATMSG: ID=8708 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_RULE_ENGINE" SYS=SEC01.asdi.com SITE=BOU PID=3280 TID=5668 GMTDATE=Fri Sep 07 18:12:26.495 2012 ISTR0="SMS Rule Engine" ISTR1="Failed to create update group/deployment" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 $$<SMS_RULE_ENGINE><09-07-2012 12:12:26.496+360><thread=5668 (0x1624)>
    ~SQL written back is: update Rules set Data = N'<AutoDeploymentRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <DeploymentId>{2fd97095-c20e-4541-a7ab-27e0eb93aa10}</DeploymentId> <DeploymentName>Required Updates Auto-Deploy</DeploymentName> <UpdateGroupId>ScopeId_4171A2FA-A631-441B-B932-848F2BE93C08/AuthList_8df0508e-b474-42ca-a6f2-8b1b833211a0</UpdateGroupId> <UpdateGroupName></UpdateGroupName> <LocaleId>1033</LocaleId> <UseSameDeployment>true</UseSameDeployment> <AlignWithSyncSchedule>false</AlignWithSyncSchedule> <NoEULAUpdates>false</NoEULAUpdates> <EnableAfterCreate>true</EnableAfterCreate> <ScopeIDs><ScopeID>SMS00UNA</ScopeID> </ScopeIDs> </AutoDeploymentRule>' where RuleID = 16777220 $$<SMS_RULE_ENGINE><09-07-2012 12:12:26.501+360><thread=5668 (0x1624)>
    ~CRuleHandler: Enforcing Actions for Rule 16777220 failed! $$<SMS_RULE_ENGINE><09-07-2012 12:12:26.504+360><thread=5668 (0x1624)>
    ~CRuleHandler: ResetRulesAndCleanUp() $$<SMS_RULE_ENGINE><09-07-2012 12:12:26.507+360><thread=5668 (0x1624)>
    Searching for SQL related errors with code '-2147467259' resulted in a hit on named pipes being disabled (which was the case), though enabling them had no effect.
    The Status Message Viewer for the Reporting Services Point and SMS_RULE_ENGINE component status both show these same errors at the same time:
    Severity,Type,Site code,Date / Time,System,Component,Message ID,Description
    Error,Milestone,BOU,9/7/2012 12:12:26 PM,SEC01.asdi.com,SMS_RULE_ENGINE,8708, Deployment creation failed. Message: Failed to create update group/deployment. Source: SMS Rule Engine.
    Error,Milestone,BOU,9/7/2012 12:12:26 PM,SEC01.asdi.com,SMS_RULE_ENGINE,620,Microsoft SQL Server reported SQL message 50000, severity 16: *** Unknown SQL Error! Please refer to your Configuration Manager documentation, SQL Server documentation, or the Microsoft Knowledge Base for further troubleshooting information.
    For background info, I am running SCCM 2012 and SCOM 2012 on the same machine, and just finished doing the "SCOM breaks SCCM's reporting services" dance. I tried to dig deeper into SQL error logs, but I wasn't able to find any events that match the time
    of the errors. I can manually create (and deploy) Software Update Groups without error.
    Any thoughts?

    I have same problem, but no space in the comparison.
    Failed rule is 16777217 though ...
    SQL written back is: update Rules set Data = N'<AutoDeploymentRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <DeploymentId>{94e60c47-4717-459c-a82f-6171481123ca}</DeploymentId> <DeploymentName>Deploy
    Critical and Security Updates</DeploymentName> <UpdateGroupId>ScopeId_16C19B0B-33B3-4C6D-B43E-1C3F4F9F3DB7/AuthList_2ebd979a-ac2b-4be0-8ca5-c939fefd8be8</UpdateGroupId> <UpdateGroupName></UpdateGroupName> <LocaleId>1033</LocaleId>
    <UseSameDeployment>false</UseSameDeployment> <AlignWithSyncSchedule>false</AlignWithSyncSchedule> <NoEULAUpdates>false</NoEULAUpdates> <EnableAfterCreate>true</EnableAfterCreate> <ScopeIDs><ScopeID>SMS00UNA</ScopeID>
    <ScopeID>WP200001</ScopeID> <ScopeID>WP200002</ScopeID> </ScopeIDs> </AutoDeploymentRule>' where RuleID = 16777217
    CRuleHandler: Enforcing Actions for Rule 16777217 failed!
    Any other suggestion?
    Thanks

  • Method not found ?!

    i write a method in the <script> markup :
    public function gotoURL(str:String):void {......}
    int the xml part,
    <mx:Component id="downloadListItemRenderer" >
    <mx:HBox width="100%" horizontalAlign="left"
    verticalAlign="middle">
    <mx:LinkButton click="gotoURL('dg')"
    label="{data.@name}"/>
    </mx:HBox>
    </mx:Component>
    Compilation ERROR : 1180 gotoURL undefined !
    I dont understand. Can you help me ?

    You have to write the script tag inside the compoent i.e.
    inside the HBox or LinkButton.
    try this -
    <mx:HBox width="100%" horizontalAlign="left"
    verticalAlign="middle">
    <mx:Script>
    <![CDATA[
    public function gotoURL(str:String):void {......}
    ]]>
    </mx:Script>
    <mx:LinkButton click="gotoURL('dg')"
    label="{data.@name}"/>
    </mx:HBox>
    It should work.
    If it does not then try putting the script tag inside the
    LinkButton.
    - Sameer

  • Flex Spark Datagrid - Scalable (font size) with No scroll Bars

    I was wondering what would be the most optimized way to scale (increase/decrease) the fonts size in a Spark DataGrid with NO Scroller, so as to make it when the User Resizes the DataGrid, the Fonts inside the Grid would increase/decrease. 
    Is there a way to listen for the size change of the DataGrid? 
    I would probably need to change the font size to increase/decrease as the event gets fired on Datagrid Resize. 
    Any suggestions?

    I've pasted as much code as I can legally can.  What i would like to achieve is that when the the window resizes, the Content & the DataGrid Scales. I am also aware of scalemode on the VBox, though it scale oddly with width more than height (this is internal).
    Else, I tried:
    protected function vgroup1_addedToStageHandler(event:Event):void
                //stage.scaleMode = StageScaleMode.EXACT_FIT;
                stage.scaleMode = StageScaleMode.SHOW_ALL;
                stage.align = StageAlign.TOP_LEFT;
                scaleX = .5;
                scaleY = .5; 
                /* if(stage.stageWidth != (event.currentTarget as VGroup).width || stage.stageHeight != (event.currentTarget as VGroup).height)
                    var scaling:Number = 1;
                    if(width>height)
                        scaling = stage.stageWidth / (event.currentTarget as VGroup).width;
                    else
                        scaling = stage.stageHeight / (event.currentTarget as VGroup).height;
                    scaleX = scaleY = scaling;
    == THIS IS All I can Post ==
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:components="components.*"
         viewSourceURL="srcview/index.html">
        <fx:Script>
        <![CDATA[
            import mx.events.FlexEvent;
            import mx.events.ResizeEvent;
            import mx.rpc.events.ResultEvent;
            import mx.rpc.xml.SimpleXMLDecoder;
            import mx.utils.ArrayUtil;
            import mx.utils.ObjectUtil;
            import spark.components.ResizeMode;
            import spark.effects.Resize;
            // Skin Colors
            private const ALTERNATING_GRID_COLOR:Array = [ 0xF5F5F0 , 0xE7E4E9 ];
            private const ROLL_OVER_COLOR:int = 0x6D9960;
            private const SELECTION_COLOR:int = 0x668F59;
            private const TEXT_FONT_SIZE:int = 11;
            private const TEXT_COLOR:int = 0x080808;
            private const SUMMARY_TEXT_COLOR:int = 0xFAAFFF;
            // First column width
            private var collectiveFirstColumnWidth:int = 160;
            private var collectiveValuesColumnWidth:int = 50;
            // XML data
            [Bindable] private var portfolioSummary1:XMLList;
            [Bindable] private var reconstructedAC:ArrayCollection;
            private function convertXmlToArrayCollection(file:String):ArrayCollection {
                var xml:XMLDocument = new XMLDocument(file);
                var decoder:SimpleXMLDecoder = new SimpleXMLDecoder();
                var data:Object = decoder.decodeXML(xml);
                var array:Array = ArrayUtil.toArray(data);
                return new ArrayCollection(array);
            private function convertToAC():void {
                var ac1:ArrayCollection = convertXmlToArrayCollection(psr1)
                trace(ObjectUtil.toString(ac1));
                //reStructureAC(ac1);
            private function restructureXMLIntoHierarchicalAC():void {
            private function addProperty(obj:Object, attribute:String, value:String):Object {
                var o:Object = obj;
                o[attribute] = value;
                return o;
            protected function httpservice1_resultHandler(event:ResultEvent):void
                portfolioSummary1 = event.result.Analytics.Side.Analytic as XMLList;
                trace('-----\nSide: Sell' + ObjectUtil.toString(event.result.Analytics.Side.(@name=='Sell')));
                trace('-----\nSide: Buy: Analytic Values : \n' + ObjectUtil.toString(event.result.Analytics.Side.(@name=='Buy').Analytic.@value));
                //dg.dataProvider = new XMLListCollection(portfolioSummary1);
                //dg.requestedRowCount = dg.dataProviderLength;
            protected function vgroup1_addedToStageHandler(event:Event):void
                //stage.scaleMode = StageScaleMode.EXACT_FIT;
                stage.scaleMode = StageScaleMode.SHOW_ALL;
                stage.align = StageAlign.TOP_LEFT;
                scaleX = .5;
                scaleY = .5; 
                /* if(stage.stageWidth != (event.currentTarget as VGroup).width || stage.stageHeight != (event.currentTarget as VGroup).height)
                    var scaling:Number = 1;
                    if(width>height)
                        scaling = stage.stageWidth / (event.currentTarget as VGroup).width;
                    else
                        scaling = stage.stageHeight / (event.currentTarget as VGroup).height;
                    scaleX = scaleY = scaling;
            protected function vgroup1_resizeHandler(event:ResizeEvent):void
                (event.currentTarget as VGroup).resizeMode = ResizeMode.SCALE;
        ]]>
        </fx:Script>
        <fx:Declarations>
            <fx:XML id="psr1" source="data/PortfolioSummaryResponse1.xml" />
            <fx:XML id="psr2" source="data/PortfolioSummaryResponse2.xml" />
            <fx:XML id="psr3" source="data/PortfolioSummaryResponse3.xml" />
            <s:XMLListCollection id="headXMLListCol"
                source="{psr1.children()}" />
            <s:HTTPService id="portfolio_HS" result="httpservice1_resultHandler(event)"
                resultFormat="e4x" url="data/PortfolioSummaryResponse1.xml" />
        </fx:Declarations>
        <s:VGroup id="vbox" width="100%" height="100%" top="0" left="0" bottom="0" gap="0" addedToStage="vgroup1_addedToStageHandler(event)">
            <!-- First DataGrid -->
            <components:ExpandableDataGrid5 id="dg"
                color="{TEXT_COLOR}"
                rollOverColor="{ROLL_OVER_COLOR}"
                alternatingRowColors="{ALTERNATING_GRID_COLOR}"
                selectionColor="{SELECTION_COLOR}"
                skinClass="skins.ResizableDataGridSkin"
                >
                <components:columns>
                    <s:ArrayList>
                        <s:GridColumn id="field1" dataField="dataField1" headerText="Portfolio Summary"
                            itemRenderer="itemRenderers.LeftAlignGridItemRenderer"
                            headerRenderer="itemRenderers.HeaderGridItemRenderer"
                            />
                        <s:GridColumn id="field2" dataField="dataField2" headerText="Buy"
                            itemRenderer="itemRenderers.RightAlignGridItemRenderer"
                            headerRenderer="itemRenderers.RightAlignHeaderGridItemRenderer"
                            />
                        <s:GridColumn id="field3" dataField="dataField3" headerText="Sell"
                            itemRenderer="itemRenderers.RightAlignGridItemRenderer"
                            headerRenderer="itemRenderers.RightAlignHeaderGridItemRenderer"
                            />
                        <s:GridColumn id="field4" dataField="dataField4" headerText="Total"
                            itemRenderer="itemRenderers.RightAlignGridItemRenderer"
                            headerRenderer="itemRenderers.RightAlignHeaderGridItemRenderer"
                            />
                    </s:ArrayList>
                </components:columns>
                <components:dataProvider>
                    <s:ArrayCollection>
                        <fx:Object dataField1="data1" dataField2="data2" dataField3="data2"  dataField4="data16"></fx:Object>
                        <fx:Object dataField1="data2" dataField2="data3" dataField3="data3" dataField4="data17"></fx:Object>
                        <fx:Object dataField1="data3" dataField2="data2" dataField3="data2"  dataField4="data16"></fx:Object>
                        <fx:Object dataField1="data4" dataField2="data3" dataField3="data3" dataField4="data17"></fx:Object>
                        <fx:Object dataField1="data5" dataField2="data2" dataField3="data2"  dataField4="data16"></fx:Object>
                        <fx:Object dataField1="data6" dataField2="data3" dataField3="data3" dataField4="data17"></fx:Object>
                        <fx:Object dataField1="data7" dataField2="data2" dataField3="data2"  dataField4="data16"></fx:Object>
                        <fx:Object dataField1="data8" dataField2="data3" dataField3="data3" dataField4="data17"></fx:Object>
                        <fx:Object dataField1="data9" dataField2="data2" dataField3="data2"  dataField4="data16"></fx:Object>
                        <fx:Object dataField1="data10" dataField2="data3" dataField3="data3" dataField4="data17"></fx:Object>
                        <fx:Object dataField1="data11" dataField2="data2" dataField3="data2"  dataField4="data16"></fx:Object>
                        <fx:Object dataField1="data12" dataField2="data3" dataField3="data3" dataField4="data17"></fx:Object>
                        <fx:Object dataField1="data13" dataField2="data3" dataField3="data3" dataField4="data17"></fx:Object>
                        <fx:Object dataField1="data14" dataField2="data3" dataField3="data3" dataField4="data17"></fx:Object>
                        <fx:Object dataField1="data15" dataField2="data3" dataField3="data3" dataField4="data17"></fx:Object>
                    </s:ArrayCollection>
                </components:dataProvider>
            </components:ExpandableDataGrid5>
            <!-- Summary Totals -->
            <components:SummaryRow >
                <s:Label text="Summary Totals" fontWeight="bold" color="{SUMMARY_TEXT_COLOR}"/>
                <s:Spacer width="100%" />
                <s:ButtonBar click="convertToAC()"> 
                    <mx:ArrayCollection>
                        <fx:String>Convert to AC</fx:String>
                        <fx:String>CPS</fx:String>
                    </mx:ArrayCollection>
                </s:ButtonBar>
                <s:ButtonBar click="restructureXMLIntoHierarchicalAC()"> 
                    <mx:ArrayCollection>
                        <fx:String>Parse XML</fx:String>
                        <fx:String>15% POV</fx:String>
                    </mx:ArrayCollection>
                </s:ButtonBar>
            </components:SummaryRow>
            <!-- Second Datagrid -->
            <components:ExpandableDataGrid5 id="dg2"
                color="{TEXT_COLOR}"
                rollOverColor="{ROLL_OVER_COLOR}"
                selectionColor="{SELECTION_COLOR}"
                alternatingRowColors="{ALTERNATING_GRID_COLOR}"
                skinClass="skins.HeadlessDataGridSkin"
                >
                <components:columns>
                    <s:ArrayList>
                        <s:GridColumn dataField="dataField1"
                            itemRenderer="itemRenderers.LeftAlignGridItemRenderer"
                            />
                        <s:GridColumn dataField="dataField2"
                            itemRenderer="itemRenderers.RightAlignGridItemRenderer"
                            />
                        <s:GridColumn dataField="dataField3"
                            itemRenderer="itemRenderers.RightAlignGridItemRenderer"
                            />
                        <s:GridColumn dataField="dataField4"
                            itemRenderer="itemRenderers.RightAlignGridItemRenderer"
                            />
                    </s:ArrayList>
                </components:columns>
                <s:ArrayList>
                    <fx:Object dataField1="data16" dataField2="data2" dataField3="data2"  dataField4="data16"></fx:Object>
                    <fx:Object dataField1="data17" dataField2="data3" dataField3="data3" dataField4="data17"></fx:Object>
                </s:ArrayList>
            </components:ExpandableDataGrid5>
            <!-- Summary Totals - values -->
            <components:SummaryRow>
                <s:Label text="Summary Totals - Values" width="100%" fontWeight="bold" color="{SUMMARY_TEXT_COLOR}"/>
            </components:SummaryRow>
            <!-- Third Datagrid -->
            <components:ExpandableDataGrid5 id="dg3"
                color="{TEXT_COLOR}"
                rollOverColor="{ROLL_OVER_COLOR}"
                selectionColor="{SELECTION_COLOR}"
                alternatingRowColors="{ALTERNATING_GRID_COLOR}"
                skinClass="skins.HeadlessDataGridSkin"
                >
                <components:columns>
                    <s:ArrayList>
                        <s:GridColumn dataField="dataField1"
                            itemRenderer="itemRenderers.LeftAlignGridItemRenderer"
                            />
                        <s:GridColumn dataField="dataField2"
                            itemRenderer="itemRenderers.ToolTipItemRenderer"
                            />
                        <s:GridColumn dataField="dataField3"
                            itemRenderer="itemRenderers.ToolTipItemRenderer"
                            />
                        <s:GridColumn dataField="dataField4"
                            itemRenderer="itemRenderers.ToolTipItemRenderer"
                            />
                    </s:ArrayList>
                </components:columns>
                <s:ArrayList>
                    <fx:Object dataField1="data18" dataField2="data2" dataField3="data3"  dataField4="data16"></fx:Object>
                    <fx:Object dataField1="data19" dataField2="data3" dataField3="data3" dataField4="data17"></fx:Object>
                </s:ArrayList>
            </components:ExpandableDataGrid5>
            <!-- Percent of Tops -->
            <components:SummaryRow>
                <s:Label text="Percent of Tops" color="{SUMMARY_TEXT_COLOR}" width="100%" fontWeight="bold"/>
            </components:SummaryRow>
            <!-- Fourth DataGrid -->
            <components:ExpandableDataGrid5 id="dg4"
                color="{TEXT_COLOR}"
                rollOverColor="{ROLL_OVER_COLOR}"
                selectionColor="{SELECTION_COLOR}"
                alternatingRowColors="{ALTERNATING_GRID_COLOR}"
                skinClass="skins.HeadlessDataGridSkin"
                >
                <components:columns>
                    <s:ArrayList>
                        <s:GridColumn dataField="dataField1"
                            itemRenderer="itemRenderers.LeftAlignGridItemRenderer"  />
                        <s:GridColumn dataField="dataField2"
                            itemRenderer="itemRenderers.RightAlignGridItemRenderer"
                            />
                        <s:GridColumn dataField="dataField3"
                            itemRenderer="itemRenderers.RightAlignGridItemRenderer"
                            />
                        <s:GridColumn dataField="dataField4"
                            itemRenderer="itemRenderers.RightAlignGridItemRenderer"
                            />
                    </s:ArrayList>
                </components:columns>
                <s:ArrayList>
                    <fx:Object dataField1="data20" dataField2="data1" dataField3="data1" dataField4="data20"></fx:Object>
                    <fx:Object dataField1="data21" dataField2="data2" dataField3="data2" dataField4="data21"></fx:Object>
                    <fx:Object dataField1="data22" dataField2="data3" dataField3="data3" dataField4="data22"></fx:Object>
                </s:ArrayList>
            </components:ExpandableDataGrid5>
        </s:VGroup>
    </s:Application>
    ExpandableDataGrid5.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:DataGrid xmlns:fx="http://ns.adobe.com/mxml/2009"
                xmlns:s="library://ns.adobe.com/flex/spark"
                xmlns:mx="library://ns.adobe.com/flex/mx"
                horizontalScrollPolicy="off"
                verticalScrollPolicy="off"
                selectionMode="singleCell"
                variableRowHeight="true"
                requestedColumnCount="4"
                width="100%"
                resizableColumns="false"
                creationComplete="thisDatagrid_creationCompleteHandler(event)"
                >
        <fx:Script>
            <![CDATA[
                 import mx.events.FlexEvent;
                /*import mx.events.ResizeEvent;
                [Bindable] private var oldWidth:int;
                [Bindable] private var oldHeight:int;
                protected function thisDatagrid_resizeHandler(event:ResizeEvent):void
                    oldWidth = event.oldWidth;
                    oldHeight = event.oldHeight;
                    this.invalidateDisplayList();
                override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
                    if (oldWidth < width) {
                        setStyle('fontSize', getStyle('fontSize') + 0.5); // might wanna~ width % height to increase by a certain pt
                        //this.scaleX += .1;
                    } else if (oldWidth > width) {
                        setStyle('fontSize', getStyle('fontSize') - 0.5);
                        //this.scaleX -= .1;
                    trace('unscaledWidth: ' + unscaledWidth);
                    trace('unscaledHeight: ' + unscaledHeight);
                    trace('explicitMinHeight: ' + explicitMinHeight);
                    trace('explicitMinWidth: ' + explicitMinWidth);
                    minHeight = measuredMinHeight;
                    super.updateDisplayList(unscaledWidth, unscaledHeight);
                protected function thisDatagrid_creationCompleteHandler(event:FlexEvent):void
                    requestedRowCount = dataProviderLength;
                    requestedMaxRowCount = dataProviderLength;
                    requestedMinRowCount = dataProviderLength;
                    minHeight = measuredHeight;
                /* protected function datagrid1_addedToStageHandler(event:Event):void
                    stage.scaleMode = StageScaleMode.SHOW_ALL;
                    /*                stage.align = StageAlign.TOP;
                     this.width = stage.stageWidth;
                    this.height = stage.stageHeight;
            ]]>
        </fx:Script>
    </s:DataGrid>
    You can Check other ExpandableDataGrids:
    <?xml version="1.0" encoding="utf-8"?>
    <s:DataGrid xmlns:fx="http://ns.adobe.com/mxml/2009"
                xmlns:s="library://ns.adobe.com/flex/spark"
                xmlns:mx="library://ns.adobe.com/flex/mx"
                resize="thisDatagrid_resizeHandler(event)"
                creationComplete="thisDatagrid_creationCompleteHandler(event)"
                horizontalScrollPolicy="off" verticalScrollPolicy="off"
                selectionMode="singleCell"
                variableRowHeight="true"
                requestedColumnCount="4"
                editable="false"
                width="100%"
                >
        <fx:Script>
            <![CDATA[
                import mx.events.FlexEvent;
                import mx.events.ResizeEvent;
                protected function thisDatagrid_resizeHandler(event:ResizeEvent):void
                    //event.stopImmediatePropagation();
                    if (event.oldWidth < width) {
                        setStyle('fontSize', getStyle('fontSize') + 0.5); // might wanna~ width % height to increase by a certain pt
                        //this.scaleX += .1;
                    } else if (event.oldWidth > width) {
                        setStyle('fontSize', getStyle('fontSize') - 0.5);
                        //this.scaleX -= .1;
                    minWidth = measuredMinWidth;
                protected function thisDatagrid_creationCompleteHandler(event:FlexEvent):void
                    requestedRowCount = dataProviderLength;
                    requestedMaxRowCount = dataProviderLength;
                    requestedMinRowCount = dataProviderLength;
                    minHeight = measuredMinHeight;
            ]]>
        </fx:Script>
    </s:DataGrid>
    OR
    <?xml version="1.0" encoding="utf-8"?>
    <s:DataGrid xmlns:fx="http://ns.adobe.com/mxml/2009"
                xmlns:s="library://ns.adobe.com/flex/spark"
                xmlns:mx="library://ns.adobe.com/flex/mx"
                horizontalScrollPolicy="off"
                verticalScrollPolicy="off"
                selectionMode="singleCell"
                variableRowHeight="true"
                requestedColumnCount="4"
                width="100%"
                resize="thisDatagrid_resizeHandler(event)"
                creationComplete="thisDatagrid_creationCompleteHandler(event)"
                >
        <fx:Script>
            <![CDATA[
                 import mx.events.FlexEvent;
                 import mx.events.ResizeEvent;
                [Bindable] private var oldWidth:int;
                [Bindable] private var oldHeight:int;
                protected function thisDatagrid_resizeHandler(event:ResizeEvent):void
                    oldWidth = event.oldWidth;
                    oldHeight = event.oldHeight;
                    this.invalidateDisplayList();
                override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
                    if (oldWidth < width) {
                        setStyle('fontSize', getStyle('fontSize') + 0.5); // might wanna~ width % height to increase by a certain pt
                        //this.scaleX += .1;
                    } else if (oldWidth > width) {
                        setStyle('fontSize', getStyle('fontSize') - 0.5);
                        //this.scaleX -= .1;
                    trace('unscaledWidth: ' + unscaledWidth);
                    trace('unscaledHeight: ' + unscaledHeight);
                    trace('explicitMinHeight: ' + explicitMinHeight);
                    trace('explicitMinWidth: ' + explicitMinWidth);
                    minHeight = measuredMinHeight;
                    super.updateDisplayList(unscaledWidth, unscaledHeight);
                protected function thisDatagrid_creationCompleteHandler(event:FlexEvent):void
                    requestedRowCount = dataProviderLength;
                    requestedMaxRowCount = dataProviderLength;
                    requestedMinRowCount = dataProviderLength;
                    minHeight = measuredHeight;
            ]]>
        </fx:Script>
    </s:DataGrid>

  • How to calculate hours between two dateTime node in BPEL.

    In my BPEL there's a requirement need calculate hours between two dateTime type..
    I tried 2 solutions, both of them failed:
    1. use xslt calculate duration(xml type, like PT12H) between two dateTime, and then use embedded java code to get the hours.. The problem is : I need to parse the xml duration format...(like this real one: -P80DT17H47M36S....), and to parse it in java , maybe have the same problem with solution 2..
    * [Subtracting 2 dateTime values into a duration using XPath 2.0|http://blogs.oracle.com/rammenon/2007/07/subtracting_2_datetime_values.html]
    2. use embed java code, but it seems we can't use some class in embedded java code:
    my code(input begin, end both dateTime in xml. output: diff, int in xml):
    1 System.out.println("\n\nTimeTestBegin");
    2 String begin=getVariableData("begin").toString();
    3 String end=getVariableData("end").toString();
    4 System.out.println(begin+"-----"+end);
    5 //Class c1=Class.forName("javax.xml.datatype.XMLGregorianCalendar");
    6 //Class c2=Class.forName("javax.xml.datatype.DatatypeFactory");
    7 //System.out.println(c1.getName());
    8 //System.out.println(c2.getName());
    9 javax.xml.datatype.XMLGregorianCalendar beginTime = javax.xml.datatype.DatatypeFactory.newInstance().newXMLGregorianCalendar(begin);
    10 javax.xml.datatype.XMLGregorianCalendar endTime = javax.xml.datatype.DatatypeFactory.newInstance().newXMLGregorianCalendar(end);
    11 long diff=beginTime.toGregorianCalendar().getTimeInMillis()-endTime.toGregorianCalendar().getTimeInMillis();
    12 setVariableData("diff",String.valueOf(diff/1000/3600));
    13 System.out.println("DIFF======"+diff/1000/3600);
    14 System.out.println("TimeTestEnd");
    it's said can't compile java class, but can't find the detail error, I think the problem is how to import java class to embedded java code activity(use full package name like above code don't work), when I remove line 9-13, no compile error..
    BTY: Jdeveloper is a IDE support java, but why the embedded java activity's edit window only have a simple "java code" editor, too simple that it can only edit you code snippet...
    3.There's another sulotion: extend BPEL xpath functions(add a new function), but in my project, modify BPEL server(soa server)'s config file is not allowed..
    Anyone know easy solution to my problem?
    Thanks.

    Hi, All,
    I found the cause. Sorry, it's my mistake..
    below line have a DatatypeConfigurationException:
    javax.xml.datatype.DatatypeFactory.newInstance()
    When I test my java code snippet, I coped the code snippet to one of my java class in eclipse, and put it in a method to check if there's compile error, but I didn't notice there's a "throws Exception"...
    the final java code snippet for test is :
    input: begin dateTime
    input: end dateTime
    output: diff int, how many hours in (begin-end)
    try{
    System.out.println("\n\nTimeTestBegin");
    String begin=getVariableData("begin").toString();
    String end=getVariableData("end").toString();
    System.out.println(begin+"-----"+end);
    javax.xml.datatype.XMLGregorianCalendar beginTime = javax.xml.datatype.DatatypeFactory.newInstance().newXMLGregorianCalendar(begin);
    javax.xml.datatype.XMLGregorianCalendar endTime = javax.xml.datatype.DatatypeFactory.newInstance().newXMLGregorianCalendar(end);
    long diff=beginTime.toGregorianCalendar().getTimeInMillis()-endTime.toGregorianCalendar().getTimeInMillis();
    setVariableData("diff",String.valueOf(diff/1000/3600));
    System.out.println("DIFF======"+diff/1000/3600);
    System.out.println("TimeTestEnd");
    }catch(Exception e){
    e.printStackTrace();
    }

  • New Site, New server SCCM 2012 R2 install fails at sp_createlocaleinfo

    Server 2012 R2 new build, SQL 2012, fresh install, SCCM 2012 R2 new install. All on one system. No clustering.
    All the prerequisites check out OK. But the install fails at sp_createlocaleinfo:
    INFO: SQL Server script: Create object spprocessdrsrecoveryversionmessage  $$<Configuration Manager Setup><01-03-2014 12:27:56.167-60><thread=3292 (0xCDC)>
    INFO: SQL Server script: Create object sp_makesureintervalexists  $$<Configuration Manager Setup><01-03-2014 12:27:56.198-60><thread=3292 (0xCDC)>
    *** -- ~-- Name         : sp_CreateLocaleInfo ~-- Definition   : SqlObjs ~-- Scope        : CAS_OR_PRIMARY ~-- Object       : P ~-- Dependencies
    : <Detect> ~-- Description  : <Please provide a description for this object> ~-- ~CREATE PROCEDURE sp_CreateLocaleInfo @_ciid int, @digest xml(CIDigest) AS ~BEGIN ~ ~    if (exists (select 1 from CI_ConfigurationItems where
    CI_ID=@_ciid and CIType_ID=21)) ~    begin ~       --It is a DT, only create localized info for default local ~       ;WITH XMLNAMESPACES ~  (
    ~    N'http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest' as app ~  ) ~  insert into CI_LocalizedCIClientProperties( CI_ID, LocaleID, Title, [Description]) ~ ~   select ~    
    @_ciid, ~      65535, ~     ISNULL(@digest.value('(/app:DeploymentType/app:Title)[1]', 'nvarchar(256)'), '') as Title, ~     ISNULL(@digest.value('(/app:DeploymentType/app:Description)[1]', 'nvarchar(2048)'),
    '') as [Description] ~      ~    end ~    else ~    begin ~  ;WITH XMLNAMESPACES ~  ( ~    N'http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest'
    as app ~  ) ~  insert into CI_LocalizedCIClientProperties( CI_ID, LocaleID, Title, [Description], Publisher, [Version], ReleaseDate, InfoUrl,InfoUrlText, PrivacyUrl, UserCategories, Tags, Icon ) ~ ~   select ~    
    @_ciid, ~     case ISNULL(cidigest.tc.value('(./@Language)[1]', 'nvarchar(10)'), '') when '' then 0 else ~    dbo.fnLShortNameToLCID(cidigest.tc.value('(./@Language)[1]',
    'nvarchar(10)')) end as lcid, ~ ~     cidigest.tc.value('(app:Title)[1]', 'nvarchar(256)') as Title, ~     cidigest.tc.value('(app:Description)[1]', 'nvarchar(2048)') as [Description], ~     cidigest.tc.value('(app:Publisher)[1]',
    'nvarchar(512)') as Publisher, ~     cidigest.tc.value('(app:Version)[1]', 'nvarchar(512)') as [Version], ~     cidigest.tc.value('(app:ReleaseDate)[1]', 'nvarchar(64)') as ReleaseDate, ~ ~     cidigest.tc.value('(app:InfoUrl)[1]',
    'nvarchar(1024)') as InfoUrl, ~     cidigest.tc.value('(app:InfoUrlText)[1]', 'nvarchar(1024)') as InfoUrlText, ~     cidigest.tc.value('(app:PrivacyUrl)[1]', 'nvarchar(2048)') as PrivacyUrl, ~    
    cidigest.tc.query('app:UserCategories') as UserCategories, ~     cidigest.tc.query('app:Tags') as Tags, ~ ~     ( ~     select top 1 icons.tc.value('xs:base64Binary((./app:Data)[1])', 'varbinary(max)')
    ~     from @digest.nodes('/app:AppMgmtDigest/app:Resources/app:Icon') as icons(tc) ~     where ~    icons.tc.value('(./@Id)[1]', 'nvarchar(1024)') = cidigest.tc.value('(./app:Icon/@Id)[1]',
    'nvarchar(1024)') ~     ) ~     as Icon ~ ~   from @digest.nodes('/app:AppMgmtDigest/app:Application/app:DisplayInfo/app:Info') as cidigest(tc) ~   where dbo.fnLShortNameToLCID(cidigest.tc.value('(./@Language)[1]',
    'nvarchar(10)')) != 0; ~ ~   --insert default info. ~   declare @defaultlocal nvarchar(20); ~ ~ ~  ;WITH XMLNAMESPACES ~  ( ~    N'http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest'
    as app ~  ) ~   select  @defaultlocal  = info.loc.value('(./@Language)[1]', 'nvarchar(20)') from @digest.nodes('/app:AppMgmtDigest/app:Application/app:DisplayInfo/app:Info ~          
    ') as info(loc) ~   where ISNULL(info.loc.value('(./@Language)[1]', 'nvarchar(20)'), '') = ISNULL(@digest.value('(/app:AppMgmtDigest/app:Application/app:DisplayInfo/@DefaultLanguage)[1]', 'nvarchar(20)'), '');
    ~ ~ ~  if  @defaultlocal is null ~  begin ~ ~    if exists (select  1 from @digest.nodes('declare namespace app="http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest";
    ~           /app:AppMgmtDigest/app:Application/app:DisplayInfo/app:Info ~           ') as info(loc) ~          
    where info.loc.value('declare namespace app="http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest"; ~          
    (./@Language)[1]', 'nvarchar(20)') = 'en') ~     begin ~     set @defaultlocal = 'en'; ~     end  else if exists (select  1 from @digest.nodes('declare
    namespace app="http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest"; ~          
    /app:AppMgmtDigest/app:Application/app:DisplayInfo/app:Info ~           ') as info(loc) ~           where info.loc.value('declare namespace app="http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest";
    ~           (./@Language)[1]', 'nvarchar(20)') = 'en-US') ~     begin ~      set @defaultlocal = 'en-US'; ~    
    end else ~     begin ~     select @defaultlocal = lo from ( select  top 1  ISNULL(info.loc.value('declare namespace app="http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest";
    ~           (./@Language)[1]', 'nvarchar(20)'), '')  as lo from @digest.nodes('declare namespace app="http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest";
    ~           /app:AppMgmtDigest/app:Application/app:DisplayInfo/app:Info ~           ') as info(loc)) as tdb ~     end ~  end ~
    ~  if not exists (select 1 from CI_LocalizedCIClientProperties lp where
    lp.CI_ID=@_ciid and lp.LocaleID=65535) ~  begin ~  insert into CI_LocalizedCIClientProperties ( CI_ID, LocaleID, Title, [Description], Publisher, [Version], ReleaseDate, InfoUrl, UserCategories, Tags,
    Icon ) ~   select CI_ID, 65535, Title, [Description], Publisher, [Version], ReleaseDate, InfoUrl, UserCategories, Tags, Icon from ~   CI_LocalizedCIClientProperties lp where lp.LocaleID = dbo.fnLShortNameToLCID(@defaultlocal)
    and lp.CI_ID = @_ciid ; ~   end; ~ ~ ~  --Expend categories. ~   ;WITH XMLNAMESPACES ~   ( ~    N'http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest' as app ~  
    ) ~   insert into CI_LocalizedCIClientTags (CI_ID, LocaleID, Tag, [Type]) ~   select distinct tt.CI_ID, tt.LocaleID, RTRIM(LTRIM( cate.tag.value('(.)[1]', 'nvarchar(513)'))) as tag, ~   N'UserCategory' ~   from ~  
    CI_LocalizedCIClientProperties  as tt cross apply tt.UserCategories.nodes('/app:UserCategories/app:Tag') as cate(tag) ~   where tt.CI_ID = @_ciid ; ~  ---Expend tags. ~   ;WITH XMLNAMESPACES ~   ( ~   
    N'http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest' as app ~   ) ~  insert into CI_LocalizedCIClientTags (CI_ID, LocaleID, Tag, [Type]) ~  select distinct tt.CI_ID, tt.LocaleID, cate.tag.value('(.)[1]',
    'nvarchar(513)') as tag, ~  N'Tag' ~  from ~  CI_LocalizedCIClientProperties  as tt cross apply tt.Tags.nodes('/app:Tags/app:Tag') as cate(tag) ~  where tt.CI_ID = @_ciid ; ~    end ~END ~  $$<Configuration
    Manager Setup><01-03-2014 12:28:09.027-60><thread=3292 (0xCDC)>
    *** [42000][701][Microsoft][SQL Server Native Client 11.0][SQL Server]There is insufficient system memory in resource pool 'internal' to run this query. : sp_CreateLocaleInfo  $$<Configuration Manager Setup><01-03-2014 12:28:09.027-60><thread=3292
    (0xCDC)>
    ERROR: SQL Server error: [42000][701][Microsoft][SQL Server Native Client 11.0][SQL Server]There is insufficient system memory in resource pool 'internal' to run this query. : sp_CreateLocaleInfo  $$<Configuration Manager Setup><01-03-2014 12:28:09.027-60><thread=3292
    (0xCDC)>
    Failed to execute sql command -- ~-- Name         : sp_CreateLocaleInfo ~-- Definition   : SqlObjs ~-- Scope        : CAS_OR_PRIMARY ~-- Object      
    : P ~-- Dependencies : <Detect> ~-- Description  : <Please provide a description for this object> ~-- ~CREATE PROCEDURE sp_CreateLocaleInfo @_ciid int, @digest xml(CIDigest) AS ~BEGIN ~ ~    if (exists (select 1 from CI_ConfigurationItems
    where CI_ID=@_ciid and CIType_ID=21)) ~    begin ~       --It is a DT, only create localized info for default local ~       ;WITH XMLNAMESPACES ~  (
    ~    N'http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest' as app ~  ) ~  insert into CI_LocalizedCIClientProperties( CI_ID, LocaleID, Title, [Description]) ~ ~   select ~    
    @_ciid, ~      65535, ~     ISNULL(@digest.value('(/app:DeploymentType/app:Title)[1]', 'nvarchar(256)'), '') as Title, ~     ISNULL(@digest.value('(/app:DeploymentType/app:Description)[1]', 'nvarchar(2048)'),
    '') as [Description] ~      ~    end ~    else ~    begin ~  ;WITH XMLNAMESPACES ~  ( ~    N'http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest'
    as app ~  ) ~  insert into CI_LocalizedCIClientProperties( CI_ID, LocaleID, Title, [Description], Publisher, [Version], ReleaseDate, InfoUrl,InfoUrlText, PrivacyUrl, UserCategories, Tags, Icon ) ~ ~   select ~    
    @_ciid, ~     case ISNULL(cidigest.tc.value('(./@Language)[1]', 'nvarchar(10)'), '') when '' then 0 else ~    dbo.fnLShortNameToLCID(cidigest.tc.value('(./@Language)[1]',
    'nvarchar(10)')) end as lcid, ~ ~     cidigest.tc.value('(app:Title)[1]', 'nvarchar(256)') as Title, ~     cidigest.tc.value('(app:Description)[1]', 'nvarchar(2048)') as [Description], ~     cidigest.tc.value('(app:Publisher)[1]',
    'nvarchar(512)') as Publisher, ~     cidigest.tc.value('(app:Version)[1]', 'nvarchar(512)') as [Version], ~     cidigest.tc.value('(app:ReleaseDate)[1]', 'nvarchar(64)') as ReleaseDate, ~ ~     cidigest.tc.value('(app:InfoUrl)[1]',
    'nvarchar(1024)') as InfoUrl, ~     cidigest.tc.value('(app:InfoUrlText)[1]', 'nvarchar(1024)') as InfoUrlText, ~     cidigest.tc.value('(app:PrivacyUrl)[1]', 'nvarchar(2048)') as PrivacyUrl, ~    
    cidigest.tc.query('app:UserCategories') as UserCategories, ~     cidigest.tc.query('app:Tags') as Tags, ~ ~     ( ~     select top 1 icons.tc.value('xs:base64Binary((./app:Data)[1])', 'varbinary(max)')
    ~     from @digest.nodes('/app:AppMgmtDigest/app:Resources/app:Icon') as icons(tc) ~     where ~    icons.tc.value('(./@Id)[1]', 'nvarchar(1024)') = cidigest.tc.value('(./app:Icon/@Id)[1]',
    'nvarchar(1024)') ~     ) ~     as Icon ~ ~   from @digest.nodes('/app:AppMgmtDigest/app:Application/app:DisplayInfo/app:Info') as cidigest(tc) ~   where dbo.fnLShortNameToLCID(cidigest.tc.value('(./@Language)[1]',
    'nvarchar(10)')) != 0; ~ ~   --insert default info. ~   declare @defaultlocal nvarchar(20); ~ ~ ~  ;WITH XMLNAMESPACES ~  ( ~    N'http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest'
    as app ~  ) ~   select  @defaultlocal  = info.loc.value('(./@Language)[1]', 'nvarchar(20)') from @digest.nodes('/app:AppMgmtDigest/app:Application/app:DisplayInfo/app:Info ~          
    ') as info(loc) ~   where ISNULL(info.loc.value('(./@Language)[1]', 'nvarchar(20)'), '') = ISNULL(@digest.value('(/app:AppMgmtDigest/app:Application/app:DisplayInfo/@DefaultLanguage)[1]', 'nvarchar(20)'), '');
    ~ ~ ~  if  @defaultlocal is null ~  begin ~ ~    if exists (select  1 from @digest.nodes('declare namespace app="http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest";
    ~           /app:AppMgmtDigest/app:Application/app:DisplayInfo/app:Info ~           ') as info(loc) ~          
    where info.loc.value('declare namespace app="http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest"; ~          
    (./@Language)[1]', 'nvarchar(20)') = 'en') ~     begin ~     set @defaultlocal = 'en'; ~     end  else if exists (select  1 from @digest.nodes('declare
    namespace app="http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest"; ~          
    /app:AppMgmtDigest/app:Application/app:DisplayInfo/app:Info ~           ') as info(loc) ~           where info.loc.value('declare namespace app="http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest";
    ~           (./@Language)[1]', 'nvarchar(20)') = 'en-US') ~     begin ~      set @defaultlocal = 'en-US'; ~    
    end else ~     begin ~     select @defaultlocal = lo from ( select  top 1  ISNULL(info.loc.value('declare namespace app="http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest";
    ~           (./@Language)[1]', 'nvarchar(20)'), '')  as lo from @digest.nodes('declare namespace app="http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest";
    ~           /app:AppMgmtDigest/app:Application/app:DisplayInfo/app:Info ~           ') as info(loc)) as tdb ~     end ~  end ~
    ~  if not exists (select 1 from CI_LocalizedCIClientProperties lp where
    lp.CI_ID=@_ciid and lp.LocaleID=65535) ~  begin ~  insert into CI_LocalizedCIClientProperties ( CI_ID, LocaleID, Title, [Description], Publisher, [Version], ReleaseDate, InfoUrl, UserCategories, Tags,
    Icon ) ~   select CI_ID, 65535, Title, [Description], Publisher, [Version], ReleaseDate, InfoUrl, UserCategories, Tags, Icon from ~   CI_LocalizedCIClientProperties lp where lp.LocaleID = dbo.fnLShortNameToLCID(@defaultlocal)
    and lp.CI_ID = @_ciid ; ~   end; ~ ~ ~  --Expend categories. ~   ;WITH XMLNAMESPACES ~   ( ~    N'http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest' as app ~  
    ) ~   insert into CI_LocalizedCIClientTags (CI_ID, LocaleID, Tag, [Type]) ~   select distinct tt.CI_ID, tt.LocaleID, RTRIM(LTRIM( cate.tag.value('(.)[1]', 'nvarchar(513)'))) as tag, ~   N'UserCategory' ~   from ~  
    CI_LocalizedCIClientProperties  as tt cross apply tt.UserCategories.nodes('/app:UserCategories/app:Tag') as cate(tag) ~   where tt.CI_ID = @_ciid ; ~  ---Expend tags. ~   ;WITH XMLNAMESPACES ~   ( ~   
    N'http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest' as app ~   ) ~  insert into CI_LocalizedCIClientTags (CI_ID, LocaleID, Tag, [Type]) ~  select distinct tt.CI_ID, tt.LocaleID, cate.tag.value('(.)[1]',
    'nvarchar(513)') as tag, ~  N'Tag' ~  from ~  CI_LocalizedCIClientProperties  as tt cross apply tt.Tags.nodes('/app:Tags/app:Tag') as cate(tag) ~  where tt.CI_ID = @_ciid ; ~    end ~END ~~ 
    $$<Configuration Manager Setup><01-03-2014 12:28:09.027-60><thread=3292 (0xCDC)>
    ERROR: Failed to execute SQL Server script: Create SQL object sp_createlocaleinfo~  $$<Configuration Manager Setup><01-03-2014 12:28:09.027-60><thread=3292 (0xCDC)>
    ERROR: SQL Server error: <>  $$<Configuration Manager Setup><01-03-2014 12:28:09.027-60><thread=3292 (0xCDC)>
    ~~===================== Completed Configuration Manager 2012 Server Setup =====================  $$<Configuration Manager Setup><01-03-2014 12:28:09.136-60><thread=3292 (0xCDC)>
    CarolChi

    Yes I found your guide and followed it.
    Stuck after 16 hours at LU_SoftwareList 
    INFO: Extracted file D:\Program Files\Microsoft Configuration Manager\AI\LU_CAL_ProductList.csv  $$<Configuration Manager Setup><01-04-2014 17:27:57.606-60><thread=520 (0x208)>
    INFO: Extracted file D:\Program Files\Microsoft Configuration Manager\AI\watermark.txt  $$<Configuration Manager Setup><01-04-2014 17:27:57.606-60><thread=520 (0x208)>
    INFO: Successfully expanded CSV files  $$<Configuration Manager Setup><01-04-2014 17:27:57.606-60><thread=520 (0x208)>
    INFO: Starting data import data to table: LU_LicensedProduct  $$<Configuration Manager Setup><01-04-2014 17:27:57.638-60><thread=520 (0x208)>
    INFO: Successfully imported data to table LU_LicensedProduct  $$<Configuration Manager Setup><01-04-2014 17:28:01.717-60><thread=520 (0x208)>
    INFO: Starting data import data to table: LU_Category  $$<Configuration Manager Setup><01-04-2014 17:28:01.717-60><thread=520 (0x208)>
    INFO: Successfully imported data to table LU_Category  $$<Configuration Manager Setup><01-04-2014 17:28:01.764-60><thread=520 (0x208)>
    INFO: Starting data import data to table: LU_SoftwareList  $$<Configuration Manager Setup><01-04-2014 17:28:01.764-60><thread=520 (0x208)>
    CarolChi

Maybe you are looking for