Af:serverListener on jspx page - compilation error - jDeveloper 11.1.1.4.0

I have a weird problem that adding a serverListerner component on jspx page causes compilation error:
The class of the deferred-methods return type "{0}" can not be found.
No property editor found for the bean "javax.el.MethodExpression"
If I remove serverListener (to pass compilation) and then add it again in run-time, it works normally (the backing bean method is being triggered correctly, including passing params, etc).
It is happening only on the current project, but when I make a test case it works normally. I suspect it has something with the project settings, but I couldn't find the cause regarding that the project has advanced and there are so many differences to be able to do simple comparison.
Does anyone know what could be the reason for af:serverListener to break compilation, please?
... from jspx page...
<af:resource type="javascript">
function aaa(event) {
var esrc = event.getSource();
AdfCustomEvent.queue(esrc, "bbb", {fvalue : "TEST"},true);
event.cancel();
</af:resource>
<af:inputText label="Label 1" id="it1">
<af:clientListener method="aaa" type="click"/>
<af:serverListener type="bbb" method="#{backing_bean.onClick}"/>
</af:inputText>
... from BB ...
public void onClick(ClientEvent clientEvent) {
String message = (String) clientEvent.getParameters().get("fvalue");
System.out.println(message);
}

Hi,
Try like this
<trh:script>clientListenerMethoName= function(event) {
var source = event.getSource();
AdfCustomEvent.queue( source, "serVerListenerType", {}, false); }
</trh:script>
Next :
<af:clientListener method="clientListenerMethoName" type="click"/>
<af:serverListener type="serVerListenerType" method="#{beanName.methodName}"/>
Edited by: Raj Gopal K on May 4, 2011 4:05 PM

Similar Messages

  • AJAX code compilation error in jdk1.4.2_15 in JDeveloper 10.1.3.3.0

    I am using AJAX for search functionality in our appication which involves ADF JSF,jspx pages in JDeveloper 10.1.3.3.0. When I compile the following code it compiles fine without error in jdk1.5 but gives compilation error in jdk1.4.2_15.
    public List<String> autoCompleteFindUniqueNames(String searchString){
    UniqueEmployeeNamesImpl hits = this.getUniqueEmployeeNames1();
    hits.setNamedWhereClauseParam("searchPrefix",searchString.toUpperCase()+ "%");
    hits.setRangeSize(5);
    hits.executeQuery();
    ArrayList resultset = new ArrayList((int)hits.getEstimatedRowCount());
    for (Row row:hits.getAllRowsInRange()){
    resultset.add((String)row.getAttribute("LastName"));
    return resultset;
    Compilation error giving on the line " for (Row row:hits.getAllRowsInRange()){ "
    and it says " Error ; Expected "
    Can somebody helpme out what should I change on this line in order to compile this ?
    Thanks in advance,
    Ram

    Frank,
    Thanks for your response. I removed <String> after LIST and it compiles. But the problem
    is with the following iterator code which is giving error while compiling in jdk1.4.2_15. Trying to find out the equivalent iterator code of the following which is in jdk1.5
    Row row:hits.getAllRowsInRange()
    Thanks,
    Ram

  • Error while opening the jspx page

    Hi all
    I am creating a test application that application i am utilizing jheadstart API it is working fine but if I delete my application form my jdeveloper IDE nest time I am loading the same application my jspx page is not showing in code editor it is showing following error
    n error has occurred. Click Details for information that may be useful when diagnosing or reporting this problem
    if click Details I am getting following error
    java.lang.NullPointerException
         at oracle.jdevimpl.webapp.model.content.DocumentInfoManager$XmlDocumentInfoImpl.<init>(DocumentInfoManager.java:360)
         at oracle.jdevimpl.webapp.model.content.DocumentInfoManager$XmlDocumentInfoImpl.<init>(DocumentInfoManager.java:351)
         at oracle.jdevimpl.webapp.model.content.DocumentInfoManager.getDocumentInfo(DocumentInfoManager.java:176)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.getDocumentInfo(HtmlEditor.java:592)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.createDocuments(AbstractWebAppEditor.java:1197)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.open(AbstractWebAppEditor.java:393)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.open(HtmlEditor.java:172)
         at oracle.jdevimpl.webapp.editor.jsp.JspEditor.open(JspEditor.java:113)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:239)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:90)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:275)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1261)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1196)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1131)
         at oracle.ideimpl.editor.EditorManagerImpl.whenOpenEditor(EditorManagerImpl.java:2332)
         at oracle.ideimpl.editor.EditorManagerImpl.handleDefaultAction(EditorManagerImpl.java:1893)
         at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:343)
         at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1576)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:1913)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:1934)
         at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:176)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    so if i want solve this issue what i can do
    Any buddy can give some suggestion
    Thanks
    Prabeethsoy

    Hello Prabeethsoy,
    1- May be you just deleted the workspace file, but the contents of the project was still there.
    Then, but re-opening or re-creating it, at the same place, could damaged JDev's setup.
    See my colleague's blog on that :
    - How to delete an entire Workspace or Project ?
    http://blogs.oracle.com/Didier/2008/06/how_to_delete_an_entire_worksp.html
    Also, there is an extension that adds the option to delete a workspace or project
    that you can get from the help->check for updates.
    It's called "Remove Workspaces and Projects".
    2- If the above doesn't work, can you tell me if your application can get opened
    by the same JDev version on a different machine (or different JDev-Home)?
    If so, then keep a backup of your <JDev-home>/jdev/system directory
    and of your application then delete the <JDev-home>/jdev/system directory.
    This will remove the .layout files and reset the layouts to the 'factory settings"
    once JDeveloper is restarted.
    Hope this will help you further.
    Regards,
    Steff

  • Error when trying to create Graph in jspx. page

    Hi! I use JDeveloper 11.1.1.2.0 Jdeveloper! And when I try to add graph in jspx page, then I have error - see http://my.jetscreenshot.com/2677/20100818-1nk7-135kb
    Can anyone say what is wrong and what to do?
    Best regards, Debuger
    Edited by: Debuger on Aug 18, 2010 5:16 AM

    I have a question and a suggestion:
    Q: are you trying to log in, or not? Have you done anything to enable you application to enable security?
    My suggestion is you give some detail about your application so people can understand what your problem might be. The screenshot is great, but it is not enough. I would like to help you, but if you go about this like a scientist and give everybody as much detail as you can, I am sure you will get better response on this urgent issue.

  • Unable to debug the jspx page on Jdeveloper Studio Edition Version 11.1.1.6.0, Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1, using Windows 7 OS

    Hi,
    I am unable to debug the jspx page on Jdeveloper Studio Edition Version 11.1.1.6.0, Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1, using Windows 7 OS.
    When right click on jspx page , clicks on Debug option, it gives the following error:
    Debugger unable to connect to local process.
    [Server Instance IntegratedWebLogicServer is shutting down.  All applications currently running will be terminated and undeployed.]
    I also restarted the Jdeveloper, even re-installed Jdev but still the problem persist.
    Any help is appreciated.
    Thanks in advance.

    If the jspx page is not part of the adfc-config.xml the page can only be displayed, but the tags will not work as the adf life cycle  is not involved. drag te page onto the adfc-config.xml (the unbounded task flow), right click on it and select debug from the context menu.
    Main problem is : Weblogic server cannot be started in debug mode.
    To check this, open the application navigator, select the integrated server, right click on it and select 'debug' from the context menu.
    After a short time you should see some messages and at last you should see <Runnning> in the message log. Now the server runs (without any of your applications, but it runs).
    If you done't see the 'Running' message you should see an error, which you should post here.
    Timo

  • 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

  • Javascript error on jspx page

    Hello all,
    I am using ADF BC and ADF faces with JDEV version 11.2. I have issue where I have a popup on a page to create a row. Lately, I keep getting error in javascript as x269.getPeer().setBusy(x269,true); I used firebug to get this information and the line is in boot-SHEPHERD-PS1-9296.js
    I am not able to see why I get this error. Does anyone have a clue or resolution to this issue? I am pasting the code of jspx page below -
    <?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:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:pageTemplate viewId="/templates/twocol-fixedheader-nomenu.jspx"
    value="#{bindings.pageTemplateBinding}" id="pt1">
    <f:facet name="left">
    <af:panelGroupLayout id="pgl1" layout="vertical">
    <af:panelAccordion id="pa1">
    <af:showDetailItem id="sdi1" stretchChildren="first">
    <af:train value="#{controllerContext.currentViewPort.taskFlowContext.trainModel}"
    id="t1" layout="vertical"/>
    </af:showDetailItem>
    </af:panelAccordion>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="center">
    <af:panelGroupLayout id="pgl3" layout="vertical">
    <af:panelHeader text="#{res['create.writeoff.approvalflow']}"
    id="ph1">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar">
    <af:panelGroupLayout id="pgl2" layout="horizontal">
    <af:trainButtonBar value="#{controllerContext.currentViewPort.taskFlowContext.trainModel}"
    id="tbb1"/>
    <af:toolbar id="t2">
    <af:commandToolbarButton text="#{res['button.save.title']}"
    id="ctbWriteOffExit"
    action="Save" immediate="true"/>
    <af:commandToolbarButton text="#{res['button.exit.title']}"
    id="commandToolbarButton1"
    action="Cancel"
    immediate="true"/>
    </af:toolbar>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="legend">
    <af:outputFormatted value="WO#{bindings.Id.inputValue} : #{bindings.Title.inputValue}"
    id="of2"/>
    </f:facet>
    <f:facet name="info"/>
    <af:panelGroupLayout id="pgl4" layout="horizontal">
    <af:spacer width="0" height="10" id="s2"/>
    <af:outputFormatted id="of1"
    value="#{res['create.writeoff.approvalflow.info']}"/>
    </af:panelGroupLayout>
    </af:panelHeader>
    <af:separator id="s1"/>
    <af:panelGroupLayout id="pgl5" layout="horizontal">
    <af:commandToolbarButton id="ctb2"
    text="#{res['button.insert.title']}"
    rendered="#{UserInfoBean.approver}">
    <af:showPopupBehavior popupId="p1"/>
    </af:commandToolbarButton>
    <af:commandToolbarButton id="commandToolbarButton2"
    text="#{res['button.delete.title']}"
    rendered="#{pageFlowScope.WriteOffBean.addedByUser == 'Y' and pageFlowScope.WriteOffBean.approverAddedBy == UserInfoBean.employeeLanId or backingBeanScope.AuthorizationBean.sysAdminRole}"
    action="#{TableBean.deleteApprover_action}"/>
    <af:commandToolbarButton id="commandToolbarButton3"
    text="Insert Before">
    <af:showPopupBehavior popupId="p3"/>
    </af:commandToolbarButton>
    <af:commandToolbarButton id="commandToolbarButton4"
    text="Insert After">
    <af:showPopupBehavior popupId="p3"/>
    </af:commandToolbarButton>
    </af:panelGroupLayout>
    <af:table value="#{bindings.WoApproverVO11.collectionModel}"
    var="row" rows="#{bindings.WoApproverVO11.rangeSize}"
    emptyText="#{bindings.WoApproverVO11.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.WoApproverVO11.rangeSize}"
    rowBandingInterval="0"
    selectedRowKeys="#{bindings.WoApproverVO11.collectionModel.selectedRow}"
    selectionListener="#{bindings.WoApproverVO11.collectionModel.makeCurrent}"
    rowSelection="single" id="t3"
    partialTriggers="::commandToolbarButton2 ::p3 ::d3"
    styleClass="AFStretchWidth" displayRow="last">
    <af:column sortProperty="SeqId" sortable="true"
    headerText="#{bindings.WoApproverVO11.hints.SeqId.label}"
    id="c1">
    <af:outputText value="#{row.SeqId}" id="ot1">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.WoApproverVO11.hints.SeqId.format}"/>
    </af:outputText>
    </af:column>
    <af:column sortProperty="EmpRoleName" sortable="true"
    headerText="#{bindings.WoApproverVO11.hints.EmpRoleName.label}"
    id="c3">
    <af:outputText value="#{row.EmpRoleName}" id="ot6"/>
    </af:column>
    <af:column sortProperty="Status" sortable="true"
    headerText="#{bindings.WoApproverVO11.hints.Status.label}"
    id="c2">
    <af:outputText value="#{row.Status}" id="ot2"/>
    </af:column>
    <af:column sortProperty="Watcher" sortable="true"
    headerText="#{bindings.WoApproverVO11.hints.Watcher.label}"
    id="c4">
    <af:outputText value="#{row.Watcher}" id="ot5"/>
    </af:column>
    <f:facet name="contextMenu">
    <!--af:popup id="p2">
    <af:menu text="menu 1" id="m2">
    <af:commandMenuItem text="#{res['button.before.title']}" id="cmi1"
    actionListener="#{pageFlowScope.WriteOffBean.onAddApproverBefore}">
    <af:showPopupBehavior popupId="::p3"/>
    </af:commandMenuItem>
    <af:commandMenuItem text="#{res['button.after.title']}" id="cmi2"
    actionListener="#{pageFlowScope.WriteOffBean.onAddApproverAfter}">
    <af:showPopupBehavior popupId="::p3"/>
    </af:commandMenuItem>
    </af:menu>
    </af:popup-->
    </f:facet>
    </af:table>
    <af:popup id="p1"
    popupFetchListener="#{pageFlowScope.WriteOffBean.addApproverPopupFetchListener}"
    popupCanceledListener="#{pageFlowScope.WriteOffBean.addApproverPopupCancelListener}"
    contentDelivery="lazyUncached"
    binding="#{pageFlowScope.WriteOffBean.approverPopup}">
    <af:dialog id="d2" title="Add Approver or Watcher"
    dialogListener="#{pageFlowScope.WriteOffBean.addApproverDialogListener}">
    <af:panelFormLayout id="pfl1">
    <af:inputListOfValues id="empNameId"
    popupTitle="Search and Select: #{bindings.EmpName.hints.label}"
    value="#{bindings.EmpName.inputValue}"
    label="#{bindings.EmpName.hints.label}"
    model="#{bindings.EmpName.listOfValuesModel}"
    required="#{bindings.EmpName.hints.mandatory}"
    columns="#{bindings.EmpName.hints.displayWidth}"
    shortDesc="#{bindings.EmpName.hints.tooltip}"
    autoSubmit="true">
    <f:validator binding="#{bindings.EmpName.validator}"/>
    </af:inputListOfValues>
    <af:selectBooleanCheckbox value="#{bindings.Watcher1.inputValue}"
    label="#{bindings.Watcher1.label}"
    shortDesc="#{bindings.Watcher1.hints.tooltip}"
    id="sbc1"/>
    </af:panelFormLayout>
    </af:dialog>
    </af:popup>
    <af:popup id="p3"
    popupFetchListener="#{pageFlowScope.WriteOffBean.addApproverPopupFetchListener}"
    popupCanceledListener="#{pageFlowScope.WriteOffBean.addApproverPopupCancelListener}">
    <af:dialog id="d3">
    <af:inputListOfValues id="inputListOfValues1"
    popupTitle="Search and Select: #{bindings.EmpName.hints.label}"
    value="#{bindings.EmpName.inputValue}"
    label="#{bindings.EmpName.hints.label}"
    model="#{bindings.EmpName.listOfValuesModel}"
    required="#{bindings.EmpName.hints.mandatory}"
    columns="#{bindings.EmpName.hints.displayWidth}"
    shortDesc="#{bindings.EmpName.hints.tooltip}"
    autoSubmit="true">
    <f:validator binding="#{bindings.EmpName.validator}"/>
    </af:inputListOfValues>
    <af:selectBooleanCheckbox value="#{bindings.Watcher1.inputValue}"
    label="#{bindings.Watcher1.label}"
    shortDesc="#{bindings.Watcher1.hints.tooltip}"
    id="sbc2"/>
    </af:dialog>
    </af:popup>
    </af:panelGroupLayout>
    </f:facet>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

    Hi,
    build 9296 doesn't sound like a public version of JDeveloper. Is this from a production version ? If not, please test another version and - if required - file a bug
    Frank

  • af:serverListener not fired on a jspx page load

    Hi,
    I'm using JDeveloper 11g Update 1.
    I would like to fire a serverListener on a jspx page load.
    The javascript method that i'm using is fired while the server listener is not fired.
    Here's the code.
    <pre>
    //In my jspx
    <af:document title="Page Title" clientComponent="true">
    <af:clientListener method="fireServerListener" type="load"/>
    <af:clientAttribute name="serverListenerType" value="serverMethod"/>
    <af:serverListener type="serverMethod" method="#{myBean.serverMethod}"/>
    <f:facet name="metaContainer">
    <trh:script source="js/lib.js"></trh:script>
    </f:facet>
    //In lib.js
    function fireServerListener(event){
    var source = event.getSource();
    var immediate = this._immediate;
    var params = {};
    var srvLstnrType = source.getProperty("serverListenerType");
    AdfCustomEvent.queue(source, srvLstnrType, params, immediate );
    //In my bean
    public void serverMethod(ClientEvent clientEvent) {
    System.out.println("serverMethod() is called");
    </pre>
    Please, give any ideas how to resolve it.
    Best Regards,
    JavaDeVeLoper

    Hi Frank,
    I've tried what's suggested. I've placed the trh:script at the bottom of the page.
    The server listener in this piece of code at the bottom is fired, but in my case the problem (to fire a server event on body load) still exists.
    <pre>
    <af:commandButton text="Button" partialSubmit="true" clientComponent="true">
    <af:clientListener method="fireServerListener" type="action" />
    <af:clientAttribute name="serverListenerType" value="serverMethod" />
    <af:serverListener type="serverMethod"
    method="#{myBean.serverMethod}"/>
    </af:commandButton>
    </pre>
    Any suggestions :)
    Best Regards,
    JavaDeVeLoper

  • Error in JSP Page Compilation

    Hi...I found following error during my jsp page compilation...I am using Tomcat Server 4.1.18 as a server.
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.
    [javac] C:\Tomcat-4.1.24\work\Standalone\localhost\webdav\new\ValidateUser_jsp.java:43: cannot resolve symbol
    [javac] symbol : class LoginManager
    [javac] location: class org.apache.jsp.ValidateUser_jsp
    [javac] LoginManager loginManager = null;
    [javac] ^
    [javac] C:\Tomcat-4.1.24\work\Standalone\localhost\webdav\new\ValidateUser_jsp.java:45: cannot resolve symbol
    [javac] symbol : class LoginManager
    [javac] location: class org.apache.jsp.ValidateUser_jsp
    [javac] loginManager = (LoginManager) pageContext.getAttribute("loginManager", PageContext.APPLICATION_SCOPE);
    [javac] ^
    [javac] C:\Tomcat-4.1.24\work\Standalone\localhost\webdav\new\ValidateUser_jsp.java:48: cannot resolve symbol
    [javac] symbol : class LoginManager
    [javac] location: class org.apache.jsp.ValidateUser_jsp
    [javac] loginManager = (LoginManager) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "LoginManager");
    [javac] ^
    [javac] C:\Tomcat-4.1.24\work\Standalone\localhost\webdav\new\ValidateUser_jsp.java:58: cannot resolve symbol
    [javac] symbol : class UserCredentials
    [javac] location: class org.apache.jsp.ValidateUser_jsp
    [javac] UserCredentials credentials = null;
    [javac] ^
    [javac] C:\Tomcat-4.1.24\work\Standalone\localhost\webdav\new\ValidateUser_jsp.java:60: cannot resolve symbol
    [javac] symbol : class UserCredentials
    [javac] location: class org.apache.jsp.ValidateUser_jsp
    [javac] credentials = (UserCredentials) pageContext.getAttribute("credentials", PageContext.SESSION_SCOPE);
    [javac] ^
    [javac] C:\Tomcat-4.1.24\work\Standalone\localhost\webdav\new\ValidateUser_jsp.java:63: cannot resolve symbol
    [javac] symbol : class UserCredentials
    [javac] location: class org.apache.jsp.ValidateUser_jsp
    [javac] credentials = (UserCredentials) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "UserCredentials");
    [javac] ^
    [javac] 6 errors
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:534)

    This is my jsp file..i have also kept all my class files in respective folder..still i have this error...i have kept my class files into /WEB-INF/
    -classes
    com
    chintan
    webapps folder
    <%@ page language="java" %>
    <%@ page import="com.chintan.webapps.LoginManager" %>
    <%@ page import="com.chintan.webapps.UserCredentials" %>
    <jsp:useBean id="loginManager" class="com.chintan.webapps.LoginManager" scope="application" />
    <jsp:useBean id="credentials" class="com.chintan.webapps.UserCredentials" scope="session" />
    <jsp:setProperty name="credentials" property="*" />
    <html>
    <head>
    <title>
    User Validation JSP Page
    </title>
    </head>
    <body>
    <%! String nextPage; %>
    <%
    if(loginManager.login(credentials)){
    nextPage = "Mainmenu.jsp";
    }else if(loginManager.isLoggedIn(credentials)){
    nextPage = "Duplicate.jsp";
    }else{
    nextPage = "loginFailure.jsp";
    out.println(nextPage);
    %>
    <jsp:forward page="<%= nextPage %>" />
    </body>
    </html>

  • HTTP Error 403 - Forbidden  error when auto including a jspx page

    Hi All -
    We have a situation where one of different reports pages gets included inside a main reports page based on user selection via a selectOneChoice control.
    But when the Reports Main page tab is clicked for the first time we get a "You are not authorized to view this page" HTTP Error 403 - Forbidden error.
    Upon clicking "Refresh" and then clicking the Reports Main page tab again, the page renders correctly.
    This is our code snippet. All the report related pages(MainPage.jspx, Schedule.jspx and Budget.jspx) are inside a reports folder under the context root. Please help.
    Thanks for your time.
    MainPage.jspx
    =====================
    Here I have a selection box, and based on the user selection I include different JSPX pages. The page Definition of this page
    contains all the executables and the bindings of the included pages also.
    <af:selectOneChoice value="#{backing_Reports.measureSelected}"
    label="Measure" unselectedLabel="Select One"
    id="selectmeasure" autoSubmit="true"
    immediate="true">
    <af:selectItem label="Schedule Data"
    value="Schedule.jspx"/>
    <af:selectItem label="Budget Data"
    value="Budget.jspx"/>
    </af:selectOneChoice>
    <af:panelGroup>
    <jsp:include page="${backing_Reports.measureSelected}" flush="true"/>
    </af:panelGroup>
    Faces Config:
    ===================
    <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>GlobalHome</from-outcome>
    <to-view-id>/pages/Welcome.jspx</to-view-id>
    <redirect/>
    </navigation-case>
    <navigation-case>
    <from-outcome>GlobalReports</from-outcome>
    <to-view-id>/reports/MainPage.jspx</to-view-id>
    </navigation-case>
    <!-- 1. Reports menu tab item -->
    <managed-bean>
    <managed-bean-name>menuItem_Reports</managed-bean-name>
    <managed-bean-class>cs.view.menu.MenuItem</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>label</property-name>
    <value>#{resources['scorecard.menu.reports']}</value>
    </managed-property>
    <managed-property>
    <property-name>viewId</property-name>
    <value>/reports/MainPage.jspx</value>
    </managed-property>
    <managed-property>
    <property-name>outcome</property-name>
    <value>GlobalReports</value>
    </managed-property>
    </managed-bean>
    :

    We have solved this, temproarily. But don't know if this is the best method to do this. Please post if somepne has a better way of doing this.
    While debugging we found that the ${backing_Reports.measureSelected} field which was set to a default value in backing bean was returned as null when the page renders for the first time. So we had a work around like this in our MainPage.jspx
    <af:panelBox width="80%" partialTriggers="selectmeasure"
    inlineStyle="margin:40.0px;">
    <af:panelGroup>
    <jsp:include page="${backing_Reports.measureSelected==null?'BlankPage.jspx':backing_Reports.measureSelected}"
    flush="true"/>
    </af:panelGroup>
    </af:panelBox>
    Thanks.

  • JDeveloper compile error without detailed message

    Hi all.
    When compiling my application i get compiler error on one EO without detailed message. When i check and validate source in xml everything seems to be ok. Are there any settings to further investigate the problem. I'm using jDeveloper 11.1.2.0 developing ADF application.
    Suggestions welcome.
    Edited by: user5866800 on 20.12.2011 13:49

    If i open xml file, everything is colored with green.i cant comment on this statement. because am not using release2.
    did you change anything .xml which you mentioned.?
    how did you generated EntityImpl for the EO?

  • ADF JDeveloper wysiwyg visual editor does not render properly my jspx page

    Hi everybody,
    I am working with JDev 11.1.1.5 and I have an issue with the wysiwyg visual editor.
    My jspx page does not render properly: I cannot see the full page whatever is the resolution, even in full screen mode.
    I've tried to activate in the preferences the option Show Design Time Messages in Log but it does not display any error.
    When I run my page or execute a preview of my page, my page is rendered correctly the browser.
    Can someone help please?
    Thanks by advance

    Hi Frank,
    I've tried to change the resolution but whatever is the resolution the page is not rendered correctly. Actually, I can see the full page, but there are some panel boxes which are not displayed.
    In my page, I have a main panelgrouplayout which contains 2 dashboard panels. The second dashboard contains panel boxes, only the 3 first rows of panel boxes are displayed in this dashboard panel while I have 6 rows of panel boxes.
    In the design page, when I click on the 2nd dashboard and do "design this container", I can actually see that all the rows display correctly, it simply that I do not see them all in the main page.
    In short, the 2 dashboard panels display entirely, simply the 2nd one does not show all its content while displayed in the main page.
    Is there a solution for this?
    Thanks by advance

  • Error when using discussion forum taskflow in a jspx page

    Hi,
    WWebcenter portal 11.1.1.7
    JDev 11.1.1.7
    WLS 10.3.6
    Getting below error when running a jspx page:-
    failure to authenticate the user weblogic, due to: Unexpected error occurred, due to : oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : SOAP must understand error. Server could not understand one or more SOAP headers : {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security

    Hi.
    You have to configure the Web Services security of Discussions.
    http://docs.oracle.com/cd/E28280_01/webcenter.1111/e12405/wcadm_security_wss.htm#WCADM6254
    Basically the steps are:
    Configure the security of the Discussions WebServices. Policies associated to the OWCDiscussionsServicePublic and OWCDiscussionsServiceAuthenticated
    Configure Portal - Discussions connection according to the policies configured for these webservices.
    Follow the above link and your issue will be resolved.
    I hope this help.
    Regards.

  • Error when runing JSPX page

    Hi All,
    When I tried to run a jspx page, I got this error and the process existed.
    Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "global.libraries" in /C:/JDeveloper10132/jdev/system/oracle.j2ee.10.1.3.40.66/embedded-oc4j/config/server.xml.
    Please let me know if you have ideas.
    Thanks,
    John

    check paths in server.xml. i had the same problem and it appeared that paths were faked. You must simply install jdeveveloper in apropriate catalog/folder.
    sorry for my english.

  • Error opening .jspx page

    I am developing using Jdeveloper 10.1.3.1.3984, ADFBC, on a 512M ram WinXP Dell laptop. Until a few days ago, everything has been working fairly well other than the slow response. I started receiving memory too low warnings and apparently messed up in logging off. As you probably guessed, I lost my ...>View> navigators, inspector, palettes, etc.. I tried a tip retrieved from this forum (renamed directory <jdev_home>/jdev/system/oracle.ide.10.1.3.3984 and restarted) and all seemed fine except for my .jspx pages. In trying to open any page, I receive the following exception stack trace:
    java.lang.NullPointerException
         at oracle.jdevimpl.webapp.model.content.DocumentInfoManager$XmlDocumentInfoImpl.<init>(DocumentInfoManager.java:360)
         at oracle.jdevimpl.webapp.model.content.DocumentInfoManager$XmlDocumentInfoImpl.<init>(DocumentInfoManager.java:351)
         at oracle.jdevimpl.webapp.model.content.DocumentInfoManager.getDocumentInfo(DocumentInfoManager.java:176)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.getDocumentInfo(HtmlEditor.java:592)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.createDocuments(AbstractWebAppEditor.java:1197)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.open(AbstractWebAppEditor.java:393)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.open(HtmlEditor.java:172)
         at oracle.jdevimpl.webapp.editor.jsp.JspEditor.open(JspEditor.java:113)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:239)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:90)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:275)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1261)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1196)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1131)
         at oracle.ideimpl.editor.EditorManagerImpl.whenOpenEditor(EditorManagerImpl.java:2332)
         at oracle.ideimpl.editor.EditorManagerImpl.handleDefaultAction(EditorManagerImpl.java:1893)
         at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:343)
         at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1576)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:1913)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:1934)
         at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:176)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Also, I responded "Yes" to the dialog request for if I wanted to migrate. Has anyone experienced this and can anyone help me to fix this?
    Regards,
    Paul.

    Try a fresh install of JDeveloper in a new directory and when asked if you want to migrate answe NO.

Maybe you are looking for