myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Stock Tomcat 7.0.54 vs JBoss EWS 2.0
Date Tue, 25 Nov 2014 10:34:55 GMT
Dear all,

I am a bit puzzled in my attemps to get a very simple example app to run
on an openshift gear using the JBoss EWS 2.0 cartridge.

As far as I understand, this cartridge is equivalent to Tomcat 7.
When I look in the lib directory in my "gear" (openshift name for a VM), I
can find Tomcat 7.0.54 jars.

The attached example works just as expected on a stock 7.0.54 tomcat. I
just download the tar.gz from apache site, uncompress it and starts the

With JBoss EWS, I got not error messages, but it seems that no beans or
context exists.

In my welcome file, accueil.xhtml, I put the following tests :

            <p:panelGrid columns="1">
                <!-- ok -->
                <h:outputText value="Hello JSF World !"/>

                <!-- ok -->
                <h:outputText value="#{'test3'}"/>

                <!-- ko -->

                <!-- ko -->
                <h:outputText value="#{testBean.test1}"/>

                <!-- ko -->
                <h:outputText value="#{testBean.uneMethode('Test2')}"/>

TestBean is just dead simple :

public class TestBean implements Serializable {
    private String test1 = "Test1";

    public String uneMethode(String test) {
        return "Une Methode : " + test;

I started with a @ViewAccessScoped bean, but tried a @SessionScoped one
just to be sure there was nothing wrong with DS.

I also tried to use Weld instead of OWB as I read of problems with VFS
(but they seemed to be with 1.1.x versions and AFAIK should be fixed in

Does anyone have an idea of what is wrong ? Of a way to investigate ?

It does not seem to be an EL problem, nor a bean only problem as even
facesContext is not defined...

Thanks in advance !


View raw message