Validation error for tag cfloop

Hi All,
Complete newbie to CF here.  I've inherited (or bought) an online business which has its site written in CF.  I haven't done this sort of stuff before but do work SQL for a living and object oriented stuff plus have done a bit of html and php so CF isn't mind blowing to me (in its simple form).
I've downloaded my site on to my computer to run a local copy that I can hack to pieces if needs be.  For some reason, I have a few problems with the site running locally.  The first error I'm getting is a Attribute validation error for tag cfloop.
Basically, index.cfm has this bit of code in it:
<cfinvoke component="#datasets#" method="storedProcedure" returnvariable="getFeaturedWineries_qry">
    <cfinvokeargument name="storedProcedure" value="usp_GetFeaturedWineries">
</cfinvoke>
Ok, easy enough.  Anyway, there's a call down the page to:
<cfinclude template = "#REQUEST.CFMPath#includes/displayFeaturedWineries.cfm">
Within displayFeaturedWineries.cfm is the code that calls the stored proc invoked above:
<cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
Bam, that's where the error occurs.  "The value of the attribute query, which is currently getFeaturedWineries_qry, is invalid.
What???  The stored proc exists and it only returns two records (which begs me to wonder why you would have startrow and endrow but anyway, it doesn't work with or without it).
The other interesting thing is that this works on production, NO PROBLEM!!!  WTF?  How can it work on production but not locally.
The only thing I'm starting to think is:
a)  I've missed a setting somewhere in CF or
b)  I'm running Apache as compared to IIS or
c)  I'm running SQL 2008 and CF 9 which will no doubt be different to the production host server.
Should B or C be causing THAT type of problem??
Thanks,
Matt

I'm not sure what code apart from the above is going to show you what you could possibly need to solve this, but here goes.  The following is only snippets of the code, but they are the relavant snippets.  Other stored procs work.  The cfdump for getFeaturedWineries_qry shows 'usp_getFeaturedWineries'.  I know its there because I've been unable to run "EXEC usp_getFeaturedWineries" after copying it straight out of the code.  As previously stated, there are other stored procs which are running fine.
datasets.cfc
    <cffunction name="storedProcedure">
        <cfargument name="storedProcedure" required="Yes" type="string">
        <cfstoredproc procedure = "#ARGUMENTS.storedProcedure#"
                      datasource = "#REQUEST.DSN_NAME#"
                      username   = "#REQUEST.DSN_USER#"
                      password   = "#REQUEST.DSN_PASS#"
                      returncode = "Yes">
            <cfprocresult name="storedProcedure" resultset="1">
        </cfstoredproc>
        <cfreturn storedProcedure>
    </cffunction>
application.cfm
    <!--- DATA SOURCE VARIABLES --->
    <cfset DSN_NAME = "boutiqueWineriesTest">
    <cfset DSN_USER = "coldfusion">
    <cfset DSN_PASS = "coldfusion">
index.cfm
<cfobject component="#COMP_REF#.datasets" name="datasets">
<cfinvoke component="#datasets#" method="storedProcedure" returnvariable="getFeaturedWineries_qry">
    <cfinvokeargument name="storedProcedure" value="usp_getFeaturedWineries">
</cfinvoke>
<cfinclude template = "#REQUEST.CFMPath#includes/displayFeaturedWineries.cfm">
displayFeaturedWineries.cfm
         <cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
Attribute validation error for tag cfloop.
The value of the attribute query, which is currently  getFeaturedWineries_qry, is invalid.                                                                                  The error occurred in C:\apps\iishome\includes\displayFeaturedWineries.cfm:  line 33
Called from C:\apps\iishome\index.cfm: line 399
Called from C:\apps\iishome\index.cfm: line 79
Called from C:\apps\iishome\index.cfm: line 1
31 :      <tr>
32 :           <td width="626" colspan="3" class="productCenter_bg2">
33 :          <cfloop query="getFeaturedWineries_qry" startrow="1" endrow="2">
34 :              <div class="productCennews">
35 :                  <table border="0" cellspacing="0" cellpadding="0">

