Validation Error in the JWS

I have a JWS file which gets deployed perfectly fine in the weblogic 10.3 runtime. I tested the webservice as well , everythign seems to be fine.
I wanted to add a SOAP Handler for the JWS file so i configured it with the annotation as
*@HandlerChain(file="handler.xml")*
The Handler Config file looks like this
*<?xml version="1.0" encoding="UTF-8"?>*
*<handler-chains xmlns="http://java.sun.com/xml/ns/javaee">*
*     <handler-chain>*
*          <handler-name>handlerOne</handler-name>*
*          <handler-class>com.Handler</handler-class>*
*     </handler-chain>*
*</handler-chains>*
I checked all the target namespace for the config file and the schema surely validates the xml.
But Weblogic Workshop says it a validation error could not validate the xml file referenced at the mentioned target namespace.
I have the required Handler class files , Handler Configs and annotations in JWS. But workshop tries to compile and shows as validation error & would not publish.
Karthik
Edited by: user6714943 on May 18, 2009 9:26 AM

Thanks for your reply.
But when i try to generate the wsdl again from the JWS. I get the following error. Though i missed the handler part of the xml still something seems to be a problem with JWS.
Handler chain file validation error for file: file:/C:/odsi/odsi_10.3/samples/RetailAppWeb/poc/sampleWS/src/com/handler.xml. Element handler-chains@http://java.sun.com/xml/ns/javaee is not a valid handler-config@http://www.bea.com/xml/ns/jws document or a valid substitution. (C:\odsi\odsi_10.3\samples\RetailAppWeb\poc\sampleWS\src\com\SampleWS.java, line 17)
Edited by: user6714943 on May 18, 2009 9:25 AM

