Bug or my own error?

I'm using not commersial version of faces. I'm using Apache Tomkat 4.0.3. In InternetExplorer I see an FileDownload screen with offer too download jsp page. If you choose to open a page the result is a jsp file with the html code generated by my jsp. I tried it in both IE5 and 6. But in Mozila everything worken normaly. Did anybody came across the same problem?

maybe somebody could look at the code:
web.xml : -----------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<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" >
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.validateXml</param-name>
<param-value>true</param-value>
<description>
Set this flag to true if you want the JavaServer Faces
Reference Implementation to validate the XML in your
faces-config.xml resources against the DTD. Default
value is false.
</description>
</context-param>
<context-param>
<param-name>com.sun.faces.verifyObjects</param-name>
<param-value>true</param-value>
<description>
Set this flag to true if you want the JavaServer Faces
Reference Implementation to verify that all of the application
objects you have configured (components, converters,
renderers, and validators) can be successfully created.
Default value is false.
</description>
</context-param>
<!-- Faces Servlet -->
<servlet>
<servlet-name>FacesServlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup> 1 </load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>FacesServlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
</web-app>
faces-config.xml -----------------------------------------------------------------------------------------------------------
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config>
<navigation-rule>
<from-view-id>/main.jsp</from-view-id>
<navigation-case>
<from-outcome>curriculums</from-outcome>
<to-view-id>/curriculum.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<managed-bean>
<managed-bean-name>Linker</managed-bean-name>
<managed-bean-class>ru.ipccenter.controller.bakingbeans.LinkerBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
</faces-config>
index.jsp -----------------------------------------------------------------------------------------------------------
<%@ page contentType="text/html ; charset=Windows-1251" %>
<html> <body> <jsp:forward page="main.faces" /> </body> </html>
main.jsp------------------------------------------------------------------------------------------------------------------
<%@ page contentType="text/html ; charset=Windows-1251" %>
<html>
<head><title>Study Portal</title></head>
<body>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<h2>page content</h2>
<f:view >
<h:form >
<h:commandLink action="curriculums" id="curriculums" actionListener="#{Linker.forCurriculums}" >
<h:outputLabel value="&#1088;&#1077;&#1076;&#1072;&#1082;&#1090;&#1086;&#1088; &#1091;&#1095;&#1077;&#1073;&#1085;&#1099;&#1093; &#1087;&#1083;&#1072;&#1085;&#1086;&#1074;"/>
</h:commandLink>
</h:form>
</f:view>
</body>
</html>
curriculum.jsp -----------------------------------------------------------------------------------------------------------
<html>
<head>
<title>&#1056;&#1077;&#1076;&#1072;&#1082;&#1090;&#1086;&#1088; &#1091;&#1095;&#1077;&#1073;&#1085;&#1099;&#1093; &#1087;&#1083;&#1072;&#1085;&#1086;&#1074;</title>
</head>
<body>
<%@ page contentType="text/html ; charset = Windows-1251" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<f:view >
</f:view>
</body>
</html>
LinkerBean.java-----------------------------------------------------------------------------------------------------------
package ru.ipccenter.controller.bakingbeans;
import javax.faces.event.ActionEvent;
* This class prepares attributes needed to the main pages
* of different parts of application.
* It is a listener for the main.jsp page
public class LinkerBean {
public void forCurriculums(ActionEvent event){

Similar Messages

  • [svn:fx-trunk] 11601: Integrating Min' s recent fixes to FXGUtils for a group of attribute parsing bugs and clarification of error messages .

    Revision: 11601
    Author:   [email protected]
    Date:     2009-11-09 22:00:50 -0800 (Mon, 09 Nov 2009)
    Log Message:
    Integrating Min's recent fixes to FXGUtils for a group of attribute parsing bugs and clarification of error messages.
    QE notes: Please confirm test cases.
    Doc notes: N/A
    Bugs:
    SDK-22982 - FXG compiler fails on percentage lineheight inside formatted text content
    SDK-24093 - If a
    tag has children, you do not get a compile error.
    SDK-24092 - You get a compile error if you set justificationStyle="prioritizeLeastAdjustment"
    SDK-24097 - Setting an invalid verticalAlign style on RichText has a typo in the error message
    Reviewer: Min
    Tests run: Checkintests, Bug test cases
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22982
        http://bugs.adobe.com/jira/browse/SDK-24093
        http://bugs.adobe.com/jira/browse/SDK-24092
        http://bugs.adobe.com/jira/browse/SDK-24097
    Modified Paths:
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/FXGException_en.properties
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/RichTextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/AbstractRich BlockTextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/AbstractRich TextLeafNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/AbstractRich TextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/BRNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/ImgNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/TabNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/richtext/TextHelper.j ava
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/text/AbstractCharacte rTextNode.java
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/sax/FXGSAXScanner.java

    Dear Pallavi,
    Very useful post!
    I am looking for similar accelerators for
    Software Inventory Accelerator
    Hardware Inventory Accelerator
    Interfaces Inventory
    Customization Assessment Accelerator
    Sizing Tool
    Which helps us to come up with the relevant Bill of Matetials for every area mentioned above, and the ones which I dont know...
    Request help on such accelerators... Any clues?
    Any reply, help is highly appreciated.
    Regards
    Manish Madhav

  • Invoking my own error message in Status bar

    Error message is white text over red background in Status bar of SBO.
    I need to add a form and invoke some error messages for it.
    For example, if some fields of the form are not complete, "Incomplete fields" message should be shown before adding data to DB.
    How can I make my own error message and get it appear in status bar?

    The SetStatusBarMessage method of the Application object lets you do this.  Details are in the UI help file.
    e.g.
    sboApplication.SetStatusBarMessage "Hello world!", bmt_Long, False
    John.

  • SAPCONSOLE create own error screen

    Hi,
    i´ve just read Rich Heilman´s weblog "
    Implementing Bell Signal Functionality in Sapconsole Transactions".
    in my report i use SAP standard error screen '0999' by means of FM 'CALL_MESSAGE_SCREEN'.
    i want to implement bell signal functionality in my error screen.Can i do it with SAP standard screen or do i have to create my own error screen?.
    What do i have to consider when creating an own error screen?.
    Best regards.

    Hi,
    after considering the question hat i finally intend to do is to create a new screen 9999 as a copy of screen 2999.
    in order to do the copy i´ve been reading the documentation of SAP HELP and in SE51 i'd need to do thus:
    From                                       
      Program        SAPLLMOB               
      Nº dynpro       2999                   
    to                                        
      Program        SAPLXLRF               
      Nº dynpro       9999                   
    and i would save it in a $tmp transport request.
    is this correct?
    Best regards.

  • BUG? using own EntityResolver with SAX doesn't work

    Hello,
    I was experimenting with the oracle.xml.parser.XMLParser using
    the SAX interface.
    I've written a test program that instantiates a driver and
    registers my own handlers (which just print to System.out).
    I also have my own org.xml.sax.EntityResolver, it looks like
    this:
    public class SAXEntityResolver implements EntityResolver {
    public InputSource resolveEntity(String publicId,
    String systemId) throws SAXException, IOException {
    System.out.println("<<Call to resolveEntity>>");
    try { //assume it's a URL of some sort
    URL url=new URL(systemId);
    return new InputSource(url.openStream());
    catch (MalformedURLException e1) {
    try { //it's not a URL, assume a file spec
    FileInputStream fin=new FileInputStream(systemId);
    return new InputSource(fin);
    catch (FileNotFoundException e2) {
    return null;
    //don't understand it, let the parser handle it.
    when I parse the following xml file:
    <?xml version="1.0"?>
    <!DOCTYPE dinner SYSTEM "dinner.dtd">
    <dinner>
    <location planet="Earth">Alma 3</location>
    <time>12:30</time>
    <date>Vandaag</date>
    </dinner>
    The parser generates an error to my org.xml.sax.ErrorHandler
    which prints it to the screen. The output looks like this:
    [C:\temp\xml]java -cp c:\TEMP\xml\oracle\lib\xmlparser.jar;.
    SAXParseXML oracle.xml.parser.XMLParser dinner.xml
    Locater accepted: oracle.xml.parser.SAXLocator@6ba51a96
    document parsing start
    [error: Couldn't find external DTD 'dinner.dtd']
    element dinner start: null:4:1
    (other output follows with no more errors)
    It seems as if the Oracle XMLParser doesn't use my EntityResolver
    to resolve it's external entities (the dinner.dtd file in this
    case, the file is indeed there, trust me!), otherwise it would
    have printed the message seen in the code above (<<Call to
    resolveEntity>>). If you're wondering how I configured the
    systemId in the SAX parser, here's how:
    File f=new File(args[1]);
    InputSource src=new InputSource(new FileInputStream(f));
    src.setSystemId(f.toURL().toString());
    p.parse(src);
    Can you tell me why this is? (I use NT4 with jdk 1.2)
    I've tested the same thing with the IBM, Microstar and Sun
    parsers, and they all seem to work fine with this example...
    Hope to hear from you! (cc in with mail please)
    Erwin.
    null

    Thanks for the post. You have identified a bug which will be
    fixed in a maintenance release. Until that time you can parse a
    String type rather than a InputSource type in SAXParseXML.java as
    a workaround.
    Oracle XML Team
    http://technet.oracle.com
    Erwin Vervaet (guest) wrote:
    : Oracle XML Team wrote:
    : : Which version of the parser are you using? If not 1.0.0.3
    (the
    : : latest) try that version. If the problem still exists it
    would
    : : help if you could provide your test program.
    : The readme.html in the xmlparser_v1_0_0_3.zip file (I download
    it
    : on monday 8/2/1999) says: 'Oracle XML Parser 1.0.0.3.0'.
    : So that's not the problem, below are all the files of the test
    : program. The command I use to start the program is the
    following
    : (note that there cannot be a classpath clash problem!, I use
    Sun
    : jdk1.2 on NT4 SP4):
    : [C:\temp\xml]dir
    : Volume in drive C is unlabeled Serial number is 2C90:8BDE
    : Directory of C:\temp\xml\*
    : 11/02/99 10:50 <DIR> .
    : 11/02/99 10:50 <DIR> ..
    : 9/02/99 16:34 <DIR> aelfred
    : 9/02/99 21:56 <DIR> oracle
    : 8/02/99 17:44 <DIR> xml-ea2
    : 8/02/99 14:10 <DIR> xml4j
    : 9/02/99 22:44 <DIR> xp
    : 9/02/99 16:42 215 dinner.dtd
    : 9/02/99 23:03 167 dinner.xml
    : 8/02/99 15:23 438 ParseXml.java
    : 11/02/99 10:50 2.402 SAXDocHandler.class
    : 9/02/99 21:14 1.585 SAXDocHandler.java
    : 11/02/99 10:50 1.129 SAXEntityResolver.class
    : 9/02/99 22:04 737 SAXEntityResolver.java
    : 11/02/99 10:50 976 SAXErrHandler.class
    : 9/02/99 15:39 495 SAXErrHandler.java
    : 11/02/99 10:50 1.261 SAXParseXML.class
    : 9/02/99 22:09 629 SAXParseXML.java
    : 10.034 bytes in 11 files and 7 dirs 12.800 bytes
    : allocated
    : 201.152.512 bytes free
    : [C:\temp\xml]java -cp c:\temp\xml\oracle\lib\xmlparser.jar;.
    : SAXParseXML oracle.xml.parser.XMLParser dinner.xml
    : Here are the files:
    : //file SAXErrHandler.java
    : import org.xml.sax.*;
    : public class SAXErrHandler implements ErrorHandler {
    : public void warning(SAXParseException exception) throws
    : SAXException {
    : System.err.println("[warning: " + exception +
    : public void error(SAXParseException exception) throws
    : SAXException {
    : System.err.println("[error: " + exception + "]");
    : public void fatalError(SAXParseException exception)
    : throws SAXException {
    : System.err.println("[fatal error: " + exception + "]");
    : //file SAXEntityResolver.java
    : import org.xml.sax.*;
    : import java.net.*;
    : import java.io.*;
    : public class SAXEntityResolver implements EntityResolver {
    : public InputSource resolveEntity(String publicId, String
    : systemId) throws SAXException, IOException {
    : System.out.println("<<Call to resolveEntity>> " + publicId + "
    : + systemId);
    : try { //assume it's a URL of some sort
    : URL url=new URL(systemId);
    : return new InputSource(url.openStream());
    : catch (MalformedURLException e1) {
    : try { //it's not a URL, assume a file
    : spec
    : FileInputStream fin=new
    : FileInputStream(systemId);
    : return new InputSource(fin);
    : catch (FileNotFoundException e2) {
    : return null; //don't understand
    : it, let the parser handle it.
    : //file SAXDocHandler.java
    : import org.xml.sax.*;
    : public class SAXDocHandler implements DocumentHandler {
    : private Locator locator=null;
    : public void startDocument() throws SAXException {
    : System.out.println("document parsing start");
    : public void setDocumentLocator(Locator locator) {
    : System.out.println("Locater accepted: " + locator);
    : this.locator=locator;
    : public void startElement(String name, AttributeList atts)
    : throws SAXException {
    : System.out.println("element " + name + " start: "
    : + locate());
    : for (int i = 0; i < atts.getLength(); i++)
    : System.out.println("attribute " +
    : atts.getName(i) + "=" + atts.getValue(i) + " (" +
    atts.getType(i)
    : + ")");
    : public void characters(char[] ch, int start, int length)
    : throws SAXException {
    : System.out.println("char data: " + new
    : String(ch,start,length));
    : public void ignorableWhitespace(char[] ch, int start, int
    : length) throws SAXException {
    : System.out.println("ignoring some whitespace: " +
    : new String(ch,start,length));
    : public void endElement(String name) throws SAXException {
    : System.out.println("element " + name + " end: " +
    locate());
    : public void processingInstruction(String target, String
    : data) throws SAXException {
    : System.out.println("PI: " + target + "=" + data);
    : public void endDocument() throws SAXException {
    : System.out.println("document parsing end");
    : private String locate() {
    : if (locator!=null) {
    : return locator.getSystemId() + ":" +
    : locator.getLineNumber() + ":" + locator.getColumnNumber();
    : return "";
    : //file SAXParseXML.java
    : import org.xml.sax.*;
    : import org.xml.sax.helpers.ParserFactory;
    : import java.io.*;
    : public class SAXParseXML {
    : public static void main(String[] args) {
    : if (args.length>1) {
    : try {
    : Parser
    : p=ParserFactory.makeParser(args[0]);
    : p.setDocumentHandler(new
    : SAXDocHandler());
    : p.setErrorHandler(new
    : SAXErrHandler());
    : p.setEntityResolver(new
    : SAXEntityResolver());
    : File f=new File(args[1]);
    : InputSource src=new
    : InputSource(new FileInputStream(f));
    : src.setSystemId(f.toURL().toString());
    : p.parse(src);
    : catch (Exception e) {
    : e.printStackTrace();
    : //file dinner.xml
    : <?xml version="1.0"?>
    : <!DOCTYPE dinner SYSTEM "dinner.dtd">
    : <dinner>
    : <location planet="Earth">Alma 3</location>
    : <time>12:30</time>
    : <date>Vandaag</date>
    : </dinner>
    : //file dinner.dtd
    : <?xml version="1.0" encoding="UTF-8"?>
    : <!ELEMENT dinner (location, time, date?)>
    : <!ELEMENT location (#PCDATA)>
    : <!ELEMENT time (#PCDATA)>
    : <!ELEMENT date (#PCDATA)>
    : <!ATTLIST location country CDATA "Belgium">
    Oracle Technology Network
    null

  • JRE bug or Windows Vista error?

    Hi everybody. I have a problem with the report generation. I'm using HSQLDB 1.8 as dbms. I am using Hibernate too but I am using a JDBC connection for the reports. I designed some reports with iReport 4.0. I have two types of reports in my application, the first type prints invoices and the second type prints sales reports.
    For the second type I need to include dates (using this notation '2011-1-1') in the WHERE statement. This kind of reports produces an exception but not the first type. This is the message when I request a sales report (I deleted some lines):
    net.sf.jasperreports.engine.JRException: Error executing SQL statement for : salescake
    at net.sf.jasperreports.engine.query.JRJdbcQueryExecu ter.create Datasource(JRJdbcQueryExecuter.java:169)
    at net.sf.jasperreports.engine.fill.JRFillDataset.cre ateQueryDa tasource(JRFillDataset.java:684)
    at net.sf.jasperreports.engine.fill.JRFillDataset.ini tDatasourc e(JRFillDataset.java:605)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.setP arameters( JRBaseFiller.java:1281)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill (JRBaseFil ler.java:901)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill (JRBaseFil ler.java:845)
    at net.sf.jasperreports.engine.fill.JRFiller.fillRepo rt(JRFille r.java:58)
    at net.sf.jasperreports.engine.JasperFillManager.fill Report(Jas perFillManager.java:417)
    at net.sf.jasperreports.engine.JasperFillManager.fill Report(Jas perFillManager.java:247)
    at com.reports.SalesByCustomerReport.showReport(Sales ByCustomer Report.java:24)
    at com.presentation.SalesByCustomerInternalFrame.view InvoiceBut tonActionPerformed(SalesByCustomerInternalFrame.ja va:231)
    at com.presentation.SalesByCustomerInternalFrame.acce ss$100(Sal esByCustomerInternalFrame.java:17)
    at com.presentation.SalesByCustomerInternalFrame$2.ac tionPerfor med(SalesByCustomerInternalFrame.java:87)
    at javax.swing.AbstractButton.fireActionPerformed(Unk nown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed (Unknown Source)
    Caused by: java.sql.SQLException: Wrong data type: java.lang.IllegalArgumentException in statement [select I.INVOICE_NUMBER, I.SALE_DATE,I.CONSIGNEE,I.DESTINATION_COUNTRY,I.DE LIVERY_CON DITIONS,P.TARIFF_ENTRY,P.LOT,P.DRY_NET_WEIGHT,I.TO TAL
    from INVOICE I, PRODUCT P
    where I.INVOICE_ID=P.INVOICE_ID and I.CONSIGNEE='CONSORCIO MINERO S. A.' and I.SALE_DATE>='2011-1-20' and I.SALE_DATE<='2011-14-20' ]
    at org.hsqldb.jdbc.Util.throwError(Unknown Source)
    at org.hsqldb.jdbc.jdbcPreparedStatement.executeQuery (Unknown Source)
    at net.sf.jasperreports.engine.query.JRJdbcQueryExecu ter.create Datasource(JRJdbcQueryExecuter.java:163)
    ... 48 more
    I tested this query in the HSQLDB utility and it is correct. I am thinking that the problem could be the JRE, I am using this one:
    C:\Program Files\Java\jre6\bin>java -version
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
    As you can see, my Windows Vista pc can't recognize the java command so I have to call it specifically from the directory where it is located. Maybe the problem is that I am using Windows Vista (I know it sucks but I had no time to change it).
    When I copy my program to my Windows XP computer it works fine. All the reports are shown correctly. This pc has this JRE:
    C:\Documents and Settings\Manuel & Juancho>java -version
    java version "1.6.0_01"
    Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
    Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
    There is no problem to recognize the java command.
    Let me tell you something. Is it possible that HSQLDB or iReport can delete the database content? It happened to me. I was designing my last report and a "No pages in document" message was shown. I thought that I was wrong. Finally I checked the database and there was no data! What is the problem?
    Please help me.
    Thanks in advance.

    853741 wrote:
    For the second type I need to include dates (using this notation '2011-1-1') No, you should not be using any notation. Presumably it's a DATE or DATETIME column. So you use a PreparedStatement's setDate() or setTimestamp() method.
    in the WHERE statement. This kind of reports produces an exception but not the first type. This is the message when I request a sales report (I deleted some line
    Caused by: java.sql.SQLException: Wrong data type: java.lang.IllegalArgumentExceptionI expect that kind of error would be less likely with PreparedStatements.
    I tested this query in the HSQLDB utility and it is correct. I am thinking that the problem could be the JREAs already pointed out, for something so trivial, it's extremely unlikely that you've uncovered a JRE bug.
    As you can see, my Windows Vista pc can't recognize the java command Because you haven't set up your PATH correctly.

  • Bug causing PLS-00103 error

    The following anonymous block works fine
    begin
    null;
    end;
    /but if I add a space between "end" and ";", like this
    begin
    null;
    end ;
    /I get ORA-06550 and "PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following ..." errors.
    I'm running version 1.5.4, Build MAIN-5940, on Windows XP.

    racist!
    No, really, the two should behave in the same manner, so if the syntax is correct (which is), both should work. As F9 doesn't, it's a bug.
    Regards,
    K.

  • Bug report: ube_ipa: internal error when compiling with -xO5

    When compiling imlib2-1.1.2, one source file causes compilation to fail with the following error message:
    ube_ipa: internal error
    cc: ube_ipa failed for loader_tiff.c
    The command which fails is (probably wrapped):
    cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../src -I../loaders -I../libltdl -I/usr/X11R6/include -I/usr/openwin/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -g -fast -xarch=386 -xstrconst -v -xildoff -xO5 -c loader_tiff.c -KPIC -DPIC -o .libs/loader_tiff.o
    Changing -xO5 to -xO4 works around the problem. The source file in question is imlib2-1.1.2/loaders/loader_tiff.c
    Patch 112756-10 has been applied, and doesn't correct the problem. GCC doesn't have any problem compiling the file.
    A quick note to any Sun employees reading this: it took me 45 minutes to find somewhere to submit this bug report. Searching sun.com for "submit bug report" turned up many forum postings where people asked "Where do I submit bug reports?", a bug report form for Sun One Java Studio, and not much else. It might be in your interest to make submitting bugs easier.

    Internal errors, such as the one you encountered, are generally considered compiler bugs. They indicate that the compiler reached an unexpected state and therefore bailed out. I opened bug 20703141: internal error: pic_relocs(): hh reltype? to investigate. I see the same error message emitted by the current Studio development release; I will update this thread if I find a work-around.
    Thanks,
    Mark

  • Error Page with my own Error Message based on table

    <p class="MsoNormal"><span style="" lang="EN-AU">Hi All<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">I want to share my code (based on Apex_Lib code. Thanks Patrick) , maybe can help somebody else<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">Purpose: Replace the DB errors messages ( i.e ORA-00001- primary constraint ) with my own Message fetched from a table.<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">Components: 4 components<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">1. Java Script function ( MyErrorPage )<o:p></o:p><br>2. My Custom Error Page Template<o:p></o:p><br>3. Application item ( you can use any item )<o:p></o:p><br>4. Application Process ( getErrorMsg )<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> 5. My Error Table.<span style="">  </span>( Provided just as example )<o:p></o:p><br>6. Display example<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> Integration:<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> 1 Identify your Error Page Template and Go there. In my case for example is LOGIN<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">1.1 Under Definition / Header. <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> Copy the follow JS<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU"> &lt;script type="text/javascript"&gt;<br><br>function MyErrorPage(p_err_item,p_err_process)<br>{<br><br> var vElementList = null;<br> var vErrorStack  = null;<br> var vOraError    = null;<br> var vOraCode     = null;<br> var vAjaxRequest = null;<br> var vAjaxResult  = null;<br> var vMyMsg       = '';<br><br> vElementList = window.document.getElementsByTagName("div");<br> for (i=0; i &lt; vElementList.length; i++)<br> {<br>  if (vElementList.className == "ErrorPageMessage")<br>  {<br>    vErrorStack = (vErrorStack ==null?"":vErrorStack+"&lt;br/&gt;")+vElementList[i].innerHTML;<br>    vElementList[i].innerHTML = '';<br>    vOraError = vErrorStack.split("ORA-");<br><br>    for(var i=1; i &lt; vOraError.length; i++) {<br><br>      vOraCode = vOraError[i].substring(0,5);<br><br>      vAjaxRequest = new htmldb_Get(null,&amp;APP_ID.,'APPLICATION_PROCESS='+p_err_process,0);<br>      vAjaxRequest.add(p_err_item,vOraCode);<br>      vAjaxResult = vAjaxRequest.get();<br><br>      if (vAjaxResult) {<br>        vMyMsg = vMyMsg + vAjaxResult + '&lt;br&gt;' ;<br>      } else {<br>        vMyMsg = vMyMsg + 'ORA-'+vOraError[i].substring(0) + '&lt;br&gt;' ;<br>      }<br><br>    }<br>    document.getElementById('ORA').innerHTML = vMyMsg;<br><br>  }<br> }<br>}<br>&lt;/script&gt;<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">   <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">1.2 Under Definition / Header. <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">&lt;body onload="MyErrorPage('F103_ERR_CODE','getErrorMsg')" #ONLOAD#&gt;#FORM_OPEN#<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">You can replace with your own ITEM and APPLICATION PROCESS<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">2. Under Error Page Template Control<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">&lt;table summary=""&gt;&lt;tr&gt;&lt;td&gt;&lt;img src="/i/error.gif" border="0" /&gt;&lt;/td&gt;<o:p></o:p><br>&lt;/tr&gt;<o:p></o:p><br>&lt;b id='ORA'&gt;Error&lt;/b&gt;<o:p></o:p><br>&lt;tr&gt;&lt;td&gt;&lt;a href=#BACK_LINK#&gt;#OK#&lt;/a&gt;&lt;/td&gt;<o:p></o:p><br>&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">3. Application Item <o:p></o:p></span></p><p class="MsoNormal"><span style="" lang="EN-AU">F103_ERR_CODE<span style="">   </span><o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">4. Application Proccess.<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">Name : getErrorMsg<o:p></o:p><br>Process Poing : ON DEMAND<span style="">  </span>( Make sure about this )<o:p></o:p><br>Process Text :<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">declare<o:p></o:p><br><span style="">  </span>l_msg<span style="">  </span>varchar2(500);<o:p></o:p><br>begin<o:p></o:p><br><span style="">  </span>for i in (select msg_code, msg_desc from apex_message<o:p></o:p><br><span style="">             </span>where msg_code = :F103_ERR_CODE ) <o:p></o:p><br><span style="">  </span>loop<o:p></o:p><br><span style="">    </span><span style=""></span>l_msg := 'GEN-'||i.msg_code||': '||i.msg_desc;<o:p></o:p><br><span style="">  </span>end loop;<span style="">    </span><o:p></o:p><br><span style="">  </span>htp.prn(l_msg);<o:p></o:p><br>end;<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">5. Create Apex_message (<o:p></o:p><br><span style=""> </span>id<span style="">               </span>number,<span style="">          </span>-- PK<o:p></o:p><br><span style=""> </span>msg_code<span style="">  </span>varchar2(10)<span style="">     </span>-- UK<o:p></o:p><br><span style=""> </span>msg_desc<span style="">  </span>varchar2(100) );<o:p></o:p><span style=""> </span><o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">6. Scenario: Table or View does not exist coming with 3 "ORA" errors<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">There is only one record in Apex_message with msg_code = '00942' therefor it will replace error message for ORA-00942.<span style="">  </span>( note that value for msg_code is<span style="">  </span>'00942' and not 'ORA-00942' )<o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">Before<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">ORA-06550: line 1, column 28: PL/SQL:<o:p></o:p><br>ORA-00942: table or view does not exist<o:p></o:p><br>ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left: 247.8pt; text-indent: -247.8pt;"><span style="" lang="EN-AU"> After<o:p></o:p><br></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">ORA-06550: line 1, column 28: PL/SQL:<br>GEN-00942: My own Message <o:p></o:p><br>ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored<o:p></o:p></span></p> <p class="MsoNormal"><span style="" lang="EN-AU">I did this because I do not want to create my own DML process for each table<o:p></o:p><br>I hope this can help. <o:p></o:p>  <o:p></o:p></span></p> <p class="MsoNormal">Regards</p> <p class="MsoNormal">Marcelo</p>

    True the main method does not throw any exceptions, that's because there is no higher level to throw them to (actually it implicitly throws any uncaught exceptions to the JVM). That does not mean that you can't write your own try catch block around the code in the main method.

  • BUG: OJC  cause internal error by generics in JDev 10.1.3.0.4

    Hello,
    the OJC of JDeveloper 10.1.3.0.4.3673 terminates with an internal error.
    the message is:
    Error: Internal compilation error, terminated with a fatal exceptionIt is in gerneric code with two params.
    The two classes are:
    Base class:
    package org.test;
    public abstract class BaseClass<ValueType, BoundType>
      public abstract BoundType unmarshal(ValueType v);
      public abstract ValueType marshal(BoundType v);
    }Problem class:
    package org.test;
    public final class TestGeneric extends BaseClass<String, byte[]>
      public byte[] unmarshal(String s)
          return null;
      public String marshal(byte bytes[])
          return null;
    }Regards

    Thanks for reporting this. We've logged a bug to track the issue: 5018566
    -- Brian

  • AIR 3.7.0.166 Sound Bug Crash APP without error

    Hello guys,
    The last Adobe Air Mobile update gaves me a lot of head ake!
    Im developing a multimidia APP, and since AIR was updated in my device, no more sounds is playing in the application.
    It just crashes withou any error in Debug mode, and restarts. When i call Sound.play media function in any ocasion, it happens.
    It seams that there is a REALLY BIG CONFLICT with the new AIR and Sound.play.
    My references:
    Im developing in Flash Builder 4.6, running Adobe AIR 3.7.0.166
    on a Motorola Atrix MB860
    with Android 2.2.2
    To reproduce the bug just install any AIR APP with music controls, like this: http://coenraets.org/blog/air-for-android-samples/voice-notes-for-android/
    APK: http://coenraets.org/android/VoiceNotes/VoiceNotes.apk   with the 3.7.0.166 version of AIR, and try to reproduce the sound.
    That application was running ok until the update. There is an textflow bug too, witch import only underline <u> and link <a> tag (no more bold <b> and italic <i>) from HTML, but compared to the sound crash this is nothing.
    I insist that all this was running OK since the last update (i even run an backup version cause i think i was making any script error).
    I´m looking hopelessly the LAST version before that last one so i can continue developing my application. With this error i canot do anything!!!!
    If someone can help me where i can find it, id appreciate a lot!
    Thanks

    05-29 19:59:00.896: I/DEBUG(3857): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    05-29 19:59:00.896: I/DEBUG(3857): Build fingerprint: 'sprd/sprdroid_base/hsdroid:2.3.5/MocorDroid2.3.5/W12.20_P-17_20130107.155157:eng/test-ke ys'
    05-29 19:59:00.896: I/DEBUG(3857): pid: 4130, tid: 4154  >>> air.com.baijie.learnhanzi <<<
    05-29 19:59:00.896: I/DEBUG(3857): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
    05-29 19:59:00.896: I/DEBUG(3857):  r0 00000000  r1 afd46608  r2 00000000  r3 00000001
    05-29 19:59:00.896: I/DEBUG(3857):  r4 83195a94  r5 00006d00  r6 00000000  r7 00000017
    05-29 19:59:00.896: I/DEBUG(3857):  r8 2f8df18f  r9 00003120  10 00323dd0  fp 00008ae0
    05-29 19:59:00.896: I/DEBUG(3857):  ip 00000000  sp 49995cc8  lr afd10e74  pc 8214b238  cpsr 60800030
    05-29 19:59:00.896: I/DEBUG(3857):  d0  454545656372756f  d1  2e2e2e276a634b50
    05-29 19:59:00.896: I/DEBUG(3857):  d2  203334312020203a  d3  6c20746f6e6e6163
    05-29 19:59:00.896: I/DEBUG(3857):  d4  5f2720657461636f  d5  6f72646e61374e5a
    05-29 19:59:00.896: I/DEBUG(3857):  d6  6f43584d4f386469  d7  6165724336636564
    05-29 19:59:00.896: I/DEBUG(3857):  d8  0000000000000000  d9  3ff0000000000000
    05-29 19:59:00.896: I/DEBUG(3857):  d10 0000000000000000  d11 0000000000000000
    05-29 19:59:00.896: I/DEBUG(3857):  d12 0000000000000000  d13 0000000000000000
    05-29 19:59:00.896: I/DEBUG(3857):  d14 0000000000000000  d15 0000000000000000
    05-29 19:59:00.896: I/DEBUG(3857):  d16 5f534e4b52456574  d17 345f534e49707332
    05-29 19:59:00.906: I/DEBUG(3857):  d18 52454545584d4f49  d19 534e495f31534e4b
    05-29 19:59:00.906: I/DEBUG(3857):  d20 61446174654d385f  d21 4b52624545456174
    05-29 19:59:00.906: I/DEBUG(3857):  d22 5f534e495f31534e  d23 53616964654d3131
    05-29 19:59:00.906: I/DEBUG(3857):  d24 0000000000000000  d25 0000000000000000
    05-29 19:59:00.906: I/DEBUG(3857):  d26 0000000000000000  d27 0000000000000000
    05-29 19:59:00.906: I/DEBUG(3857):  d28 0000000000000000  d29 0000000000000000
    05-29 19:59:00.906: I/DEBUG(3857):  d30 0000000000000000  d31 0000000000000000
    05-29 19:59:00.906: I/DEBUG(3857):  scr 60000013
    05-29 19:59:01.026: I/DEBUG(3857):          #00  pc 0014b238  /mnt/asec/air.com.baijie.learnhanzi-1/lib/libCore.so
    05-29 19:59:01.046: I/DEBUG(3857):          #01  lr afd10e74  /system/lib/libc.so
    05-29 19:59:01.046: I/DEBUG(3857): code around pc:
    05-29 19:59:01.056: I/DEBUG(3857): 8214b218 4810bd10 68004478 490fe7fa 68094479
    05-29 19:59:01.056: I/DEBUG(3857): 8214b228 b1604788 23014a0d 447a7023 47906812
    05-29 19:59:01.056: I/DEBUG(3857): 8214b238 6b4b6801 4a0a4798 6010447a 4809e7e8
    05-29 19:59:01.056: I/DEBUG(3857): 8214b248 68004478 bf00e7e4 0102ef30 0104a884
    05-29 19:59:01.056: I/DEBUG(3857): 8214b258 0104a880 0104a878 01023cc8 01028ece
    05-29 19:59:01.056: I/DEBUG(3857): code around lr:
    05-29 19:59:01.056: I/DEBUG(3857): afd10e54 02800016 08bd87f0 e5964000 e5967000
    05-29 19:59:01.056: I/DEBUG(3857): afd10e64 e2144903 1a00000e e5965000 ebffee45
    05-29 19:59:01.056: I/DEBUG(3857): afd10e74 e2055a02 e3853001 e1500003 0a000006
    05-29 19:59:01.056: I/DEBUG(3857): afd10e84 e5865000 e1a00006 e1a01005 e3a02001
    05-29 19:59:01.056: I/DEBUG(3857): afd10e94 ebfffea8 e1a00004 e8bd87f0 e3a00000
    05-29 19:59:01.056: I/DEBUG(3857): stack:
    05-29 19:59:01.056: I/DEBUG(3857):     49995c88  00000000 
    05-29 19:59:01.056: I/DEBUG(3857):     49995c8c  826efaaf  /mnt/asec/air.com.baijie.learnhanzi-1/lib/libCore.so
    05-29 19:59:01.056: I/DEBUG(3857):     49995c90  00000000 
    05-29 19:59:01.056: I/DEBUG(3857):     49995c94  8276c953  /mnt/asec/air.com.baijie.learnhanzi-1/lib/libCore.so
    05-29 19:59:01.056: I/DEBUG(3857):     49995c98  00000000 
    05-29 19:59:01.056: I/DEBUG(3857):     49995c9c  82145e97  /mnt/asec/air.com.baijie.learnhanzi-1/lib/libCore.so
    05-29 19:59:01.056: I/DEBUG(3857):     49995ca0  8316e000 
    05-29 19:59:01.056: I/DEBUG(3857):     49995ca4  831a5e28 
    05-29 19:59:01.056: I/DEBUG(3857):     49995ca8  0000000a 
    05-29 19:59:01.056: I/DEBUG(3857):     49995cac  821d0869  /mnt/asec/air.com.baijie.learnhanzi-1/lib/libCore.so
    05-29 19:59:01.056: I/DEBUG(3857):     49995cb0  83195a94 
    05-29 19:59:01.056: I/DEBUG(3857):     49995cb4  00006d00 
    05-29 19:59:01.056: I/DEBUG(3857):     49995cb8  00000000 
    05-29 19:59:01.056: I/DEBUG(3857):     49995cbc  00000017 
    05-29 19:59:01.056: I/DEBUG(3857):     49995cc0  df002777 
    05-29 19:59:01.056: I/DEBUG(3857):     49995cc4  e3a070ad 
    05-29 19:59:01.056: I/DEBUG(3857): #00 49995cc8  00001000 
    05-29 19:59:01.056: I/DEBUG(3857):     49995ccc  821d5cdd  /mnt/asec/air.com.baijie.learnhanzi-1/lib/libCore.so
    05-29 19:59:01.056: I/DEBUG(3857):     49995cd0  00000000 
    05-29 19:59:01.056: I/DEBUG(3857):     49995cd4  8316e000 
    05-29 19:59:01.056: I/DEBUG(3857):     49995cd8  00323dd0 
    05-29 19:59:01.056: I/DEBUG(3857):     49995cdc  002b6b98 
    05-29 19:59:01.056: I/DEBUG(3857):     49995ce0  82ded2d4  /mnt/asec/air.com.baijie.learnhanzi-1/lib/libCore.so
    05-29 19:59:01.056: I/DEBUG(3857):     49995ce4  82ded320  /mnt/asec/air.com.baijie.learnhanzi-1/lib/libCore.so
    05-29 19:59:01.056: I/DEBUG(3857):     49995ce8  00325ba0 
    05-29 19:59:01.056: I/DEBUG(3857):     49995cec  00009b98  /system/bin/app_process
    05-29 19:59:01.056: I/DEBUG(3857):     49995cf0  00008124  /system/bin/app_process
    05-29 19:59:01.056: I/DEBUG(3857):     49995cf4  00001074 
    05-29 19:59:01.056: I/DEBUG(3857):     49995cf8  4278f500 
    05-29 19:59:01.056: I/DEBUG(3857):     49995cfc  00000000 
    05-29 19:59:01.056: I/DEBUG(3857):     49995d00  00000000 
    05-29 19:59:01.056: I/DEBUG(3857):     49995d04  00000000 
    05-29 19:59:01.056: I/DEBUG(3857):     49995d08  00000000 
    05-29 19:59:01.056: I/DEBUG(3857):     49995d0c  3ff00000 
    SC8810, Android 2.3.5

  • Nokia 5800xm bugs and nokia contact error . To all...

    Hi , am really having a bad time after being a nokia customer all my life, now since n70, that was very great, came to n81, good but bad camera, but it was fast, no bugs, n95 8gb, bugs, starting with wgz, apps which go empty when u hold menu button and take up alot of ram, now am using 5800 , utterly depressed. Alot of bugs, i'll mention all of them today and also what it lacks, 1. On all nokia phones, the im app has never worked, remove it in the next firmware update,2.the pulsating touch on 5800 level 1 is higher than level 2. 3. Add some type writting sound on the kb,4. Video playback reallh sucks!!! N it has a large screen, what for?5. Music player, that one whch is from n97, when launched, on all songs, scrolling then stopping takes you to the top again, the head set controls fail atimes, you cant fast forward a song. 6. When yiu turn on the phone on landscape, the full screen kboard disapears and the rotation is disabled completely.7. The browser has alotof bugs going in and out of full screen mode.8. And why dont we have good games? Ngage? Ngage 1. Was better than ngage2, and now you give us java games, utterly slow, i know that processor can run much better games, ngage 1 was 220mhz. Tha memory full error when i am jist running one app isnt amusing at all, and the camera, make the image mode same as video mode.... Do somethingm i feel like selling my phone right now, but i have faith u will listen to me, n hey, resistive touch screen can now do multitiouch, we need it. 10. The radio, when you rename a station, it takes forever to update on the flowing text, and also, how can n95 save 50 stations and 5800 20, what is xpress music? scanning for stations sometimes wraps around 1 station, i am sammy gimnyigei, using 5800xm, fw 50.0.5 i think, from kenya, please answer my plea and where can i give my suggestions on the new firmware, or just employ me on the firmware desk to tell you what everybody needs like new home screen, java needs a new interface, full screen with semi transparent keyboard, also ngage, i have tried contacting nokia for 3hours and i get an error on that page, the send button doesnt work. Please help me to forward this message to nokia people. Im tired and angry!!!

    after buying a phone there is no customer care? I'll now migrate to iphone or x10. Nokia is a rip off!

  • How can I create my own error log in sql

    I would like to create an error log table in sql where every time there is an error in sql and every time a stored procedure rolls back it should submit an entry into the error table to show where and what the error was.
    Thank you
    Debra has a question

    I think SQL Server does a fairly good job of creating, writing to, and reading from it's own built-in error log.  please see this link for details.
    http://sqlandme.com/2012/01/25/sql-server-reading-errorlog-with-xp_readerrorlog/
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Bug: integral type range error not indicated

    JDeveloper 11.1.2.3.0
    If short s3=32768; is specified a error in the margin indicates "constant 32768 wider than type short"
    But, if int i4=2147483648; is specified an error in the margin is not displayed. The permissible range for int is -2147483648 to 2147483647, inclusive.
    If the class with the statement int i1=-2147483649; is compiled the compiler error is "Error : integer number too large: -2147483649". Actually, the error should be that the
    Error : integer number too small: -2147483649 or Error : integer number out of range: -2147483649
    Also, for type long, range is from -9223372036854775808 to 9223372036854775807, inclusive.
    But, error is generated for values within range.
    Error : integer number too large: -9223372036854775808
    Error : integer number too large: 9223372036854775807
    Edited by: dvohra16 on Mar 18, 2013 2:33 PM
    Edited by: dvohra16 on Mar 18, 2013 2:37 PM
    Edited by: dvohra16 on Mar 18, 2013 5:07 PM

    Thanks Frank. The other bugs do apply, the int type out of range values are not indicated as error in the margin and the long type are indicated as error (when compiled) even when not.
    Edited by: dvohra16 on Mar 19, 2013 5:18 PM

  • BUG:? "permission denied" error in generated javascript of af:table!

    Hi,
    In a JSF page with frames, the generated javascript event handlers (_tableSort and _navSubmit) of a af:table component raise a "permission denied" error in Internet Explorer.
    After this error is raised, nothing work... links, command, etc. do not respond.
    For example:
    1.- Frameset page:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces">
      <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
                  doctype-system="http://www.w3.org/TR/html4/loose.dtd"
                  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <afh:html>
          <afh:frameBorderLayout id="ttt">
            <f:facet name="center">
              <afh:frame source="http://myserver/myapp/faces/Welcome.jspx" height="500" width="500"
                         id="xxx" name="xxx"/>
            </f:facet>
          </afh:frameBorderLayout>
        </afh:html>
      </f:view>
    </jsp:root>2.- And this is the http://myserver/myapp/faces/Welcome.jspx page (with af:table component):
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces">
      <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
                  doctype-system="http://www.w3.org/TR/html4/loose.dtd"
                  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <afh:html>
          <afh:head title="Resultado Operacion">
            <meta http-equiv="Content-Type"
                  content="text/html; charset=windows-1252"/>
          </afh:head>
          <afh:body>
            <h:form>
              <af:table emptyText="No items were found"
                        value="#{MBDummy.listaPolizas}" var="row" rows="25">
                <af:column sortable="false" headerText="Pol Prefijo"
                           formatType="text">
                  <af:outputText value="#{row.polPrefijo}"/>
                </af:column>
                <af:column sortable="false" headerText="Pol Secuencia"
                           formatType="text">
                  <af:outputText value="#{row.polSecuencia}"/>
                </af:column>
              </af:table>
            </h:form>
          </afh:body>
        </afh:html>
      </f:view>
    </jsp:root>When I try to navigate through table pages, Interner Explorer raise the "Permission Denied" error

    Hi,
    Did you ever get any reply to this? I'm now running into the exact same problem, for the exact same reason (app works fine--unless a containing window is being served off another host--then we get Permission Denied). Changing the hosting configuration is, unsurprisingly, not an option. Is there a way around this problem? This is a really critical piece for us.
    Best,
    Avrom
    [edit: I have more information. This Javascript error is raised by a Javascript security feature and is intended to prevent cross-site scripting. If a frame's contents are served by a different server than the surrounding window, the contents of the frame are not allowed access to the other contents of the surrounding window.
    Apparently, a number of ADF Faces components (including the table) have Javascript that attempts to access the top-level window...which means that you *cannot* run ADF faces in a situation like the one you described. Personally, I think that's an ADF Faces bug.
    Our workaround is to abandon the idea of putting the app in a frame...we're going with either a popup or allowing the app to take over the window.]
    Message was edited by:
    Avrom

Maybe you are looking for