Similar Messages

  • Need help... Context validation error for tag cfscript.

    Code:
        <cffunction name="computeHash" access="public" returntype="String">
          <cfargument name="password" type="string" />
          <cfargument name="salt" type="string" />
          <cfargument name="iterations" type="numeric" required="false" default="1024" />
          <cfargument name="algorithm" type="string" required="false" default="SHA512" />
          <cfscript>
            var hashed = '';
            var i = 1;
            hashed = hash( password & salt, arguments.algorithm, 'UTF-8' );
            for (i = 1; i <= iterations; i++) {
              hashed = hash( hashed & salt, arguments.algorithm, 'UTF-8' );
            return hashed;
          </cfscript>
        </cffunction>
    Error on web app:
    Context  validation error for tag cfscript.
    The start tag must have a matching  end tag. An explicit end tag can be provided by adding </cfscript>. If the  body of the tag is empty you can use the shortcut <cfscript .../>. The CFML compiler was processing:
    a cfscript tag beginning on line 11, column 12.
    a cfscript tag beginning on line 11, column 12.
    The  error occurred in xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\salty.cfc: line  11
    9 :        <cfargument name="iterations" type="numeric" required="false" default="1024" />
    10 :        <cfargument name="algorithm" type="string" required="false" default="SHA512" />
    11 :        <cfscript>
    12 :           var hashed = '';
    13 :           var i = 1;
    I am completely lost on why it's fumbling with why it says there's no closing tag.  Help!!!!
    Thanks

    What's on lines 1-7 of that file?
    That code compiles fine for me on CF8 & CF9, so that's not where the error is.
    You're not trying to compile it on any earlier version of CF than CF8 are you?  The < and ++ operators are not valid prior to CF8.  CFMX7 might see the < as a stray angle bracket, and get confused.  I don't have CFMX7 running here to test the exact error that would produce, sorry.
    Adam

  • Attribute validation error for tag CFQUERY

    I have a CF application that's running fine on a shared host. I now have a VPS running version of CF 9. When I try to use this on the VPS, I get the following error:
    Attribute validation error for tag CFQUERY.
    The value of the attribute datasource, which is currently '', is invalid.
    The datasource is being set in application.cfc, and again works just fine in the shared environment.
    The only differences is the shared is running on Windows, and the VPS is Linux. Also, the Windows is running version 9,0,1,274733 and the Linux is 9,0,0,251028
    Any help would be greatly appreciated.

    bbholdem wrote:
    I have a CF application that's running fine on a shared host. I now have a VPS running version of CF 9. When I try to use this on the VPS, I get the following error:
    Attribute validation error for tag CFQUERY.
    The value of the attribute datasource, which is currently '', is invalid.
    The cause of the error is obvious. Somewhere in your application, the cfquery tag is used as follows, with an empty string as datasource:
    <cfquery datasource="">
    </cfquery>
    That is a mistake. The error message should tell you where that occurs.

  • 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

  • Validation error in Tag Library at deploy time

    I am trying to deploy a JSF2 app to NW CE 7.1 EHP1. This application deploy's fine to Tomcat. When I deploy to SAP it gives an error: Error in parsing [META-INF/primefaces-i.tld] TLD file in the following [D:\usr\sap\NCX\J00\j2ee\cluster\apps\com.sap\IDMear\servlet_jsp\IDM\root\WEB-INF\lib\primefaces-1.0.0.jar] JAR file.
    [EXCEPTION]
    com.sap.engine.lib.xml.parser.NestedSAXParseException: Fatal Error: org.xml.sax.SAXParseException: Validation error : line: 13; col: 16; :description : Element is not allowed.(:main:, row=13, col=17) -> org.xml.sax.SAXParseException: Validation error : line: 13; col: 16; :description : Element is not allowed.
    at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:140)
    at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:174)
    at com.sap.engine.lib.processor.SchemaProcessor.parse(SchemaProcessor.java:197)
    at com.sap.engine.services.servlets_jsp.server.deploy.descriptor.TagLibDescriptor.loadDescriptorFromStream(TagLibDescriptor.java:90)
    From looking at the TLD XSD for JEE 5, the Description field should be allowed. Do you know why it is not comparing the TLD against the correct schema or if there is another explanation?
    This is a 3rd party faces component library. Here is where it fails:
    <?xml version="1.0" encoding="UTF-8"?>
    <taglib xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.1">
         <tlib-version>1.2</tlib-version>
         <short-name>i</short-name>
         <uri>http://primefaces.prime.com.tr/touch</uri>
         <tag>
              <name>application</name>
              <tag-class>org.primefaces.touch.component.application.ApplicationTag</tag-class>
              <body-content>JSP</body-content>
              <attribute>
                   <name>id</name>
                   <required>false</required>
                   <description><![CDATA[Id of the component]]></description>               <rtexprvalue>false</rtexprvalue>
              </attribute>
    Any suggestions would be appreciated.

    It looks like the 3rd party tld did not have the description in the correct order. It has been corrected in a new build.

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

  • Validation error for af:selectInputDate

    I am using af:selectInputDate with af:convertDateTime as follows:
    <af:selectInputDate styleClass="date" id="selectInputDate1"
         partialTriggers="myCombo"
         value="#{myBackingBean.myDate}"
         disabled="#{myBackingBean.dateDisable}">
         <af:convertDateTime pattern="MM/dd/yyyy" id="convertDateTime patternED"/>
         </af:selectInputDate>
    When user enters an invalid date, the validation error message comes in a popup, which is fine. But the same date component when used in another panel of the same JSP behaves differently. In some cases validation error message is displayed on the same page, and this moves the other components away. In some cases e.g. if we enter 20031 instead of 2003 for year, it saves the value as 5569. If there is a letter in the date it is just ignored. (In the earlier panel all this is shown as error in the popup) .
    I'd like the popup behaviour always. Pls help

    I had same problem I resolved it by adding id of my InputComboboxField in its won PartialTriggers : component's Id
    in your component property
    Id:employeeId
    add same
    PartialTriggers:employeeId , and it will jsut disapper......
    Deepa Pathre
    Edited by: Deepa on 2/06/2011 20:28

  • Validation error for spry

    New and self learning with DW for dummies for 3 weeks, site looks great.  I'm validating and only have a few errors all in the spry's I used.
    The tag: "div" doesn't have an attribute: "tabindex"0" in currently active versions.[HTML 4.0]
    The tag: "li" doesn't have an attribute: "tabindex" in currently active versions.[HTML 4.0]
    Should this be an issue? How can I fix it. Just send me in the right direction I can figure it out just point me.
    URL
    http://www.nickates.com

    the tabindex is there so users can use the keyboard to interact with the tabs. You can remove them if you want and re-add them with an event listener.
    Example:
    http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_unobtrusive.htm
    Info element selecter:
    http://labs.adobe.com/technologies/spry/articles/element_selector/index.html

  • Geting validation error for a workflow.

    Hi,
    Please reply...
    Error is :
    Step 'Submit Sync on WorkflowProcMgr' is using Business Service 'Server Requests' and Business Service Method 'SubmitRequest'. However, some of the required method arguments are missing. Please specify the missing required arguments.
    Process Name is :SISOMBillingSubmitOrderWebService
    Siebel Version is :8.1.1.4 SIA [21225] ENU(*)
    and Applied AIA251.zip for ACR474.
    The process is imported from AIA251 and while validating the error is coming.
    Thanks and Regards,
    Suchetana.

    Hi,
    You can increase the log level and see what happened in workflow.
    In Workflow Deployment -> Active Workflow Process, find for "SISOMBillingSubmitOrderWebService", and the field Monitoring Level, modify for "4 - Debug". Execute the process again and when the finish (ocurrs the error) go to "Workflow Instance Monitor" view and find for the "SISOMBillingSubmitOrderWebService", In "Instance Process" applet, you see a register (the debug must generate a register). If register is generated, navigate to "Step Instance" view and see your problem and data which is used in workflow.
    Regards

  • EPub validation errors for chapters starting with an anchored image

    I am generating an epub file using InDesign CS5.5.
    I have set up a TOC and selected it during the epub export. It has one level based on my paragraph style “Caption” and works perfectly when I test the ePub file on iBooks.
    Most chapters start with an image, followed by a caption (in paragraph style “Caption”, the same as I’m using to generate the TOC) underneath.
    Images are anchored (using the blue box) to this caption in the Indesign file.
    I have forced a page break before the image in the export to epub to ensure the image comes at the top of the page.
    So far so good. All looks great and everything, including TOC, works perfectly in iBooks on my iPad and in Adobe Digital Editions.
    However, my file will not validate because the TOC markers in the chapters which begin with the anchored image are missing – even though the TOC works perfectly as I’ve mentioned earlier.
    As far as I can make out from the HTML, the anchored image is overriding the TOC marker, hence the error.
    I’ve manually edited the chapter files concerned for now as I’m under time pressure to finish the job, but I’d really appreciate any advice on how to set up my InDesign file to avoid this error in the first place for future books.
    (I’ve tried anchoring the image to a space before the caption text, and anchoring it to a soft and hard return but no joy. I could start the page with the caption followed by the image and force the break after the image instead of before it to solve the problem but my client wants the image at the start of the chapter and I agree it looks much better that way round…….)
    Any suggestions much appreciated.
    I can post the HTML code the Indesign export is generating and the edited code if that helps at all.

    Hi Steve,
    Thanks for your quick response.
    I have Version 7.5 of InDesign CS5.5. Not sure if that includes the patch? If not, where would I get the patch from?
    On the error, here are a couple of examples from the first 2 chapters - it occurs in every chapter that begins with an image:
    ERROR         OEBPS/toc.ncx         23       62       'toc_marker-2': fragment identifier is not defined in 'OEBPS/Inspirational_Love_V1-1.html'
    ERROR         OEBPS/toc.ncx         29       62       'toc_marker-3': fragment identifier is not defined in 'OEBPS/Inspirational_Love_V1-2.html'
    Also, here's an example of the original HTML generated by the export which is missing the TOC marker:
    <div class="Basic-Text-Frame">
    <p class="para-style-override-1"> <img
    src="images/VX61_Fogra_USM_fmt.jpeg" alt="VX61_Fogra_USM.jpg"
    height="467" width="1400" /> </p>
    <p class="Caption">Refuge Cove, Wilson's Promontory, Vic</p>
    And here's the corrected code which validates:
    <div class="Basic-Text-Frame">
    <p class="para-style-override-1"> <img
    src="images/VX61_Fogra_USM_opt.jpeg" alt="VX61_Fogra_USM.jpg"
    height="467" width="1400" /> </p>
    <p id="toc_marker-4" class="Caption">Refuge Cove, Wilson’s
    Promontory, Vic</p>
    Thanks for your help.

  • IS - XML validation error for file task.xml. (COR-10142)

    Hi,
    I am facing an issue while running column profile task on a text file.
    Version of BODS components below:
    IPS: IPS 4.1 SP2
    DS: DS 4.2 SP1
    IS: IS 4.2 SP1(14.2.1.220)
    All the above components are installed on linux RHEL 6.5 machine(single machine).
    Attached the error log file.
    Appreciate the quick response.
    Thanks,
    Lokesh

    Hi Lokesh,
    Check the KBA  1931128 which may help you to resolve your issue.
    Thanks,
    Ramakrishna Kamurthy

  • When using CORBA I get an Attribute validation error for CFOBJECT

    Any ideas about whats going on here?
    The value of the TYPE attribute, which is currently ”CORBA”, must be one of the values: CORBA,COM,COMPONENT,JAVA,DOTNET,WEBSERVICE,.NET.

    Here you go...
    code:
    <!--- <cfobject
    action=”create”
    type=”CORBA”
    name=”session.TargetService”
    class=”Targets.TargetService”
    context=”NameService”
    > --->
    <cfscript>
    session.TargetService = createObject("CORBA","NameService","Target.TargetService");
    </cfscript>
    <cfdump var="#session.TargetService#">
    screenshots:
    ColdFusion Version: This is ColdFusion 10,283111
    JVM Config (slightly redacted):
    Message was edited by: Ched Cheatham

  • Read-only radio group losing value on validation error

    It took quite a while to track this down, but I think I've got it narrowed down properly. I have an APEX form for updating a record in a databse table with a radio group which is conditionally read-only. If that radio group has a value AND is read-only, when the form is submitted and hits a validation error, the value of the radio group is lost.
    For example, the radio group SUBMITTED_FOR_APPROVAL is set to Y and is read-only for a given user. That user then changes something else on the form and submits it. However, the form now hits a validation error for some field. When the form reloads with the validation error displayed, all the fields are restored except the read-only radio group which is now blank. If a select list is used with the identical read-only condition, it works fine. Likewise, if a radio group is used, but the read-only condition is removed, it works fine. It is only when it is a radio group and it is read-only, that the value does not appear to be submitted to the session with all the form values whent he form is submitted.
    Is this a bug or am I simply missing something?
    Apex 3.1.2
    Rgds/Mark M.

    It's using a shared component LOV cleverly called LOV_YN which consists of a static LOV with
    1 Display=Yes, Return=Y
    2 Display=No, Return=N
    The settings in the LOV section on the item iteself:
    Named LOV: LOV_YN
    Display Extra values: No Dynamic translation: Not translated
    Number of columns: 2 Display null: No
    Null display value is blank as is null return value
    Item was setup as a radio group and was only converted over to a select list to work around this issue. Let me know what else you need and thanks again.
    Rgds/Mark M.

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

    I am creating a registration form with a bunch of required fields and validation messages which are associated with these fields. I have a state drop down, a province drop down and a region textfield, only one of them will be rendered depending on the selected value from a country drop down. My problem is that when the user selects a country I get validation errors for fields that haven't yet been filled out. Is there a way to ignore validation on a value_change from the country dropdown? I.E only have a validation occur when the submit button is pressed?
    Thanks ,
    Kevin

    Kevin,
    As you already created a registration fom with a bunch of required fields and validation messages which are associated with those foelds, could you please let me know how you handled all the custom messagess for all required fields. I have some knowledge using resource bundle- required key..but will handle one at a time. How we can handle all at a time and can display message on the top of the page when we click "submit" button when all field are empty .
    Your early reply will be highly appreciated!
    Thanks,
    Hiten

Maybe you are looking for