Logical && within EL Expression on jspx pages

Hello all,
Anyone know how to convert the logical AND symbol '&&' into something that can be properly understood within an EL expression? The ampersand is a reserved symbol within an xml document and can not be used in the jspx page.
Thanks in advance!
- Joe

& a m p;& a m p;
Should be without blank spaces but looks like this forum also escape the characters.
Thanks,
Alex
Edited by: Alexbie on 26-Aug-2010 9:44 AM
Edited by: Alexbie on 26-Aug-2010 9:45 AM
Edited by: Alexbie on 26-Aug-2010 9:45 AM
Edited by: Alexbie on 26-Aug-2010 9:56 AM

Similar Messages

  • ADF Regular expression Jspx page error

    Hi Friends
    Hi all i have requirement that my inputtext box may include charchters numbers and '&' as a special charchters
    so i written the below regular expression in validateRegExp tag
    <af:validateRegExp pattern="[a-zA-Z0-9&]" messageDetailNoMatch="Inproper text"/>
    but when i enter '&' char in the regex of the tag of my jspx page then it gives me compilier error, so is there any way to write the escape charachters in regular expression like '\ ' in java to avoid above problem.
    Thanks in advance
    Bipin patil
    Edited by: Bipin Patil on Aug 2, 2011 1:39 AM

    Hi..
    can you try with following
    for Ex: aA1& pattern
    ><af:inputText id="it1">
    ><af:validateRegExp pattern="[a-z][A-Z][0-9][&]" messageDetailNoMatch="Inproper text"/>
    ></af:inputText>
    for Ex: awerrAFDFDF12343&&& pattern(Every item should shown at least one time..)
    ><af:inputText id="it11">
    ><af:validateRegExp pattern="[a-z]+[A-Z]+[0-9]+[&]+" messageDetailNoMatch="Inproper text"/>
    ></af:inputText>
    Hope this will helpful..

  • Fill placeholders within message strings dynamically on jspx pages

    Hello all,
    i am searching a solution for the following problem.
    Let's assume the following key/value pair exists in the message resource bundle:
    targets.delete.confirmation=Do your really want to delete the target "{0}"?
    On a jspx page there is a confirmation dialog. The code looks like that:
    &lt;af:dialog id="dialogDel" type="yesNo" closeIconVisible="true"
    title="#{nls\['targets.delete.title'\]}"
    visible="true" modal="true" partialTriggers="tabTgt tabTgt:btnDelete"
    dialogListener="#{backingBeanScope.targetsBean.dialogDel_action}"&gt;
    &lt;af:message messageType="confirmation" message="#{nls\['targets.delete.confirmation'\]}"&gt;
    &lt;f:attribute name="{0}" value="#{bindings.TgtName.inputValue}"/&gt;
    &lt;/af:message&gt;
    &lt;/af:dialog&gt;
    Now i want the placeholder {0} getting filled at runtime dynamically with the inputValue of the appropriate binding.
    The code as shown doesn't solve the problem.
    I'm experienced in developping web applications with ADF UIX and there i got this done with the following code:
    &lt;boundAttribute name="title"&gt;
    &lt;messageFormat format="${nls\['targets.delete.confirmation'\]}"&gt;
    &lt;dataObject source="${bindings.TgtName.inputValue}"/&gt;
    &lt;/messageFormat&gt;
    &lt;/boundAttribute&gt;
    What's the equivalent to 'messageFormat' in ADF Faces??
    Any help will be appreciated.

    Hi,
    Not sure if this will help, but rather than using proper messages, can you just use a piece of output text like:
    <h:outputFormat value="#{nls['targets.delete.confirmation']}">
      <f:param value="#{bindings.TgtName.inputValue}"/>
    </h:outputFormat>The outputFormat tag is from the JSF HTML tag library
    Dave

  • Pros and Cons of putting jspx pages under WEB-INF

    Greetings All,
    I have been using JHeadstart release 10.1.3 Prod for a while now and was generating pages in various subdirectories under WEB-INF/pages/ and things are working fine.
    However, recently I came across a post in jDeveloper forum Re: Access JSF Pages within WEB-INF directory where Frank Nimphius has mentioned that there is no sense in putting JSP files that are used with JSF into WEB-INF.
    I know that in struts world it makes sense to put the jsp files under WEB-INF to prevent the users from directly accessing them and force them to access them only via struts actions/navigation rules; but in JSF world we anyway expose the jspx names to the user and in-fact if we keep the pages under WEB-INF the url to access the pages also contains 'faces/WEB-INF/...'
    Thus, I would like to get opinion from various experienced professionals participating in this forum and more so from JHeadStart team members on Pros and Cons of putting jspx pages under WEB-INF
    regards - rutwik

    Rutwik,
    From your reply it seems that, for now, there should not be any impact on us as long as we don't upgrade to JDeveloper 10.1.3.1, as anyway the current JHS version is not certified against it.
    Correct.
    However, to be compatible with future releases of JHS and JDeveloper, will it be good to change the location of pages in our JHeadStart definitions to move them a directories above the WEB-INF etc and re-run the JHeadStart generators?
    Yes.
    Or, will the patch take care of modifying the current JHeadStart definations?
    No, Service Update 1 has a different default value for the pages dir , it is now /pages/ instead of /WEB-INF/page/, that's all.
    Also, with this patch, will we be able to upgrade to jDeveloper 10.1.3.1, which we would like to do once we have a production release?
    Yes, Service Update 1 is compatible with JDev 10.1.3.1
    Steven Davelaar,
    JHeadstart Team.

  • Putting the results of a PL/SQL package on a .jspx page

    Hi, I have customer who wants to replace a cgi script's results with a .jspx page. Nothing fancy, just a straight vertical text dump of text returned from a PLSQL PKG into say an af:ouputText or af:outputFormatted. All within an af:panelGroupLayout vertical.
    I understand UIs and ADF Faces pretty well but when it comes to database data displaying into components, I am green.
    So, how would I declaratively in Jdev 11.1.1.3, create databindings, controls, etc. and dump display them in an af:outputText? All of the Tutorials I have seen show database tables etc., not PL/SQL packages. Can you please outline the steps for doing the databinding and controls things so that I can drop them onto a .jspx page/component? Please from the standpoint of using the PL/SQL package shown below. I would be forever grateful.
    Thanks!!!!
    Here is the PL/SQL package:
    FUNCTION get_tsr_details(p_incident_no VARCHAR2)
    RETURN CLOB ;
    END WRS_KM_TSR_PKG;
    Here is the Body:
    FUNCTION get_tsr_details(p_incident_no VARCHAR2)
    RETURN CLOB
    IS
    CURSOR cu_tsr
    IS
    select ('TSR#: '||tsr.incident_number||chr(10)||
    'Assigned: '||tsr.owner||chr(10)||
    'Status: ' || tsr.status || CHR (10) ||
    '-------------------------------------------------------------'||chr(10)||
    'Date: '|| csi.incident_date||chr(10)||
    'Title: '||tsr.summary||chr(10)||
    --'Name: '||decode(ccp.contact_type, 'EMPLOYEE',fnd2.full_name ,'PARTY_RELATIONSHIP',sp.party_name ) ||chr(10)||
    'Company: '||tsr.party_name ||chr(10)||
    'License#: '||tsr.license_number||chr(10)||
    'Product Name: '||tsr.item_description ||chr(10)||
    'HostOS: '||csi.operating_system||' '||chr(10)||
    'HostOS Rev: '||csi.operating_system_version||chr(10)||
    'Arch Family: '||tsr.arch_family||chr(10)||
    'Processor Family: '||tsr.processor_family||chr(10)||
         'Processor: ' ||tsr.processor_family||chr(10)||
    'BSP: '||tsr.bsp||chr(10)||
         'BSP Version: '||tsr.bsp_version||chr(10)||
         'SPR Number: '||tsr.spr_number) tsr_detail,
    tsr.incident_number,tsr.incident_id
    from wrs_km1_tsr_ksm_v tsr, cs_incidents_all_b csi
    where tsr.incident_id = csi.incident_id
    --and    tsr.incident_id = p_incident_id;
    and tsr.incident_number = p_incident_no;
    CURSOR cu_notes(l_incident_id number,l_incident_no varchar2)
    IS
    SELECT ('TSR: '||l_incident_no||CHR(10)||
    '-------------------------------------------------------------'||CHR(10)||
    'Date Created: '||creation_date||' Created By: '||entered_by_name||CHR(10)||
    'Visibility: '||note_status_meaning||CHR(10)||
    'Status: '||note_type_meaning||CHR(10)||
    'Transaction Description'||CHR(10)||CHR(10)||
    notes||CHR(10)||
    notes_detail) not_dtl
    FROM jtf_notes_vl
    WHERE source_object_id= l_incident_id
    AND     source_object_code = 'SR'
    ORDER BY creation_date aSC;
    l_tsr_details CLOB;
    l_incident_no cs_incidents_all_b.incident_number%TYPE;
    l_incident_id cs_incidents_all_b.incident_id%TYPE;
    BEGIN
    FOR ru_tsr IN cu_tsr
    LOOP
    l_tsr_details := l_tsr_details ||ru_tsr.tsr_detail||CHR(10) ;
    l_tsr_details := l_tsr_details ||'********************Transaction*******************';
    l_incident_no := ru_tsr.incident_number;
    l_incident_id := ru_tsr.incident_id;
    FOR ru_notes in Cu_notes(l_incident_id,l_incident_no)
    LOOP
    l_tsr_details := l_tsr_details ||CHR(10)||ru_notes.not_dtl;
    END LOOP;
    EXIT;
    END LOOP;
    --INSERT INTO AA VALUES(l_tsr_details);
    --COMMIT;
    RETURN l_tsr_details;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN l_tsr_details ;
    END get_tsr_details;
    END WRS_KM_TSR_PKG;

    One solution is to write a Java class that has a method that nvokes the PL/SQL procedure and then return a String.
    Then you can expose that Java class as a data control and drag the result of the method onto the page.
    A bit about JDBC with PL/SQL and CLOB:
    http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/basic.htm#i1008346
    http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/oralob.htm
    And a bit about exposing a Java class as a data control:
    http://blogs.oracle.com/shay/2009/07/java_class_data_control_and_ad.html

  • JspParse Error when trying to run jsp/jspx page deployed on standalone OC4J

    I have ADF Faces Application, which is developed with JDev 11 TP3.
    I have deployed the application to Standalone OC4J Server, packed within JDeveloper 11 TP3.
    The problem comes, when i try to acess my login jsp or other JSPX page,then i receive the following error on the standalone OC4J Server console:
    for the JSP:
    JSP Servlet Error: Internal Error, registered Directive handlers MUST descend from JspDirective
    oracle.jsp.parse.JspParseException: /login.jsp : Line 4,
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    The content of my JSP page (login.jsp) is:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1251"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    for JSPX:
    Directive handlers must descend from JSP Directive..
    But i have:
    <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:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1251"/>
    That works fine with JDev embedded OC4J.
    Thank you in advance,
    Krasimir
    Message was edited by:
    K.Penev

    Same trouble. Anyone have solution?
    JDeveloper 11 TP4
    OC4J 11 TP4 from this http://www.oracle.com/technology/tech/java/oc4j/index.html
    Do this instruction http://www.oracle.com/technology/products/jdev/tips/muench/oc4j11gtp/index.html
    Nothing to change.
    Message was edited by:
    user644372

  • Logical Standby - Application Express Recovery

    Ive asked a similar question in the following threads:-
    Re: Recovering Logical Standby - Non-Guarded Schemas
    Logical Standby - Application Express Recovery
    Were using 10g Logical Standby database for our reporting environment and within it we have Oracle Application Express. i initially installed APEX into the logical after it was created. We then had to recover the primary RESETLOGS and reinstantiate the Logical - but since the APEX components were not-guarded by Data Guard they werent recreated after the reinstantiation. So it got me thinking.
    Q1) Is it best to install Apex into the primary so the schema objects get recreated if we have to reinstantiate the Logical
    Q2) If you do 1) this means you have to manually copy the files on the OS across - are there issues with this?
    Does anyone else have this issue with an Apex installation?
    Thanks for you help
    Simon

    you may want to try this one on the database general forum as well

  • Embed JavaFX object into JSPX page

    Hi guys,
    I developed a RIA using javaFX and now want to embed this object into a JSPX page. In the page I wrote following sentences,
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
            <f:view>
                <af:group>
                    <afh:script source="http://dl.javafx.com/1.2/dtfx.js"/>
                    <afh:script>
                        javafx(
                            archive: "myJavaFX.jar",
                            draggable: true,
                            width: 1080,
                            height: 540,
                            code: "path.Main",
                            name: "myJavaFX"
                    </afh:script>
                </af:group>
            </f:view>
    </jsp:root>I used Oracle Jdeveloper as my IDE and weblogic server as application server. I put the .jar files of myJavaFX application into same folder as the .jspx page.
    To my surprise, when the web page was generated, the application was not displayed but showing the following sentence,
    javafx( { archive: "firstJavaFX.jar", draggable: true, width: 1080, height: 540, code: "path.Main", name: "firstJavaFX" } );Obviously, the logic of my script was not recognized. Instead, it's printed out directly.
    So what could I do with this? Any helpful comments would be greatly appreciated.
    Regards from Isaac.

    This forum is devoted to JSF, JavaServer Faces, which is unrelated to the technologies you are using. You might get a better response in a forum devoted to JavaFX or JSP.

  • Embedded Java Applet NullPointerException in JSPX pages

    We have a ADF web application programmed in JDeveloper 11g (11.1.2.4.0), which was migrated over from a 10g (10.1.3.5.0) project
    Within the application, occasionally, we need to call a Java Applet which is placed in a public_html/applet folder. The jars show up in the Web-Content tab of the ViewController in the Application Navigator, just like it did in 10g.
    The applet tag looks like this:
    <applet height="100" width="100" code="applet.SetupApplet" archive="applet/SSetupApplet.jar">
                <param name="debug" value="true"/>   
    </applet>
    I've also tried calling the applet with the Java deploy applet script
    <trh:script source="http://java.com/js/deployJava.js"></trh:script>
        <trh:script>
            var attributes = {code:'applet.SetupApplet',
            archive:'applet/SSetupApplet.jar'};
            var parameters = {} ;
            var version = '1.6' ;
            deployJava.runApplet(attributes, parameters, version);
       </trh:script>
    When I navigate to the login.jspx page that has this tag, it pops the Java Console open, but doesn't actually run the applet (or show the prompts to allow using the Applet). Instead, the applet is shown with an error and the error says "NullPointerException". I've double-checked the path and it's correct (with incorrect paths, I get a ClassNotFoundException). In the application server logs, I see the following error:
    <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on IPADDRESS during the configured idle timeout of 5 secs>
    I created a normal .jsp file that's outside the ADF Faces Context in the applet folder. Navigating to it with the same applet tags does have the Java applet run without the socket error. The same code in 10g works fine.
    Is there anything I'm missing?
    Thanks.

    Hi,
    this is how I did it in 11g R1: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/71-adf-to-applet-communication-307672.pdf
    Frank

  • Dynamic value binding for InputTextField - Expression within an expression

    Hi,
    I have this requirement where I have to use an EL expression's output as a bean's property in the value attribute of a InputTextField. E.g.
              <h:dataTable value="#{entity.formats}" var="field">
                   <h:column>
                        <h:outputLabel value="#{field.shortDesr}"/>
                   </h:column>
                   <h:column>
                        <h:inputText value="#{*entity."+#{field.shortDesr}+*"}"/>     
                   </h:column>     
              </h:dataTable>
    The JSF page will be a generic one so the fields within a form will be dynamic and will be formed at run-time. Since the exact bean property(entity in the code above) for a particular field is not known before, it needs to be dynamicaly built
    To give more clarity. In the following snippet, i know that entity is the bean to be used but which property(XXX) the text field has to be bound is not known and needs to be assigned at run-time.
    <h:inputText value="#{entity.*XXX*"/>     
    Is this possible? Are there any direct JSF solution or work arounds for it? Appreciate your inputs.
    Thanks
    Ranjith

A: Dynamic value binding for InputTextField - Expression within an expression

Hi BaluSC,
Your solution is totally acceptable. But I was also looking for something that can make possible direct binding to the bean properties without going through a Map.
In the meantime, I worked around the problem by not using the DataTable. Instead I loop the collection and add the Form elements programatically (code given below). With this I am able to achieve the desired effect of binding directly to the bean's property. But I am hitting another problem now, On submit the form Seam throws up 'No active conversational context" error while binding the #{sdmManager.grid} attribute. Now, I am trying to figure out how to come across it.
JSF
     <h:panelGrid columns="2" binding="#{sdmManager.grid}">
</h:panelGrid>
Bean code
     public HtmlPanelGrid getGrid(){
     grid = new HtmlPanelGrid();
     List<UIComponent> children = grid.getChildren();
     Collection<FieldFormatData> formats = dataManager.getFieldFormatData();
     for(FieldFormatData format:formats){
          HtmlOutputLabel outputLabel = new HtmlOutputLabel();
          outputLabel.setValue(format.getShortDesr());
          children.add(outputLabel);
          HtmlInputText inputText = new HtmlInputText();
          inputText.setSize(10);
          inputText.setMaxlength(10);
          System.out.println("Binding ................................... " + format.getEntityField());
          inputText.setValueBinding("value", FacesContext.getCurrentInstance().getApplication().createValueBinding("#{entity."+format.getEntityField()+"}"));
          children.add(inputText);
     return grid;

Hi BaluSC,
Your solution is totally acceptable. But I was also looking for something that can make possible direct binding to the bean properties without going through a Map.
In the meantime, I worked around the problem by not using the DataTable. Instead I loop the collection and add the Form elements programatically (code given below). With this I am able to achieve the desired effect of binding directly to the bean's property. But I am hitting another problem now, On submit the form Seam throws up 'No active conversational context" error while binding the #{sdmManager.grid} attribute. Now, I am trying to figure out how to come across it.
JSF
     <h:panelGrid columns="2" binding="#{sdmManager.grid}">
</h:panelGrid>
Bean code
     public HtmlPanelGrid getGrid(){
     grid = new HtmlPanelGrid();
     List<UIComponent> children = grid.getChildren();
     Collection<FieldFormatData> formats = dataManager.getFieldFormatData();
     for(FieldFormatData format:formats){
          HtmlOutputLabel outputLabel = new HtmlOutputLabel();
          outputLabel.setValue(format.getShortDesr());
          children.add(outputLabel);
          HtmlInputText inputText = new HtmlInputText();
          inputText.setSize(10);
          inputText.setMaxlength(10);
          System.out.println("Binding ................................... " + format.getEntityField());
          inputText.setValueBinding("value", FacesContext.getCurrentInstance().getApplication().createValueBinding("#{entity."+format.getEntityField()+"}"));
          children.add(inputText);
     return grid;

  • Calling jspx page from popup

    Hi All,
    I am using jdev 11.1.1.5.0. I have create one page i.e Emp.jspx from which i have popup in which i m calling jspx page.
    Can any one help me out from this.
    Thanks in advance
    ruzz

    Hi:
    You can use the popup dialog framework. Put page#1(p1.jspx) in adfc-config and pade#2(p2.jspx) in a bounded taskflow(btf1). Drag btf1 to adfc-config.xml as a taskflow call(tfc1) and set it's runAsDialog property to true under Behavior section. Create a navigation case in adfc-config.xml from p1 to tfc1 and name it. Select the button action to the navigation case yuo've created earlier and fix it's properties to invoke navigation in a popup(Under Behavior -> Secondary Window section change useWindow property to true; using the rest of the properties under Secondary Window section to modify the popup).
    Find more info under chapter "Using Dialogs in Your Application", Fusion Developer Guide for Oracle ADF.
    Consider this example from Andrejus Baranovskis Blog to fix other issues.
    Better approach is to use page fragments and bounded taskflows with page fragments within a region, nevertheless for a jspx page you also could use a popup component in the page containing an inline frame.
    Good luck.
    Rafael.

  • Problem in JSPX page ;

    hi :
    i need to make (Refreh(F5)) action for jspx page manualy (for example by clicking on commandbutton) ;
    Regards;

    Hi,
    See How to: Refresh current ADF Faces page
    Regards,
    Patrik
    (By the way, did you notice that this is your 4th post within one hour with the same content?)

  • Editing jspx page on server

    Hi All,
    I m using webcenter portal application(PS3), created a custom managed server and deployed my application with deployment profile containing the folder structure(oracle->webcenter->portalapp->pages->xxx.jspx)i.e. by default the folder oracle->webcenter->portalapp->pages folder which contains jspx pages is unchecked and i made it checked
    After deploying my application i found that i missed a static content say <af:outputlabel value="hello"></af:outputlable>. Is it possible to do this without redeploying the application?
    Is it possible to go to the folder structure for my application on the server(e.g. winscp) and make this change; as this doent contain any bean intervention?
    We did this earlier when we used PS2 application for .jsf page and it worked fine but unable to do the same for .jspx page
    May i know the reason?
    Thanks
    S. Muthukumaran

    WebCenter Portal has a great mechanism for this called Composer (using MDS runtime customizations).
    From within your application you can edit the deployed pages and make your changes which are then stored in the MDS repository. Have a read:
    http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_page_editor_intro.htm#BABBJAIJ
    I wouldn't encourage changing files around on the file system level.

  • Deployment exception while running a .jspx page in Jdev 11g 11.1.1.1.0

    I have a .jspx page that renders taskflows as dynamic regions. When I execute this exception is what I get.
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Table)
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack failed: java.lang.NullPointerException.
    java.lang.NullPointerException
         at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextDestroyed(ADFConfigLifeCycleCallBack.java:122)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
         Truncated. see log file for complete stacktrace
    >
    Aug 13, 2009 11:39:47 AM oracle.mds.internal.lcm.logging.MDSLCMLogger log
    INFO: MBean: oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=UI deregistered
    Aug 13, 2009 11:39:47 AM oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener postStop
    INFO: ADFApplicationLifecycleListener.postStop
    Aug 13, 2009 11:39:47 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    <Aug 13, 2009 11:39:47 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1250143764562' for task '2'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <Aug 13, 2009 11:39:47 AM IST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'UI'.>
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'UI'.>
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    [11:39:47 AM] Weblogic Server Exception: weblogic.application.ModuleException:
    [11:39:47 AM] Caused by: java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
    [11:39:47 AM] See server logs or server console for more details.
    oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
    oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed[11:39:47 AM] #### Deployment incomplete. ####
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:341)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:235)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:442)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$6$1.run(AdrsStarter.java:1469)
    Caused by: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:627)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:315)
         ... 11 more
    Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:608)
         ... 12 more
    #### Cannot run application UI due to error deploying to DefaultServer.
    [Application UI stopped and undeployed from Server Instance DefaultServer]

    I was facing a similar error, the problem was because of adf-controller.jar. My error was :
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
    The jar's 10g edition has  (1st part)oracle.adf.controller.v2.lifecycle.Lifecycle$Phase and 11g edition has (2nd part) oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase. So I created my own jar extracting both jars at one place using the following command
    jar -cf adf-controller.jar .
    This solved my problem.
    Hope you get the idea. The best way to face these type of errors is opening the archive and checking for the files for which the compiler is complaining.

  • Limitation On number of JSPX pages

    Hi All,
    i am facing a strange problem...
    i have a project with 18 jspx pages..now i need an additional functionality in my project, which requires creation of one more jspx...
    when i try to create another page the previous functionalities are not working...
    Is there any limitation on the number of pages in a Project..
    Can someone give pointers on this ...
    Thanks in advance,
    Naveen kumar.

    Hi Frank,
    Thanks for the immediate reply...
    If there is no limitation on number of pages .. what may be the possible reason that all other command buttons and links are not working...
    i just creaated an empty jspx which even does not have any navigation case ..
    all the functionalities are not working....

  • Maybe you are looking for