Looking for a trap parsing example

Hello experts
I want the MARS to analyze an SNMP trap from a custom device and I'm looking for an example for a trap message parsing. Would appreciate you help.
TIA
Iris

Adomacro wrote:
> Looking for a nice fusebox example, which i can use as
base for developing applications..
>
> Please post help.
>
> thanks a bunch.
http://www.fusebox.org/

Similar Messages

  • Looking for a DAO\JDBC example to deploy as war or ear to see how it works

    looking for a DAO\JDBC example to deploy as war or ear to see how it works can any one show me i have searched it but cant find it...

    you should try searching in http://www.theserverside.com

  • Looking for BC4J EJB deployment example

    Hi,
    I am looking for an very simple example project for BC4J deployed as EJB, including table definition, BC4J source files, and EJB client source files. I have previously successfully deployed the BC4J to Oracle8i JVM and OC4J, but currently struck at how to write the client application. I would like to know how to call my own remote methods other than working with ViewObjects directly.
    Help needed.
    Regards,
    Patrick.

    Maybe this will help:
    In JServer, ejb inactivity timeout is controlled by property jbo.ejb.txntimeout which value is 60 (secs) by default.
    JServer properties file is deployed as oracle/jbo/server/jboserver.properties, you can get it from jbomt.zip (you should create the same directory structure and a project, say jServerProps.jpr, containing the file).
    Edit the file:
    jbo.ejb.txntimeout=28800
    jbo.ejb.txntype=local
    , then deploy it as Classes and Java Stored Procedures to Oracle 8i.
    To see effective values of jServer properties you have to set jbo.debugoutput=console in file oracle/jbo/common/Diagnostic.properties - from the same jbomt.zip.
    It's better to include the file in the above jServerProps project and deploy at once with jboserver.properties.
    null

  • Looking for a nice fusebox example

    Looking for a nice fusebox example, which i can use as base
    for developing applications..
    Please post help.
    thanks a bunch.

    Adomacro wrote:
    > Looking for a nice fusebox example, which i can use as
    base for developing applications..
    >
    > Please post help.
    >
    > thanks a bunch.
    http://www.fusebox.org/

  • Looking for C/C++ XPath example

    I am looking for a C/C++ example that successfully used the XPath routines as provided
    in the XDK for Oracle 9.2. Expansion on the meaning of the parameters and a list of
    error return values would also be nice.

    We will be shipping the missing doc with OTN releases in the future.

  • Looking for a Java Parser

    Hi,
    I'm working on a Web Service Project, and i'm trying to deploy Web Services dynamically. Now the problem is, that i have to adapt the Java src-files sometimes before the deployment (Like adding Annotations, Methods or just peaces of code into a Method. So what i'm looking for is some Sort of a Java Parser, that gives me information on where to insert the code i generated.
    Simple example:
    public class WSExample{
         public void doSomething(){
              //do something
    //this class should be changed to something like this:
    public class WSExample{
         @WebMethod       //Annotation added
         public void doSomething(){
              //do something
            //this Method is generated automatically
            @WebMethod
            public void doSomethingDifferent{
                   //like establishing a connection to a different WS
    }All i've found up to now are parser generators like antlr or javacc. But i couldn't find anything about how to use the generated parsers or even manipulate the parsed code, yet. I hope i don't have to write a parser or grammar myself. Maybe someone can link me to some useful tutorial, forum or whatever else might be helpful.

    If you are using Sun's Java 1.4, you already have one. If you are using an ealier version, here are a couple of links:
    Xerces is probably the most feature rich:
    http://xml.apache.org/xerces2-j/index.html
    GNU JAXP is also good and very small:
    http://www.gnu.org/software/classpathx/jaxp/

  • Looking for USB-8451 SPI example

    Does anyone have a typical SPI example VI for the USB-8451 Interface. I want to program a VI for a SPI device, but I don't know how. This example should include DIO Line programming as well, if possible.

    Hello thmsfrst,
    http://zone.ni.com/devzone/conceptd.nsf/webmain/B380E99DAAD898B38625710F007003C5?OpenDocument
    This link shows an example how to the USB8451 and the SPI  Interace to evaluate a TI  ADC
    The example download does not work so i have attached an example for LV8.0 and one for 7.1.
    If you have further questions don't hasitate to ask
    Stefan
    Attachments:
    example.7z ‏92 KB

  • Looking for a practical reparenting example.

    Hello,
    I have noticed a number of CS3 + /AS3 books mention how much
    easier reparenting is now in AS3. (which may be true). What I am
    struggling with is why anyone would reparent something in the first
    place. Any practical examples of why someone would do this and why
    it would be a prefered method would be greatly appreciated.
    Thanks,

    MATTANDIE,
    > I have noticed a number of CS3 + /AS3 books mention
    > how much easier reparenting is now in AS3.
    It's not that AS3 makes it easier; it's that AS3 makes it
    possible.
    > What I am struggling with is why anyone would reparent
    > something in the first place.
    The example I tend to use -- only because I think it's the
    easiest to
    grasp, for programmers and nonprogrammers alike -- is a
    jigsaw puzzle
    application. Imagine a jigsaw puzzle done in Flash, in which
    you drag
    pieces around in order to construct an image (just like real
    life).
    Generally, this sort of thing is done with movie clips. The
    easiest
    approach is to use the native MovieClip startDrag() and
    stopDrag() methods.
    It can be a nice feature for snapped-together pieces to move
    as a single
    group. Doing so in AS2 means looping through those
    snapped-together pieces
    (keeping track of adding them, removing them, etc.) and
    moving them all when
    any *any one of them* is dragged.
    Doing so in AS3 potentially means removing them from their
    current
    parent (say, the main timeline) and adding them to a new
    parent (a container
    just for snapped-together pieces). To move the whole group,
    all you have to
    do is apply a drag/drop routine to that one object.
    > Any practical examples of why someone would do this and
    > why it would be a prefered method would be greatly
    appreciated.
    I can think of other example, off the top of my head. You
    might be
    coding up a game in which numerous enemies are chasing the
    hero. By
    reparenting those enemies into a single group, you can run a
    hittest against
    the combined object to discern when the hero is coming too
    near *any* of
    them. When that happens, you could then determine which enemy
    is the
    closest, and remove that one entity from the group,
    reparenting it to the
    same timeline as the hero. In this way, you could focus your
    hittest
    routine on as few objects as possible, whereas in AS2 you
    might have had all
    your enemies "loose" in the same timeline as the hero. Your
    hittests might
    either be lesser optimised (always looping among all enemies)
    or less
    accurate (all in one group) -- but couldn't enjoy the best of
    both worlds.
    Does that help?
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Looking for good first example for RSS

    Hello,
    I am looking for a good code example which will guide me how to use RSS at the portal. Can anyone please direct me to such example?

    Hi Roy,
        I am posting a xslt that filters the news by searching for any news that has "Troops" and "Pope" in the title of the news. I can send you the complete par if you email me your address at [email protected] You owe me lunch buddy. :). The following xslt is for http://rss.news.yahoo.com/rss/world feed.
    [code]<?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
    <xsl:template match="/rss/channel">
    <a class="urLnk"><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsl:value-of select="title"/></a>
    <xsl:for-each select="item">
    <xsl:variable name="titlestring"><xsl:value-of select="title"></xsl:value-of></xsl:variable>
    <xsl:variable name="pope">Pope</xsl:variable>
    <xsl:variable name="troops">Troops</xsl:variable>
    <xsl:if test="contains($titlestring,$pope) or contains($titlestring,$troops)">
    <table>
        <tr>
             <td class="urTxtStd">
                  <a class="urLnk"><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsl:value-of select="title"/></a>
             </td>
        </tr>
        <tr>
             <td class="urTxtStd">
                 <xsl:value-of select="description"/>
             </td>
        </tr>
    </table>
    </xsl:if>
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>[/code]
    Message was edited by: Prakash  Singh

  • Looking for a duration / scheduling API

    I was not sure how to even search for this on Google. Java duration and java scheduling turned up too many results and were not really what I was looking for. I also looked at joda-time, but they do not provide this functionality either.
    Basically, I am looking for a DSL parser that will work for durations specified as:
    Two weeks
    Quarterly
    Until the end of the year
    etc.
    And also to handle scheduling specified as:
    Next Friday
    Two months from now
    Last year
    etc.
    Anyone know of something on sourceforge or something similar that can do the above? It would not be hard to write a DSL parser for the above, but I figured if one already existed, then why not use that.
    Thanks!
    - Saish

    Ah, OK, Domain-Specific Language... you want to express durations and schedules in plain text, not actually schedule the events, right?
    Then my former post is completely off-base, sorry (to my defense, your title is misleading then)...
    I did not delete it though, in case you plan to actually implement the scheduling of what is expressed in the DSL :o)
    Edited by: jduprez on Oct 14, 2009 7:43 PM

  • Im looking for a way to add more information to the song tags.

    Im not sure where to add the information im looking for. As an example i recently got the new smashing pumpkins 5 disc set. When ripped if shows which songs are from discs 1-5 and seperates them. Whats missing is the information corresponding to the fact that each of the 5 discs actually has its own disc name and not just disc number. is there a way to include this so it shows songs listed as Artist/album/album name/track name?  For example, Smashing Pumpkins / Mellon Collie Deluxe Editon / Dawn to Dusk / Track name? I would just hate to lose this information to time in my library, and when a friend asks what disc its on i can just say its disc name.  Thank you.

    This might help you
    http://www.mp3tag.de/en/

  • Looking for Simple JSTL Example

    Hi Everyone,
    I'm looking for an example of a simple Web application that uses "JavaServer Pages Standard Tag Library" (JSTL) -- that doesn't use JDeveloper!
    I have OC4J stand-alone 10.1.3.0.0 on Microsoft Windows XP Professional Version 2002 Service Pack2 with JDK 1.5.0_07
    I created and packaged a J2EE application in a EAR file. The EAR file contents:
    META-INF/application.xml
    frstjstl.warContents of "application.xml"
    <?xml version="1.0"?>
    <application
           xmlns="http://java.sun.com/xml/ns/j2ee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"
           version="1.4">
      <module>
        <web>
          <web-uri>frstjstl.war</web-uri>
          <context-root>frstjstl</context-root>
        </web>
      </module>
    </application>Contents of "frstjstl.war"
    META-INF/MANIFEST.MF
    index.jsp
    WEB-INF/lib/standard.jar
    WEB-INF/web.xmlContents of "web.xml"
    <?xml version="1.0"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
             version="2.4">
      <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
      </welcome-file-list>
      <jsp-config>
        <taglib>
          <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
          <taglib-location>/WEB-INF/lib/standard.jar</taglib-location>
        </taglib>
      </jsp-config>
    </web-app>Contents of "index.jsp"
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <html>
      <head>
        <title>Simplest JSTL</title>
      </head>
      <body>
        &lt;h1>Simplest JSTL</h1>
        <c:forEach var="httpRequestHeaders" items="${headerValues}">
          ${httpRequestHeaders.key} = ${httpRequestHeaders.value}
        </c:forEach>
      </body>
    </html>My JSTL implementation comes from here:
    http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html
    The distribution contains a "standard.jar" file and a "jstl.jar" file (among other things). The "standard.jar" file is included in my WAR (see above) and I have copied the "jstl.jar" file to:
    %J2EE_HOME%\jsp\lib\taglibI launch OC4J from the command prompt like this:
    java -jar oc4j.jarI deploy my EAR using the following command:
    java -jar admin.jar ormi://localhost oc4jadmin xxx -deploy -file frstjstl.ear -deploymentName FirstJSTL -bindWebApp default-web-siteThen I launch my Web browser and enter the following URL:
    http://localhost/frstjstlAnd I get the following error message:
    500 Internal Server Error
    OracleJSP: oracle.jsp.parse.JspParseException: /index.jsp: Line # 8, <c:forEach var="httpRequestHeaders" items="${headerValues}">
    Error: Attribute: items is not a valid attribute nameThanks (for reading),
    Avi.

    Thanks Qiang.
    Yes, when I copy file "index.jsp" to directory "%J2EE_HOME%\default-web-app\testJstl.jsp" it works.
    I use the following URL:
    http://localhost:8888/testJstl.jspAnd this is the output I get:
    [Format modified to be more suitable to post on this forum.]
    Simplest JSTL
    CONNECTION = [Ljava.lang.String;@7348e
    USER-AGENT = [Ljava.lang.String;@10b8d03
    ACCEPT-LANGUAGE = [Ljava.lang.String;@157011e
    ACCEPT-ENCODING = [Ljava.lang.String;@10a8143
    ACCEPT = [Ljava.lang.String;@ac8360 HOST = [Ljava.lang.String;@1e534cb
    [/pre]
    But I guess, since the JSTL related JAR files are part of the default Web application, there is no reason it shouldn't work.
    That's why you said:
    Let us do a sanity test first.So now what?
    (And, by the way, thanks for your help.)
    Cheers,
    Avi.
    Message was edited by:
            Avi Abrami                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Javacc and jjtree - looking for working example

    Hi all,
    I am doing a project that requires me to have an input of some java code. It is then run through a parser to tokenize it and it is then outputted into a grammar/syntax tree. My mentor has told me that I do not need to write this part (I will be doing work on tree once it is generated), and by the looks of it the parser can be 2-5k lines of code?
    Anyway, I have been looking at the examples that come with javacc and jjtree, and have those working etc. My problem is that i need to combine the two examples and i cant see anyway of doing that as the examples are vastly different. (one is a java parser the other is a 'stupid program language' tree generator, so they are using different grammars?)
    So my question is: is it possible to get a already made program that takes in java code and spits out a tree on the other end? If not what steps do i need to take to make this program :S
    Thanks!
    Scott.

    Here is a visual example
    http://www.bray.com/rollover.jpg
    The big picture would represent area "A"
    The smaller white outline box area "B"
    And area "C" would be down below
    Notice the thin white lines going from top to bottom and side
    to side represtent the crosshairs and will move around within the
    big picture as the mouse moves. Area "B" would remain centered on
    these crosshairs and would show a fullsize image of the area
    immediately around where the crosshairs are located. On a mouse
    click would change area "C" to pull up some detail text, photos,
    etc.
    The large picture will actually be a map as opposed to a pure
    photo as shown here, it was just easiest to grab a photo real quick
    for this visual example. I borrowed this photo from
    http://www.pezcyclingnews.com/
    I hope they don't mind to much.

  • Looking for simple search example using SELECT

    Can anyone link me to an example of how to create a basic search page where the search criteria is selected in a drop-down list (<SELECT> in HTML)?
    Here's where I'm coming from so you have a better idea of what I'm trying to do. I've created a search page by creating a method in my App Module java class using setWhereClause(), then dropped my view onto my web page as a read-only table, and finally dropped the method and parameter as a command button and input text field, respectively. This works fine, but I'd like to replace the input text field with a select box so that the users will not have to type in their search criteria. I'd like to populate the drop-down with data from a table, which will then be sent as the argument for the method.
    I can create a ViewObject that contains the data I need, but I'm not sure where to go from there. I don't know how to create the drop-down list or connect the command button to the list. (Ultimately, I'd like to have the search text submitted when the drop-down changes, but I'll settle for pressing the button for now). I've fooled with using the LOV component, but without any luck.
    Step-by-step would be great, but if you can point me to an example, some documentation, etc., that would be great too.
    Thanks,
    Andy

    Excellent - Thanks for the link to the sample code page. I thought I had seen all the tutorials, etc. but for some reason never came across this page. The example you cited looks like it's just what I'm looking for.
    (Edit - For anyone who's interested, here's a step-by-step for creating a databound drop down list:
    http://www.oracle.com/technology/products/jdev/tips/mills/databound_lists.html )
    Andy

  • Looking for an example from app gallery that uses WAAD for identity

    I'm looking for an example from the app gallery (http://azure.microsoft.com/en-us/gallery/active-directory/) that uses WAAD for identity. I need one the show our business what the process would look like for an organization signing up for a SaaS offering
    via the App Gallery. I know all the Microsoft applications use WAAD but I was hoping to find a third-party example.  What I mean is an app where all tenant and user identity is done using WAAD as opposed to federated identity.

    I doubt that what you are looking for exists yet.
    Cheers,
    Markus
    Markus Vilcinskas, Knowledge Engineer, Microsoft Corporation

Maybe you are looking for