Similar Messages

  • LOV selection fails when there are validation errors on the base page

    Hi
    I have lovs and some other required fields on a page . If there are any validation error on one of those text fields and if I open the LOV (not related to the text fields) and tries to select
    an item from the LOV search results, it doesn't do it until unless I go back to the base page and correct all the validation errors on the text fields eventhough those text fields have nothing to do with the LOV.
    Any suggestion is appreciated.
    Thanks
    Anwar

    I am on Anwar's team, and I've been dealing with the same problem, although on a different page.
    The JSPX for a contrived example is below. I can provide backing bean code, if needed.
    The form contains two LOVs. Both fields are required. If you leave both fields blank and click Continue, you get a red box around both fields and error messages are displayed. If you then click the magnifying glass to select from the first LOV, the LOV pop-up is rendered. However, you cannot make a selection, either by double-clicking a line item or by clicking OK (the OK button has no effect). All you can do is cancel.
    Interestingly, the act of clicking the magnifying glass on the first LOV gets rid of the red box around that field. So, once you cancel out, the second LOV actually does work. If there were more than two fields on the page, that wouldn't happen. The problem seems to be that the LOV doesn't work unless there are no validation errors on the page other than for the LOV which is being invoked.
    As you can see, immediate="true" is set on both LOVs. The behavior is the same whether this is true or not.
    I'm left thinking there must be something obvious that we're missing... but none of us can see it.
    Thanks,
    KEN
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <af:document title="Add Item">
          <af:form>
            <af:panelGroupLayout>
                <af:panelHeader text="Header">
                    <af:panelFormLayout>
                        <af:inputListOfValues label="Id" searchDesc="Search" popupTitle="Supplier Id"
                                              simple="true" required="true" id="supplierId"
                                              model="#{viewScope.AddItemBackingBean.supplierIdListOfValuesModel}"
                                              value="#{viewScope.AddItemValuesBean.supplier.id}"
                                              autoSubmit="true" immediate="true"/>
                        <af:inputListOfValues label="Description" searchDesc="Search" popupTitle="Supplier Id"
                                              simple="true" required="true" id="supplierDescription"
                                              model="#{viewScope.AddItemBackingBean.supplierDescriptionListOfValuesModel}"
                                              value="#{viewScope.AddItemValuesBean.supplier.description}"
                                              autoSubmit="true" immediate="true"/>
                        <f:facet name="footer">
                            <af:panelGroupLayout layout="horizontal" halign="right" >
                              <af:commandButton text="Continue"
                                                actionListener="#{viewScope.AddItemBackingBean.continueAction}"
                                                id="continueButton" />
                            </af:panelGroupLayout>
                        </f:facet>
                    </af:panelFormLayout>
                </af:panelHeader>
            </af:panelGroupLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>

  • Getting mandatory attribute validation error when the value is defaulted through customization

    Hi
    I am getting Mandatory attribute validation error when we default the value through customization.
    In the UI we have attribute called Last Name which is mandatory at EO level. Customer wanted to default Last name to some value, through page composer it is defaulted to some text and saved.
    When ever we open the page the the same value is defaulted as Last Name and appearing in the UI. But when we submit the page, EO level validation is failing. hence we are getting last name is missing.
    When i debug the code last name attribute value for EO is blank.
    In the UI the attribute last name is associated with bindings  --> #{bindings.lastname.inputvalue}
    The validation is failing if we remove the default binding associated with inputtext box.
    Can some body help what can be reason and is there any solution?
    Thanks,
    Praveen

    version 12.1.2
    I am struggling with same situation, I can't set the default value at business component because, the default value comes from a REST service at run time. In page A,  I have a field F1 that contains value from REST service. Page B has a database bound field F2, whose default value should come from F1 in Page A when a user navigates from Page A to Page B. If I set the value of F2 to be the value of F1, then it displays the value in the UI, but nothing gets submitted to EO and fails at commit.
    To make things difficult, here is my situation: Page A lives in bounded taskflow TF1, and Page B lives in bounded taskflow TF2. So I have created an input parameter P1 in TF 2, which carries over the value of F1 in Page A to Page B. When I am in Page B, I can successfully see the value of the taskflow input parameter P1. So, how do I  programmatically set the value of field F2 with the value of input parameter P1?
    I tried setting the F2.inputValue  in a method call M1 in  taskflow TF2 prior to Page B, but I get null pointer exception as it can't see field F2 yet.
    It seems like a simple thing to do, but I have spent a lot of time trying to make it work without any success.
    I would greatly appreciate any guidance.

  • Can SOA 11g fault policy handle XSD Validation errors from the Mediator?

    I would like all errors in my SOA process to go through the fault-policies.xml. But I don't seem to be able to catch any mediator error caused by an XSD validation failure. A sample of the sort of error I am trying to 'catch' is:
    Nonrecoverable System Fault          oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01303:[Payload default schema validation error]XSD schema validation fails with error Invalid text 'A' in element: 'TermCode'Possible Fix:Fix payload and resubmit.
    My fault-policies.xml file is as follows:
    <?xml version="1.0" encoding="UTF-8" ?>
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy">
    <faultPolicy version="2.0.1"
         id="NewStudentRegistrationFaults"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Conditions>
    <faultName xmlns:medns="http://schemas.oracle.com/mediator/faults" name="medns:1303">
    <condition>
    <action ref="java-fault-handler"/>
    </condition>
    </faultName>
    <faultName xmlns:rjm="http://schemas.oracle.com/sca/rejectedmessages" name="rjm:GetNewStudentRegistrationFile">
    <condition>
    <action ref="java-fault-handler"/>
    </condition>
    </faultName>
    <faultName xmlns:medns="http://schemas.oracle.com/mediator/faults" name="medns:TYPE_ALL">
    <condition>
    <action ref="java-fault-handler"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension" name="bpelx:mediatorException">
    <condition>
    <action ref="java-fault-handler"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension" name="bpelx:bindingFault">
    <condition>
    <action ref="java-fault-handler"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension" name="bpelx:remoteFault">
    <condition>
    <action ref="java-fault-handler"/>
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="java-fault-handler">
    <javaAction className="edu.villanova.soa.handlers.FaultNotificationHandler"
    defaultAction="ora-human-intervention" propertySet="faultNotificationProps">
    <returnValue value="OK" ref="ora-human-intervention"/>
    </javaAction>
    </Action>
    <!-- Human Intervention -->
    <Action id="ora-human-intervention">
    <humanIntervention/>
    </Action>
    <!-- Terminate -->
    <Action id="ora-terminate">
    <abort/>
    </Action>
    </Actions>
    <!-- Property sets used by custom Java actions -->
    <Properties>
    <!-- Property set for FaultNotificationHandler customer java action -->
    <propertySet name="faultNotificationProps">
    <property name="from">[email protected]</property>
    <property name="to">[email protected]</property>
    <property name="subject">Reporting a SOA fault</property>
    </propertySet>
    </Properties>
    </faultPolicy>
    <faultPolicy version="2.0.1"
         id="MediatorFaults"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Conditions>
    <faultName xmlns:medns="http://schemas.oracle.com/mediator/faults" name="medns:1303">
    <condition>
    <action ref="java-fault-handler"/>
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="java-fault-handler">
    <javaAction className="edu.villanova.soa.handlers.FaultNotificationHandler"
    defaultAction="ora-human-intervention" propertySet="faultNotificationProps">
    <returnValue value="OK" ref="ora-human-intervention"/>
    </javaAction>
    </Action>
    <!-- Human Intervention -->
    <Action id="ora-human-intervention">
    <humanIntervention/>
    </Action>
    <!-- Terminate -->
    <Action id="ora-terminate">
    <abort/>
    </Action>
    </Actions>
    <!-- Property sets used by custom Java actions -->
    <Properties>
    <!-- Property set for FaultNotificationHandler customer java action -->
    <propertySet name="faultNotificationProps">
    <property name="from">[email protected]</property>
    <property name="to">[email protected]</property>
    <property name="subject">Reporting a SOA rejected msg. fault</property>
    </propertySet>
    </Properties>
    </faultPolicy>
    </faultPolicies>
    My fault-bindings.xml file is as follows:
    <?xml version="1.0" encoding="UTF-8" ?>
    <faultPolicyBindings version="2.0.1"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <composite faultPolicy="NewStudentRegistrationFaults"/>
    <component faultPolicy="MediatorFaults">
    <name>NewStudentRegistrationMediator</name>
    </component>
    <service faultPolicy="NewStudentRegistrationFaults">
    <name>GetNewStudentRegistrationFile</name>
    </service>
    </faultPolicyBindings>
    You'll notice that I've tried a number of ways (and various other combinations) to try to steer the error above into my Java fault handler but nothing has meet with success. The mplan is as follows:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!--Generated by Oracle SOA Modeler version 1.0 at [2/3/10 1:21 PM].-->
    <Mediator name="NewStudentRegistationMediator" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/sca/1.0/mediator"
    wsdlTargetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/Experiments/NewStudentRegistration/GetNewStudentRegistrationFile%2F">
    <operation name="Get" deliveryPolicy="AllOrNothing" priority="4"
    validateSchema="true">
    <switch>
    <case executionType="queued" name="RegToBanner.insert_2">
    <action>
    <transform>
    <part name="$out.NewstudentregistrationCollection"
    function="xslt(xsl/NewStudentRegistration_To_NewstudentregistrationCollection.xsl, $in.body)"/>
    </transform>
    <invoke reference="RegToBanner" operation="insert"/>
    </action>
    </case>
    </switch>
    </operation>
    </Mediator>
    I'm a newbie to Oracle SOA. So perhaps I am missing the obvious. But I haven't read much in the documentation specifically about using the XSD validation option on the mediator and have seen nothing specifically about catching this sort of exception in the fault policy (apart from the faults I already have in my policy). Can anyone suggest what I am doing incorrectly here or perhaps whether what I am attempting to do is not possible? Thanks.
    - Cris

    Has anyone got it working yet?
    In my case, I have the following sequence:
    FileAdapter -> Mediator1 -> Mediator2->DB Adapter
    I am deliberately introducing validation error in File. Isn't it correct to assume Fault framework would get triggered at Mediator1 level since we are invoking FileAdapter service?
    I am getting a strange behaviour. If I enable XSD validation at Mediator1 level, process is Faulted with no re-try option. However, if I enable XSD validation ONLY at Mediator2 level, I get Recoverable fault. There seems to be some disconnect between documentation and reality. I am using JDeveloper 11.1.1.3.0 version and SOA Suite 11g.
    Thanks,
    Amjad.

  • Validator Errors and the Fix

    Hello
    I need to understand the mistakes, apply the corrections.
    I want to offer a basic page ( http://www.meherbabalibrary.com/babalist/list_g/list_g.html)  and ask for assistance. It is without CSS, with Divs - a basic unpopulated page with navigation bar.
    I ran this page through www.validator.w3g.com and validator found 18 errors.
    To have explained a few mistakes that will give me an understanding. I need to understand the dynamics that are involved in correcting the mistakes so that I can apply the corrections on this page and other pages that have been created.
    For example I have a series of errors on line 111:
    <body leftmargin="5" topmargin="5" marginwidth="5" marginheight="5" onLoad="MM_preloadImages('../../buttons/bhr.gif','../../buttons/kkr.gif','../../buttons /dvdr.gif','../../buttons/cjr.gif','../../buttons/avr.gif','../../buttons/bsr.gif','../.. /images/shack/0_Shack_MBBks.jpg')">
    <div id="pageContainer">
    I see the validator has highlighted in red most of the quotes  - and if I remove all quotes in red and then view the page in web browser most of line 111 is transformed into text. That experiment did not work.
    However if I run validator as Group Error Message by Type those reds quote show  "there is no attribute X". I don’t understand this.
    On line 115 is another series of errors and again the ' " ' symbols are highlighted in red.
    <a href="../../index.htm" target="_top" onClick="MM_nbGroup('down','group1','bhb','',1)" onMouseOver="MM_nbGroup('over','bhb','../../buttons/bhr.gif','',1)" onMouseOut="MM_nbGroup('out')"><img src="../../buttons/bhb.gif" alt="" name="bhb" width="120" height="41" border="0" onload=""></a>Th
    I Googled the errors. I am unable to understand the errors and the appropriate method to fix the errors.
    there is no attribute "onClick"
    there is no attribute "onMouseOver"
    there is no attribute "onMouseOut"
    there is no attribute "onload"
    end tag for "img" omitted, but OMITTAG NO was specified
    Thanks for indulging this long query. To wrap up I see in a few lines the "You may have neglected to close an element" supported with 'end tag for "img" omitted, but OMITTAG NO was specified'.
    Again I ran validator as ‘Group Error Message by Type’ the end tag for X omitted, but OMITTAG NO was specified".  I hope this question isn’t too long as I really need to learn how to apply fix it routines after running the validator. 
    Thanks

    You could eliminate many of your errors and code bloat if switched from image based menus to CSS styled text links. 
    Below is a quick example (no images required).  Copy & paste this code into a new, blank page.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 Document</title>
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <style>
    body {
    width: 720px;
    margin: 0 auto;
    nav {
    width: 720px;
    margin:0 auto;
    overflow: hidden; /*to control floats*/
    nav ul { margin: 0; padding:0 }
    nav li {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
    font-size: 14px;
    font-variant: small-caps;
    font-weight:bold;
    nav li a {
    margin: 0;
    display: block;
    text-decoration: none;
    color: #000;
    width: 120px;
    line-height: 2em;
    text-align: center;
    /**gradients for various browsers**/
    background: rgb(232,240,175); /* Old browsers */
    background: -moz-linear-gradient(left, rgba(232,240,175,1) 0%, rgba(232,240,175,1) 0%, rgba(162,218,178,1) 53%, rgba(150,218,209,1) 98%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(232,240,175,1)), color-stop(0%, rgba(232,240,175,1)), color-stop(53%, rgba(162,218,178,1)), color-stop(98%, rgba(150,218,209,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, rgba(232,240,175,1) 0%, rgba(232,240,175,1) 0%, rgba(162,218,178,1) 53%, rgba(150,218,209,1) 98%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, rgba(232,240,175,1) 0%, rgba(232,240,175,1) 0%, rgba(162,218,178,1) 53%, rgba(150,218,209,1) 98%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, rgba(232,240,175,1) 0%, rgba(232,240,175,1) 0%, rgba(162,218,178,1) 53%, rgba(150,218,209,1) 98%); /* IE10+ */
    background: linear-gradient(to right, rgba(232,240,175,1) 0%, rgba(232,240,175,1) 0%, rgba(162,218,178,1) 53%, rgba(150,218,209,1) 98%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8f0af', endColorstr='#96dad1', GradientType=1 ); /* IE6-9 */
    Color format: Comments IE9 Supp
    nav li a:hover, nav li a:active, nav li a:focus {
    text-decoration: underline;
    background: #E8F0AF;
    filter:none;
    /**clear floats after nav**/
    nav:after {
    clear: left;
    display: block;
    </style>
    </head>
    <body>
    <header><img src="http://www.meherbabalibrary.com/logos/Logo10.png" alt="logo" height="128" width="720"> </header>
    <nav>
    <ul>
    <li><a href="#">Baba's Home</a></li>
    <li><a href="#">Kalki's Kitchen</a></li>
    <li><a href="#">DVD Selection</a></li>
    <li><a href="#">Curator's Jive</a></li>
    <li><a href="#">Advent Vault</a></li>
    <li><a href="#">Baba Splash</a></li>
    </ul>
    </nav>
    <h2>CSS Menu without images</h2>
    <p>Simple to edit, no complex scripts or image swap behaviors, less code, easily indexed by search engines, translators and screen readers. </p>
    </body>
    </html>

  • Form validation error when the Table is empty.

    Hello Gurus,
    I am getting form validation error as soon as the popup is rendered to submit new row.
    I am using the this popup to add new row in the table and this is happening only when there no data in the table but it works fine when there is some data in the table.
    Screen shot: [http://picpaste.com/adf_error-BAdP8Thv.JPG]
    Is there any way can I defer this error till I submit the form. ( which works fine when there is some data in table )
    Thanks
    Abhijeet

    here i tested not happend for me.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" binding="#{backingBeanScope.backing_untitled8.d1}">
          <af:form binding="#{backingBeanScope.backing_untitled8.f2}" id="f2">
            <af:messages binding="#{backingBeanScope.backing_untitled8.m1}"
                         id="m1"/>
            <af:popup binding="#{backingBeanScope.backing_untitled8.p1}" id="p1">
              <af:dialog binding="#{backingBeanScope.backing_untitled8.d3}" id="d3">
                <af:panelFormLayout binding="#{backingBeanScope.backing_untitled8.pfl1}"
                                    id="pfl1">
                  <af:inputText value="#{bindings.AunitctrlBe.inputValue}"
                                label="#{bindings.AunitctrlBe.hints.label}"
                                required="#{bindings.AunitctrlBe.hints.mandatory}"
                                columns="#{bindings.AunitctrlBe.hints.displayWidth}"
                                maximumLength="#{bindings.AunitctrlBe.hints.precision}"
                                shortDesc="#{bindings.AunitctrlBe.hints.tooltip}"
                                binding="#{backingBeanScope.backing_untitled8.it10}"
                                id="it10">
                    <f:validator binding="#{bindings.AunitctrlBe.validator}"/>
                  </af:inputText>
                  <af:inputText value="#{bindings.AunitctrlUnit.inputValue}"
                                label="#{bindings.AunitctrlUnit.hints.label}"
                                required="#{bindings.AunitctrlUnit.hints.mandatory}"
                                columns="#{bindings.AunitctrlUnit.hints.displayWidth}"
                                maximumLength="#{bindings.AunitctrlUnit.hints.precision}"
                                shortDesc="#{bindings.AunitctrlUnit.hints.tooltip}"
                                binding="#{backingBeanScope.backing_untitled8.it11}"
                                id="it11">
                    <f:validator binding="#{bindings.AunitctrlUnit.validator}"/>
                  </af:inputText>
                  <af:inputText value="#{bindings.AunitctrlCostMethod.inputValue}"
                                label="#{bindings.AunitctrlCostMethod.hints.label}"
                                required="#{bindings.AunitctrlCostMethod.hints.mandatory}"
                                columns="#{bindings.AunitctrlCostMethod.hints.displayWidth}"
                                maximumLength="#{bindings.AunitctrlCostMethod.hints.precision}"
                                shortDesc="#{bindings.AunitctrlCostMethod.hints.tooltip}"
                                binding="#{backingBeanScope.backing_untitled8.it12}"
                                id="it12">
                    <f:validator binding="#{bindings.AunitctrlCostMethod.validator}"/>
                  </af:inputText>
                  <af:inputText value="#{bindings.AunitctrlCostMgmtOpt.inputValue}"
                                label="#{bindings.AunitctrlCostMgmtOpt.hints.label}"
                                required="#{bindings.AunitctrlCostMgmtOpt.hints.mandatory}"
                                columns="#{bindings.AunitctrlCostMgmtOpt.hints.displayWidth}"
                                maximumLength="#{bindings.AunitctrlCostMgmtOpt.hints.precision}"
                                shortDesc="#{bindings.AunitctrlCostMgmtOpt.hints.tooltip}"
                                binding="#{backingBeanScope.backing_untitled8.it13}"
                                id="it13">
                    <f:validator binding="#{bindings.AunitctrlCostMgmtOpt.validator}"/>
                  </af:inputText>
                  <af:inputText value="#{bindings.AunitctrlCostApprMtd.inputValue}"
                                label="#{bindings.AunitctrlCostApprMtd.hints.label}"
                                required="#{bindings.AunitctrlCostApprMtd.hints.mandatory}"
                                columns="#{bindings.AunitctrlCostApprMtd.hints.displayWidth}"
                                maximumLength="#{bindings.AunitctrlCostApprMtd.hints.precision}"
                                shortDesc="#{bindings.AunitctrlCostApprMtd.hints.tooltip}"
                                binding="#{backingBeanScope.backing_untitled8.it14}"
                                id="it14">
                    <f:validator binding="#{bindings.AunitctrlCostApprMtd.validator}"/>
                  </af:inputText>
                  <af:inputText value="#{bindings.AunitctrlJocApprMtd.inputValue}"
                                label="#{bindings.AunitctrlJocApprMtd.hints.label}"
                                required="#{bindings.AunitctrlJocApprMtd.hints.mandatory}"
                                columns="#{bindings.AunitctrlJocApprMtd.hints.displayWidth}"
                                maximumLength="#{bindings.AunitctrlJocApprMtd.hints.precision}"
                                shortDesc="#{bindings.AunitctrlJocApprMtd.hints.tooltip}"
                                binding="#{backingBeanScope.backing_untitled8.it15}"
                                id="it15">
                    <f:validator binding="#{bindings.AunitctrlJocApprMtd.validator}"/>
                  </af:inputText>
                  <af:inputText value="#{bindings.AunitctrlCreBy.inputValue}"
                                label="#{bindings.AunitctrlCreBy.hints.label}"
                                required="#{bindings.AunitctrlCreBy.hints.mandatory}"
                                columns="#{bindings.AunitctrlCreBy.hints.displayWidth}"
                                maximumLength="#{bindings.AunitctrlCreBy.hints.precision}"
                                shortDesc="#{bindings.AunitctrlCreBy.hints.tooltip}"
                                binding="#{backingBeanScope.backing_untitled8.it16}"
                                id="it16">
                    <f:validator binding="#{bindings.AunitctrlCreBy.validator}"/>
                  </af:inputText>
                  <af:inputDate value="#{bindings.AunitctrlCreDate.inputValue}"
                                label="#{bindings.AunitctrlCreDate.hints.label}"
                                required="#{bindings.AunitctrlCreDate.hints.mandatory}"
                                shortDesc="#{bindings.AunitctrlCreDate.hints.tooltip}"
                                binding="#{backingBeanScope.backing_untitled8.id1}"
                                id="id1">
                    <f:validator binding="#{bindings.AunitctrlCreDate.validator}"/>
                    <af:convertDateTime pattern="#{bindings.AunitctrlCreDate.format}"/>
                  </af:inputDate>
                  <af:inputText value="#{bindings.AunitctrlUpdBy.inputValue}"
                                label="#{bindings.AunitctrlUpdBy.hints.label}"
                                required="#{bindings.AunitctrlUpdBy.hints.mandatory}"
                                columns="#{bindings.AunitctrlUpdBy.hints.displayWidth}"
                                maximumLength="#{bindings.AunitctrlUpdBy.hints.precision}"
                                shortDesc="#{bindings.AunitctrlUpdBy.hints.tooltip}"
                                binding="#{backingBeanScope.backing_untitled8.it17}"
                                id="it17">
                    <f:validator binding="#{bindings.AunitctrlUpdBy.validator}"/>
                  </af:inputText>
                  <af:inputDate value="#{bindings.AunitctrlUpdDate.inputValue}"
                                label="#{bindings.AunitctrlUpdDate.hints.label}"
                                required="#{bindings.AunitctrlUpdDate.hints.mandatory}"
                                shortDesc="#{bindings.AunitctrlUpdDate.hints.tooltip}"
                                binding="#{backingBeanScope.backing_untitled8.id2}"
                                id="id2">
                    <f:validator binding="#{bindings.AunitctrlUpdDate.validator}"/>
                    <af:convertDateTime pattern="#{bindings.AunitctrlUpdDate.format}"/>
                  </af:inputDate>
                  <af:inputText value="#{bindings.RowID.inputValue}"
                                label="#{bindings.RowID.hints.label}"
                                required="#{bindings.RowID.hints.mandatory}"
                                columns="#{bindings.RowID.hints.displayWidth}"
                                maximumLength="#{bindings.RowID.hints.precision}"
                                shortDesc="#{bindings.RowID.hints.tooltip}"
                                binding="#{backingBeanScope.backing_untitled8.it18}"
                                id="it18">
                    <f:validator binding="#{bindings.RowID.validator}"/>
                  </af:inputText>
                  <f:facet name="footer">
                    <af:panelGroupLayout layout="vertical"
                                         binding="#{backingBeanScope.backing_untitled8.pgl1}"
                                         id="pgl1">
                      <af:panelGroupLayout layout="horizontal"
                                           binding="#{backingBeanScope.backing_untitled8.pgl2}"
                                           id="pgl2">
                        <af:commandButton actionListener="#{bindings.First1.execute}"
                                          text="First1"
                                          disabled="#{!bindings.First1.enabled}"
                                          partialSubmit="true"
                                          binding="#{backingBeanScope.backing_untitled8.cb1}"
                                          id="cb1"/>
                        <af:commandButton actionListener="#{bindings.Previous1.execute}"
                                          text="Previous1"
                                          disabled="#{!bindings.Previous1.enabled}"
                                          partialSubmit="true"
                                          binding="#{backingBeanScope.backing_untitled8.cb3}"
                                          id="cb3"/>
                        <af:commandButton actionListener="#{bindings.Next1.execute}"
                                          text="Next1"
                                          disabled="#{!bindings.Next1.enabled}"
                                          partialSubmit="true"
                                          binding="#{backingBeanScope.backing_untitled8.cb4}"
                                          id="cb4"/>
                        <af:commandButton actionListener="#{bindings.Last1.execute}"
                                          text="Last1"
                                          disabled="#{!bindings.Last1.enabled}"
                                          partialSubmit="true"
                                          binding="#{backingBeanScope.backing_untitled8.cb5}"
                                          id="cb5"/>
                      </af:panelGroupLayout>
                      <af:commandButton text="Submit"
                                        binding="#{backingBeanScope.backing_untitled8.cb6}"
                                        id="cb6"/>
                    </af:panelGroupLayout>
                  </f:facet>
                </af:panelFormLayout>
              </af:dialog>
            </af:popup>
            <af:panelCollection binding="#{backingBeanScope.backing_untitled8.pc2}"
                                id="pc2">
              <f:facet name="menus"/>
              <f:facet name="toolbar">
                <af:toolbar binding="#{backingBeanScope.backing_untitled8.t3}"
                            id="t3">
                  <af:commandButton text="insert"
                                    binding="#{backingBeanScope.backing_untitled8.cb7}"
                                    id="cb7"
                                    action="#{backingBeanScope.backing_untitled8.cb7_action}"
                                    partialSubmit="true"/>
                </af:toolbar>
              </f:facet>
              <f:facet name="statusbar"/>
              <af:table value="#{bindings.ApplUnitControlView1.collectionModel}"
                        var="row" rows="#{bindings.ApplUnitControlView1.rangeSize}"
                        emptyText="#{bindings.ApplUnitControlView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                        fetchSize="#{bindings.ApplUnitControlView1.rangeSize}"
                        rowBandingInterval="0"
                        filterModel="#{bindings.ApplUnitControlView1Query.queryDescriptor}"
                        queryListener="#{bindings.ApplUnitControlView1Query.processQuery}"
                        filterVisible="true" varStatus="vs"
                        selectedRowKeys="#{bindings.ApplUnitControlView1.collectionModel.selectedRow}"
                        selectionListener="#{bindings.ApplUnitControlView1.collectionModel.makeCurrent}"
                        rowSelection="single"
                        binding="#{backingBeanScope.backing_untitled8.t4}" id="t4"
                        partialTriggers=":::cb1 :::cb3 :::cb4 :::cb5 ::cb2">
                <af:column sortProperty="AunitctrlBe" filterable="true"
                           sortable="true"
                           headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlBe.label}"
                           id="c6" width="105">
                  <af:inputText value="#{row.bindings.AunitctrlBe.inputValue}"
                                label="#{bindings.ApplUnitControlView1.hints.AunitctrlBe.label}"
                                required="#{bindings.ApplUnitControlView1.hints.AunitctrlBe.mandatory}"
                                columns="#{bindings.ApplUnitControlView1.hints.AunitctrlBe.displayWidth}"
                                maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlBe.precision}"
                                shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlBe.tooltip}"
                                id="it1">
                    <f:validator binding="#{row.bindings.AunitctrlBe.validator}"/>
                  </af:inputText>
                </af:column>
                <af:column sortProperty="AunitctrlUnit" filterable="true"
                           sortable="true"
                           headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlUnit.label}"
                           id="c3" width="105">
                  <af:inputText value="#{row.bindings.AunitctrlUnit.inputValue}"
                                label="#{bindings.ApplUnitControlView1.hints.AunitctrlUnit.label}"
                                required="#{bindings.ApplUnitControlView1.hints.AunitctrlUnit.mandatory}"
                                columns="#{bindings.ApplUnitControlView1.hints.AunitctrlUnit.displayWidth}"
                                maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlUnit.precision}"
                                shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlUnit.tooltip}"
                                id="it9">
                    <f:validator binding="#{row.bindings.AunitctrlUnit.validator}"/>
                  </af:inputText>
                </af:column>
                <af:column sortProperty="AunitctrlCostMethod" filterable="true"
                           sortable="true"
                           headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMethod.label}"
                           id="c9" width="105">
                  <af:inputText value="#{row.bindings.AunitctrlCostMethod.inputValue}"
                                label="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMethod.label}"
                                required="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMethod.mandatory}"
                                columns="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMethod.displayWidth}"
                                maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMethod.precision}"
                                shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMethod.tooltip}"
                                id="it6">
                    <f:validator binding="#{row.bindings.AunitctrlCostMethod.validator}"/>
                  </af:inputText>
                </af:column>
                <af:column sortProperty="AunitctrlCostMgmtOpt" filterable="true"
                           sortable="true"
                           headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMgmtOpt.label}"
                           id="c1" width="105">
                  <af:inputText value="#{row.bindings.AunitctrlCostMgmtOpt.inputValue}"
                                label="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMgmtOpt.label}"
                                required="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMgmtOpt.mandatory}"
                                columns="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMgmtOpt.displayWidth}"
                                maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMgmtOpt.precision}"
                                shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMgmtOpt.tooltip}"
                                id="it3">
                    <f:validator binding="#{row.bindings.AunitctrlCostMgmtOpt.validator}"/>
                  </af:inputText>
                </af:column>
                <af:column sortProperty="AunitctrlCostApprMtd" filterable="true"
                           sortable="true"
                           headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlCostApprMtd.label}"
                           id="c2" width="105">
                  <af:inputText value="#{row.bindings.AunitctrlCostApprMtd.inputValue}"
                                label="#{bindings.ApplUnitControlView1.hints.AunitctrlCostApprMtd.label}"
                                required="#{bindings.ApplUnitControlView1.hints.AunitctrlCostApprMtd.mandatory}"
                                columns="#{bindings.ApplUnitControlView1.hints.AunitctrlCostApprMtd.displayWidth}"
                                maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlCostApprMtd.precision}"
                                shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlCostApprMtd.tooltip}"
                                id="it2">
                    <f:validator binding="#{row.bindings.AunitctrlCostApprMtd.validator}"/>
                  </af:inputText>
                </af:column>
                <af:column sortProperty="AunitctrlJocApprMtd" filterable="true"
                           sortable="true"
                           headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlJocApprMtd.label}"
                           id="c4" width="105">
                  <af:inputText value="#{row.bindings.AunitctrlJocApprMtd.inputValue}"
                                label="#{bindings.ApplUnitControlView1.hints.AunitctrlJocApprMtd.label}"
                                required="#{bindings.ApplUnitControlView1.hints.AunitctrlJocApprMtd.mandatory}"
                                columns="#{bindings.ApplUnitControlView1.hints.AunitctrlJocApprMtd.displayWidth}"
                                maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlJocApprMtd.precision}"
                                shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlJocApprMtd.tooltip}"
                                id="it4">
                    <f:validator binding="#{row.bindings.AunitctrlJocApprMtd.validator}"/>
                  </af:inputText>
                </af:column>
                <af:column sortProperty="AunitctrlCreBy" filterable="true"
                           sortable="true"
                           headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlCreBy.label}"
                           id="c5" width="105">
                  <af:inputText value="#{row.bindings.AunitctrlCreBy.inputValue}"
                                label="#{bindings.ApplUnitControlView1.hints.AunitctrlCreBy.label}"
                                required="#{bindings.ApplUnitControlView1.hints.AunitctrlCreBy.mandatory}"
                                columns="#{bindings.ApplUnitControlView1.hints.AunitctrlCreBy.displayWidth}"
                                maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlCreBy.precision}"
                                shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlCreBy.tooltip}"
                                id="it7">
                    <f:validator binding="#{row.bindings.AunitctrlCreBy.validator}"/>
                  </af:inputText>
                </af:column>
                <af:column sortProperty="AunitctrlCreDate" filterable="true"
                           sortable="true"
                           headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlCreDate.label}"
                           id="c8" width="103">
                  <f:facet name="filter">
                    <af:inputDate value="#{vs.filterCriteria.AunitctrlCreDate}"
                                  binding="#{backingBeanScope.backing_untitled8.id5}"
                                  id="id5"/>
                  </f:facet>
                  <af:inputDate value="#{row.bindings.AunitctrlCreDate.inputValue}"
                                label="#{bindings.ApplUnitControlView1.hints.AunitctrlCreDate.label}"
                                required="#{bindings.ApplUnitControlView1.hints.AunitctrlCreDate.mandatory}"
                                shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlCreDate.tooltip}"
                                id="id3">
                    <f:validator binding="#{row.bindings.AunitctrlCreDate.validator}"/>
                    <af:convertDateTime pattern="#{bindings.ApplUnitControlView1.hints.AunitctrlCreDate.format}"/>
                  </af:inputDate>
                </af:column>
                <af:column sortProperty="AunitctrlUpdBy" filterable="true"
                           sortable="true"
                           headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdBy.label}"
                           id="c7" width="107">
                  <af:inputText value="#{row.bindings.AunitctrlUpdBy.inputValue}"
                                label="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdBy.label}"
                                required="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdBy.mandatory}"
                                columns="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdBy.displayWidth}"
                                maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdBy.precision}"
                                shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdBy.tooltip}"
                                id="it5">
                    <f:validator binding="#{row.bindings.AunitctrlUpdBy.validator}"/>
                  </af:inputText>
                </af:column>
                <af:column sortProperty="AunitctrlUpdDate" filterable="true"
                           sortable="true"
                           headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdDate.label}"
                           id="c10" width="105">
                  <f:facet name="filter">
                    <af:inputDate value="#{vs.filterCriteria.AunitctrlUpdDate}"
                                  binding="#{backingBeanScope.backing_untitled8.id6}"
                                  id="id6"/>
                  </f:facet>
                  <af:inputDate value="#{row.bindings.AunitctrlUpdDate.inputValue}"
                                label="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdDate.label}"
                                required="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdDate.mandatory}"
                                shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdDate.tooltip}"
                                id="id4">
                    <f:validator binding="#{row.bindings.AunitctrlUpdDate.validator}"/>
                    <af:convertDateTime pattern="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdDate.format}"/>
                  </af:inputDate>
                </af:column>
                <af:column sortProperty="RowID" filterable="true" sortable="true"
                           headerText="#{bindings.ApplUnitControlView1.hints.RowID.label}"
                           id="c11" width="105">
                  <af:inputText value="#{row.bindings.RowID.inputValue}"
                                label="#{bindings.ApplUnitControlView1.hints.RowID.label}"
                                required="#{bindings.ApplUnitControlView1.hints.RowID.mandatory}"
                                columns="#{bindings.ApplUnitControlView1.hints.RowID.displayWidth}"
                                maximumLength="#{bindings.ApplUnitControlView1.hints.RowID.precision}"
                                shortDesc="#{bindings.ApplUnitControlView1.hints.RowID.tooltip}"
                                id="it8">
                    <f:validator binding="#{row.bindings.RowID.validator}"/>
                  </af:inputText>
                </af:column>
              </af:table>
            </af:panelCollection>
          </af:form>
        </af:document>
      </f:view>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_untitled8-->
    </jsp:root>
        public String cb7_action() {
            try {
                BindingContainer bindings1 = getBindings();
                DCIteratorBinding dciter = (DCIteratorBinding)bindings1.get("ApplUnitControlView1Iterator");
                Row oldCcurrentRow = dciter.getCurrentRow();
                BindingContainer bindings = getBindings();
                OperationBinding operationBinding = bindings.getOperationBinding("CreateInsert");
                Object result = operationBinding.execute();
                if (!operationBinding.getErrors().isEmpty()) {
                    return null;
                RichPopup popup = this.getP1();
                RichPopup.PopupHints hints =
                    new RichPopup.PopupHints(); //empty hints renders dialog in center of screen
                popup.show(hints);
            catch (NullPointerException e)
                System.out.println(" cause " + e.getCause());
                System.out.println("message" + e.getLocalizedMessage());
                System.out.println("stack trace" + e.getStackTrace());
            return "insert";
        }Edited by: ADF 7 on Feb 10, 2012 2:05 AM

  • How to capture Field validation errors in the Error table in ODI 11g

    Hello,
    We are using ODI 11g (11.1.1.5) and the scenario is to read the data from a flat file (.txt) and do a bulk insert into MS SQL Server database table.
    We need to capture the error records (if the source field size is greater than the target column size) into the error table. However the interface errors out at step "Loading - SrcSet0 - Load data (BULK INSERT)" with error message "SQLServer JDBC Driver][SQLServer]Bulk load data conversion error (truncation) for row 33, column 6" but these errors are not being inserted into the error table.
    Is there a way to capture these errors in the error table? Below is the KM details.
    LKM: LKM File to MSSQL (BULK)
    CKM: CKM SQL
    IKM: IKM MSSQL Incremental Update
    FLOW_CONTROL is set to true for the IKM.
    Thanks,
    Krishna

    Hello,
    I had the same problem with ODI when I was trying BULK INSERT of the txt file into MS SQL. Check the cell(s) in your source file (txt) - it looks like the value in hte cell has hiding symbols: when pressing F2 tryng edit the value in the cell the coursor appared far to the right from the right end of the value. So, try to use backspace to delete the hiding symbols and verify the above. If avasrything is OK, then modify your txt file. Let me know if it works.
    BTW , I've created procedure inside the MS SQL 2008R2, which BULK INSERTed records into temporary (#...) table and immediatelly, without any verification all the records were inserted into the final table in the DWH here is the statement:
    if object_id('TEMPDB..#<table>','U') is not null drop table #<table>
    CREATE TABLE [dbo].[#<table>] 
    [1] [varchar] (50) NULL, 
    [2] [varchar] (100) NULL, 
    [3] [varchar] (100) NULL, 
    [4] [varchar] (100) NULL, 
    [5] [varchar] (100) NULL, 
    [6] [varchar] (100) NULL, 
    [7] [varchar]  (100) NULL, 
    [8] [varchar] (100) NULL, 
    [9] [varchar] (100) NULL, 
    [10] [varchar] (100) NULL, 
    [11] [varchar] (100) NULL 
    ) ON [PRIMARY]
    bulk INSERT #<table> FROM 'N:\<table>.txt'
    with
    (FIRSTROW=2,KEEPNULLS,CODEPAGE=1252,FIELDTERMINATOR='\t'
    INSERT
    INTO <table>
    SELECT
    * FROM #<table>
    and it works! Let me also know if you find any other way around.
    regards
    Anatoli

  • "Distribution Certificate is not valid" - error downloading the ZIP file from App Builder

    Hello everybody,
    I'm trying to download the Distribution App (.ZIP) from App Builder.
    - The App is made with a Professional account
    - The app is a Multi-folio for iPad-iPhone
    - The App has the Push notifications option activated
    - I made a couple of Push Certificates (production + developing), I checked on Apple Keychain and they are valid (green dot)
    - I made a new App ID with Push Notification option enabled
    - I made a couple of mobileprovision files (production + developing) based on the App ID and
    - I download the .IPA and it work
    The App Builder report this error: "This is not a valid Apple Distribution Certificate"
    Any ideas?
    Is this related to the Pro account and the fact that I made another App for Android?
    Has someone the ability to try using the same settings to understand if it is a bug or a real issue?
    Thanks,
    Andrea Spinazzola
    Ps.: Obviously, we are on deadline...

    Hi Neil,
    as you can imagine reading my list, I already do everything you suggested to me.
    So It's not my mistake, I need to know if it is a bug or a known behavior.
    When I'm talking about Pro Account and Android App, I mean that a Pro Account is for only one "project" (no more infinite Apps as in the past) and due to a content issue, I had to create two Application Account with two different Adobe ID and emails.
    Is this the cause?
    I appreciate every help that could solve my problem but just to let you know, I work on DPS since it start and this is about the fifteenth apps that I did in the last 5 years, so I know exactly how it works.
    Have you tried to reproduce my list of thing?
    It works for you?
    Yes?
    No?
    I have a problem, i can't generate with DPS App Builder "App distribuzione.zip" to be sent to Apple to publish APP, this is the error message: is not a valid distribution certificate Apple. What do I do?
    Same problem, same answers, same unsolved problem.
    I made new certificates (it was the first thing I did) and It doesn't work.
    Thanks.
    Andrea

  • The object has been corrupted, and it's in an inconsistent state. The following validation errors happened:

    Dear Friend
    I have got below error message in the exchagne server 2013 while i tried to open the console of delegation mailbox . It was comes once i was deploy lync server 2013 in the same forest.
    warning
    The object has been corrupted, and it's in an inconsistent state. The following validation errors happened:
    The access control entry defines the ObjectType 'd819615a-3b9b-4738-b47e-f1bd8ee3aea4' that can't be resolved..
    The access control entry defines the ObjectType 'e2d6986b-2c7f-4cda-9851-d5b5f3fb6706' that can't be resolved..
    If you feel to ask to more clarification, please let  me know.
    Regards, Md Ehteshamuddin Khan All the opinions expressed here is mine. This posting is provided "AS IS" with no warranties or guarantees and confers no rights.

    Hi,
    Based on the description, you got warnings when you tried to click the mailbox delegation option of mailbox properties in EAC. Is it right?
    Did this issue affected only one user mailbox or all of them?
    From the error message, it seems that this issue is related to the corrupt permissions. Please use the
    Get-MailboxPermission cmdlet to retrieve permissions on a mailbox to check result.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Order of the validation error for mandatory properties

    Hi,
    I have created mandatory Properties in KM Configuration.I have configured in such a way that the properties are shown while uploading a file.Now when I upload a file without filling the properties it shows the validation error for the properties but it is not shown in the order of the properties mentioned in the property Groups.
    Everytime the error is shown in a random order.
    Please advise me whether I am missing something in the configuration.
    Thanks in advance
    Sowjanya.

    Hi,
    is it possible, that someone inserted data with a different GC as parameter than your actual group currency is?
    otherwise: I had the same problem, but I actually don't know the reason. I changed the validation rule:
    before i had: VAL_YTD( write-offs cap. assets BS ) = VAL_YTD( write-offs PL)
    now i have: ABS( VAL_YTD( write-offs cap. assets BS ) ) = ABS( VAL_YTD( write-offs PL) )
    ABS = absolute value (no sign, only values).
    You could also do it like that: ABS( VAL_YTD( write-offs cap. assets BS  ) ) - ABS( VAL_YTD( write-offs PL) ) = 0
    PS: To have the amount 0 in a validation rule is a restricted perspective. Never forget that!
    Not only for the validation - it is always absolutely important to make sure which perspective you have choosen. Check the parameters, check the rules, the selections etc.
    BR

  • How do I raise an error on the same page?

    I am using htmldb_item text and hidden to manually process some records.
    I could use the validation part of APEX but I wasn't satisfied with the results.
    I want to loop through the records and depending on the error stop or continue processing the records.
    Sometimes is OK to stop the whole thing and some others I just need to display an error on the record, get the error, continue going through the loop and display the results with the respective error(s).
    And if that's not possible just to know how to display the raise_application_error on the same page.
    I really appreciate your help, and many thanks in advance.
    juan

    Juan,
    When Application Express finds a validation error, the page rendering step is executed again in the same database process used for the validations. So the procedure wwv_flow.accept, which is doing your validations, calls wwv_flow.show (a PL/SQL call) and passes information about the validation errors to the show procedure so that error text can be merged into the page rendering process.
    If you want to simulate this you might need to save validation info in collections and build the "show" part of the page so that it knows how to run in "validation-display" mode, i.e., to be able to use the collections.
    Scott

  • AIP-51505:  General Validation Error - SFTP transport - validation disabled

    Configuration :
    internal DC with SFTP
    external DC with SFTP (via proxy)
    Business Protocol          Custom Document over Generic Exchange
    MLR 12? (patch 8703404)
    3 environments have the same tip.properties
    2 environments pick up and send all files successfully.
    I cannot see a difference between the deployments that is causing the validation error.
    [also in all three B2B's are an ebXML and AS2 trading partner configuration]
    The 3rd generates validation errors for all files (14) in the b2b.log and sends some (1-7).
    Note that the sent ones change, if a failed one is retried in the source directory, sometimes it is sent successfully.
    In the failing/validating deployment there is no validation for (cut and pasted from UI screens) :
    Document Protocol Revision Details = Translation Enabled False Validation Enabled False
    Document Types (Document Definition Details for each document def) = Is Translation Enabled False Is Validation Enabled     False
    tip.properties (environment where error occurs) :
    #valid valudes for DiagnosticLevel:
    #DEBUG, INFORMATION, WARNING, ERROR, FATAL.
    #default logging level
    oracle.tip.DiagnosticLevel = ERROR
    #default component log level for B2B Engine
    b2b.oracle.tip.DiagnosticLevel = ERROR
    # following logging properties to be set back to false after resolving Sequence 98
    # oracle.tip.adapter.b2b.logPayload = true
    # oracle.tip.adapter.b2b.packaging.logDecryptMessage = true
    b2b.oracle.tip.DiagnosticLevel.Repository = ERROR
    b2b.oracle.tip.DiagnosticLevel.BusinessLogicLayer
    b2b.oracle.tip.DiagnosticLevel.B2B
    b2b.oracle.tip.DiagnosticLevel.ModelValidation
    b2b.oracle.tip.DiagnosticLevel.ValidationRule
    b2b.oracle.tip.DiagnosticLevel.TechStack
    b2b.oracle.tip.DiagnosticLevel.Deployment
    b2b.oracle.tip.DiagnosticLevel.Reports
    b2b.oracle.tip.DiagnosticLevel.UI
    #default component level logging for UI
    ui.oracle.tip.DiagnosticLevel = ERROR
    #specify component log leel to override default;
    ui.oracle.tip.DiagnosticLevel.Repository = ERROR
    ui.oracle.tip.DiagnosticLevel.BusinessLogicLayer
    ui.oracle.tip.DiagnosticLevel.B2B
    ui.oracle.tip.DiagnosticLevel.ModelValidation
    ui.oracle.tip.DiagnosticLevel.ValidationRule
    ui.oracle.tip.DiagnosticLevel.TechStack
    ui.oracle.tip.DiagnosticLevel.Deployment
    ui.oracle.tip.DiagnosticLevel.Reports
    ui.oracle.tip.DiagnosticLevel.UI
    oracle.tip.adapter.b2b.encoding=UTF-8
    # Diagnostic Service defaults
    oracle.core.ojdl.OrganizationId = oracle.com
    oracle.core.ojdl.ComponentId = tip
    oracle.core.ojdl.HostingClientId = beta
    oracle.core.ojdl.BufferSize = 100000
    oracle.core.ojdl.FlushInterval = 5000
    # Specific diagnostic settings
    oracle.tip.LogDirectory = /space/sw/oracle/products/ias/b2b/ip/log
    oracle.tip.LogMaxSegmentSize = 10000000
    oracle.tip.LogType = text
    # option to save old log when rebounding the service
    oracle.tip.LogSave = true
    # B2B Info
    oracle.tip.adapter.b2b.NumOfWFListeners = 1
    oracle.tip.adapter.b2b.NumOfIPListeners = 1
    oracle.tip.adapter.b2b.WFAgentName = OUTAGENT
    oracle.tip.adapter.b2b.RMIPort = 5111
    oracle.tip.adapter.b2b.RMIInstance = IP
    #oracle.tip.adapter.b2b.WalletLocation = file:/etc/ORACLE/WALLETS/oracle/ora_wallet.txt
    oracle.tip.adapter.b2b.ContinueValidationOnError = true
    oracle.tip.adapter.b2b.MultipleIdentifications=false
    oracle.tip.adapter.b2b.allTPInOneDirectory=true
    oracle.tip.adapter.b2b.DocumentRouting=false
    #oracle.tip.adapter.b2b.edi.identifyFromTP = Interchange | Group | Exchange
    #oracle.tip.adapter.b2b.transportTrace = /space/sw/oracle/products/ias/b2b/ip/log/transport.trc
    #oracle.tip.adapter.b2b.edi.ignoreValidation=InterchangeReceiverID,InterchangeSenderID,GroupReceiverID,GroupSenderID,GroupSenderQual,GroupReceiverQual,InterchangeSenderQual,InterchangeReceiverQual
    #report Certificate validation as ERROR or WARNING; default value is ERROR
    #oracle.tip.adapter.b2b.tpa.validateCertificate= ERROR | WARNING
    #oracle.tip.adapter.b2b.document.NoValidation = inbound | outbound
    # HTTP Proxy Host and Proxy Port
    oracle.tip.adapter.b2b.ProxyHost =
    oracle.tip.adapter.b2b.ProxyPort =
    # MaxCachedSessions is set to 0 means no ExecutionContext
    # is stored in HTTP session (IP cache is empty).Line below overwrites default
    # value equals to 5 when 5 concurrent users could store context in their sessions
    # By commenting that line you might turn IP cache on.
    oracle.tip.ui.MaxCachedSessions = 0
    # Suppression of Validation Warnings
    oracle.tip.buslogic.validation.SuppressWarnings=false
    # Callout directory
    oracle.tip.callout.directory=%s_calloutDirectory%
    # persistence directory
    oracle.tip.runtime.persistence.dirName=%s_persistenceDir%
    # enable ONS reverse ping
    enableONS=true
    # Optional property which user can set to specify saved report encoding e.g. UTF-8, UTF-16LE etc
    # By default this property is not set, in this case the saved report csv file
    # will be generated by using the native encoding
    # Users can set this parameter to change the encoding of the generated saved report csv file
    #savedReportEncoding=UTF-8
    # Please don't modify the following properties
    # Connection Info
    username=%s_intgDBUser%
    password=%s_intgDBPasswd%
    #connect=jdbc:oracle:thin:@%s_intgDBHost%:%s_intgDBPort%:%s_intgDBSid%
    drivertype = thin
    tnsentry = inst1
    host = %s_intgDBHost%
    port = %s_intgDBPort%
    sid = %s_intgDBSid%
    oracle.tip.connection.useRepositoryAPI=on
    oracle.tip.connection.oraclehome=/space/sw/oracle/products/ias/b2b
    # property specific to Deployment
    oracle.tip.deploy.workflow_username=%s_wfUsername%
    oracle.tip.deploy.workflow_passwd=%s_wfPasswd%
    oracle.tip.deploy.workflow_tnsname=%s_wfTnsname%
    # UI user authorization
    authorization = true
    # encryption key used for securing secrets in the schema.
    oracle.tip.security.key=Be8ejb7yOX3rSefEr5pxBl49WLc0Iej9VeI8jykdjRfv
    ##oracle.tip.adapter.b2b.WalletLocation = /sw/oracle/products/ias/b2b/Apache/Apache/conf/ssl.wlt/default/b2bwallet
    #oracle.tip.adapter.b2b.WalletLocation = /sw/oracle/products/ias/101202/ib/Apache/Apache/conf/ssl.wlt/default/b2bwallet
    oracle.tip.adapter.b2b.WalletLocation =file:/sw/oracle/products/ias/b2b/Apache/Apache/conf/ssl.wlt/default/b2bwallet/ewallet.txt
    # performance best practices
    oracle.tip.adapter.b2b.sleepTimeout=1
    oracle.tip.repos.RowSize=100
    oracle.tip.adapter.b2b.receiveTimeout=1
    oracle.tip.adapter.b2b.TPACache=true
    The b2b.log from the failing environment has some lines not seen in the other two environments (the lines referring to MimePackaging:unpack) :
    2010.04.29 at 19:07:14:295: Thread-11: B2B - (DEBUG)
    Protocol = SFTP
    Version = 2.0
    Transport Header
    filename:SA_ENVSTATUSES.txt
    filesize:1
    file_ext:.txt
    filename_format:%TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt
    fullpath:/mnt/maximage_prd/sa_transfer/SA_ENVSTATUSES.txt
    timestamp:Thu Jan 15 09:29:53 PST 1970
    2010.04.29 at 19:07:14:295: Thread-11: BusinessLogicLayer - (DEBUG) New ExecutionContext has been created
    2010.04.29 at 19:07:14:296: Thread-11: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
    2010.04.29 at 19:07:14:296: Thread-11: BusinessLogicLayer - (DEBUG) Recieve a new PersistencyService
    2010.04.29 at 19:07:14:299: Thread-11: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Design
    2010.04.29 at 19:07:14:300: Thread-11: BusinessLogicLayer - (DEBUG) Push Stack: queryConfiguration
    2010.04.29 at 19:07:14:300: Thread-11: BusinessLogicLayer - (DEBUG) Pop Stack: queryConfiguration
    2010.04.29 at 19:07:14:300: Thread-11: BusinessLogicLayer - (DEBUG) A new PersistencyService is created
    2010.04.29 at 19:07:14:340: Thread-11: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) DBContext beginTransaction: Enter
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) DBContext beginTransaction: Leave
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) InterfaceListener:onMessage - Invoke inbound callout - null - null
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) InterfaceListenersyncAckEBMSchecking header names
    2010.04.29 at 19:07:14:341: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Enter
    2010.04.29 at 19:07:14:342: Thread-11: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2010.04.29 at 19:07:14:343: Thread-11: BusinessLogicLayer - (DEBUG) Push Stack: createDataStorage
    2010.04.29 at 19:07:14:345: Thread-11: BusinessLogicLayer - (DEBUG) Pop Stack: createDataStorage
    2010.04.29 at 19:07:14:346: Thread-11: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2010.04.29 at 19:07:14:346: Thread-11: BusinessLogicLayer - (DEBUG) Push Stack: createWireMessage
    2010.04.29 at 19:07:14:348: Thread-11: BusinessLogicLayer - (DEBUG) Pop Stack: createWireMessage
    2010.04.29 at 19:07:14:348: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Exit
    2010.04.29 at 19:07:14:348: Thread-11: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.InterfaceListener:onMessage sendEventtrue
    2010.04.29 at 19:07:14:359: Thread-11: B2B - (DEBUG) DBContext commit: Enter
    2010.04.29 at 19:07:14:362: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Enter
    2010.04.29 at 19:07:14:362: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Enter
    2010.04.29 at 19:07:14:362: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Leave
    2010.04.29 at 19:07:14:363: Thread-10: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processEvents Enter
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processEvents begin transaction
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Enter
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Leave
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleMessageEvent Enter
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:incomingContinueProcess Enter
    2010.04.29 at 19:07:14:363: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Enter
    2010.04.29 at 19:07:14:364: Thread-10: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2010.04.29 at 19:07:14:364: Thread-10: BusinessLogicLayer - (DEBUG) Push Stack: queryWireMessage
    2010.04.29 at 19:07:14:364: Thread-11: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2010.04.29 at 19:07:14:364: Thread-11: B2B - (DEBUG) DBContext commit: Leave
    2010.04.29 at 19:07:14:365: Thread-10: BusinessLogicLayer - (DEBUG) Pop Stack: queryWireMessage
    2010.04.29 at 19:07:14:365: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:getWireMessage Exit
    2010.04.29 at 19:07:14:366: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Enter
    2010.04.29 at 19:07:14:367: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:formTransportMessage Exit
    2010.04.29 at 19:07:14:367: Thread-10: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Enter
    2010.04.29 at 19:07:14:369: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Identify Business Protocol
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:identifyExchange Enter
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:identifyExchange Exit
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:identifyExchange Enter
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:identifyExchange SOAPAction is [null]
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Do Unpack using the BP specific package class
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) MimePackaging:unpack:Enter
    2010.04.29 at 19:07:14:370: Thread-10: B2B - (DEBUG) MimePackaging:doUnpack:Enter
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Enter
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:encoding = UTF-8
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:oracle.tip.adapter.b2b.packaging.Component@391da0
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpackNonMimeMessage:Exit
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) MimePackaging:unpack:Exit
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Decode the Incoming Message into B2B Message
    2010.04.29 at 19:07:14:371: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Enter
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:GenericExchangePlugin:decodeIncomingMessage Number of Components = 1
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage Transport Protocol = {SFTP}
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage filename = SA_ENVSTATUSES.txt
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TO_PARTY - SA
    2010.04.29 at 19:07:14:372: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = DOCTYPE_NAME - ENVSTATUSES
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (ERROR) Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin.decodeIncomingMessage(GenericExchangePlugin.java:408)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1477)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2576)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2446)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2401)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleExceptionBeforeIncomingTPA Enter
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Enter
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException Error message is Error -: AIP-51505: General Validation Error
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired Enter
    2010.04.29 at 19:07:14:373: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired {filename=SA_ENVSTATUSES.txt, filesize=1, file_ext=.txt, filename_format=%TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt, fullpath=/mnt/maximage_prd/sa_transfer/SA_ENVSTATUSES.txt, timestamp=Thu Jan 15 09:29:53 PST 1970}
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: isFARequired returning false
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: handleInboundException FA not required
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleInboundException Updating Error Message: Error -: AIP-51505: General Validation Error
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message found
    2010.04.29 at 19:07:14:374: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Creating new b2berror object
    2010.04.29 at 19:07:14:375: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState enum0 not null
    2010.04.29 at 19:07:14:375: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating wire message error information

    Thank you for the suggestion, unfortunately, I cannot get it to work.
    I've updated the IDC transport server to 3 different filename_formats, and tried the corresponding files, with correct names to match the filename_format.
    After updating the IDC I validated the trading partner (host).
    I then updated the agreement using the updated IDC, and validated the agreement.
    I then validated the host again.
    Then I created a new deployment.
    And still received the error.
    I then deleted the old IDC and created a new IDC and new agreement and new deployment, trying 3 different "Internal delivery channel filename format" values (updating and validating the agreement and host trading partner each time).
    And still received the error.
    No matter what I set EITHER the IDC "filename format" OR "Internal delivery channel filename format", the b2b.log always reports :
    filename_format = %TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt
    e.g.
    2010.05.16 at 18:05:02:758: Thread-15: B2B - (DEBUG)
    Protocol = SFTP
    Version = 2.0
    Transport Header
    filename:SA_DRUGS_10.txt
    filesize:1
    file_ext:.txt
    filename_format:%TO_PARTY%_%DOCTYPE_NAME%_%TIMESTAMP%.txt
    fullpath:/mnt/maximage_prd/sa_transfer/SA_DRUGS_10.txt
    timestamp:Thu Jan 15 09:54:18 PST 1970
    When I try a file with a revision number, e.g. SA_DRUGS_10.txt the log shows :
    2010.05.16 at 18:05:03:602: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TO_PARTY - SA
    2010.05.16 at 18:05:03:603: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = DOCTYPE_NAME - DRUGS
    2010.05.16 at 18:05:03:603: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TIMESTAMP - 10
    2010.05.16 at 18:05:03:895: Thread-14: B2B - (ERROR) Error -: AIP-51505: General Validation Error
    which makes sense as "10" is not a timestamp.
    If I exclude the revision, using SA_DRUGS.txt the log shows :
    2010.05.16 at 18:27:03:543: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage Transport Protocol = {SFTP}
    2010.05.16 at 18:27:03:544: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage filename = SA_DRUGS.txt
    2010.05.16 at 18:27:03:544: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = TO_PARTY - SA
    2010.05.16 at 18:27:03:544: Thread-14: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.generic.GenericExchangePlugin:decodeIncomingMessage FILE_FORMAT = DOCTYPE_NAME - DRUGS
    2010.05.16 at 18:27:03:545: Thread-14: B2B - (ERROR) Error -: AIP-51505: General Validation Error
    So, the timestamp gets ignored (as there is no "_" delimiter), but it still fails, probably because there is no timestamp in the filename.
    So, why won't the UI correctly set the IDC filename_format or Internal filename_format ?

  • Validation Error when updating Feature work item to completed state?

    We are on the latest version of TFS 2013 and have customized process templates based off of the Scrum template.
    We have a custom workflow for the Feature work item type. I get an error when trying to update the state to custom done state of "Prod Deployment Successful". The error I receive is below:
    TF237165: Team Foundation could not update the work item because of a validation error on the server etc etc.
    I have TFS Admin rights as well as project and project collection Admin rights.
    Custom States:
    Planned
    Canceled
    On Hold
    In Progress
    Ready For QA
    QA Deployment Failed
    QA Deployment Successful
    Ready For Stage
    Stage Deployment Failed
    Stage Deployment Successful
    Ready For Prod
    Prod Deployment Failed
    Prod Deployment Successful
    Custom Workflow:
    "  "  TO    Planned
    Planned  TO  Canceled
    Planned  TO  On Hold
    Planned   TO  In Progress
    In Progress TO   On Hold
    In Progress TO   Ready For QA
    On Hold  TO  In Progress
    Ready For QA  TO  QA Deployment Failed
    Ready For QA  TO  QA Deployment Successful
    QA Deployment Failed  TO  Ready For QA
    QA Deployment Failed TO   In Progress
    QA Deployment Successful TO   Ready For Stage
    QA Deployment Successful  TO  Ready For Prod
    Ready For Stage TO   Stage Deployment Failed
    Ready For Stage  TO  Stage Deployment Successful
    Stage Deployment Failed TO   Ready For Stage
    Stage Deployment Failed TO   In Progress
    Stage Deployment Successful  TO  Ready For Prod
    Ready For Prod  TO  Prod Deployment Failed
    Ready For Prod  TO  Prod Deployment Successful
    Prod Deployment Failed  TO  Ready For Prod
    Prod Deployment Failed  TO  In Progress
    I have also updated the Process Configuration file to map the states to the meta states so I can show the custom states on the Feature board. The section in the process configuration file that relates to Feature is below:
    <States>
            <State type="Proposed" value="Planned" />
            <State type="InProgress" value="Canceled" />
            <State type="InProgress" value="On Hold" />
            <State type="InProgress" value="In Progress" />
            <State type="InProgress" value="Ready For QA" />
            <State type="InProgress" value="QA Deployment Failed" />
            <State type="InProgress" value="QA Deployment Successful" />
            <State type="InProgress" value="Ready For Stage" />
            <State type="InProgress" value="Stage Deployment Failed" />
            <State type="InProgress" value="Stage Deployment Successful" />
            <State type="InProgress" value="Ready For Prod" />
            <State type="InProgress" value="Prod Deployment Failed" />
            <State type="Complete" value="Prod Deployment Successful" />
          </States>
    The error ONLY happens when I try to update a Feature state to "Prod Deployment Successful". I have looked at other posts and searched the internet and have found no help for my exact issue in TFS 2013. For some
    reason, I can't update the state from "Ready For Prod" to "Prod Deployment Successful".  Does anyone have any ideas of what could be wrong or causing my issue?
    Thanks in advance!

    I finally figured out my issue and fixed it.
    I had to update a reference name in the WIT xml file to Common.BusinessValue instead of Closed.

  • Validation error corrupts component tree?

    I've got a strange problem trying to use validation on input fields.
    The basic setup is as follows:
    I've got a page divided into two parts with separate h:form tags, the one holding a dataTable with some elements and the other showing the element details in inputFields once an item is selected in the dataTable via a commandLink. A commandButton on the detail side allows you to update the values of the selected item which is being reflected in the dataTable on reload. So far so good.
    Here comes the strange part:
    All the inputFields are marked required. Now once you leave a field empty and try to submit the form, you get a validation error as expected. BUT if you now select a different element from the dataTable, ONLY the field whose validation formerly failed is being updated, the other fields still show the same value as before. The backing bean method that belongs to the commandLink is being executed, and the underlying data object of the input fields is being set properly, only the values in the component tree aren't updated. This behaviour persists until you enter a valid value in the formerly invalid input field and submit. Debugging shows that as long as at least one field has had validation errors, only the getter of these backing beans properties are being invoked during render response phase, as opposed to the "normal" case where the getters of all the backing beans properties are being called.
    For some reason, the render response phase seems to ignore the other components in the component tree when there was some validation error on one or more fields.
    Another interesting observation:
    This is the behaviour if I don't specify an action attribute in the commandLink selecting an element from the dataTable, as I want to return to the same page again. But if I define a navigation case that brings me to the same page and put that into the action attribute, the problem doesn't occur. Unfortunately this is no option for me, as I'm aiming to do all this with ajax.
    I've created a simple example so you can try out yourself:
    test.jsp:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <html>
    <head>
    <title>validator test</title>
    </head>
    <body>
    <f:view>
         <h:form id="form1">
              <h:dataTable id="table" value="#{bean.datas}" var="data" binding="#{bean.table}" border="1">
                   <h:column>
                        <h:commandLink actionListener="#{bean.selectData}" value="#{data.string1}" />
                   </h:column>
                   <h:column>
                        <h:outputText value="#{data.string2}" />
                   </h:column>
              </h:dataTable>
              </h:form>
         <hr />
         <h:form id="form2">
              <h:inputText value="#{bean.data.string1}" id="field1" required="true" />
              <h:inputText value="#{bean.data.string2}" id="field2" required="true"/>
              <h:commandButton value="submit" />
         </h:form>
    </f:view>
    </body>
    </html>Bean.java:
    needs to be defined in faces-config.xml as bean "bean" with session scope
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.component.html.HtmlDataTable;
    import javax.faces.event.ActionEvent;
    public class Bean {
         private Data data;
         private List<Data> datas;
         private HtmlDataTable table;
         public Bean() {
              datas = new ArrayList<Data>();
              datas.add(new Data("data1value1","data1value2"));
              datas.add(new Data("data2value1",""));
         public void selectData(ActionEvent event) {
              data = (Data)table.getRowData();
         public List<Data> getDatas() {
              return datas;
         public Data getData() {
              return data;
         public void setData(Data data) {
              this.data = data;
         public HtmlDataTable getTable() {
              return table;
         public void setTable(HtmlDataTable table) {
              this.table = table;
         public class Data {
              private String string1;
              private String string2;
              public Data(String string1, String string2) {
                   this.string1 = string1;
                   this.string2 = string2;
              public String getString1() {
                   return string1;
              public void setString1(String value) {
                   string1 = value;
              public String getString2() {
                   return string2;
              public void setString2(String value) {
                   string2 = value;
    }My system setup:
    WinXP Professional
    JDK 1.6.0-b105
    Tomcat 5.5.20 (also tried 6.0.7)
    JSF RI 1.1.02_b08 (also tried 1.2_04-b10-p01, different but anyway not expected behaviour with MyFaces 1.1.5)
    Thanks for any input,
    Harry.

    Is there noone here who can tell me if this is behavior like specified or if I miss some point?
    A possible solution seems to be telling JSF programmatically to rebuild the view root. Does anyone if this is possible?

  • Validation error for non-null throws false error condition

    I am trying to perform a DML (INSERT) with a form element (textbox) that has been disabled on the form.
    The objective is to allow the user to:
    1) disable a form element using javascript when a radio element is selected - works OK using an onclick event
    2) user clicks a button to ENTER (perform a INSERT DML) - here the validation throws an error but I have enabled the previously disabled form element and I have used $x_Value() to input a value into the form element by onsubmit event on button.
    If I remove the validation error trap the DML saves the appropriate value.
    I can create two buttons and it works:
    1 button to enable fields that were previously disabled
    2 button to perform DML. (works if after button 1 I set focus on any form field with my mouse.)
    Any help would be appreciated.
    marshall

    Knight,
    Thanks for your interest in helping.
    I am trying not to create a situation w/bugs and such. I think I can devise a work around but I would like a more "correct" solution. ;-)
    To explain what I am doing I have a form that a person can use to enter a complaint. The person can give their last - middle - first name but they can also decide to be anonymous. If anonymous they click checkbox. Onclick of checkbox I fire javascript to disable name fields and place "Anonymous" in the last_name disabled field. The user can enter other data and when the user clicks ENTER I want to insert into the DB but the validation error trap of APEX sees a disabled field as a null. I want to place "Anonymous" in the last name field and then save the record with other data besides name.
    To add to it - I can create two buttons 1-button enables and 2-button inserts and the same code works if I touch( give focus) to a field in between enabling and inserting into the DB
    Does that help explain better.
    Thanks again - hope you or someone can help - best regards.

Maybe you are looking for

  • HP Officejet Pro 8100 ePrinter - N811a/N811d

    While in properties, test print comes out in color, when i try to print a document, it wont print in color.  I have appied grayscale to Off, output to black/color and still does not print in color.  What am i doing wrong? This question was solved. Vi

  • Change a int into a char or unhash a string hash

    i need to know how to do one of the things in my title thanks :)

  • How To Find Out thick line in adobe reader ?

    i dont recognize in line wigts in adobe reader . if there any shortcuts avilable for finding linewhiegts in adobe reader if possible  any one help me.

  • Problem installing weblogic jdriver for oracle

    Hi , I have installed WLS510 and Oracle8i Personal Edition on windows98. I have put the c:\weblogic\bin\oci815_8 directory in the system path and c:\oracle\ora81\jdbc\lib\classes102.zip in the CLASSPATH Now when I try to test the connection using the

  • Why does iPhoto create multiples when importing pictures?

    OS X Yosemite 10.10.2 iPhoto version 9.6 I have a new MacBook and I am attempting to import pictures to iPhoto that were created by various devices - old digital cameras, scanners, iPhones.  The original images import without trouble, however iPhoto