Unable to implement WOOgnl parser in my WO application on WO5.4.

Eclipse Version: Juno Service Release 1
java version: 1.6.0_18
WebObject Version = 5.4.3
Steps I am using to implement WOOgnl Parser:-
1- I have imported WOOgnl.framework in build path
2- I have made following changes to build.properties file
ognl.active = true
ognl.helperFunctions=true
ognl.inlineBindings=true
ognl.parseStandardTags=true
The whole build.properties looks like this:-
#Wed Nov 21 13:06:11 EST 2012
classes.dir=bin
component.inlineBindingPrefix=[
component.inlineBindingSuffix=]
component.wellFormedTemplateRequired=true
customInfoPListContent=
eoAdaptorClassName=
embed.Local=false
embed.Project=false
embed.System=false
ognl.active = true
ognl.helperFunctions=true
ognl.inlineBindings=true
ognl.parseStandardTags=true
principalClass=Application
project.name=Empsoft
project.name.lowercase=empsoft
project.type=application
webXML=false
webXML_CustomContent=
When I am using the above steps i am getting error mentioned below:-
A fatal exception occurred: ognl/PropertyAccessor
java.lang.NoClassDefFoundError: ognl/PropertyAccessor
When I am not importing WOOgnl.framework in my build path the project is running fine but I have to remove all the duplicate entries in Wod file else exception is thrown when I am opening the page from UI.
Please let me know where I am going wrong.
Thanks!!!!
Regards
Mritunjay Kumar

The ognl properties (ognl.active, ognl.helperFunctions, etc) go in the Properties file in the Resources folder, not in build.properties.
You should rarely have to edit the build.properties file manually. It is edited from eclipse by right clicking on project name and selecting "Properties" from the contextual menu and then editing the settings in WOLips Deployment and WOLips Development. If you are using WOOgnl for inline bindings rather than Apple's inline bindings mechanism then in WOLips Development you should probably change
component.inlineBindingPrefix=[
component.inlineBindingSuffix=]
to
component.inlineBindingPrefix=$
component.inlineBindingSuffix=
so that WOLips validation knows what style inline bindings you are using.
Also I don't understand why you have duplicate entries in wod file.

