Skip to content

Unable to reproduce the javaee7-hol at step 3?Β #17

@sridhar1982

Description

@sridhar1982

I am following the hands-on-lab tutorial from this tutorial link

I followed the instructions as provided there to set up my WildFly Application server. Everything seems to work fine. The tutorial zip comes with sample data and sql load scripts that is used to initialize the data-source. If no data-source is provided in persistence.xml, WildFly will provide a default data-source as mentioned in the tutorial.

At the end of step 3 in the tutorial link, my screen-shot looks like this:

enter image description here

But what is expected (as per tutorial link: Figure 12) is this:

enter image description here

The difference is "showing movies in theaters!" in my case while it must be "showing 20 movies in 7 theaters!" as the tutorial one.
The JSF template used to display these numbers makes a EJB call that fetches data from the data-source. Looking at this, I think that my data-source is not initialized. But I don't why since I followed the tutorial word-by-word.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions