Solr CF9 working example

Good evening everyone,
     I have a very data intensive Flex/CF application, I am no guru by any means but I have done all that I can with db optimization and coding to improve the speed of my app.  We have finally concluded that we might just need some sort of an advance indexing technique to help speed up this app. I have was wondering if anyone have a good example/pointer to solr indexing/searching using query.
     I would like to create multiple indexes from mysql tables, and the perform search against this index.  I would like to be able to perform field1:value1, field2:value2 type of search against Lucenen index created using Solr.  I did the following
<cfindex action="update" query="v_test" collection="lib_30" type="custom"
             key="sequenceId" title="Lib 30 index" body="#v_test.columnList#" category="#v_test.columnList#"
             status="report">
but can't seem to perform search against a particular field. Any pointers?  I can't seem to get this to work as I would like, and can't seem to get much out of live docs.
Thanks.
Jay

try {
              File file=new File("myfile.txt");
              System.out.println ("isFile: "+file.isFile());
              System.out.println ("Deleted: "+file.delete());
         catch(SecurityException ex){
              ex.printStackTrace();
         catch (Exception ex) {
              ex.printStackTrace();
         }

Similar Messages

  • Create index in solr & cf9 from query data

    Hey guys,
       Does anyone have a working example of cfindex where input data comes from a query and where you can search said index for a given value in a specified field.
        I create an index as below.
        <cfindex action="update" query="v_test" collection="lib_30" type="custom"
                 key="sequenceId" title="Lib 30 index" body="#v_test.columnList#" category="#v_test.columnList#"
                 status="report">
        This creats an index but my fields tag in index are empty, and all the data in each column is concatinated together to create one long string.
         I have googled, and tried to make heads and tails of the live doc, but I haven't been successful
         Any one, please help
    Jay

    I can't see any evidence that CF supports individual search fields with Solr.  The <cfindex> implementation for Solr seems to just replicate what it did for Verity: bung all the data from the various columns specified in the BODY attribute into one long string.
    I hasten to add that my comment is not based on code-based investigation, but just my reading of the docs coupled with your findings.  And tangential experience with CF's Solr integration implementation which I have found to be a bit... basic.
    Adam

  • Please Help:  A Problem With Oracle-Provided 'Working' Example

    A Problem With Oracle-Provided 'Working' Example Using htp.formcheckbox
    I followed the simple steps in the Oracle-provided example:
    Doc ID: Note:116534.1
    Subject: How to use checkbox in webdb for bulk update using webdb report
    However, when I select a checkbox and click on the Update button, I get a "ORA-01036: illegal variable name/number" error. Please advise. This was a very promising feature.
    Fred
    Below are step-by-step instructions provided by Oracle to create this "working" example:
    How to use a checkbox in WEBDB 2.2 report for bulk update.
    PURPOSE
    This article shows how checkbox can used placed on WEBDB report
    and how to use it.
    SCOPE & APPLICATION
    The following example to guide through the steps to create a working
    example of this.
    In this example, the checkbox is used to select the records. On clicking
    the update button, the pl/sql procedure is called which will update col1 to
    the string 'OK'.
    After the update is done, the PL/SQL procedure calls the report again.
    Since the report only select records where col1 is null, the updated
    records will not be displayed when the report is called again.
    Step 1 - Create Table
    From Sqlplus, log in as scott/tiger and execute the following:
    drop table chkbox_example;
    create table chkbox_example
    (id varchar2(10) not null,
    comments varchar2(20),
    col1 varchar2(10));
    Step 2 - Insert Test Data
    From Sqlplus, still logged in as scott/tiger , execute the following:
    declare
    l_i number;
    begin
    for l_i in 1..50 loop
    insert into chkbox_example values (l_i, 'Comments ' || l_i , NULL);
    end loop;
    commit;
    end;
    Step 3 -Create SQL Query based WEBDB report
    Logon to a WEBDB site which has access to the database the above tables are created.
    Create a SQL based Report.
    Name the report :RPT_CHKBOX
    The select statement for the report is :
    select c.id, c.comments, c.col1,
    htf.formcheckbox('p_qty',c.id) Tick
    from SCOTT.chkbox_example c
    where c.col1 is null
    In Advanced PL/SQL, (REPORT, Before displaying the form), put the following code
    htp.formOpen('scott.chkbox_process');
    htp.formsubmit('p_request','Update');
    htp.br;
    htp.br;
    Step 4 - Create a stored procedure in the database
    Log on to the database as scott/tiger and execute the following to create the
    procedure.
    Note: Replace WEBDB to the appropriate webdb user for your installation.
    In my database, I had installed webdb using WEBDB username, hence user webdb owns
    the packages.
    create or replace procedure chkbox_process
    ( p_request in varchar2 default null,
    p_qty in wwv_utl_api_types.vc_arr ,
    p_arg_names in wwv_utl_api_types.vc_arr ,
    p_arg_values in wwv_utl_api_types.vc_arr
    is
    i number;
    begin
    for i in 1..p_qty.count loop
    if p_qty(i) is not null then
    begin
    update chkbox_example
    set col1 = 'OK'
    where chkbox_example.id = p_qty(i);
    end;
    end if;
    end loop;
    commit;
    /* To Call Report again after updating */
    SCOTT.RPT_CHKBOX.show
    (p_request=>'Run Report',
    p_arg_names=>webdb.wwv_standard_util.string_to_table2(' '),
    p_arg_values=>webdb.wwv_standard_util.string_to_table2(' '));
    end;
    Summary
    There are essentially 2 main modules, The WEBDB report and the pl/sql procedure (chkbox_process)
    A button is created via the advanced pl/sql coding which shows on top of the report. (The
    button cannot be placed at the bottom of the report due to the way WEBDB creates the procedure
    internally)
    When any button is clicked on the report, it calls the pl/sql procedure chkbox_process.
    The procedure is called , WEBDB always passes the parameters p_request,p_arg_names and o_arg_values.
    p_qty is another parameter that we are passing additionally, This comes from the checkbox created
    using the htf.formcheckbox in the report select statement.
    The pl/sql procedure calls the report again after processing. This is done to
    show how to call the report.
    Restrictions:
    -The Next and Prev buttons on the report will not work.
    So it is important that the report can fit in 1 page only.
    (This may mean that you will not select(not ticked) 'Paginate' under
    'Display Option' in the WEBDB report. If you do this,
    then in Step 4, remove p_arg_names and p_arg_values as input parameters
    to the chkbox_process)

    If your not so sure you can use the instanceof
    insurance,
    Object o = evt.getSource();
    if (o instanceof Button) {
    Button source = (Button) o;
    I haven't thoroughly read the thread, but I use something like this:if (evt.getSource() == someObjRef) {
        // do that voodoo
    ]I haven't looked into why you'd be creating a new reference...

  • WORKING example of BlazeDS with Flex 3 and FlexBuilder

    Can someone point me to an actual working example with BlazeDS used with Flex 3 and Eclipse?
    The examples on livedocs are broken or imcomplete. Others work to varying degrees but fail at some point.
    What I'd like to see is the following:
    1. How to create a project using
         a. Flex 3.0
         b. BlazeDS
         c. Eclipse - FULL project creation and deployment instructions.
         d. An example where the project is NOT created within the BlazeDS webapp that comes with the BlazeDS/Tomcat combo.
         e. An example where the ENTIRE project can be compiled and deployed to Tomcat in one shot.
         f.  An example where a DB can he altered using standard CRUD methods with the display displaying updated records without and event being used to
             refresh the view of the records.
    This shouldn't be too much to ask if Flex is to be expected to be taken seriously in data-driven applications. I've looked all over the web for weeks for something likethis and have come up with nothing. I don't need Spring or Hibernate at this point. Any help would be greatly appreciated as I'm working on a proof-of-concept at this time and the pressure is mounting to come up with something.
    Thanks!

    here is some stuff I wrote while back(they both have recorded video you can watch);
    http://ledtechdesign.com/2009/02/blazeds-tutorial-part-i-simple-remoting/
    http://ledtechdesign.com/2009/02/tutorial-blazeds-simple-remoting-part-ii-flex/

  • Online Store Complete Working Example

    Hi
    I have installed the packaged app, Online Store. However, it does not illustrate how payments are processed and how inventory is managed. Does anyone have a working example (with code) of a complete online store?
    Kind regards
    Jov

    Hi Jov,
    We've developed an online store and integrated it with Paypal Standard Payments.
    Demo here:
    http://www.apexskins.com/pls/apex/f?p=658
    Paypal intergration here:
    http://www.apexskins.com/pls/apex/f?p=653
    I hope this helps.
    Andrew
    http://www.apexskins.com

  • Looking for working example using javafx.builders.HttpRequestBuilder

    Hi,
    Is there any working example using javafx.builders.HttpRequestBuilder and javafx.io.http.HttpRequest to communicate with application server?
    Thanks in advance.
    LD

    Hi,
    Is there any working example using javafx.builders.HttpRequestBuilder and javafx.io.http.HttpRequest to communicate with application server?
    Thanks in advance.
    LD

  • Searching for working example of Skin & Hair color detection via Face Model

    Hi all,
    Could anyone point me to a working example (preferably with source code available) which uses the get_SkinColor or get_HairColor functions from the HDFace functionality?
    I've been calling these functions after building a facemodel and they seem to be returning a successful HResult while at the same time changing the UINT32 passed by reference to zero, regardless of the hair color presented to the Kinect. Is there a project
    which shows the correct use of these functions publicly available?
    Thanks!

    Hi Mac0014,
    Check this out:
    My Kinect Told Me I Have Dark Olive Green Skin
    Sr. Enterprise Architect | Trainer | Consultant | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer |blog: http://dgoins.wordpress.com

  • Does somebody has working example how retrieve ALL message ids from queue

    hello,
    i'm having problems retrievieng all message id's from queue using APPQ_MIB. Point
    is that i can't get cursor variable work. Somebody possibly has working example
    or knows how it is done in qmadmin? I'm using Tuxedo 8.0.

    The default CURSORHOLD time is 120 seconds. Are you making your second
    request within that time? And make sure that you change TA_OPERATION to
    GETNEXT.
    Janis Kovalevskis wrote:
    Actually there is no debugging required it is enough to use ud32. I created sample
    file (see attach), where is what i'm sending to MIB. For Part 1 everything is
    fine- i get first ~200 message id's and cursor variable, but when i send Part
    2 (substituting TA_CURSOR with returned value) nothing happens. Returned buffer
    is something like:
    TA_ERROR     0
    TA_MORE     0
    TA_OCCURS     0
    TA_CLASS     T_APPQMSG
    You can even send cursor variable TA_CURSOR like: "..TMIB0: 0x99999999" and same
    response will be returned.
    It seems T_APPQMSG is just ignoring those cursors and thats all. Any ideas?
    Scott Orshan <[email protected]> wrote:
    I think it would be easier for us to debug what you have than to write
    a
    new example from scratch. Please post a code sample that is not working
    for you. Make sure you use GETNEXT is you are using the cursor.
         Scott Orshan
    Janis Kovalevskis wrote:
    hello,
    i'm having problems retrievieng all message id's from queue using APPQ_MIB.Point
    is that i can't get cursor variable work. Somebody possibly has workingexample
    or knows how it is done in qmadmin? I'm using Tuxedo 8.0.------------------------------------------------------------------------
    -- Part 1 --
    SRVCNM     .TMIB
    TA_CLASS     T_APPQMSG
    TA_OPERATION     GET
    TA_LMID     SITE1
    TA_QMCONFIG     /ora4/iia/cfg/QUE
    TA_APPQSPACENAME     QSPACE
    TA_APPQNAME     STIP_ISS_SAF
    TA_CURSORHOLD     300
    -- Part 2 --
    SRVCNM     .TMIB
    TA_CLASS     T_APPQMSG
    TA_OPERATION     GETNEXT
    TA_CURSOR     ..TMIB0: 0x12345678
    TA_CURSORHOLD     300

  • Fetch data using structure with full working example

    does any body tell me how to fetch data using structure with full working example
    the structure name is RSTXT and the field is TXLINE
    the data in the form of text is entered from the functional side using t-code ME52N
    from there i have to fetch the data
    in smartform or in report

    using this code to get text from ME52N  this is a structure still not getting output  
    DATA:BEGIN OF TA_ROW occurs 0,
          TXZ01(1000) TYPE C,
          END OF TA_ROW.
      DATA:BEGIN OF IT_ROW OCCURS 0,
          TXZ01(1000) TYPE C,
          END OF IT_ROW.
       DATA: thread LIKE thead.
       DATA: headerid TYPE char24.
       DATA: it_text LIKE tline OCCURS 0 WITH HEADER LINE.
       data:wa_banfn like eban-banfn.
       thread-tdid = 'B01'.
       thread-tdname = headerid.
       thread-tdobject = 'EBAN'.
         select txz01 from eban into corresponding fields of table ta_row
          where banfn = wa_banfn.
       headerid = '  '.
       CALL FUNCTION 'READ_TEXT'
         EXPORTING
      CLIENT                        = SY-MANDT
           id                            = thread-tdid
           language                      = sy-langu
           name                          = thread-tdname
           object                        = thread-tdobject
      ARCHIVE_HANDLE
                                    = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
         TABLES
    lines                         = it_text
        EXCEPTIONS
          id                            = 1
          language                      = 2
          name                          = 3
          not_found                     = 4
          object                        = 5
          reference_check               = 6
          wrong_access_to_archive       = 7
          OTHERS                        = 8.
         LOOP AT it_text.
         CLEAR ta_row.
       BREAK-POINT.
      FROM THIS POINT TEXT IS COMING
         ta_row-txz01 = it_text-tdline.
         APPEND ta_row TO it_row.
         ENDLOOP.

  • Overriding getColumnClass: A working example, if you would, please?

    I've read that using an @Override of the getColumnClass method is usefull when you
    have a table full of ints or bytes and you want to avoid using code like this extensively:
    Integer.valueOf(jTable1.getValueAt(0, 0).toString());I've got a snippet here that shows the actual code used in the framework:
        public Class<?> getColumnClass(int columnIndex) {
         return Object.class;
        }but when I put it into a working example:
    package tableclass;
    import java.awt.BorderLayout;
    import javax.swing.JFrame;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    public class EditorTest extends JFrame
            JTable table = new JTable(10, 5){
                @Override
        public Class<?> getColumnClass(int columnIndex) {
         return Object.class;
        public EditorTest()
            table.setPreferredScrollableViewportSize(table.getPreferredSize());
            JScrollPane scrollPane = new JScrollPane( table );
            getContentPane().add( scrollPane, BorderLayout.SOUTH);
        public static void main(String[] args)
            EditorTest frame = new EditorTest();
            frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
            frame.pack();
            frame.setLocationRelativeTo( null );
            frame.setVisible(true);
    }I have no idea what to put in the override to make it usefull.
    could someone please give me an idea of what to put here?

    camickr wrote:
    I read the tutorial,Then where is your SSCCE that shows you overriding the getColumClass() method from the example you found in the tutorial.
    I scoured google for getColumnClassI never said anything about Google. I suggested you search these forums.
    If someone had suggested overriding the getValueAt method to return an int or a byte insteadBecause that is not the way to do it and that is not the way the tutorial example works. The tutorial stores different Object types, Data, Boolean, etc. The question you asked was not about storing data it was about overriding the getColumnClass(...) method.
    If you would have posted the code from the tutorial and asked a specific question about the code, then you would get an explanation.
    But the code you posted gave no indication whatsoever that you bothered to take the time to read the tutorial or search the forum, because the code you posted looked nothing like anything found in the tutorial or anything that you could have found in the forum.
    I was under the impression that overriding this method would let me return data primitives without having to parse or cast them out.Well, that is not what your question asked. We are not mind readers.
    Your question asked for an example of how to override a specific method. Why should we waste time creating an example, when the tutorial and forums are full of examples?Apologies.

  • Struts 2 Ajax working example

    Hi all,
    I want a working example of struts 2 Ajax.
    What I want is user name validation when registering new user.
    please help me with the relevant link if any.
    Thanks in advance,
    Hirav

    I normally do not recommend RoseIndia tutorials. However, [this one|http://www.roseindia.net/struts/struts2/struts2ajax/ajax-login-form.shtml] seems exactly like what you are looking for. As an aside, that was the top hit for me in Google. Learn how to search, attempt to solve your problem, and then post when you are actually stuck on something.
    - Saish

  • MQ + OpenLdap: Any working example of LDAP configuration?

    MQ + OpenLdap: Any working example of [LDAP configuration], [LDIF initial data] and [imobjmgr addTopicFactory/addTopic command] files ?
    I'm using Sun MQ3.5 + OpenLdap2.2.20 as jndi remote binding mechanism.
    I've unsuccessfuly tryed to add a Topic Factory!
    Running the command
         imqobjmgr -i add_ldap_topic_factory.poperties
    I get such an exception:
         javax.naming.OperationNotSupportedException:
         [LDAP: error code 53 - no global superior knowledge];
         remaining name 'cn=myTopicConnectionFactory'
    This is the test configuration adopted using rootdn user to write to LDAP repository:
    #slapd.conf
    include /usr/local/etc/openldap/schema/core.schema
    database     bdb
    suffix          "dc=imq,dc=com"
    rootdn          "cn=Manager,dc=imq,dc=com"
    rootpw          secret
    directory     /usr/local/etc/openldap/var/openldap-data
    index     objectClass     eq
    #test.ldif
    dn: dc=imq,dc=com
    objectClass: dcObject
    objectClass: organization
    dc: imq
    o: imq
    #add_ldap_topic_factory.poperties
    version=2.0
    cmdtype=add
    obj.type=tf
    obj.lookupName=cn=myTopicConnectionFactory
    obj.attrs.imqAddressList=mq://localhost:7676/jms
    objstore.attrs.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
    objstore.attrs.java.naming.provider.url=ldap://localhost:389/o=imq
    objstore.attrs.java.naming.security.principal=cn=Manager,dc=imq,dc=com
    objstore.attrs.java.naming.security.credentials=secret
    objstore.attrs.java.naming.security.authentication=simple
    Thanks for any suggestion,
    Silvano

    Agreed.
    I've been wanting to test the steps and write a tech article on this
    and post it to somewhere on sunsolve.sun.com but have not had
    time yet.
    In any case, the instructions Ken-shi gave are below including
    the 3 files (etang.ldif objectstore.properties slapd.conf). Not sure
    how messy this posting can get due to size of files.
    I'd much rather point you to a sunsolve article but don't want
    to make you wait. When I do post the sunsolve article, this thread
    will be updated with a ptr to it.
    ===Begin instructions===
    Attached please see my working configuation files.
    1.Modify your OpenLdap configuration. (see slapd.conf)
    start OpenLdap: ./slapd
    2.Modify you initial data.( see etang.ldif)
    load initial data: ldapadd -x -D "cn=Manager,dc=etang,dc=com" -W -f
    etang.ldif
    3.ObjectStore properties ( see objectstore.properties )
    create your object store with "Administration" GUI on windows;
    while creating destinations or connection factories, be sure that the
    lookup names start with "cn=".
    ===End instructions===
    ===Begin etang.ldif===
    dn: dc=etang,dc=com
    objectClass: dcObject
    objectClass: organization
    dc: etang
    o: Etang Corporation
    description: The etang corporation
    dn: cn=Manager,dc=etang,dc=com
    objectClass: organizationalRole
    cn: Manager
    description: Directory Manager
    dn: o=IMQ,dc=etang,dc=com
    objectClass: organization
    o: IMQ
    dn: ou=imqusers,o=IMQ,dc=etang,dc=com
    objectClass: organizationalUnit
    ou: imqusers
    dn: cn=admin,ou=imqusers,o=IMQ,dc=etang,dc=com
    objectClass: person
    cn: admin
    sn: admin
    userPassword: admin
    dn: cn=guest,ou=imqusers,o=IMQ,dc=etang,dc=com
    objectClass: person
    cn: guest
    sn: guest
    userPassword: guest
    ===End etang.ldif===
    ===Begin objectstore.properties===
    java.naming.provider.url ldap://10.1.0.195:389/o=IMQ,dc=etang,dc=com
    java.naming.factory.initial com.sun.jndi.ldap.LdapCtxFactory
    java.naming.security.principal cn=admin,ou=imqusers,o=IMQ,dc=etang,dc=com
    java.naming.security.authentication simple
    java.naming.security.credentials admin
    ===End objectstore.properties===
    ===Begin slapd.conf===
    # See slapd.conf(5) for details on configuration options.
    # This file should NOT be world readable.
    include          /usr/local/openldap/etc/schema/core.schema
    include /usr/local/openldap/etc/schema/cosine.schema
    include /usr/local/openldap/etc/schema/inetorgperson.schema
    include /usr/local/openldap/etc/schema/dyngroup.schema
    include /usr/local/openldap/etc/schema/java.schema
    include /usr/local/openldap/etc/schema/nis.schema
    include /usr/local/openldap/etc/schema/misc.schema
    # Define global ACLs to disable default read access.
    # Do not enable referrals until AFTER you have a working directory
    # service AND an understanding of referrals.
    #referral     ldap://root.openldap.org
    pidfile          /usr/local/openldap/var/run/slapd.pid
    argsfile     /usr/local/openldap/var/run/slapd.args
    # Load dynamic backend modules:
    # modulepath     /usr/local/openldap/libexec
    # moduleload     back_bdb.la
    # moduleload     back_ldap.la
    # moduleload     back_ldbm.la
    # moduleload     back_passwd.la
    # moduleload     back_shell.la
    # Sample security restrictions
    #     Require integrity protection (prevent hijacking)
    #     Require 112-bit (3DES or better) encryption for updates
    #     Require 63-bit encryption for simple bind
    # security ssf=1 update_ssf=112 simple_bind=64
    # Sample access control policy:
    #     Root DSE: allow anyone to read it
    #     Subschema (sub)entry DSE: allow anyone to read it
    #     Other DSEs:
    #          Allow self write access
    #          Allow authenticated users read access
    #          Allow anonymous users to authenticate
    #     Directives needed to implement policy:
    # access to dn.base="" by * read
    # access to dn.base="cn=Subschema" by * read
    # access to *
    #     by self write
    #     by users read
    #     by anonymous auth
    # if no access controls are present, the default policy
    # allows anyone and everyone to read anything but restricts
    # updates to rootdn. (e.g., "access to * by * read")
    # rootdn can always read and write EVERYTHING!
    access to * by * write
    # ldbm database definitions
    database     bdb
    suffix          "dc=etang,dc=com"
    rootdn          "cn=Manager,dc=etang,dc=com"
    # Cleartext passwords, especially for the rootdn, should
    # be avoid. See slappasswd(8) and slapd.conf(5) for details.
    # Use of strong authentication encouraged.
    rootpw          secret
    # The database directory MUST exist prior to running slapd AND
    # should only be accessible by the slapd and slap tools.
    # Mode 700 recommended.
    directory     /usr/local/openldap/var/openldap-data
    # Indices to maintain
    index     objectClass     eq
    ===End slapd.conf===

  • Any working example or VersionedBacking map?

    Appreciate if anyone has the working example on VersionedBackig Map? How can i retrieve list of objcts (EX:Result set returns say 100 records, and each row is an object). Does tangosol has any api or have to implement java implementation?

    Hi Santharam,
    Attached please find an example xml configuration file that uses a Versioned Near Distributed Write-Behind caching strategy. Let me know if this is what you are looking for.
    I will be posting a more detailed example this week that will include a small web application front end to this configuration file.
    Later,
    Rob Misek
    Tangosol, Inc.
    Coherence: Cluster your Work. Work your Cluster.<br><br> <b> Attachment: </b><br>ver-near-write-behind.xml <br> (*To use this attachment you will need to rename 31.bin to ver-near-write-behind.xml after the download is complete.)

  • Working example of AXI Ethernet in Zynq PL

    Does anyone have a working example of setting up Xilinx Linux to use an AXI Ethernet IP embedded in Zynq PL? We are attempting to connect the Zynq to an AVNET ISM FSM card with a DP83640 PHY onboard. We have set Linux up using the following device tree and can communicate with the PHY using MDIO. However transmitting packets does not work.
    axi_ethernet_0_dma: axi-dma@40400000 {
    axistream-connected = <&axi_ethernet_0_eth_buf>;
    //axistream-control-connected = <&axi_ethernet_0_eth_buf>;
    compatible = "xlnx,axi-dma-6.03.a","xlnx,axi-dma-1.00.a";
    //compatible = "xlnx,axi-dma";
    interrupt-parent = <&ps7_scugic_0>;
    interrupts = <0 58 4 0 59 4>;
    reg = <0x40400000 0x10000>;
    dma-channel@40400000 {
    compatible = "xlnx,axi-dma-mm2s-channel";
    interrupts = < 0 58 4 >;
    dma-channel@40400030 {
    compatible = "xlnx,axi-dma-s2mm-channel";
    interrupts = < 0 59 4 >;
    axi_ethernet_0_eth_buf: network@41000000 {
    axistream-connected = <&axi_ethernet_0_dma>;
    axistream-control-connected = <&axi_ethernet_0_dma>;
    clock-frequency = <25000000>;
    clock-names = "ref_clk";
    clocks = <&clkc 0>;
    compatible = "xlnx,axi-ethernet-1.00.a";
    device_type = "network";
    interrupt-parent = <&ps7_scugic_0>;
    interrupts = <0 57 4>;
    local-mac-address = [00 0a 35 00 00 01];
    reg = <0x41000000 0x40000>;
    phy-handle = <&phy1>;
    xlnx,avb = <0x0>;
    xlnx,enable-lvds = <0x0>;
    xlnx,mcast-extend = <0x0>;
    xlnx,phy-type = <0x0>;
    //xlnx,phyaddr = <0x1E>;
    xlnx,rxcsum = <0x2>;
    xlnx,rxmem = <0x8000>;
    xlnx,rxvlan-strp = <0x0>;
    xlnx,rxvlan-tag = <0x0>;
    xlnx,rxvlan-tran = <0x0>;
    xlnx,simulation = <0x0>;
    xlnx,stats = <0x1>;
    xlnx,temac-addr-width = <0xc>;
    xlnx,txcsum = <0x2>;
    xlnx,txmem = <0x8000>;
    xlnx,txvlan-strp = <0x0>;
    xlnx,txvlan-tag = <0x0>;
    xlnx,txvlan-tran = <0x0>;
    //xlnx,type = <0x0>;
    mdio {
    #address-cells = <1>;
    #size-cells = <0>;
    phy1: phy@16 {
    reg = <16>;
    } ;

    Hello,
    The example form application note 1082 works fine, but bare in mind to use proper SFP-RJ45 adapter. Our tests have shown that this application note doesn't work with optical or copper sfp, and also with some adapters. Newly bought 1000Base-T adapter works perfectly.
    Kind regards
    Piotr Zdunek
    Warsaw University of Technology

  • Can someone point me to a small working example using wait()

    Or is wait() what I want to use?
    I need to have my app go to sleep for some period of time, say ten or fifteen minutes, and hide its window during that time. Then after that ten minutes it opens its window back up.
    I've looked all over Google and I can't find any code samples that a newbie could make sense of. Can anyone point me to a sample?
    I wrote what I thought, intuitively, was the way to do it, but I am getting some cryptic message on the "wait()" about "java.lang.IllegalMonitorStateException" which I looked up, but the "explanation" makes even less sense than the raw message. :(
      public void runLoop() {
        getPrefs();
        while (true) {
          ... do stuff ...
          try {
            wait(1000*timeOut);
          } catch ( InterruptedException ie )  {
            ... do stuff ...
      }thanks for any guidance.
    --gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Can someone PLEASE point me to a working example?
    I use Java only very rarely, and only when forced to, and I am not an expert. Frankly, in spite of being expert in a dozen other languages I am COMPLETELY INCOMPETENT in Java. I'm just trying to get this project done and out of my hair so I can safely forget all about Java for the next year or two. I'd give the project to someone else, but every other coder in the shop refuses to go anywhere near Java.
    If I can get this one thing working I can call the project done and be out of here.
    I have a working ap that just needs to close its own window when a button is clicked, for some (user specified) period of time like 10 or 15 minutes, and then reopen its window after that period of time. It is intuitively obvious that I should be able to use timer methods, or sleep() , or wait(), but I have not been able to get any of those to work, and the error messages are more cryptic than ancient Sumerian cuneiform.
    I've Googled for a working example, but haven't found anything that I can figure out. The examples I've found presuppose far more expertise than I posses, and have far too many pieces missing. Can anyone just point me to a complete example of an ap that sleeps for some period of time and then wakes up again?
    I would really, really appreciate the help, and once I've finished this project I promise I won't ever bother you again. Really.
    --gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Editing metadata in Finder??

    can you edit metadata within finder?? I used to edit my files in Windows Explorer. I was able to edit the artist name, album, album artist, etc. all from the explorer ( Finder for Windows). But, it seems that you can't do any of that editing of file

  • FDM - Scripting for exporting application

    Hi Can you please advise if it is possible to write a script to automate the FDM export (Application export, this would be for the locations, users, maps etc...) Regards Edited by: user12990175 on 2010/07/05 11:59 PM

  • How do I open the 3D rendering settings panel in PS CS6?

    Hi all; Pls have a look here: http://helpx.adobe.com/nl/photoshop/using/3d-panel-settings-photoshop-extended.html Its the lower panel I mean, where the tools are found that in CS5 were in the toolbox. Thanks Maarten

  • Can't download After effects CC

    Hello, As the title already mentioned, do I have problems with downloading the After effects CC application. I can't find it in the Creative Cloud >> Apps [http://i.gyazo.com/dd33eeb6856896791c7ab3f5cf387703.png], nor can I download it when I visit t

  • Any sources for styling \ skinning the Slider component?

    Any sources for styling \ skinning the Slider component? ie setting the background invisible or using another graphic in place of the line/rectangle graphic.   using another graphic for the thumb.  replacing the current graphic thumb has restrictions