Similar Messages

  • CS3 - "Unable to locate or parse the XML source"

    Hello,
    When I try and attach a remote XML source to my XSL fragment,
    Dreamweaver
    CS3 tells me "Unable to locate or parse the XML source".
    This happens irrespective of where the remote XML file is
    located, and for
    all the remote XML files that I have found and tested from a
    myriad of
    different sources - I always get the same response.
    I can download any of these XML files and work with them
    locally, which
    Dreamweaver is quite happy to do, but that isn't appropriate
    for an
    application that needs to rely on an XML feed that is always
    up to date!
    From searching Google I can find numerous other queries of
    this nature, but
    no solutions! I am not sure if it is a Dreamweaver problem,
    or related to
    the type of web server I'm using or indeed to the corporate
    firewall here.
    For clarity, only Dreamweaver can't locate the remote XML
    sources - pasted
    into a browser they are all perfectly valid.
    (Apologies for sort of cross posting, I have already asked
    this question
    slightly differently on macromedia.dreamweaver)
    Cheers,
    D.

    Kelli, I know this is months late for you.. but I get the
    same error.. I found if I downloaded the xml locally I was able to
    set up my xsl page. After I got the page to look the way I wanted I
    switch the source to the external URL.
    If you have found a fix for the error please let me know,
    other then that this way will work.

  • Unable to locate or parse the XML source (-1,-1)

    Hello,
    Why do I get this error when I'm trying to get the XML source
    from
    *.php ?
    quote:
    "Unable to locate or parse the XML source (-1,-1)"
    The
    *.php file has a recordset which I exported as XML based on
    this
    tutorial
    I can see the XML of *php in the browser but can't get the
    schema.
    What am I missing?
    Thank you

    page.php
    url
    quote:
    code:
    <?php require_once('../Connections/example.php'); ?>
    <?php
    // Load the XML classes
    require_once('../includes/XMLExport/XMLExport.php');
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType,
    $theDefinedValue = "", $theNotDefinedValue = "")
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue)
    : $theValue;
    $theValue = function_exists("mysql_real_escape_string") ?
    mysql_real_escape_string($theValue) :
    mysql_escape_string($theValue);
    switch ($theType) {
    case "text":
    $theValue = ($theValue != "") ? "'" . $theValue . "'" :
    "NULL";
    break;
    case "long":
    case "int":
    $theValue = ($theValue != "") ? intval($theValue) : "NULL";
    break;
    case "double":
    $theValue = ($theValue != "") ? "'" . doubleval($theValue) .
    "'" : "NULL";
    break;
    case "date":
    $theValue = ($theValue != "") ? "'" . $theValue . "'" :
    "NULL";
    break;
    case "defined":
    $theValue = ($theValue != "") ? $theDefinedValue :
    $theNotDefinedValue;
    break;
    return $theValue;
    mysql_select_db($database_example, $example);
    $query_data = "SELECT * FROM example";
    $data = mysql_query($query_data, $example) or
    die(mysql_error());
    $row_data = mysql_fetch_assoc($data);
    $totalRows_data = mysql_num_rows($data);
    // Begin XMLExport data
    $xmlExportObj = new XMLExport();
    $xmlExportObj->setRecordset($data);
    $xmlExportObj->addColumn("Name", "Name");
    $xmlExportObj->addColumn("Damage", "Damage");
    $xmlExportObj->addColumn("Speed", "Speed");
    $xmlExportObj->addColumn("Level", "Level");
    $xmlExportObj->addColumn("Details", "Details");
    $xmlExportObj->addColumn("Type", "Type");
    $xmlExportObj->addColumn("Source", "Source");
    $xmlExportObj->addColumn("Location", "Location");
    $xmlExportObj->addColumn("Date", "Date");
    $xmlExportObj->addColumn("Price", "Price");
    $xmlExportObj->addColumn("Skill", "Skill");
    $xmlExportObj->addColumn("Constitution", "Constitution");
    $xmlExportObj->addColumn("Intelligence", "Intelligence");
    $xmlExportObj->addColumn("Wisdom", "Wisdom");
    $xmlExportObj->addColumn("Strength", "Strength");
    $xmlExportObj->addColumn("Member", "Member");
    $xmlExportObj->addColumn("Image", "Image");
    $xmlExportObj->setMaxRecords("ALL");
    $xmlExportObj->setDBEncoding("ISO-8859-1");
    $xmlExportObj->setXMLEncoding("ISO-8859-1");
    $xmlExportObj->setXMLFormat("NODES");
    $xmlExportObj->setRootNode("Category");
    $xmlExportObj->setRowNode("Type");
    $xmlExportObj->Execute();
    // End XMLExport data
    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http:// www.
    w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http:// www . w3. org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>example</title>
    <link href="css.css" rel="stylesheet" type="text/css"
    />
    </head>
    <body>
    </body>
    </html>
    <?php
    mysql_free_result($data);
    ?>

  • Unable to Locate or Parse the XML source

    I've just started playing around with Dreamweaver 8 and I'm
    trying to pull in a RSS feed. I've followed the instructions in
    Dreamweaver, but when I add my XML source (
    http://rss.cnn.com/rss/cnn_law.rss)
    I get an error message in the bindings area where the XML structure
    should be displaying that says "Unable to locate or parse the XML
    source". I'm somewhat familiar with XML and new to RSS feeds so I
    have no idea what this means. Any help will be appreciated.

    Kelli, I know this is months late for you.. but I get the
    same error.. I found if I downloaded the xml locally I was able to
    set up my xsl page. After I got the page to look the way I wanted I
    switch the source to the external URL.
    If you have found a fix for the error please let me know,
    other then that this way will work.

  • Many years ago synced iCal with Microsoft program. Since installing Lion whenever I try to create an event in iCal it flashes up message "Unable to open Microsoft sync services Power PC applications no longer supported." How do I get rid of message?

    Many years ago synced iCal with Microsoft program. Since installing Lion whenever I try to create an event in iCal it flashes up message "Unable to open Microsoft sync services Power PC applications no longer supported." How do I get rid of message?

    Lion no longer supports PowerPC apps. If this is Microsoft Office 2008 (Entourage 2008) then you should disable the syncing services.  (I don't have Office 2008 installed anymore so I don't know exactly what it's called anymore.)  If you have Microsoft Office 2004 or earlier, then it can't be run on Lion at all since Lion removed Rosetta, which is what allowed a PPC app to run on an Intel based Mac.
    Also, I believe Microsoft removed sync services from the current Outlook 2011 (which replaces Entourage) so even upgrading to a newer version of Microsoft Office will not get you back that calendar sync feature.  Supposedly Microsoft is working on a new syncing system, but I wouldn't hold my breath.

  • Error ERR-1002 Unable to find item ID for item "" in application "11501"

    Hi All,
    I am new to Apex, still a beginner. Please need your help on this.
    We recently upgraded to Apex 4.1 from Apex 3.0. The database version is 10.2.0.4.
    I am getting this below error.
    Error ERR-1002 Unable to find item ID for item "" in application "11501".
    Unexpected error, unable to find item name at application or page level.
    This error specifically occurs when two sessions are opened from the same browser, and the same page is accessesed. This was not occuring before in 3.0.
    Thanks,
    Sarvesh

    Hi,
    i have the exact same problem and situation. (but i dont use Oracle Apps, only APEX).
    Migrated from APEX 2.2 to APEX 4.1
    Application is (unfortunately) used and opened in Internet Explorer with more than one session/tabs by users.
    In APEX2.2 this was working, in APEX4.1 i get the following error:
    Error ERR-1002 Unable to find item ID for item "" in application "111".
    Unexpected error, unable to find item name at application or page level.
    Technical Info (only visible for developers):
    is_internal_error: true
    apex_error_code: WWV_FLOW.FIND_ITEM_ID_ERR
    component.type: APEX_APPLICATION_AUTH
    component.id: 29961616743801399
    component.name: CUSTOM_LDAP
    error_backtrace:
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x1893e7410 676 package body APEX_040100.WWV_FLOW_ERROR
    0x1893e7410 1008 package body APEX_040100.WWV_FLOW_ERROR
    0x147cb1b58 742 package body APEX_040100.WWV_FLOW
    0x147cb1b58 4729 package body APEX_040100.WWV_FLOW
    0x147cb1b58 7094 package body APEX_040100.WWV_FLOW
    0x18a3e9208 247 procedure APEX_040100.F
    0x18ab6c258 31 anonymous block
    So i thought this is an issue with the authentication scheme (that was migrated, too). I dropped it and recreated it, but same problem.
    When i look to the URL after the re-login, it is:
    https://<server>/f?p=111:3:1139701000375375::::,4753713078141275:
    The strange thing is the part of ",4753713078141275:"
    What is APEX doing here?
    => i figured out that this is a Page Item ID. I have the hidden item P3_REPORT_TYPE which interal ID is 4753713078141275.
    I use the hidden item to conditionally display some regions on the page.
    Or is the problem before the comma, the "NULL" value ",47..." ?
    Can anyone help me or explain what is the problem here to get a solution?
    Thanks and regards,
    Matthias
    Edited by: matze on 24.05.2012 10:05
    Edited by: matze on 24.05.2012 10:30

  • Error ERR-1002 Unable to find item ID for item "" in application

    Hello.
    I have same problem like at guy from last message of this thread Error ERR-1002 Unable to find item ID for item "" in application "11501".
    I have apex 4.2.1.00.08
    Occasionally address box contains comma (f?p=102:LOGIN_DESKTOP:::::,). This bug do not have a logic, just occured.
    Could somebody help me?

    This select
    select * from apex_workspace_activity_log t
    where t.error_message like '%ERR-1002%'
    returns about 40 rows. 1-3 for every day. Mb somebody know about this bug ?

  • Unable to Kill the Consolidation task for HFM application

    User is unable to kill the Consolidation task in HFM application. Consolidation process which usually takes 2 mins has been showing status as running @79% since 4-6 hrs. User ID is has the provisioning manager, lock Data and unlock data provisions in Shared Services. The stop task button in the Running Tasks list is not enabled . Our Support team has advanced user access which is not also able to stop the task. Please note Admin access is restricted and not allowed for such tasks.

    I would check the HFM Log to see if you find anything referring to locked / blocked records.
    If your HFM app is killed in the middle of consolidating or performing other activities that requires it to 'lock' a segment of memory in the database, that 'lock' is still held on those data points when the application restarts.
    If you then try to perform another consolidation and it hits one of those locked data points, it will sit there for a very long amount of time waiting for the 'lock' to clear.
    I forget the exact error message that you will find in the log AND I forget the timeout period; however, it sucks having to wait through that.
    The other possibility that comes to mind is that the consolidation really aborted and the status didn't update. (once again check the logs)
    Charles

  • Need help implementing AJAX in an existing Struts Application

    Hi!
    I am trying to implement AJAX in my existing Struts Application. I need a good approach to go ahead and implement Ajax. I was thinking.. may be i will have to club all the code in the forms n actions (in the current Struts application) to one form and action, So I can easily include the dynamic content in the page.
    Please let me know if you have any ideas of how to implement AJAX in a fully developed Struts application.
    Thanks,
    Swapna.

    Hello Friends,
    Check out whether the link below could be of somehelp for you folks...
    http://www.it-eye.nl/weblog/2005/12/13/ajax-in-struts-implementing-dependend-select-boxes/
    http://today.java.net/pub/a/today/2005/10/27/sprinkle-ajax-magic-into-struts-webapp.html
    http://www.theserverside.com/news/thread.tss?thread_id=37355
    http://getahead.ltd.uk/dwr/examples/lists
    http://www.componentsource.com/products/backbase-ajax-struts/summary.html
    http://www.jibbering.com/2002/4/httprequest.html
    added to it there are few implementation frameworks which are addressing this issue you may further search on it and update abt the info which could be very much useful for all of the ppl out here.
    and there is a current thread running on the same topic it'd really appriciated if u can accomadate ur posts there.
    http://forum.java.sun.com/thread.jspa?threadID=784924&tstart=0
    REGARDS,
    RAHUL

  • I am unable to get tooltips in Firefox for my application though i am using title attribute.

    I am unable to get tooltips in Firefox for my application though i am using title attribute.
    I have even set the browser.chrome.toolbar_tips property to true. I am getting tooltips for all other sites except mine application.

    Can you post the code that isn't working or a link to a website with that code?
    Did you check for other elements covering that link?
    * https://developer.mozilla.org/En/DOM_Inspector
    * https://developer.mozilla.org/en/Introduction_to_DOM_Inspector
    * DOM Inspector: https://addons.mozilla.org/firefox/addon/6622

  • Error updating AE: ERROR: DS015: Unable to read symlink target of source file "/Applications/Adobe After Effects CC 2014/Plug-ins/Effects/mochaAE/(Mocha Support)/mocha AE CC.app/Contents/MacOS/mediaioserver.app/Contents/CodeResources"(Seq 212)

    Error updating AE: ERROR: DS015: Unable to read symlink target of source file "/Applications/Adobe After Effects CC 2014/Plug-ins/Effects/mochaAE/(Mocha Support)/mocha AE CC.app/Contents/MacOS/mediaioserver.app/Contents/CodeResources"(Seq 212)
    What can I do?

    Run the cleaner tool and install from scratch.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Mylenium

  • Unexpected error: unable to find item name at page or application level

    HI!
    I upgrade my application from apex 3.0 to 3.1
    I created a new page.
    When trying to insert a new row, on clicking "create", the page displays the error :
    Unexpected error: unable to find item name at page or application level
    This error didn't appear in apex 3.0
    What this error can be? Is it a bug of APEX 3.1?
    Thank you!

    I have seen this in combination with javascript. Recreating the item helped.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • JTree implementation as parsed expression

    I'm looking for an alternate implementation of JTree that formats the tree as a parsed expression. For example, if I write
    f(g(A,B), h(C))
    this is actually a graphical expression of a tree and a slightly different implementation of JTree should be able to show a tree this way rather than the usual vertical-line + horizontal branches.
    Does anyone know of such an implementation?

    import javax.swing.*;
    import javax.swing.tree.*;
    import java.util.*;
    public class Test {
    public static void recursive(StringBuffer s, Object node) {
    if (node == null) return;
    s.append(node);
    if (!(node instanceof TreeNode)) return;
    TreeNode n = (TreeNode) node;
    if (n.isLeaf()) return;
    s.append("(");
    boolean first = true;
    for (Enumeration e = n.children(); e.hasMoreElements(); ) {
    if (!first) s.append(",");
    recursive(s, e.nextElement());
    first = false;
    s.append(")");
    public static String parseTree(JTree tree) {
    if (tree == null) return null;
    StringBuffer s = new StringBuffer();
    recursive(s, tree.getModel().getRoot());
    return s.toString();
    public static void main(String[] args) {
    JTree tree = new JTree();
    System.out.println(parseTree(tree));

  • CA / NDES Virtual Directory Structure Missing in IIS 7 unable to implement SSL for ADMIN sites

    We've recently finiallized both an Enterprice 2008 R2 CA and NDES service installtion configuration.  All services are running, to include web enrollment for both.  CA sits on a DC, as required, and the NDES roll sits on a standalone machine. 
    All service generated certificates / templates are in place and or issued including SSL certificates for service web front ends.
    I'm trying to take the next step in hardening both of the web front ends by requiring SSL web validation and client SSL authentication.
    Problem:  When examining the site structures, CA and NDES, within the IIS7 configuration manager the following inconsistancies are present:
         Enterprise CA:
                   o  No virtual directory is configured or listed under the Certsrv or Enrollment sub-sites, however as previously stated all servies are up and operational.
        2.        NDES:
                   o  IIS7 configuration manager doesn't list any Certsrv sub-site, but once again all services are up and runniing.  I can process SCEP requests via the web. 
                       The following 2 items are listed under the default site on the NDES service machine:  Rpc and RpcWithCert    
                       In past experience I would expect those items to be associated with Exchange, but since NDES is new to me they may be standard.
    Not to state the obvious but all Sys32 files and folders  are correct as both services are running properly.  Can anyone tell me if I've missed some critical article on AD CS or IIS7 that tells me why these 2 conditions are present. 
    Since the Certsrv sub-site exists on the CA I would assume a normal SSL bind will work, but with critical items missing from within IIS7 (at least from my view) i don't want to compound the problem..  Since there is no Certsrv
    structure on the NDES machines I'm not sure what the best way to proceed is.  Any help would be greatly appreicated.
    V/R BE

    CA / NDES all function properly.  I'm still reseaching proper IIS 7 SSL implementation, when the virtual directory and sub-site structer is either missing or imcomplete when viewed from within the IIS7 manager.
    These services where put into production without a thurough configuration check prior to implementation, so I don't have a test environment setup at the moment to just start playing.  I'm thinking this weekend I'm going to have to VSS the current
    machines and throw them on the Dev network and see how badly I can break them.
    V/R BE

  • Unable to implement Constructor Overloading in an inherited class. Plz Help

    Please do compile the program in in order to notice the error.
    class EmpDet
    int id,age;
    String name;
    String gender;
      EmpDet(int id1,String name1,int age1,String gender1)
        this.id = id1;
        this.name= name1;
        this.age= age1;
        this.gender = gender1;
       void Id_Name()
       System.out.println("EmpId : "+id+" and Name : "+name);
       void Gender_Age()
        System.out.println("Employee is a "+gender+" and is "+age+" years old.");
      class Employee extends EmpDet
           String locality;
        Employee(int a,String b,int c,String d)
             super(a,b,c,d);
        Employee(String locality1)// Constructor overloading. My problem.
             this.locality = locality1;
      void locality()
        System.out.println("The employee resides at "+locality);
       void DiplayStmt()
            System.out.println("DISPLAYING EMPLOYEE DETAILS..");
            System.out.println("******************************");
       public static void main (String[] args)
        Employee det = new Employee(010,"John",32,"M");
        Employee addr = new Employee("Tambaram");
        addr.DiplayStmt();
        det.Id_Name();
        det.Gender_Age();
        addr.locality();
      }

    Hey Thanks.. I guess what you said makes sense.
    I was fiding it hard to agree that there needs to be a match between the Constructors of the Base Class and the Sub Class. I altered the program by adding a constructor in the Base class and using the super(0 function in the Sub class and that seems to work..
    class EmpDet
    int id,age;
    String name;
    String gender;
    EmpDet(int id1,String name1,int age1,String gender1)
         this.id = id1;
    this.name= name1;
    this.age= age1;
    this.gender = gender1;
    EmpDet(String addr)
         System.out.println("Address is implemented in SubClass");
    void Id_Name()
    System.out.println("EmpId : "+id+" and Name : "+name);
    void Gender_Age()
    System.out.println("Employee is a "+gender+" and is "+age+" years old.");
    class Employee extends EmpDet
         String locality;
    Employee(int a,String b,int c,String d)
         super(a,b,c,d);
    Employee(String locality1) // Constructor Overloading
         super(locality1);
         this.locality = locality1;
    void locality()
    System.out.println("The employee resides at "+locality);
    void DiplayStmt()
         System.out.println("DISPLAYING EMPLOYEE DETAILS..");
         System.out.println("******************************");
    public static void main (String[] args)
    Employee det = new Employee(010,"John",32,"M");
    Employee addr = new Employee("Tambaram");
    addr.DiplayStmt();
    det.Id_Name();
    det.Gender_Age();
    addr.locality();
    Message was edited by:
    3402102

Maybe you are looking for

  • NOT happy with image quality of Lightroom 1.1

    Sure, LR now launches faster and the interface looks a bit nicer. And the more capable sharpening controls and the clarity slider which mimics contrast enhancement with USM are nice additions, but has anyone else notice what happened to the image qua

  • Error 28000 --- can't install VPN

    Hello there, I used the VPN Client for a long time and needed to uninstall it. I can't quite remember but I think that the control panel was giving me a hard time so I tried to delete it manually. Now I want to install it again, because it is essenti

  • Error «The entered value is not on the list of valid values» in the hierarchy of mss web dynpro abap

    Hello Experts The error «The entered value is not on the list of valid values» in the hierarchy of mss web dynpro abap occurs after manager's following actions: selected detailed Team View ; selected hierarchy; changed style of the hierarchy to any o

  • Appointment booking application - Calendar or a custom component

    Hello, I am building an ADF application that books appointments for few resources, say 4 rooms against single calendar. I have given a pictorial view that I am trying to achieve. Time | Room1 | Room2 | Room3 | Room4 ============================ 09:00

  • Does SMS relay iOS 8.1 cause extra iPhone battery usage?

    I was messing with both SMS relay the other day and noticed that my battery drained almost twice as fast.. I was also messing with handoff and basically just testing the new integration features between Yosemite and iOS8.1 But my question is about SM