JSF Getting Started Example not Working

I've installed and configured JSF according to CoreJSF 1st Chapter example "A simple JSF Application" (available at http://horstmann.com/corejsf/). The only different thing i've done is to put the jsp pages in a separate folder within the root web application folder. The JSF seems to be properly configured, since i'm able to see the UI components in the login page. However, once I click login button, the application takes me once more to the login page (same page that put the request). I figure it is a problem with the navigation file, I've changed the faces-config.xml including "jsf/welcome.jsp" as target since "jsf" is the separate directory I created for JSP files. I does not work (not getting exceptions though). Any prompt help will be highly appreciated.
These are the files:
webapproot/jsf/index.jsp
<html>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:view>
<head>
<title>A Simple Java Server Faces Application</title>
</head>
<body>
<h:form>
<h3>Please enter your name and password.</h3>
<table>
<tr>
<td>Name:</td>
<td>
<h:inputText value="#{user.name}"/>
</td>
</tr>
<tr>
<td>Password:</td>
<td>
<h:inputSecret value="#{user.password}"/>
</td>
</tr>
</table>
<p>
<h:commandButton value="Login" action="login"/>
</p>
</h:form>
</body>
</f:view>
</html>
webapproot/jsf/welcome.jsp
<html>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:view>
<head>
<title>A Simple Java Server Faces Application</title>
</head>
<body>
<h:form>
<h3>
Welcome to Java Server Faces,
<h:outputText value="#{user.name}"/>!
</h3>
</h:form>
</body>
</f:view>
</html>
webapproot/WEB-INF/faces-config.xml
<faces-config>
     <navigation-rule>
     <from-view-id>jsf/index.jsp</from-view-id>
     <navigation-case>
     <from-outcome>login</from-outcome>
     <to-view-id>jsf/welcome.jsp</to-view-id>
     </navigation-case>
     </navigation-rule>
     <managed-bean>
     <managed-bean-name>user</managed-bean-name>
     <managed-bean-class>co.edu.unal.dnic.licapa.capa.UserBean</managed-bean-class>
     <managed-bean-scope>session</managed-bean-scope>
     </managed-bean>
</faces-config>
webapproot/WEB-INF/web.xml
<web-app>
     <servlet>
     <servlet-name>Faces Servlet</servlet-name>
     <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
     <load-on-startup>1</load-on-startup>
     </servlet>
     <servlet-mapping>
     <servlet-name>Faces Servlet</servlet-name>
     <url-pattern>*.faces</url-pattern>
     </servlet-mapping>
     <welcome-file-list>
     <welcome-file>/index.html</welcome-file>
     </welcome-file-list>
     <display-name>DNIC - Capacitaci�n 1.0.1</display-name>
     <description>
     DNIC - Capacitaci�n 1.0.1
</description>
</web-app>
Since I'm not getting any java exceptions I figure the UserBean class is working properly.
Thank you......
Julian

try to put / at the beginning of the from-view-id and to-view-id

