ERROR IN DISPLAYING WEB AGENT SAMPLES

I am running olap web agent 9.2.1 on Application server 10g (101202) , at first using olap web agent 9.2.1 patch 2 and database 10g 10.2.0.1 I had no problems accessing the web agent samples, then after upgrades to olap web
agent 9.2.1 patch 4 and Patch Set 2- 10.2.0.3 PATCH SET FOR ORACLE DATABASE 10.2.0.1, I receieved the following error occurs after login to the web agent samples:
-an error occurred in the oracle olap web agent
-sealing violation
Does anyone know how to resolve this issue?
Thanks
-ahmed hafez

Hi, thanks for your reply.
Actually my setting for Crystal Report Viewer in Infoview is Advanced DHTML Viewer.
I've tried to switch between Advanced DHTML viewer and normal DHTML viewer but everything is OK in Infoview.
I suspect if I need more than just calling LogonEx in my ASP.NET code for this case, but I have no reference.
Everything is fine for static and dynamic (non cascading) reports in my web.
Do you have any suggestion for this problem?

Similar Messages

  • Deployment Error using the Web Services sample ?

    All,
    I am running the Web Services sample, the compile works fine, but the deployment fails with the following error -
    Any suggestions on what needs to be fixed ?
    Sameer.
    C:\jdev9\jdk\jre\bin\javaw.exe -jar C:\ias\j2ee\home\admin.jar ormi://127.0.0.1/ admin **** -deploy -file C:\jdev9\jdev\mywork\WorkspaceStatelessJava\Project\WorkspaceStatelessJava-ProjectStatelessJava-WS.ear -deploymentName WorkspaceStatelessJava-ProjectStatelessJava-WS
    Error: java.lang.NoSuchMethodError: java.net.URL: method getPath()Ljava/lang/String; not found
    Exit status of OC4J admin tool (-deploy): 1

    Thanks Mike, your guess was right on target.
    I realize this sample was originally tested for Oracle9i Web Services
    Quickstart Install (9.0.2) , but I have been able to get it running on
    (9.0.3) as well.
    1) I pointed to a jdk 1.3 directory and then was able to
    create a password for oc4j.
    C:\jdev9\j2ee\home>D:\jdk1.3.1\bin\java -jar oc4j.jar -install
    Enter an admin password to use: admin
    Confirm admin password: admin
    Installation done
    2) This time the deployment worked -
    ---- Deployment started. ---- Dec 6, 2002 10:57:42 AM
    Wrote WAR file to
    C:\jdev9\jdev\mywork\WorkspaceStatelessJava\Project\WebServices.war
    Wrote EAR file to
    C:\jdev9\jdev\mywork\WorkspaceStatelessJava\Project\WorkspaceStatelessJ
    ava-ProjectStatelessJava-WS.ear
    Invoking OC4J admin tool...
    C:\jdev9\jdk\jre\bin\javaw.exe -jar C:\jdev9\j2ee\home\admin.jar
    ormi://127.0.0.1/ admin **** -deploy -file
    C:\jdev9\jdev\mywork\WorkspaceStatelessJava\Project\WorkspaceStatelessJ
    ava-ProjectStatelessJava-WS.ear -deploymentName
    WorkspaceStatelessJava-ProjectStatelessJava-WS
    Auto-unpacking
    C:\jdev9\j2ee\home\applications\WorkspaceStatelessJava-ProjectStateless
    Java-WS.ear... done.
    Auto-unpacking
    C:\jdev9\j2ee\home\applications\WorkspaceStatelessJava-ProjectStateless
    Java-WS\WebServices.war... done.
    Copying default deployment descriptor from archive at
    C:\jdev9\j2ee\home\applications\WorkspaceStatelessJava-ProjectStateless
    Java-WS/META-INF/orion-application.xml to deployment directory
    C:\jdev9\j2ee\home\application-deployments\WorkspaceStatelessJava-Proje
    ctStatelessJava-WS...
    Auto-deploying WorkspaceStatelessJava-ProjectStatelessJava-WS (New
    server version detected)...
    Exit status of OC4J admin tool (-deploy): 0
    C:\jdev9\jdk\jre\bin\javaw.exe -jar C:\jdev9\j2ee\home\admin.jar
    ormi://127.0.0.1/ admin **** -bindWebApp
    WorkspaceStatelessJava-ProjectStatelessJava-WS WebServices
    http-web-site /WorkspaceStatelessJava-ProjectStatelessJava-context-root
    Exit status of OC4J admin tool (-bindWebApp): 0
    Use the following context root(s) to test your web application(s):
    http://127.0.0.1:8888/WorkspaceStatelessJava-ProjectStatelessJava-conte
    xt-root
    Elapsed time for deployment: 22 seconds
    ---- Deployment finished. ---- Dec 6, 2002 10:58:04 AM
    3) Running the Client.java worked.
    Project Message Window
    C:\jdev9\jdk\bin\javaw.exe -ojvm -classpath
    C:\jdev9\jdev\mywork\WorkspaceStatelessJava\Project\classes;C:\jdev9\jd
    ev\lib\jdev-rt.jar;C:\jdev9\jdev\lib\jdev-rt.jar;C:\jdev9\soap\lib\soap
    .jar;C:\jdev9\lib\xmlparserv2.jar;C:\jdev9\jlib\javax-ssl-1_2.jar;C:\jd
    ev9\jlib\jssl-1_2.jar;C:\jdev9\j2ee\home\lib\activation.jar;C:\jdev9\j2
    ee\home\lib\mail.jar;C:\jdev9\j2ee\home\lib\http_client.jar Client
    Hello Mike! The current time is Fri Dec 06 11:08:36 EST 2002Process
    exited with exit code 0.
    4) TCP Tunnel Utility runs correctly
    HTTP/1.1 100 ContinueServer: Oracle9iAS (9.0.3.0.0) Containers for
    J2EEDate: Fri, 06 Dec 2002 16:14:59 GMTHTTP/1.1 200 OKDate: Fri, 06 Dec
    2002 16:14:59 GMTServer: Oracle9iAS (9.0.3.0.0) Containers for
    J2EEContent-Length: 517Connection: CloseContent-Type: text/xml;
    charset=utf-8<?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><ns1:sayHel
    loResponse xmlns:ns1="HelloImpl"
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><ret
    urn xsi:type="xsd:string">Hello Mike! The current time is Fri Dec 06
    11:15:00 EST
    2002</return></ns1:sayHelloResponse></SOAP-ENV:Body></SOAP-ENV:Envelope
    >
    POST
    /WorkspaceStatelessJava-ProjectStatelessJava-context-root/HelloImpl
    HTTP/1.1Host: 127.0.0.1:8900Connection: Keep-Alive, TETE: trailers,
    deflate, gzip, compressUser-Agent: RPT-HTTPClient/0.3-3SOAPAction:
    ""Accept-Encoding: deflate, gzip, x-gzip, compress,
    x-compressContent-type: text/xml; charset=utf-8Content-length: 441<?xml
    version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><ns1:sayHel
    lo xmlns:ns1="HelloImpl"
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><par
    am
    xsi:type="xsd:string">Mike</param></ns1:sayHello></SOAP-ENV:Body></SOAP
    -ENV:Envelope>
    --------------------------

  • Error using intermedia web agent on image upload

    I use web agent, the PL/SQL Proc are OK, but sometimes, when I upload images, I've got this message.
    don't understand because the same image can upload the next time....
    MWM-00015: event logged at 17-Oct-2000 15:51:11 web agent 'interMedia'
    MWM-00013: request: method='POST' path='/intermedia/kiliko/mediaput/LIVR_PUT/' client=213.228.49.133
    MWM-00740: MEDIAPUT request did not return a non-NULL content handle
    null

    That's the JSP page I use to upload image if you need more info.
    the PL proc I used are generated by clipboard.
    <%@ page contentType="text/html;charset=WINDOWS-1252"%>
    <jsp:useBean id="annonceejb" scope="page" class="a2a.annonce.pages.annoncejsp">
    </jsp:useBean>
    <%@ include file="../../includes/globals.txt" %>
    <%
    java.lang.String strannonce=request.getParameter("annonce");
    int idannonce=-1;
    if (strannonce!=null)
    idannonce=java.lang.Integer.parseInt(strannonce);
    annonceejb.insertImageAnnonce(idannonce);
    %>
    <html>
    <head>
    <title>Ajoutez une photo &agrave; l'annonce</title>
    <SCRIPT LANGUAGE="JavaScript1.2">
    <!-- Debut script
    function valide() {
    if (document.all)
    window.event.cancelBubble=true;
    window.event.returnValue = false;
    if (document.forms[0].ord_content.value=="")
    alert("Selection obligatoire du fichier!")
    // Fin script -->
    </SCRIPT>
    </head>
    <body bgcolor="#3399CC">
    <p>
    <br>
    <br>
    <br>
    </p>
    <form action="<%=SGBD_SERVER%>/mediaput/PUT_ANN/"
    method="post"
    enctype="multipart/form-data">
    <div align="center"><font color="#FFFFFF"><b><font size="2" face="Arial">s&eacute;lectionnez
    la photo de votre annonce</font></b></font> </div>
    <input type="hidden" name="ord_post_put_call" value="REDIRECT_ANN_AMS">
    <input type="hidden" name="ord_procedure_path" value="<%=idannonce%>">
    <p align="center"> <!-- We use file input to add the image -->
    <input type="file" name="ord_content" size=20>
    <br>
    </p>
    <div align="center"><font face="Arial" size="1" color="#FFFFFF">
    <IMG SRC="../../commun/images/stabtn_valider.gif" BORDER=0 WIDTH=64 HEIGHT=12>
    <a href="supphotoannonce.jsp?annonce=<%=idannonce%>"><img src="../../commun/images/stabtn_annuler.gif" width="64" height="12" border="0"></a>
    </div>
    </form>
    <div id="Layer1" style="position:absolute; width:451px; height:546px; z-index:1; left: 503px; top: 51px; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000; visibility: hidden"></div>
    </body>
    </html>
    null

  • Getting Error While Displaying web page in Oracle Report 11g

    Hi,
    I am new to Oracle reports 11g. I have stuck into an error. While I'm trying to display the web page it says "No such Web command ()".
    I am using following URL to call the report.
    http://hostname:port/reports/rwservlet/?server=repserver&report=a.jsp&destype=cache&desformat=htmlcss&userid=scott/tiger@db
    Please help me out from this.

    Hi Rupesh,
    Thanks a lot removing web solved my problem.
    My second problem is
    1) SAP xMII >Navigation services>Navigation do following
    a) From the account name pull down menu select everyone
    b)In the navigation tree tab page,choose Navigation Item >Add>Child
    c)In the loading content dialog box,enter a name , for example,"Test"
    d)choose."..."
    e)In the File Browse dialog box,open the CM folder and navigate to teh QM folder
    Select ZPPWeb.htm and choose Ok
    After this I get error message as
    "Can't move focus to the control because it is invisible , not enabled or of a type that does not accept the focus".
    It does not add my htm file to the navigation link
    Thanks in advance
    Regards Namita

  • Error when displaying web reports

    Hello,
    Our client have a problem with the character set of web application built using WAD 3.5 in a BW 7.0 system. Java stack is not installed and WAD 3.5 is therefore still in use.
    New web applications looks ok when executed directly from WAD. But when executed directly in the browser (i.e. by using the URL) the result is displayed incorrectly. A lot of Chinese characters appear. It seems the browser interprets the html-file as Unicode (UTF-16) while it in reality is ISO 8859-1. How can this happen? Is BW in some cases marking the generated html-files as Unicode, even if they are not?
    Best regards,
    Christoffer Owe
    Edited by: Christoffer Owe on May 7, 2010 4:04 PM

    Hello
    Arun is right. This problem results from an incompatible change, that Microsoft introduced with the security update KB956844.
    SAP already requested Microsoft to change the behaviour at least for windows application like WAD. (The security problem is related to the use of the dhtmledit control, which can also be hosted in IE.)
    Please see the workarounds described in note 1390941.
    Thanks
    Edward John

  • Error in displaying web reports converted to jsp

    I have created a JSP page which contains embedded Oracle web reports build using Oracle Report Builder. I am using 10gAS version
    I have deployed the JSP created above to the Oracle Application Server
    but when i try to open the JSP file it gives the following error:
    500 Internal Server Error
    javax.servlet.jsp.JspException: rwlib-1: REP-1202: ORACLE logon not specified. at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:206) at testing.test1._jspService(_test1.java:75) [SRC:/testing/test1.jsp:0] at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
    can anybody help regarding this
    this is of high priority to me
    thanks and regards
    Subhajit

    I think the problem is in your read loop. Try:
    String line = null;
    while ((line  = bf.readLine()) != null) {
           out.write(line);
    }

  • The Web Agent for IIS will not work

    Environment: NT4 Server, IIS4
    I try to install the Web Agent in use with IIS but IIS fails to load the dll. After the installation I can read the event-log :
    The HTTP server was unable to load the ISAPI Application 'C:\Oracle\Ora81\ord\web\bin\wsciis81.dll'. The data is the error.
    And the Browser gives me:
    A dynamic link library (DLL) initialization routine failed.
    What can be wrong?

    Note: On Windows NT, use \ instead of / to separate file system directory
    paths.
    1. Check the Web Agent's log file.
    Look in <oracle_home>/ord/web/logs for a log file in the form
    wsc_<yyyymmdd>_<pid>.log. If the file exists, review it for errors,
    then take the necessary action to remedy the problem. Possible
    problems that might be logged are non-recoverable errors in the Web
    Agent's configuration file <oracle_home>/ord/web/admin/wsc.cfg. If the
    configuration file or the <oracle_home>/ord/web directory hierarchy
    doesn't exist, then re-do the installation.
    2. Check the Web Agent's "last-chance" error log file.
    If the <oracle_home>/ord/web/logs directory exists, but there are no
    log files, check in the %SystemRoot% directory on Windows NT or the
    /tmp directory on Unix for a file named wsclstch.err. This is the Web
    Agent's "last-chance" error log file. The Web Agent will try to write
    to this file if it encounters a fundamental startup error, such as a
    problem initializing CORE or NLS, creating a log file, or opening its
    message file. If the file exists, review it for errors, then take the
    necessary action to remedy the problem. (In a command window on
    Windows NT, type set SystemRoot to find where the wsclstch.err file
    would be written.)
    3. Check the web server configuration.
    If the Web Agent failed to create either its normal log file or its
    "last-chance" error log file, verify that the Web Agent has been
    configured correctly for the particular web server being used and that
    the web server is running.
    o Microsoft IIS
    Use the Internet Service Manager to verify that IIS has been
    configured correctly for the Web Agent. Review the installation
    and configuration instructions in the wsciis.html or wsciis.txt
    files to verify that the Web Agent has been configured correctly
    and to make any changes or fixes necessary. Check that the filter
    is up and running and that the virtual path has been configured.
    To check the filter, select the web site, then click the
    properties button (or right-click the web site icon). Select the
    Filters tab. The Web Agent should appear in the list with a green
    up-arrow. If it appears with a red down-arrow, check the Windows
    NT event log for any errors relating to the Web Agent. IIS
    doesn't always write detailed error messages. For example, if a
    DLL used by the Web Agent can't be located, then IIS typically
    logs the fact that a load error occurred along with the message
    "the data was the error". Note that the installation and
    configuration instructions describe the case where the filter
    must be installed manually if there were no existing filters
    registered at the time the Web Agent for IIS was installed.
    If the filter looks OK, check the oracle_intermedia_bin virtual
    path by clicking the properties button (or right-click the
    virtual path icon). The path should reference the
    <oracle-home>\ord\web\bin directory, which should contain the
    wsciis81.dll file. In the properties window, select the directory
    security tab, then click the anonymous access and authentication
    control button. Verify that Basic authentication has been checked
    and that Windows NT challenge/response has been cleared.
    To function correctly, the Oracle8i home must be specified
    correctly for IIS. Use the Oracle Home Selector to verify that
    the Oracle8i home is specified as the default home. Use the
    System Control Panel to verify that the Oracle8i home /bin
    directory is specified prior to any other Oracle homes in the
    PATH environment variable.
    null

  • Cisco NAC web agent failure

    Is there a list somewhere that shows what the status's mean?  I have a few users getting this error, while others are working fine -
    Failed to download  Cisco NAC Web Agent ( status = -2 ) !
    Thanks!

    For the web agent, there are three error states
    -1 means that it was unable to launch the control at all,
    -2 means it failed to download the agent executable,
    -3 means there was an error running the web agent
    Are you using the Java or ActiveX version of the web agent?  Definitely check the browser settings for both and make sure that it's either allowing or prompting the user for the applets.  If you're using the ActiveX version, you could try forcing the Java version, as most users seem to have more lenient browser settings by default for it.

  • 9i Web Agent Error when displaying Java Table/Graph

    Hi,
    I am in the process of upgrading a Express 6.3.4 Web Agent database app to 9i.
    I have been able to import the databases correctly, under the OOWAAPP schema.
    On my app when ever I go to a page to display a Java Table I get the following error:
    oracle.olap.webAgent.express.OWAException: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><HTML><HEAD><TITLE>Oracle OLAP Web Agent</TITLE></HEAD><BODY bgcolor="#FFFFFF"><P><img src="/oowa-install/sample/wabanner.gif" alt="Oracle OLAP Web Agent"></p><P><STRONG>An error occurred in the Oracle OLAP Web Agent</STRONG></p><STRONG>ORA-33272: (DBERR06) Analytic workspace IADSSDEMO.OOWASEL cannot be opened.
    ORA-01950: no privileges on tablespace 'IADSS'
    ORA-06512: at "SYS.DBMS_AW", line 18
    ORA-06512: at line 1
    </STRONG><P><!--<STRONG>Click <A HREF="/oowa-install/help/en/owacauseaction.html#ORA-33272: (DBERR06) Analytic workspace IADSSDEMO.OOWASEL cannot be opened.
    ORA-01950: no privileges on tablespace 'IADSS'
    ORA-06512: at SYS.DBMS_AW", line 18
    ORA-06512: at line 1
    ">here</A> to display information about potential causes for this error and about potential resolutions for the problem.</STRONG>--></p></BODY></HTML>
    The UserID I am logged in as is IADSSDEMO. While the AW are in the OOWA schema, I have forced them to use a tablspace of IADSS.
    The Page has some option/selectors followed by a java table.
    Any ideas?
    Regards,
    Imran Shah
    Ioppolo & Associates

    This forum is for Warehouse Builder related issues. Your question is better suited for the OLAP forum:
    OLAP

  • Web Agent Error

    Hi
    I get the following errors when trying to use the SQL query in the Web Agent URl
    What's the problem?
    The URL is: http://nandeep/intermedia/kewlminds/mediaget/?ord_sql=select+t.id+from+image+t+where+t.id%3d1
    The page display the message as
    "The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    The error is as follows:
    MWM-00015: event logged at 25-Aug-2000 14:42:30 web agent 'interMedia'
    MWM-00013: request: method='GET' path='/intermedia/kewlminds/mediaget/' client=10.1.2.34
    MWM-00615: error binding a parameter or placeholder 'ID'
    MWM-00756: the parameter mode for the request specific argument is not IN
    MWM-00015: event logged at 25-Aug-2000 14:43:31 web agent 'interMedia'
    MWM-00013: request: method='GET' path='/intermedia/kewlminds/mediaget/' client=10.1.2.34
    MWM-00615: error binding a parameter or placeholder 'ID'
    MWM-00756: the parameter mode for the request specific argument is not IN
    The IMAGE table has the following fields
    ID number(10) primary key
    title varchar2(100),
    image ordsys.ordimage
    the application works fine with Clipboard though
    Can anyone also let me know where I can get some detailed documentation regarding passing SQL queries a s a string to Web Agent?
    It would be of great help if I can get some reply ASAP
    thank you
    null

    Hi,
    To use a SQL SELECT statement instead of a PL/SQL procedure, you must use the same reserved names for items in the select list as would be used for parameter names in a PL/SQL procedure. Try the following:
    select t.image.getcontent() ord_content_blob,
    t.image.getcontentlength() ord_content_length,
    t.image.getmimetype() ord_content_type
    from images t where t.id=1
    Or as a query-string parameter:
    ?ord_sql=select+t.image.getcontent()+ord_content_blob,t.image.getcontentlength()+ord_content_length,t.image.getmimetype()+ord_content_type+from+images+t+where+t.id%3d1
    Hope this helps,
    Simon
    null

  • How can I display XSLT transformer errors on a web page ?

    Hi,
    I have some JSP pages that access DB, create an XML based on DB data and then transform it into HTML through an XSLT stylesheet. Developing the XSL code it's easy to make mistakes and generate errors on trasformation, but what I receive on the web page is only a "Could not compile stylesheet" TransformerConfigurationException, while the real cause of the error is displayed only on tomcat logs. This is the code for transformation:
    static public void applyXSLT(Document docXML, InputStream isXSL, PrintWriter pw) throws TransformerException, Exception {
            // instantiate the TransformerFactory.
            TransformerFactory tFactory = TransformerFactory.newInstance();
            // creates an error listener
            XslErrorListener xel = new XslErrorListener();
            // sets the error listener for the factory
            tFactory.setErrorListener(xel);
            // generate the transformer
            Transformer transformer = tFactory.newTransformer(new SAXSource(new InputSource(isXSL)));
            // transforms the XML Source and sends the output to the HTTP response
            transformer.transform(new DOMSource(docXML), new StreamResult(pw));
    }If an exception is thrown during the execution of this code, its error message is displayed on the web page.
    This is the listener class:
    public class XslErrorListener implements ErrorListener {
        public XslErrorListener() {
        public void warning(TransformerException ex) {
            // logs on error log
            System.err.println("\n\nWarning on XEL: " + ex.getMessage());
        public void error(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nError on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
        public void fatalError(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nFatal Error on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
    }When I have an error in the XSL stylesheet (for examples a missing closing tag), I can find on tomcat logs the real cause of the error:
    [Fatal Error] :59:10: The element type "table" must be terminated by the matching end-tag "</table>".
    Error on XEL: The element type "table" must be terminated by the matching end-tag "</table>".but on my web page is reported just the TransformerConfigurationException message that is:
    "Could not compile stylesheet".
    How can I display the real cause of the error directly on the web page?
    Thanks,
    Andrea

    This code is part of a bigger project that let developers edit XSL stylesheets through a file upload on the system and we can't impose the use of any tool for checking the xsl. So, I need to display the transformer error on the web page.I see. This code is part of an editorial/developmental tool for developers to create and edit XSL stylesheets.
    As part of the editorial process, XSL errors during editing can be considered a normal condition. In other words, it is normal to expect that the developers will generate XSL errors as they are developing stylesheets.
    In this light, handling the XSL transformation errors is a business requirement that you need to handle. Using the Java Exceptions mechanisms, e.g. try / catch are inappropriate to handle business requirements, in my opinion.
    I suggest that you look at how you handle the occurence of XSL errors differently than what you currently have. You need to:
    (1) capture the Transformation exception on the server;
    (2) extract the message from the exception and put it into a message that can be easily understood by the user;
    The current error message that you have going to the web browser is not useful.
    And you should not have the Transformation exception sent to the web browser either.
    What you are attempting to do with the exception is not appropriate.
    Handle the Transformation exception on the Business tier and use it to create a useful message that is then sent to the Presentation tier. In other words, do not send Java exceptions to web browser.
    />

  • How to display an error Message in Web Dynpro

    Hello,
    I want to display an error message in Web Dynpro. I'm using this,
    IWDMessageManager message = wdComponentAPI.getMessageManager();
    message.reportSuccess("<some relevant debug message>");
    However, the message is always shown at the bottom of the screen. It is possible to select the location in the screen for showing this object? Or what is the best way for doing this? I've tried to use a Label but I can't set the type (warning, error, info) it's only a message.
    Thanks
    Regards
    SU

    Hi,
    If you include the UI, it will display at the top of the screen..
    Please see below how to create a message in the message editor.
    http://help.sap.com/saphelp_nw04/helpdata/en/72/1d6526263ff24995016a152705eab2/frameset.htm
    and this is how you access the error message in the application ti display it to the end user
    http://help.sap.com/saphelp_nw04/helpdata/en/72/1d6526263ff24995016a152705eab2/frameset.htm
    Regards,
    Ganesh N

  • Problem displaying error page of web.xml when using JSF, Ajax4jsf

    Hi,
    My application is using MyFaces, RichFaces and Ajax4jsf. When i try to display error page configured in web.xml, i am getting exception "Error while processing error page".
    my web.xml contents are as follows:
    <?xml version="1.0"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <filter>
    <display-name>RichFaces Filter</display-name>
    <filter-name>richfaces</filter-name>
    <filter-class>org.ajax4jsf.Filter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>richfaces</filter-name>
    <servlet-name>faces</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-class>
    org.apache.myfaces.webapp.filter.ExtensionsFilter
    </filter-class>
    <init-param>
    <description>
    set the size limit for uploaded files. Format: 10 - 10 bytes 10k
    - 10 KB 10m - 10 MB 1g - 1 GB
    </description>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>100m</param-value>
    </init-param>
    <init-param>
    <description>
    Set the threshold size - files below this limit are stored in
    memory, files above this limit are stored on disk.
    Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
    </description>
    <param-name>uploadThresholdSize</param-name>
    <param-value>100k</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>Seam Redirect Filter</filter-name>
    <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
    </filter>
    <filter>
    <filter-name>KTServletFilter</filter-name>
    <filter-class>com.kenexa.core.system.KTServletFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>Seam Redirect Filter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>KTServletFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <!-- seam Listeners -->
    <listener>
    <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
    </listener>
    <listener>
    <listener-class>com.kenexa.kr.web.KRServletListener</listener-class>
    </listener>
    <servlet>
    <servlet-name>faces</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>faces</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>/rc/systemError.jsf</location>
    </error-page>
    </web-app>
    As per the configuration, when exception is thrown out of the application, container tries to display systemError.jsp page. If we want to include the JSF tags in systemError.jsp page, the request should pass through FacesServlet, so in the <error-page> <location> tag systemError page is specified with the extention systemError.jsf though it's actual extention is .jsp
    When exception is thrown from the application container invoke the error page but, while rendering systemError.jsf page exception is thrown saying "Exception processing error page "systemError.jsp" "
    To solve this problem i've gone through several forums, materials.
    In one forum a guy said, JSF1.1 spec has some problem in displaying error pages. To solve this don't write <f:view> tags in the error page, use <f:subview> intstead. By reading this, i again changed the contents of systemError.jsp page replacing <f:view> by <f:subview>. But the error is still repeating.
    Finally what i found is, when we use Ajax4jsf in the application, its AjaxViewRender class is throwing exception while rendering error pages configured through web.xml.
    So what i did is i changed error page extention from .jsf to .jsp in the <location> tag. Now jsf won't come in the picture and remove JSF related tags from the systemError.jsp page.
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>/rc/systemError.jsp</location>
    </error-page>
    Any comments are welcome----------------------------------------------------------------

    I too iam facing the same problem could you advise if you have found any solutions
              -Ram

  • Intermedia Web Agent error MWM-00622

    Has anyone encountered the error "MWM-00622 Error Describing
    PL/SQL procedure" when using the web agent?
    I am using the interMedia web agent to upload images to a BLOB.
    Everything works fine, until I pass a table as a parameter to
    the ord_call procedure of mediaput.
    Does the mediaput procedure accept tables as parameters?
    Thanks!

    The mediaput procedure only takes varchar2 type parameters and
    some reserved parameters, such as content_blob as BLOB type.
    Those varchar2 type parameters should have names that exist in
    the HTTP request headers or HTML FORM INPUT names. Otherwise,
    MWM-00622 error will be thrown.
    In your case, do you pass in a table name as a parameter? What
    do you mean pass a table to mediaput procedure? If it's a table
    name, then it should be OK if the parameter name exists in the
    FORM INPUT name.
    regards,
    Richard

  • Displaying BEx Error Messages in WebI

    Hi
    Is it possible to have the BEx error messages displayed in a WebI Report?
    We have various scenarios where an error message is returned from customer exit variables, which is displayed nicely in the browser if the BEx query is executed, but is not shown at all when the same query is run in a WebI document.
    Is there a way to get this done?
    Cheers,
    Andrew

    Hi Andrew,
    a very good suggestion of course, but sadly missing from the XI3.1 integration scenario.
    My understanding is that the BW OLAP BAPI (as used externally by WebI, via MDX universes) does not surface these error messages natively .. so this warning isn't sent to the front-end
    To some extent, this problem also remains in BI4.0 where the JCo error-handling still isn't fully captured between APS DSL Bridge and the BW BICS API . (unless low level tracing is enabled)
    would be interesting to know what tips might be out there in the ecosystem, but i haven't seen any match winners to date.
    Regards,
    H

Maybe you are looking for

  • Abordagens SOA

    Olá Pessoal, Gostaria de saber como estão focadas as abordagens aos clientes no que diz respeito a SOA, desde o final de 2006 que de uma forma ou de outra estou envolvido com o assunto, tive oportunidades de vivenciar diferentes abordagens aos client

  • Retrieving values from Database in Excel Task Pane App

    So far, I created a website with a database on Azure, I then published my App to Azure. My problem is that I'm not sure how I retrieve values from the database (in SQL: SELECT * FROM EXAMPLE_TABLE WHERE date = str). If someone could provide me with s

  • Which structure to use for time-restricted thread pools

    Hi, I am looking for the advice on the best concurrent structure (if such even exist) for executing concurrent jobs and forcing the timeout on these. Here is the problem description: I have to call up to 50 webs services. I want to run these web serv

  • How do I get an animated .swf file to appear in my iPad publication?

    I have an existing ID doc I want to publish to the iPad. How do I get the .swf to appear in my publication? And do I need to do something special to get my next and previous buttons to work?

  • Cannot import scanned images in Elements 11

    After upgrading to Elements 11 from Elements 8, I find I cannot configure Elements 11 to recognize my scanners. My only choice is "Frame From Video". I have no problem with Elements 8 which I can still use. The scanners appear in the Apple system pre