Error: command_link in data_table header

This is an error report of JSF1.0Beta (I did not find it yet reported)
Command links in a header section of a data_table invoke the associate Action X. times instead of one single time. (X is the number of rows currently shown in teh data_table).
The same command_link anywhere else works just fine!
Here teh sample code
<h:data_table id="table"
styleClass="list"
binding="#{ItemSearchBean.dataTable}"
value="#{ItemSearchBean.backingBeans}"
var="bean">
<h:column>
<f:facet name="header">
<h:command_link id="submit-removeAll" action="#{ItemSearchBean.removeAllAction}">
<h:graphic_image url="/images/remove.png" alt="#{bundle.Command_remove_all_label}" />
</h:command_link>
</f:facet>
<h:selectboolean_checkbox id="selected" value="#{bean.selected}"/>
</h:column>

This bug has already been reported:
http://forum.java.sun.com/thread.jsp?forum=427&thread=481280
Don't think there is a workaround yet. :(

Similar Messages

  • Design view of jspx not rendering : Error exercising tag : afh:head

    I'm using JDeveloper 10.1.3.4 and I have an intermittent problem where by the jspx does not render correctly in design view - it just shows a whole load of nested boxes.
    By following a suggestion from another website I turned on "Design time messages in log" in jdeveloper JSP visual editor preferences.
    The error messages being sent to the log window are :
    Error exercising tag : afh:head
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.AdfRenderingContext.getTranslatedString(AdfRenderingContext.java:70)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.jsLibs.GlobalVariablesScriptlet.outputScriptletContent(GlobalVariablesScriptlet.java:49)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.jsLibs.Scriptlet.outputScriptletImpl(Scriptlet.java:111)
    Error exercising tag : af:forEach
    javax.servlet.jsp.JspTagException: 'begin' and 'end' should be specified if 'items' is not specified
         at oracle.adfinternal.view.faces.taglib.ForEachTag._validateAttributes(ForEachTag.java:320)
         at oracle.adfinternal.view.faces.taglib.ForEachTag.doStartTag(ForEachTag.java:93)
    Error exercising tag : afh:body
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.core.CoreAdfRenderingContext.getStyleClass(CoreAdfRenderingContext.java:211)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.XhtmlRenderer.renderStyleClass(XhtmlRenderer.java:338)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer._renderLibraryDownloadElement(PanelPartialRootRenderer.java:480)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderPPRSupport(PanelPartialRootRenderer.java:340)
    How can I fix this ?
    Cheers,
    Brent

    Hi Didier,
    Sorry, intermittent problem is not very descriptive ! What I actually meant is that some of my applications have the problem while others dont. Once the problem exists, it always does regardless of restarting JDeveloper.
    Starting JDeveloper using the console provided similar error message to outputting the JSP visual editor to the log file :
    SEVERE: Element End name:head does not match start name:script
    04-Dec-2009 17:28:38 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElem
    ent
    SEVERE: Element End name:html does not match start name:div
    Reading other posts, problems seemed to stem from errors within the faces-config or web.xml files so I compared them between apps displaying pages correctly and ones that weren't. I found a difference in the filter-mapping section of the web.xml. Changing the entries to match the applications that displayed correctly has worked !!
    The entries for the apps that didn't display correctly :
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jspx</url-pattern>
        </filter-mapping> 
      <filter-mapping>
        <filter-name>adfBindings</filter-name>
        <servlet-name>ordDeliverMedia</servlet-name>
      </filter-mapping>
      <filter-mapping>
        <filter-name>jhsAuthenticationFilter</filter-name>
        <url-pattern>*.jsp</url-pattern>
      </filter-mapping>
      <filter-mapping>
        <filter-name>jhsAuthenticationFilter</filter-name>
        <url-pattern>*.jspx</url-pattern>
      </filter-mapping>... and the entries for the apps that did display correctly :
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <url-pattern>*.jspx</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jspx</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <servlet-name>ordDeliverMedia</servlet-name>
        </filter-mapping>
        <filter-mapping>
            <filter-name>jhsAuthenticationFilter</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>jhsAuthenticationFilter</filter-name>
            <url-pattern>*.jspx</url-pattern>
        </filter-mapping>Somehow the filter-mapping entries for the adfFaces and adfBindings filter got all screwed ? Strange as the application has always worked fine, the only (obvious) problem has been the jspx pages not rendering properly in design view.
    Once updating the web.xml with the correct value for these two entries, the pages are displayed correctly :)
    While I don't like blindly making changes like this to the web.xml - the application still seems to function !
    Cheers,
    Brent

  • Configure: error: Cannot find GLX header

    I install gtkglext from its source code and get an error after the 'configure' command.
    bash-3.00$ ./configure
    checking GL/glx.h usability... no
    checking GL/glx.h presence... no
    checking for GL/glx.h... no
    configure: error: Cannot find GLX header
    I guess the OpenGL files are not installed during Solaris 10 installation. Could someone tell me where can I get opengl files? Are they in the Solaris 10 installation disks? How to install opengl files?

    On my installation I have both NVidia and mesa drivers installed, thus two sets of GL headers/libraries.
    For Mesa: SUNWxorg-mesa
    Nvidia: NVDAgraphics
    If you want to develop on your system you may want to install much more than just GL headers.
    Its a pity that Solaris packaging is not really flexible, so you better do a full install indeed...
    regards,
    __Fedor.

  • I cannot download a previously purchase version of photoshop elements on a new computer. I get and error 413...header length  too large

    I cannot downlaod a previously purchsed version of photoshope elements on a new computer...I get an error 413...header length to large...what do I do?

    That's a browser error. Nothing to do with Adobe software.
    Clear your browser cache and cookies. Or use a different browser.

  • BSOD with both Kernal Security Check Error and Bad Pool Header.

    All -
    I have a HP DV7 laptop with Windows 8.1. It has BSOD with both Kernal Security Check Error and Bad Pool Header.
    Despite doing all the built in HP tests, there is nothing. Using an Anker HardDrive Dock results in the identical errors on another machine.
    Bottom line, even if I could see the DMP files (which I cannot); because the machine fails to boot, there are no files to be copied.
    I have tried various AIO and UEFI disks and USB, and the laptop NEVER accepts the PREINSTALL environment. Being unable to use the Anker has never happened. I seem completely locked out of the drive. Any suggestions? Thx.
    Bruce A Ades

    Hi Texas_Bruiser
    Some required details are needed for us to help you.
    Ensure that the BIOS/UEFI has been configured to allow boot from DVD/CD or USB.
    When you attempted to boot into PREINSTALL environment (PE) by using disks or USB, we need more details about error message or what happened?
    If your computer cannot even boot into Windows PE by using installation media, we suggest you check if memory and other hardware are works properly on this computer. Also try to plug this hard disk on other computer as data volume, see if the hard disk works.
    Regards
    D. Wu

  • Error occured while genrating header and footer for the PDF

    Hi All ,
    I am getting a following error whenever i try to excecute the code to print header and footer while genrating a PDF what could be the reason.Any help would be greately appreciated. following is the error stack trace: i am excecuting it in the command prompt an using jdk1.5.0.1
    C:\Program Files\Sun\Creator2_1\java\Test>java EndPage
    Exception in thread "main" java.lang.UnsupportedClassVersionError: EndPage (Unsu
    pported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)

    Looks like the EndPage class was compiled with a later version of Java (49.0 == Java 1.5) and you are trying to run it with older version of java.exe. Type
    java -version
    to verify.
    Also this forum is for Sun Java Studio Creator related questions. Please ask such questions on java tools forum.
    Sandip

  • Error: Could not read Header Mapping in Receiver Agreement

    Dear SAP experts,
    Newly installed SAP G7A PI 7.1(Acceptance box) was already released to customer.
    We are doing an initial test (BAT phase), wherein, our end-to-end scenario is, from a EP Portal application  --->  G7A PI 7.1   -->  Trading Partner via AS2 protocol.
    G7A PI is connected to Trading Partner via AS2 protocol.
    Currently, our EP Portal application is in-active at the moment, that's why we used 'manual XI submitter', to send a message from G7A PI itself going to Trading Partner.
    The message was success in the Integration engine of  G7A PI, and the output message was produced.
    As the message reached the Adapter Engine layer of G7A PI, we encountered a specific error,
    Delivering the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: Fatal exception: com.seeburger.xi.connector.queue.TaskBuildException: Could not create CPAObjectMapper: InvocationTargetException caused by Could not read Header Mapping in Receiver Agreement: while trying to invoke the method com.sap.aii.af.service.cpa.Party.getParty() of an object returned from com.sap.aii.af.service.cpa.NormalizationManager.getXIParty(java.lang.String, java.lang.String, java.lang.String), Could not create CPAObjectMapper: InvocationTargetException caused by Could not read Header Mapping in Receiver Agreement: while trying to invoke the method com.sap.aii.af.service.cpa.Party.getParty() of an object returned from com.sap.aii.af.service.cpa.NormalizationManager.getXIParty(java.lang.String, java.lang.String, java.lang.String)
    Basically, "Could not create CPAObjectMapper - InvocationTargetException caused by Could not read Header Mapping in Receiver Agreement"
    I am thinking, one of the possible cause is that we used manual XI submitter, in G7A PI, instead of the utilizing the actual Sending system (EP Portal application).
    Or possible cause is that the AS2 adapter in G7A is not yet stable, thus causing the issue.
    We've already done successful connection when we're in GDD PI (Development box) during our SIT phase.
    Objects in G7A were mirror of GDD PI.
    Kindly advise for your inputs.
    Thanks!
    Gerberto

    Hi,
    It seems that the cause of the error is the unstable performance of the PI box, since, this was newly installed and there were patches that were not yet added.
    Thanks for the support!
    Gerberto

  • Different data_table header styles

    I am trying to use different styles for the column headings in a data_table. Specifically, I want some of the headings to be leftt aligned, some right aligned and some to be centred.
    I can do this for the data in the columns by using a list of styles in the "columnClasses" attribute, but the "headerClass" attribute applies to all headers.
    The header facets for the column contain a <h:panel_group> as the header is composed of some static text and a couple of buttons.
    I have tried using a "styleClass" attribute on the panel_group. This results in a <span> HTML element being generated with the required style class but it does not seem to effect the text alignment.
    Any suggestions would be appreciated.
    Code is included below.
    <%-- GroupList.jsp --%>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
    <f:view>
    <html>
    <head>
    <title>Archive</title>
    <link rel="stylesheet" type="text/css" href="stylesheet.css">
    </head>
    <h:form id="groupList">
    <h:commandButton id="first"
    action="#{GroupListBean.first}"
    immediate="false"
    value="<<"
    type="SUBMIT"/>
    <h:commandButton id="previous"
    action="#{GroupListBean.previous}"
    immediate="false"
    value=" < "
    type="SUBMIT"/>
    <h:commandButton id="next"
    action="#{GroupListBean.next}"
    immediate="false"
    value=" > "
    type="SUBMIT"/>
    <h:commandButton id="last"
    action="#{GroupListBean.last}"
    immediate="false"
    value=">>"
    type="SUBMIT"/>
    <h:dataTable id="table"
    binding="#{GroupListBean.data}"
         rows="10"
    value="#{GroupListBean.fullList}"
    var="group"
    columnClasses="group-list-column-1, group-list-column-2,
    group-list-column-3, group-list-column-4"
    footerClass="group-list-footer"
    headerClass="group-list-header"
    rowClasses="group-list-row-even, group-list-row-odd"
    styleClass="group-list-background">
    <f:facet name="header">
    <h:outputText value="Backup Groups"/>
    </f:facet>
    <h:column>
    <f:facet name="header">
    <h:panelGroup>
    <h:outputText value="Group Id"/>
    <h:commandButton id="sortGroupIdA"
    action="#{GroupListBean.sortGroupIdA}"
    immediate="false"
    image="images/Up16.gif"
    />
    <h:commandButton id="sortGroupIdD"
    action="#{GroupListBean.sortGroupIdD}"
    immediate="false"
    image="images/Down16.gif"
    />
    </h:panelGroup>
    </f:facet>
    <h:outputText value="#{group.groupId}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:panelGroup styleClass="group-list-header-2">
    <h:outputText value="Group Name"/>
    <h:commandButton id="sortNameA"
    action="#{GroupListBean.sortNameA}"
    immediate="false"
    image="images/Up16.gif"
    />
    <h:commandButton id="sortNameD"
    action="#{GroupListBean.sortNameD}"
    immediate="false"
    image="images/Down16.gif"
    />
    </h:panelGroup>
    </f:facet>
    <h:outputText value="#{group.name}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:panelGroup styleClass="group-list-header-3">
    <h:outputText value="Creation Date"/>
    <h:commandButton id="sortTimestampA"
    action="#{GroupListBean.sortTimestampA}"
    immediate="false"
    image="images/Up16.gif"
    />
    <h:commandButton id="sortTimestampD"
    action="#{GroupListBean.sortTimestampD}"
    immediate="false"
    image="images/Down16.gif"
    />
    </h:panelGroup>
    </f:facet>
    <h:outputText value="#{group.timestamp}">
    <f:convertDateTime dateStyle="long"/>
    </h:outputText>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:panelGroup>
    <h:outputText value="Restore"/>
    <h:commandButton id="sortSelectedA"
    action="#{GroupListBean.sortSelectedA}"
    immediate="false"
    image="images/Up16.gif"
    />
    <h:commandButton id="sortSelectedD"
    action="#{GroupListBean.sortSelectedD}"
    immediate="false"
    image="images/Down16.gif"
    />
    </h:panelGroup>
    </f:facet>
    <h:selectBooleanCheckbox value="#{group.selected}"/>
    </h:column>
    <%--
    --%>
    </h:dataTable>
    </h:form>
    </body>
    </html>
    </f:view>
    .group-list-background {
    background-color: #ffffff;
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: 12pt;
    padding: 10px;
    width: 90%;
    .group-list-column-1
    text-align: center;
    width: 15%;
    .group-list-column-2
    text-align: left;
    width: 50%;
    .group-list-column-3
    text-align: right;
    width: 20%;
    .group-list-column-4
    text-align: center;
    width: 15%;
    .group-list-footer {
    background-color: #A5A5A5;
    color: #000000;
    font-weight: bold;
    text-align: center;
    .group-list-header {
    background-color: #ffffff;
    color: #000000;
    text-align: centre;
    .group-list-header-2
    text-align: left;
    .group-list-header-3
    text-align: right;
    .group-list-row-even {
    .group-list-row-odd {
    background-color: #dddddd;

    I am trying to use different styles for the column
    headings in a data_table. Specifically, I want some of
    the headings to be leftt aligned, some right aligned
    and some to be centred.
    I can do this for the data in the columns by using a
    list of styles in the "columnClasses" attribute, but
    the "headerClass" attribute applies to all headers.I'm having the same problem, but it gets much worse than what you described.
    I'm have an arbitrarily deep tree structure I've retrieved from my backing bean, and I want to display it in a data table. Each node has a label and maybe a description, for example.
    1. The first problem is how to give the node's label a different style than the other node information. Semantically the <th> element is ideal. The problem, however, is that I can't generate a header for a node's label, because the list of nodes itself is being generated. That is, if I use:
    <html:dataTable value="#{tree.nodeList}" var="node">
         <html:column>
         <jsf:facet name="header">
              <html:outputText value="#{node.label}" />
         </jsf:facet>Nothing gets put inside the header, as the node is being iterated. This means I have to resort to a crummy hack of nesting a table inside a table for the children:
    <html:dataTable value="#{tree.nodeList}" var="node">
         <html:column>
              <html:dataTable value="#{node.nodeList}" var="childNode">
                   <html:column>
                        <jsf:facet name="header">
                             <html:outputText value="#{node.label}" />
                        </jsf:facet>
                        <html:dataTable>
                             <html:column>
                                  <jsf:facet name="header">
                                       <html:outputText value="#{childNode.label}" />
                                  </jsf:facet>
                             </html:column>
                        </html:dataTable>
                   </html:column>
              </html:dataTable>
         </html:column>
    </html:dataTable>The hack gets uglier (than the useless outermost table), because if you'll notice, to show a label of a child node as a header, I have to put another nested dummy table in my page.
    2. Now that I've managed to generate <th> (with a hack), where do I put other information about the node? If I put it in the enclosing table, it shows up before the node's label (in the <th> of the enclosed table). If I put it in the enclosed table, it will be repeated for each child node enumerated! Therefore, I'm forced to put it in the header facet of the enclosed table.
    3. Now that I'm stuck with putting all the parent node information in a child table's headers, how do I show different header styles? (This is the limitation you mentioned.) I may, for instance, want to show the node's label, the node's description, and other important information about the node.
    4. I can skip this whole <th> mess (reluctantly, because I want to specify <th> semantics by actually using <th>) by just putting everything in normal <td> elements. But this doesn't result in multiple rows like a <th> would.
    5. What if each of my nodes wants to specify its own style? I can put a styleClass attribute on an <html:outputText>, but as was already mentioned, this results in a <span> style---not a style of the entire row!
    6. If, miraculously, after hours I'm able to randomly get the right combination that will give me a styled header for each node and a sub-table of child-nodes, how do I do recursion? (Remember, my tree is arbitrarily deep.)
    7. I could use the JSTL iteration elements and generate my own table, but I've heard rumors that JSTL and JSF don't play will together. What do I do when I want to generate some JSF action within this JSTL-generated table? Can I really just drop a JSF component inside a JSTL iteration?
    JSF's dataTable seems nice in a book example, with a single-depth list of something from a database, with static headers, with alternating color styles. But trying to do something in the real world (few things are more fundamental in computer science than a tree structure) quickly seems to throw up all sorts of walls. Maybe I'm missing something really easy, here---any tricks are appreciated.
    Garret

  • Error : Invalid/unknown SSL header was received from peer

    Hi,
    I am having Weblogic 8.1 (SP5) Application Server running in US. I have a GUI application which is talking to this application server using SSL protocol. We have same SSL certificates installed machines from where this GUI application is executed.
    When I connect to this app. server from India, I am able to connect and do required operations, without any problem
    Using same GUI application when a user tries to connect from US, he is able to connect and do some basic operation. But after some time suddenly the connection with the server gets broken and he is not able to do any further operation. After that when he closes the application and tries to connect again, he is able to connect. Again after sometime server communication is broken. But I am able to connect and do operation on the same server and at the same time without any connection break up.
    When I checked Weblogic logs (wl-domain.log), I saw the below error printed.
    ####<Aug 30, 2006 7:54:40 AM CDT> <Warning> <Security> <TANGO2> <DevServer> <ExecuteThread: '24' for queue: 'default'> <<WLS Kernel>> <> <BEA-090476> <Invalid/unknown SSL header was received from peer 220.225.40.242 - 220.225.40.242 during SSL handshake.>
    ####<Aug 30, 2006 8:07:37 AM CDT> <Error> <HTTP> <TANGO2> <DevServer> <ExecuteThread: '24' for queue: 'default'> <<WLS Kernel>> <> <BEA-101018> <[ServletContext(id=200305,name=DefaultWebApp,context-path=)] Servlet failed with ServletException
    java.lang.Throwable: Write Channel Closed
    at com.tpt.thresher.servlet.TPTRPCRouterServletSession.doPost(TPTRPCRouterServletSession.java:99)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    But server has not gone down, its up all the time. Only thing is after this error comes up, user is not able to do any operation. He has to close the application and reconnect to the server. This is happening after random operation and there is no particular pattern for this. Server connection gets broken after every 5-10 minutes when connected from US.
    Does anyone have any idea why this error comes?
    Does it have to do anything with Operation System?

    Please clarify. Do you believe that this is a JRockit error? If not, I would recommend one of the WebLogic newsgroups instead.
    Cheers -- Henrik

  • Profit margin error at Conditions in Header

    Hi friends,
    I could get the profit margin correctly at each Item level..i.e Net Value minus Intercompany Price.
    Ex- $100 - $80  = 20.
    This I could see at each Item Level.
    But, when I check the same at Header Level , I find the system showing $80 (the intecompany price)..I checked the settings of Intercompany and the Profit Margin..
    They are set to ..Subtotal to -B,  Req- 22 & Profit Margin = Altcly ty- 11.
    Why am I getting this error.? and how to resolve the same?
    Please let me know
    Thank you
    Ravi

    I could solve it

  • Exception text in error segment of the header

    Hello All,
    It is well documented in SDN on how to add trace messages and then raise an runtime exception error that will stop message mapping process.
    References:
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    /people/sap.user72/blog/2005/02/23/raising-exceptions-in-sap-xi-mapping
    The exception text can be extracted from the Trace segment in SXMB_MONI. This is an acceptable way but not the best one. The "error information" button only indicates to the exception but one needs to dig out the text from the trace section.
    The ideal scenario would be to be able to write to the error segment of the message header (for e.g. "Additonal Text" section).  Has anybody worked on this / what are the mechanisms to achive this from UDF/Java functions.
    Regards,
    Varadharajan.

    Interesting Requirement. If you can figure a way out, believe me this is worth a Blog on SDN
    Meanwhile, Can you have a look at my blog and check if this can help you as a workaround,
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Regards
    Bhavesh

  • WebService Error: SoapFaultCode:3 SOAP header To was not understood

    Hello All,
    I am trying to consume a webservice. I have created a client proxy and a logical port for the webserive.
    But when i try to test the service consumer in SE80, i get the following error.
    SoapFaultCode:3 SOAP header To was not understood.
    Could you please help me out here.
    Thanks & regards
    Kassin

    >
    kassindro wrote:
    > Hello All,
    >
    > I am trying to consume a webservice. I have created a client proxy and a logical port for the webserive.
    > But when i try to test the service consumer in SE80, i get the following error.
    >
    > SoapFaultCode:3 SOAP header To was not understood.
    >
    > Could you please help me out here.
    >
    > Thanks & regards
    > Kassin
    Hallo Kassin,
    I do not know how you added the webservice hearder.
    Please refer the thread here with similar problem [Web Services Security using ABAP Proxies|Web Services Security using ABAP Proxies]
    Still not working then post your WDSL ,<SOAP-ENV:Header> tag
    Try to use XMLSpy or SOAP UI to test as alternative.

  • Error with sales order header text

    Hi All,
    I am getting 3 texts from 850 IDOC on to Sales order header texts. I created 3 new textid's for them. This is working properly in Dev system and I just moved them to Test system. I created a sales order by using the IDOC. I tried to go to order header texts and it is giving me the error saying 'Error in opening text file'.
    "The SD_WORD_PROCESSING function module is for creating the "Maintain Text" dialog box. You have called up the function module with the wrong values so it is not possible to edit text properly.
    Check the parameters for the SD_WORD_PROCESSING_PUT function module."
    Please help me to solve this issue.
    Thanks,
    Veni.

    Hi Naren,
    I was just checking my Transport organizer and found that there is one customizing request which is still in modifiable mode, not released yet. It is related to Access Sequence for text id's. I forgot to move this, is this the one causing the error.
    Thanks,
    Veni.
        5  View Cluster Maintenance: Data          
            5  VC_SHPH                                                                               
    5  TTXERN                                                                               
    400VBBK      BZ20021009     
                       400VBBK      BZ20022010     
                       400VBBK      BZ20023011     
        5  IMG Activity  Define Text Types         
            5  View Cluster Maintenance: Data      
                5  VC_ORDH                                                                               
    5  TTXERN                                                                               
    400VBBK      AZ10021009 
                           400VBBK      AZ10022010 
                           400VBBK      AZ10023011 
                    4  TTXZ                        
                    4  TTXZT

  • Error: SAP license key: header or empty line expected

    Hello All,
           I wanted to install license for my portal server(EP-6, SP-14). But i am getting some error msg
    <b>License file C:\APQ_WEBAS.txt contains an incorrect SAP license key: header or empty line expected. License key(s) not completely installed.</b>
    when I clicked on install from file Button.
    Any +ve will be aprited.

    Hi Uttam
    Just Put this line at top of ur license file
    Begin SAP License -
    so the license file should look like this
    Begin SAP License -
    SAPSYSTEM=XXX
    HARDWARE-KEY=XXXXXXXX
    INSTNO=XXXXXXXXX
    BEGIN=20051224
    EXPIRATION=99991231
    LKEY=SWPRODUCTNAME=J2EE-Engine_MSS or ORA
    SWPRODUCTLIMIT=XXXXXXXX
    SYSTEM-NR=000000000XXXXXXXXXX
    regards,
    kaushal

  • ODI Load File error (can't read heading rows)

    Hello!
    I created a file Datastore on ODI 11g from the following delimited file:
    EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO
    7369,SMITH,CLERK,7902,17-12-80,800,,20
    7499,ALLEN,SALESMAN,7698,20-02-81,1600,300,30
    7521,WARD,SALESMAN,7698,22-02-81,1250,500,30
    7566,JONES,MANAGER,7839,02-04-81,2975,,20
    7654,MARTIN,SALESMAN,7698,28-09-81,1250,1400,30
    7698,BLAKE,MANAGER,7839,01-05-81,2850,,30
    I defined the file format as "delimited", the number of lines (heading) as "1", the record separator as "MS-DOS" and the field separator as ",". I successfully reversed engeniner and I obtained the header columns.
    The problem I have occurs when I try to view the file data using the option "View Data" on the file Datastore. I get the following error message:
    java.sql.SQLException: ODI-40439: Could not read heading rows from file
      at com.sunopsis.jdbc.driver.file.FileResultSet.<init>(FileResultSet.java:164)
      at com.sunopsis.jdbc.driver.file.impl.commands.CommandSelect.execute(CommandSelect.java:57)
      at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)
      at com.sunopsis.jdbc.driver.file.FilePreparedStatement.executeQuery(FilePreparedStatement.java:135)
      at com.borland.dx.sql.dataset.o.f(Unknown Source)
      at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source)
      at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
      at com.borland.dx.dataset.StorageDataSet.refresh(Unknown Source)
      at com.borland.dx.sql.dataset.QueryDataSet.refresh(Unknown Source)
      at com.sunopsis.graphical.frame.edit.AbstractEditFrameGridBorland.initialize(AbstractEditFrameGridBorland.java:628)
      at com.sunopsis.graphical.frame.edit.AbstractEditFrameGridBorland.<init>(AbstractEditFrameGridBorland.java:868)
      at com.sunopsis.graphical.frame.edit.EditFrameTableData.<init>(EditFrameTableData.java:50)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      at oracle.odi.ui.editor.AbstractOdiEditor$1.run(AbstractOdiEditor.java:176)
      at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
      at java.lang.Thread.run(Thread.java:724)
    Thanks

    It fails with both .txt and .csv
    ODI-1227: Task SrcSet0 (Loading) fails on the source FILE connection FILE_GENERIC.
    Caused By: java.sql.SQLException: ODI-40439: Could not read heading rows from file
      at com.sunopsis.jdbc.driver.file.FileResultSet.<init>(FileResultSet.java:164)
      at com.sunopsis.jdbc.driver.file.impl.commands.CommandSelect.execute(CommandSelect.java:57)
      at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)
      at com.sunopsis.jdbc.driver.file.FilePreparedStatement.executeQuery(FilePreparedStatement.java:135)
      at oracle.odi.query.JDBCTemplate.executeQuery(JDBCTemplate.java:189)
      at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:94)
      at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:1)
      at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:70)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      at java.lang.Thread.run(Thread.java:724)
    Regards

Maybe you are looking for