Similar Messages

  • Tomcat  5.5.26 Sessions getting replicated but not working via browser

    Hi,
    I have configured Tomcat 5.5.26 to be clustered across 2 machines with one instance on each. These two machines are behing a BIG-IP loadbalancer which is setup for sticky sessions.
    The catalina.out states that the member can see each other:
    Jul 3, 2008 6:33:50 PM org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded
    INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://10.17.21.125:9001,catalina,10.17.21.125,9001, alive=38753]
    Jul 3, 2008 6:33:51 PM org.apache.catalina.cluster.mcast.McastService registerMBean
    The localhost.2008-07-03.log states that the sessions are being replicated for the jsp-examples app - book example. I have an app of our own that does not even state that the session is replicated but I though I would start here with getting the example one working.
    Jul 3, 2008 6:34:31 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: sessionDestroyed('E7E9E54600927A4826AFEDB59D7EF6E7.tomcatDargle')
    However, when I take down the instance which created the session and attempt to refresh the page or navigate to another page I get page cannot be displayed. This shows that the sessions are not completely replicated. What am I missing?
    I have added my server.xml file contents:
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="false"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="239.192.17.20"
    mcastPort="9002"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="9001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"
    waitForAck="true"/>
    <ClusterListener className="org.apache.catalina.cluster.session.ClusterSessionListener" />
    <ClusterListener className="org.apache.catalina.cluster.session.JvmRouteSessionIDBinderListener" />
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.css;.*\.png;.*\.jpeg;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"
    primaryIndicator="true" />
    <Valve className="org.apache.catalina.cluster.session.JvmRouteBinderValve"
    enabled="true" />
    </Cluster>
    Any help at all would be greatly appreciated.
    Martin

    Hi Ganeshmb,
    The app I am using is the jsp-examples/book example.
    The load balancer is sending requests to both servers.
    When the dargle instance is sent a request I can see in the logs of both servers:
    INFO: SessionListener: sessionCreated('730F4AD5A21CA06639BF956B9F5418CB.tomcatDargle')
    When the tolka instance is sent a request I can see in the logs of both servers:
    INFO: SessionListener: sessionCreated('E7E9E54600927A4826AFEDB59D7EF6E7.tomcatTolka')
    When the server starts up the relevant info is in the logs:
    Jul 3, 2008 6:33:56 PM org.apache.catalina.cluster.session.DeltaManager start
    INFO: Starting clustering manager at /jsp-examples
    Jul 3, 2008 6:33:56 PM org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions
    WARNING: Manager [jsp-examples], requesting session state from org.apache.catalina.cluster.mcast.McastMember[tcp://10.17.21.125:9001,catalina
    ,10.17.21.125,9001, alive=44363]. This operation will timeout if no session state has been received within 60 seconds.
    Jul 3, 2008 6:33:56 PM org.apache.catalina.cluster.session.DeltaManager waitForSendAllSessions
    INFO: Manager [jsp-examples]; session state send at 7/3/08 6:33 PM received in 123 ms.
    The jsp-examples book example is supposed to have serilizable object and was recommended on some sites are the way to test out the replication. Is there any other way to test this?
    Also, the main purpose of the cluster is to replicate an application from an external vendor which they say is compatible with session replication. However, this app does not even output the sessionCreated message so I am unsure if it truly is compatible.
    If I could prove that the cluster is setup correctly then I would have more to go on when contacting the vendor. At the moment I am unsure if the cluster is setup correctly for session replication.
    Thanks,
    Martin

  • I was using my iphone 4s and then the app started to not work and then my phone blocked and then when i go on home most of my apps disappeared including my settings so i cant restore with out disabling find my iphone on settings

    I was using my iphone 4s and then the app started to not work and then my phone blocked and then when i go on home most of my apps disappeared including my settings so i cant restore with out disabling find my iphone on settings please help me asap thankyou so much

    Log in to icloud.com on a web browser with your Apple ID and disable FMiP there.

  • I have just installed iTunes for the first time. When I run the application I get a "iTunes not working" message. Operating system Vista (32 bit). I have tried reinstalling with all firewalls off, but still no success. Have other people had this problem?

    I have just installed iTunes for the first time. When I run the application I get a "iTunes not working" message. Operating system Vista (32 bit). I have tried reinstalling with all firewalls off, but still no success. Have other people had this problem?

    Drrhythm2 wrote:
    What's the best solution for this? I
    Copy the entire /Music/iTunes/ folder from her old compouter to /Music/ in her account on this new computer.

  • I keep getting "Applephotostream.exe" not working on my pc.   How can I fix or reset?

    I keep getting "Applephotostream.exe" not working on my pc.   How can I fix or reset?

    My Vista Home Premium  System Type is a 64 bit Operating System.
    I was hoping that someone in the Apple Community would have a solution.
    Still waiting.
    Thanks for your response.  Keep checking back.

  • Get mail button not working can not receive any mail

    Hello
    my mail stops working half way. I can sent messages but suddenly my get mail is not working anymore. not through the button and not through the mailbox menu.
    any help
    regards

    Who is your ISP, how is your mail configured - POP or IMAP and do you get any error messages and if so what are they?

  • Java Applet HelloWorld "Getting Started With Applets" example not working

    Hi there,
    It's been ages since I ran my Linux CentOS boot of Linux but I am going through the official oracle java applet tutorials, just every time I try and run the "Hello World" applet in Firefox 17.0.3 and I am running the Iced Tea thing for java applets.
    Every time I try and run the example from the following code:
    import javax.swing.JApplet;
    import javax.swing.SwingUtilities;
    import javax.swing.JLabel;
    public class HelloWorld extends JApplet
      // called when the user enters the html page:
      public void init() // keep apps within the init() function very small as per the http://docs.oracle.com/javase/tutorial/deployment/applet/appletMethods.html
        try{
          SwingUtilities.invokeAndWait(new Runnable()
            public void run()
           JLabel myLabel = new JLabel("Hello World");
           add(myLabel);
            } // end running the application
          }); //end of swing invokeand wait
        } catch (Exception error){ // end user running the app in page
           // System.err.println("GUI didn't work on initial run");
    }It keeps bringing up the error "Start: Applet not initialized" I did google that basic error and from what I found I should consult the JavaConsole, I know the console was removed from the Firefox menu quite a while ago. So went to find a way of loading it using the IcedTea one but it keeps bringing up a load of errors in even trying to run that.
    Is there anyway of sorting this out? I mean I have even tried installing the one on the oracle website, the plain JDK but nothing seems to work.
    Is there anyone that can help me get applets working? I was even going to go as far as to reinstall my distro but I want to avoid that as much as possible.
    Thanks and I look forward to any replies,
    Jeremy.

    in the Getting Started with Java DB tutorial they
    tell u how to set ur "DERBY_HOME" (what is that?).
    once i press enter after typing this command:
    set DERBY_HOME=D:\Java\Java
    Phonebook\javadb in my command prompt do i get
    any message or does it just go to the next line?type env or set or whatever in the command line to see what your environment variables are set to
    they also tell u how to set ur "JAVA_HOME" (what is
    that?). The Java installation you want to use
    in their example they give u this: set
    JAVA_HOME=C:\Program Files\Java\j2se1.4.2_05but in my java folder i have jdk1.6.0 and jre1.6.0
    but no j2se1.4.2_05, so which 1 must i choose?It's up to you. I'd go with 1.6
    also once ive done this: set
    DERBY_HOME=D:\Java\Java Phonebook\javadb this
    set JAVA_HOME=D:\Program
    Files\Java\jre1.6.0 and this set
    PATH=%DERBY_HOME%\bin;%PATH% and then type
    sysinfo to verify that the variables were set
    correctly i get these errors: 'D:\Java\Java' is
    not recognized as an internal or external command,
    operable program or batch file and '""'
    is not recognized as an internal or external command,
    operable program or batch file any help would
    really be appreciated because this is really killing
    me!you need to set your path variable - so something like:
    set PATH=C:\Program Files\Java\j2se1.4.2_05\bin

  • I am having horrible problems getting some examples to work

    I am trying to get a couple examples to work from out of Java Examples in a Nutshell, but they are programmed oddly and will not work. I am using a windows 2000 platform with JDK 1.3.1 installed and working properly.
    I have so far typed in these 2 examples:
    import javax.swing.*;
    import java.awt.*;
    public class Containers extends JPanel
    { public Containers()
    { this.setBackground(Color.white);
    this.setFont(new Font("Dialog", Font.BOLD,24));
    JPanel p1 = new JPanel();
    p1.setBackground(new Color(200, 200, 200)); // Panel1 is darker
    this.add(p1); //p1 is contained by this component
    p1.add(new JButton("#1")); //Button 1 is contained in p1
    JPanel p2 = new JPanel();
    p2.setBackground(new Color(150,150,150)); // p2 is darker than p1
    p1.add(p2); // p2 is contained in p1
    p2.add(new JButton("#2")); // button 2 is contained in p2
    JPanel p3 = new JPanel();
    p3.setBackground(new Color(100,100,100));
    p2.add(p3); // p3 is contained in p2
    p3.add(new JButton("#3")); // button 3 is contained in p3
    JPanel p4 = new JPanel();
    p4.setBackground(new Color(150,150,150));
    p1.add(p4);
    p4.add(new JButton("#4")); //button 4 is contained in p4
    p4.add(new JButton("#5")); //Button 5 is also contained in p4
    this.add(new JButton("#6")); // button 6 is contained in this component
    And this program
    //ShowComponent.java
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.beans.*;
    import java.lang.reflect.*;
    import java.util.Vector;
    public class ShowComponent extends JPanel
    public static void main(String[] args)
    {  // process the command line to get the compenents to display
    Vector components = getComponentsFromArgs(args);
    // Create a frame (Window) to display the components to display
    JFrame frame = new JFrame("ShowComponent");
    // Handle window close requests by exiting the VM
    frame.addWindowListener(new WindowAdapter() { //anonymous inner class
    public void WindowClosing(WindowEvent e) { System.exit(0); }
    // set up a menu system that allows the user to select the Look And Feel
    // of the component from a list of installed PLAF's
    JMenuBar menubar = new JMenuBar(); // create a menu bar
    frame.setJMenuBar(menubar); // tell the frame to display the menubar
    JMenu plafmenu = createPlafMenu(frame); // create a menu
    menubar.add(plafmenu); // Add the menu to the menubar
    // Create a JTabbedPane to display each of the components
    JTabbedPane pane = new JTabbedPane();
    // Now add each component as a tab of the tabbed pane
    // use the unqualified component classname as the tab text
    for(int i = 0; i < components.size(); i++)
    { Component c = (Component)components.elementAt(i);
    String classname = c.getClass().getName();
    String tabname = classname.substring(classname.lastIndexOf('.')+1);
    pane.addTab(tabname,c);
    // Add the tabbedpane to the frame. Note: the call to getContentPane()
    // This is required for JFrame, but not for most swing components
    frame.getContentPane().add(pane);
    // Set the frame size and pop it up
    frame.pack(); //Make the frame as big as its children need
    frame.setVisible(true); // Make the frame visible on the screen
    // The main() method exits now but the Java VM keeps running because
    // all AWT programs automatically start an event-handling thread.
    //** this static method queries the system to find out what **
    //** Pluggable LookAndFeel (PLAF) implementations are available **
    //** then it creates a JMenu component that lists each of the **
    //** implementations by name and allows the user to select one **
    //** of them using JRadioButtonMenuItem components. When the **
    //** user selects one, the selected menu item traverses the **
    //** component hierarchy and tells all components to use the new**
    //** PLAF. **
    public static JMenu createPlafMenu(final JFrame frame)
    { //Creates the menu
    JMenu plafmenu = new JMenu("Look and Feel");
    // Create an object used for radio button mutual exclusion
    ButtonGroup radiogroup = new ButtonGroup();
    //Look up the available look and feels
    UIManager.LookAndFeelInfo[] plafs = UIManager.getInstalledLookAndFeels();
    //Loop through the plafs, add a menu item for each one
    for(int i = 0; i < plafs.length; i++)
    { String plafName = plafs[i].getName();
    final String plafClassName = plafs.getClassName();
    // Create the menu items
    JMenuItem item = plafmenu.add(new JRadioButtonMenuItem(plafName));
    // tell the menu item what to do when it is selected
    item.addActionListener(new ActionListener()
    { public void actionPerformed(ActionEvent e)
    { try
    { // Set the new Look And Feel
    UIManager.setLookAndFeel(plafClassName);
    // tell each component to change its look and feel
    SwingUtilities.updateComponentTreeUI(frame);
    //tell the frame to resize itsself to its childrens
    // new desired services
    frame.pack();
    catch(Exception ex) {System.err.println(ex);
    // Only allow one menu item to be selected at once
    radiogroup.add(item);
    return plafmenu;
    //** this method loops through the command line arguements looking for **
    //** class names of components to create and property settings for those**
    //** components in the form name=value. this method demonstrates **
    //** reflection and JavaBeans introspection as they can be aplied to **
    //** dynamically created GUI's **
    public static Vector getComponentsFromArgs(String[] args)
    { Vector components = new Vector();  // List of Components to return
    Component component = null; // the current component
    PropertyDescriptor[] properties = null; // Properties of the component
    Object[] methodArgs = new Object[1]; // we'll use this below
    nextarg: // this is a labeled loop
    for (int i = 0; i < args.length; i++)
    { // loop through all the arguments
    // if the argument does not contain an equal sign, then
    // it is a component class name. Otherwise it is a
    // property setting
    int equalsPos = args[i].indexOf('=');
    if (equalsPos == -1)
    { // Its the name of a component
    try { //Load the named component class
    Class componentClass = Class.forName(args[i]);
    //Instantiate it to create the component instance
    component = ((Component)componentClass.newInstance());
    //Use Java beans to introspect the component
    //And get the list of properties it supports
    BeanInfo componentBeanInfo = Introspector.getBeanInfo(componentClass);
    properties = componentBeanInfo.getPropertyDescriptors();
    catch (Exception e)
    { // If an step failed, print an error and exit
    System.out.println("Can't load, instantiate, " +
    "or introspect: " +args[i]);
    System.exit(1);
    //If we succeeded, store the component in the vector
    components.addElement(component);
    else { // the arg is a name=value property specification
    String name = args[i].substring(0, equalsPos); //property name
    String value = args[i].substring(equalsPos+1); //property value
    // If we do not hava component to set this proerty on, skip!
    if (component == null) continue nextarg;
    // Now look through the properties descriptors for this
    // Component to find one with the same name
    for(int p = 0; p < properties.length; p++)
    { if (properties[p].getName().equals(name))
    { // okay, we found a property of the right name
    // now to get its type, and the setter method
    Class type = properties[p].getPropertyType();
    Method setter = properties[p].getWriteMethod();
    //check if property is read- only !
    if (setter == null)
    { System.err.println("Property " + name+ "is read-only");
    continue nextarg; // continue with the next arguement
    // try to convert the property value to the right type
    // we support a small set of common property types here
    // Store the converted value in an object[] so it can
    //be easily passed when we invoke the property setter
    try { if (type == String.class)
    { // no conversion needed
    methodArgs[0] = value;
    else if (type == int.class)
    { // String to int
    methodArgs[0] = Integer.valueOf(value);
    else if (type == boolean.class)
    { //to boolean
    methodArgs[0] = Boolean.valueOf(value);
    else if (type == Color.class)
    { // to Color
    methodArgs[0] = Color.decode(value);
    else if (type == Font.class)
    { // String to Font
    methodArgs[0] = Font.decode(value);
    else { // if we cannotconvert, ignore the proprty
    System.err.println("Property " + name+ " is of unsupported type "
    + type.getName());
    continue nextarg;
    catch (Exception e)
    { System.err.println("Can't set Property: " + name);
    // NOw go to next command-line arg
    continue nextarg;
    // If we get here we didn't find the named property
    System.err.println("Warning: No such property: " + name);
    return components;
    //** A component subclass that demonstrates nested containers and components.
    //** It creates the hierarchy shown below, and uses different colors to
    //** distinguish the different nesting levels of the containers
    //** containers---panel1----button1
    //** | |---panel2----button2
    //** | | |----panel3----button3
    //** | |------panel40---button4
    //** | |---button5
    //** |---button6
    They both compile fine but when I go to run them together I get an error. the command given in the book to run them both together is:
    java ShowComponent\Containers
    But it does not work. I also tried to append Containers to the bottom of ShowComponent and I got an error that said public class Containers extends JPanel needs to have its own file called Containers.java . . I do not understand that as the file was named correctly for ShowComponent.java. I need to knw either what the true command is for running the programs together or what to name container.java that will make it run inside of ShowContainer.java
    this is very frustrating as I need to know these answers for work and no one here in the IT department knows how to program in Java but me

    Hi,
    I tried the example and got some weird error messages as follows:
    ********* error messages*********
    ShowComponent.java:90: cannot resolve symbol
    symbol : method getName ()
    location: class javax.swing.UIManager.LookAndFeelInfo[]
    { String plafName = plafs.getName();
    ^
    ShowComponent.java:91: cannot resolve symbol
    symbol : method getClassName ()
    location: class javax.swing.UIManager.LookAndFeelInfo[]
    final String plafClassName = plafs.getClassName();
    ^
    ShowComponent.java:139: cannot resolve symbol
    symbol : method indexOf (char)
    location: class java.lang.String[]
    int equalsPos = args.indexOf('=');
    ^
    ShowComponent.java:143: cannot resolve symbol
    symbol : method forName (java.lang.String[])
    location: class java.lang.Class
    Class componentClass = Class.forName(args);
    ^
    ShowComponent.java:161: cannot resolve symbol
    symbol : method substring (int,int)
    location: class java.lang.String[]
    String name = args.substring(0, equalsPos); //property name
    ^
    ShowComponent.java:162: cannot resolve symbol
    symbol : method substring (int)
    location: class java.lang.String[]
    String value = args.substring(equalsPos+1); //property value
    ^
    6 errors.
    *****end of error messages*****
    I use jdk1.3 and Win2000. Can anybody tell me how to delete above error messages?
    Thanks a lot.
    Li

  • Process chain - After error ABAP - trigger a metachain start does not work.

    Hi,
    I have a process chain, where after an ABAP runs into red (ERROR MESSAGE triggered), another process type, like start a new meta-chain, or start an infopackage starts.... But is does not work. After i go to logs, it asks me whether i want to trigger the following jobs, if i choose yes, it works. But i need to start it automatically, when the ABAP Routine has an error message (RED) in the chain.
    Any idea, because I tried to solve it all the day, but i did not manage to get itwork...
    Many Thanks,
    L.

    Hi,
    the problem is not the ABAP Program.
    I have the following situation:
    A Metachain contains as second step a call of local chain. After the local chain, according to the status of it (green o red), we have other different steps. So we have two different link (red and green) starting from the local process chain step.
    Inside the local process chain there is the ABAP program that check several parameters and if something is not as expected fails with status red. if this situation happens, the local process chain becomes red and in SM37 inside the job i see the error that i forced, but the status is not triggered to the first metachain , so the corresponding following steps are not triggered.
    This issue happens only if fails the ABAP program because, for example, a Infopackages loading fails every thing works and the corresponding steps in the metachain are executed.
    In the ABAP program in order to force the status red we have the following code:
    MESSAGE e162(00) WITH 'Status' 'Red'.
    Any idea?
    Thanks,
    Veronica

  • JSF tr:table pagination Not working

    I developed small application in jsf , i get the 30 records from db for when i click the "next30" button and append the that 30 records to pageflowscope variable and displaying in screen .list per page is 50...
    Acutally i got records from DB and added to list but when i click the Next ## link or choose from dropdown is not working
    Please help me to resolve this problem ,
    i tried many ways

    "is not working" contains exactly zero information. If you want help, offer something other than "it doesn't work". Some code is already a good start.
    Also, I would ask the question in a forum or mailing list that covers Trinidad. You'll have far more chance of getting actual suggestions.

  • Data flows are getting started but not completing successfully while extracting/loading of the data

    Hello People,
    We are facing a abnormal behavior with the dataflows in the data services job.
    Scenario:
    We are extracting the data from CRM end in parallel. Please refer the build:
    a. We have 5 main workflows flows i.e :
       => Main WF1 has 6 more sub Wf's in it, in which each sub Wf has 1/2 DF's associated in parallel.
       => Main WF2 has 21 DF's and 1 WFa->with a DF & a WFb. WFb has 1 DF in parallel.
       => Main WF3 has 1 DF in parallel.
       => Main WF4 has 3 DF in parallel.
       => Main WF5 has 1 WF & a DF in sequence.
    b. Regularly the job works perfectly fine but, sometimes it gets stuck at the DF’s without any error logs.
    c. Job doesn’t stuck at a specific dataflow or on a specific day, many a times it strucks at different DF’s.
    d. Observations in the Monitor Log:
    Dataflow---------------------- State----------------RowCnt------LT-------AT------ 
    +DF1/ZABAPDF
    PROCEED
    234000
    8.113      394.164
    /DF1/Query
    PROCEED
    234000
    8.159      394.242
    -DF1/Query_2
    PROCEED
    234000
    8.159      394.242
    Where LT: Lapse Time and AT: Absolute time
    If you check the monitor log, the State of the Dataflow DF1 remains PROCEED till the end, ideally it should complete.
    In successful jobs, the status for DF1  is STOP . This DF takes approx. 2 min to execute.
    The row count for DF1 extraction is 234204 but, it got stuck at  234000.
    Then we terminate the job after sometime,but for surprise it gets executed successfully on next day.
    e. As per analysis over all the failed jobs, same things were observed over the different data flows that got stuck during the execution.Logic related to the data flows is perfectly fine.
    Observations in the Trace log:
    DATAFLOW: Process to execute data flow <DF1> is started.
    DATAFLOW: Data flow <DF1> is started.
    ABAP: ABAP flow <ZABAPDF> is started.
    ABAP: ABAP flow <ZABAPDF> is completed.
    Cache statistics determined that data flow <DF1>
    uses <0>caches with a total size of <0> bytes. This is less than(or equal to) the virtual memory <1609564160> bytes available for caches.
    Statistics is switching the cache type to IN MEMORY.
    DATAFLOW: Data flow <DF1> using IN MEMORY Cache.
    DATAFLOW: <DF1> is completed successfully.
    The highlighted text in the trace log is not appearing in the unsuccessful job but, it appears for the successful one.
    Note: The cache type is pageable cache, DS ver is 3.2.
    Please suggest.
    Regards,
    Santosh

    Hi Santosh,
    just a wild guess.
    Would you be able to replicate all the DF\WF , delete original DF\WF, rename replicated objects to original to DF\WF names(for your convenience)   and excute it.
    Some time reference does not work.
    Hope this should work.
    Regards,
    Shiva Sahu

  • SISO OFDM TDD Example not working

    I was trying to use SISO OFDM example.
    But to surprise Its not working in both the two cases:-
    1. Loopback over air (.GVI gives no error but VLC is not receiving ant stream)
    2 No loopback : An error is returned on turning on the Base station:-
    The mobile station parameters are as in below figure:
    Can somen one explain the source of inusoid wave? I am surprised at it!
     

    Have you ever get the SISO OFDM TDD Example work with two device?
    Currently, I am doing the SISO OFDM TDD Example like your work with two USRP-RIO 2953R. I can do streaming within one USRP-RIO with loop back selection in the example, but when it comes to two USRP-RIO streaming, one is base station and the other is UE,  but the demo seems to be not working.

  • Core/examples/sessions/Broker example not working

    Guys
    I am trying the example with Oracle database instead of the HSQL database. I replaced the driver & url strings and put the classes12.jar in the classpath
    But I continue to get the following error. Can someone please tell me what I am missing.
    D:\toplink\examples\core\examples\sessions\broker>D:\JDev9i\jdk\bin\java.exe -classpath ""D:\JDev9i\jdk\lib\tools.jar";"d:\to
    plink\ant\lib\jaxp.jar";"d:\toplink\ant\lib\jakarta-ant-1.4.1-optional.jar";"d:\toplink\ant\lib\crimson.jar";"d:\toplink\ant\
    lib\ant.jar";.;d:\toplink\core\lib\toplink.jar;D:\JDev9i\jdbc\lib\classes12.jar;d:\toplink\core\lib\toplink.
    jar;D:\JDev9i\jdbc\lib\classes12.jar" -Dant.home=d:\toplink\ant -Dtl.home=d:\toplink -Dwls61.home= -Dwls70.home= -Dwas.home=
    -Doracle.home=D:\JDev9i\OC4J903 -Dexamples.home=d:\toplink\examples -Dtoplink.dir=d:\toplink\core\lib -Dtoplink.library=topli
    nk.jar,xerces.jar -Dtoplink.weblogic.path=d:\toplink\wls_cmp\lib\tl_wlsx.jar -Dtoplink.was.path=d:\toplink\was_cmp\lib\tl_wa
    sx.jar -Dhsql.path=d:\toplink\HSQL\lib\hsqldb.jar -DDEBUG=on org.apache.tools.ant.Main runExample -DtestClass=examples.sessions.broker.Demo
    Buildfile: build.xml
    init:
    verify.build.done:
    runExample:
    [java] 2003.05.19 03:54:35.625--DatabaseSession(11)--Thread[main,5,main]--Connection(12)--TopLink, version:TopLink - 9.0
    .3 (Build 423)
    [java] 2003.05.19 03:54:35.685--DatabaseSession(11)--Thread[main,5,main]--Connection(12)--connecting(DatabaseLogin(
    [java] platform => OraclePlatform
    [java] user name => "asdfbf"
    [java] datasource URL => "jdbc:oracle:thin:@localhost:fims"
    [java] ))
    [java] 2003.05.19 03:54:35.705--DatabaseSession(11)--Thread[main,5,main]--EXCEPTION [TOPLINK-4003] (TopLink - 9.0.3 (Bui
    ld 423)): oracle.toplink.exceptions.DatabaseException
    [java] EXCEPTION DESCRIPTION: Configuration error. Class [oracle.jdbc.driver.OracleDriver] not found.LOCAL EXCEPTION ST
    ACK:

    One more thing to add:
    I am not able to get any of the examples to work with Oracle database. Again the only thing I suppose I need to change are the folloowing lines in the EmployeeProject.java
         login.usePlatform(new oracle.toplink.internal.databaseaccess.OraclePlatform());
         login.setDriverClassName("oracle.jdbc.driver.OracleDriver");
         login.setConnectionString("jdbc:oracle:thin:@localhost:1522:fims");
         login.setUserName("kumarv");
         login.setEncryptedPassword("7AD96CD575D1A7FCAA504BA7E4FC");
    Also one line change in the sessions.xml file to use the OraclePlatform instead of the HSQLPlatform.
    Has any one got these to work with Oracle, Any help is really appreciated.
    classes12.jar is in the classpath so I don;t understand why I get the execption that:
    [java] EXCEPTION DESCRIPTION: Configuration error. Class [oracle.jdbc.driver.OracleDriver] not found.
    [java] oracle.toplink.exceptions.DatabaseException oracle.toplink.exceptions.DatabaseException.configurationErrorCla
    ssNotFound(java.lang.String)
    Thanks

  • VideoPhoneLabs example not working

    Dear dev-team, could you also give more information about why
    the example-application (VideoPhoneLabs.swf) does not work, when I
    upload all the assets (not reg.cgi, while I want to use the
    Stratus-service) to a server (
    http://work.joeyvandijk.nl/stratus/VideoPhoneLabs.html).
    I am connected to the Stratus-webservice, but I get an
    idManagerError but does not know how I can solve this.
    I think it has to do with my id, but when I login to
    adobe.com and try to retrieve an ID I get the same which I am using
    at above example. So, I think my ID is not blocked or something.
    And I know that the Stratus-webservice is not down while your
    online version of the VideoPhoneLabs is working.
    I see in my error:
    Error #2048: Schending van beveiligingssandbox:
    http://work.joeyvandijk.nl/stratus/VideoPhoneLabs.swf
    kan geen gegevens laden van
    rtmfp://stratus.adobe.com/bc25bb58c9cf187e4178b40e-c16df88ec798/?identity=80b46c214f4c830 f28186fa40febc0a4a8c323393958ea99a0075b228d870e50&username=joeyvandijk
    which says that it cannot load data from the Stratus-service
    due to a SecurityError.
    So, I cannot run it locally OR on a webserver. Do you have
    some tips what could be the cause?
    Thnx in advance!
    :D

    Hi,
    I am trying the VideoPhoneLabs app, but still do not work.
    Please give some advices.
    I have done the procedure according to ReadMe.txt, then
    reg.cgi copied into my local web server. After that i got some
    error message as following when i accessed to it from another pc.
    [In the debugger window of FP10]
    TypeError: Error #1009: null <ono: sorry for japanese, i
    deleted them>
    at VideoPhoneLabs/onDisconnect()[C:\Users\ono\Documents\Flex
    Builder 3\VideoPhoneLabs\src\VideoPhoneLabs.mxml:548]
    at
    VideoPhoneLabs/idManagerEvent()[C:\Users\ono\Documents\Flex Builder
    3\VideoPhoneLabs\src\VideoPhoneLabs.mxml:484]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at HttpIdManager/httpFault()[C:\Users\ono\Documents\Flex
    Builder 3\VideoPhoneLabs\src\HttpIdManager.as:120]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[C:\autobuild\3.2.0\framewor ks\projects\rpc\src\mx\rpc\AbstractInvoker.as:170
    at mx.rpc.http::HTTPService/
    http://www.adobe.com/2006/flex/mx/internal::processResult()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\http\HTTPService.as:852
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::resultHandler()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\AbstractInvoker.as:188
    at
    mx.rpc::Responder/result()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responde r.as:43]
    at
    mx.rpc::AsyncRequest/acknowledge()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\ AsyncRequest.as:74]
    at
    DirectHTTPMessageResponder/completeHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\s rc\mx\messaging\channels\DirectHTTPChannel.as:403]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    [In the apps STATUS window]
    Connecting to rtmfp://stratus.adobe.com
    NetConnection event: NetConnection.Connect.Success
    Connected, my ID:
    c0e8c83410b0dbf0b66644b8e2418abb67a0d3a31ba42d55af961c140db0bf70
    ID event: idManagerError
    Error description: HTTP error:
    (mx.messaging.messages::AcknowledgeMessage)#0
    body = "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2
    Final//EN">
    <html>
    <head>
    <title>Index of /VideoPhoneLabs</title>
    </head>
    <body>
    <h1>Index of /VideoPhoneLabs</h1>
    <table><tr><th><img
    src="/icons/blank.gif" alt="[ICO]"></th><th><a
    href="?C=N;O=D">Name</a></th><th><a
    href="?C=M;O=A">Last
    modified</a></th><th><a
    href="?C=S;O=A">Size</a></th><th><a
    href="?C=D;O=A">Description</a></th></tr><tr><th
    colspan="5"><hr></th></tr>
    <tr><td valign="top"><img
    src="/icons/back.gif" alt="[DIR]"></td><td><a
    href="/">Parent
    Directory</a></td><td> </td><td
    align="right"> - </td></tr>
    <tr><td valign="top"><img
    src="/icons/unknown.gif" alt="[ ]"></td><td><a
    href="AC_OETags.js">AC_OETags.js</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">8.4K</td></tr>
    <tr><td valign="top"><img
    src="/icons/text.gif" alt="[TXT]"></td><td><a
    href="VideoPhoneLabs.html">VideoPhoneLabs.html</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">4.2K</td></tr>
    <tr><td valign="top"><img
    src="/icons/unknown.gif" alt="[ ]"></td><td><a
    href="VideoPhoneLabs.swf">VideoPhoneLabs.swf</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">735K</td></tr>
    <tr><td valign="top"><img
    src="/icons/unknown.gif" alt="[ ]"></td><td><a
    href="playerProductInstall.swf">playerProductInstall.swf</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">657 </td></tr>
    <tr><th
    colspan="5"><hr></th></tr>
    </table>
    <address>Apache/2.2.9 (Fedora) Server at 192.168.1.101
    Port 80</address>
    </body></html>
    clientId = "DirectHTTPChannel0"
    correlationId = "D8807C92-CB35-13AA-386C-3B10784B610C"
    destination = ""
    headers = (Object)#1
    DSStatusCode = 200
    messageId = "C3AF012E-AC2B-464D-C982-3B1078DAB158"
    timestamp = 0
    timeToLive = 0
    Disconnecting.
    Hanging up call
    NetConnection event: NetConnection.Connect.Closed
    ID event: idManagerError
    Error description: HTTP error:
    (mx.messaging.messages::AcknowledgeMessage)#0
    body = "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2
    Final//EN">
    <html>
    <head>
    <title>Index of /VideoPhoneLabs</title>
    </head>
    <body>
    <h1>Index of /VideoPhoneLabs</h1>
    <table><tr><th><img
    src="/icons/blank.gif" alt="[ICO]"></th><th><a
    href="?C=N;O=D">Name</a></th><th><a
    href="?C=M;O=A">Last
    modified</a></th><th><a
    href="?C=S;O=A">Size</a></th><th><a
    href="?C=D;O=A">Description</a></th></tr><tr><th
    colspan="5"><hr></th></tr>
    <tr><td valign="top"><img
    src="/icons/back.gif" alt="[DIR]"></td><td><a
    href="/">Parent
    Directory</a></td><td> </td><td
    align="right"> - </td></tr>
    <tr><td valign="top"><img
    src="/icons/unknown.gif" alt="[ ]"></td><td><a
    href="AC_OETags.js">AC_OETags.js</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">8.4K</td></tr>
    <tr><td valign="top"><img
    src="/icons/text.gif" alt="[TXT]"></td><td><a
    href="VideoPhoneLabs.html">VideoPhoneLabs.html</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">4.2K</td></tr>
    <tr><td valign="top"><img
    src="/icons/unknown.gif" alt="[ ]"></td><td><a
    href="VideoPhoneLabs.swf">VideoPhoneLabs.swf</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">735K</td></tr>
    <tr><td valign="top"><img
    src="/icons/unknown.gif" alt="[ ]"></td><td><a
    href="playerProductInstall.swf">playerProductInstall.swf</a></td><td
    align="right">24-Mar-2009 17:35 </td><td
    align="right">657 </td></tr>
    <tr><th
    colspan="5"><hr></th></tr>
    </table>
    <address>Apache/2.2.9 (Fedora) Server at 192.168.1.101
    Port 80</address>
    </body></html>
    clientId = "DirectHTTPChannel0"
    correlationId = "7863A499-3906-0CC3-1AED-3B1078EAAFFE"
    destination = ""
    headers = (Object)#1
    DSStatusCode = 200
    messageId = "716811AE-4A81-3468-4DAA-3B107945F936"
    timestamp = 0
    timeToLive = 0
    Disconnecting.
    Hanging up call
    Thank you for any advices.
    Ono Keiji

  • CookieCounter example not working.

    I have installed CookieCounter servlet example on my weblogic server.
              The properties needed for cookies management are also set in
              weblogic.properties (by default its there).
              The servlet works fine but, the servlet is unable to send/set cookiesCounter
              on my browser (I 've set to cookies prompt/cookies enable on my browser).
              Code, properties file and browser settings seems to be ok, still its not
              working. Any clues...
              PLATFORM: Server - Solaris
              Client - Win98 / internet explorer
              Thanks,
              Rajesh
              

    that was good....and fast....
    I modified the code to be:
    class Reader extends Thread
       Calculator c;
       public Reader(Calculator calc)
          c = calc;
       public void run()
          synchronized(c)
             try
                System.out.println("Waiting for calculation...");
                c.wait();
                System.out.println("I am just after the wait()");
             catch(InterruptedException e) {}
             System.out.println("Total is: " + c.total);
       public static void main(String[] args)
          Calculator calculator = new Calculator();
          calculator.start();
          new Reader(calculator).start();
          new Reader(calculator).start();
          new Reader(calculator).start();
    class Calculator extends Thread
       int total;
       public void run()
          synchronized(this)
             try
                for(int i=0; i<100; i++)
                   total += 1;
                   Thread.sleep(50);
                notifyAll();
             catch(InterruptedException e)
                e.printStackTrace();
    }and it worked just fine....thanks much

Maybe you are looking for

  • Is there a way of improving print clarity in iOS7 on my iPad & iPhone?

    Since I 'upgraded' both my IPad mini & my IPhone 4S to the new operating system I've been both pleased and disappointed. Most displeasure is with the loss of the sharp black-on-white clarity that defined iCal in iOS6. The new half tone grey may work

  • Jco Call a Function Module in BackGround

    Hello All. Some one can send me a simple exemplo how to call a ABAP Function Module in BackGround. Can i set this in Java side? ..or only set the BackGround Work Process in SAP side? In my java application call the Abap Function Module like this: cli

  • How key binding in Oracle Forms works?

    Hi guys, This is my first time @ this forum. I tried to find documentation about this but no luck. I am new to Forms. Nevertheless, I know that in order to use key binding in Forms, fmrweb.res file is used. BUT.... How the Form( client) know which ke

  • Looking for a proper analytical query/solution for below data

    I have data as shown below: mob_id     status_code     status_text     media_date 39585     600     Online     04-Aug-09 54988     600     Online     05-Aug-09 39585     600     Online     05-Aug-09 39585     600     Online     06-Aug-09 39585     60

  • Why are msdn pages broken when viewing site with chrome ?

    http://msdn.microsoft.com/en-us/library/ff928362(v=vs.92).aspx When opening same link in IE the page looks ok. AdBlock was disabled for msdn.