You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Fahmi Hachicha <fa...@gmail.com> on 2011/02/22 20:59:31 UTC

[Trinidad] problem when deploy trinidad-demo-1.2.14.war or trinidad-blank-1.2.14.war on Tomcat 6

Hello,

When deploying the examples of the Trinidad 1.2.14 on a Tomcat 6 Web Server,
the WebApp does not start due to an error :

org.apache.catalina.core.StandardContext start
GRAVE: Error filterStart
22 févr. 2011 20:29:40 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/trinidad-demo-1.2.14] suite aux
erreurs précédentes

How must I configure Tomcat 6 Server to be able to run these demo examples ?

Thanks
Fahmi

Re: [Trinidad] problem when deploy trinidad-demo-1.2.14.war or trinidad-blank-1.2.14.war on Tomcat 6

Posted by Scott O'Bryan <da...@gmail.com>.
I have no clue on the language.  There might be a vm parameter.  I
suspect it you remove the tomcat-i18n-fr.jar, you would get English as
a fallback.

As for mojarra, it's the JSF RI.  The glassfish JSF libraries use
mojarra as the JSF implementation.

On Feb 25, 2011, at 1:34 AM, Fahmi Hachicha <fa...@gmail.com> wrote:

> Dear Scott,
>
> I test the Trinidad Test based on the blank example working with the
> following libraries :
>
> glassfish.jsf_1.0.0.0_1-2-15.jar
> glassfish.jstl_1.2.0.1.jar
> trinidad-api.jar
> trinidad-impl.jar
>
> The webapp does'nt start :
> this is the error reported by Apache Tomcat-6.0.32
>
> org.apache.catalina.core.StandardContext start
> GRAVE: Error filterStart
>
> the same error appears if i *exchange *glassfish.jsf lib by
> javax.jsf_1.1.0.0_1-2.jar.
>
> The SimpleTest webapp is only running if both glassfish.jsf lib and
> javax.jsf_1.1.0.0_1-2.jar are used.
> At conclusion :
> The Web-Inf lib dir of the SampleTest.war archive contains :
>
> glassfish.jsf_1.0.0.0_1-2-15.jar
> glassfish.jstl_1.2.0.1.jar
> trinidad-api.jar
> trinidad-impl.jar
> javax.jsf_1.1.0.0_1-2.jar
>
> AND
>
> The lib used by Tomcat in the lib Dir contains :
> annotations-api.jar
> catalina-ant.jar
> catalina-ha.jar
> catalina-tribes.jar
> catalina.jar
> ecj-3.3.1.jar
> el-api.jar
> jasper-el.jar
> jasper.jar
> jsp-api.jar
> listeLib.txt
> servlet-api.jar
> tomcat-coyote.jar
> tomcat-dbcp.jar
> tomcat-i18n-es.jar
> tomcat-i18n-fr.jar
> tomcat-i18n-ja.jar
>
> I am using Jdeveloper R11 as IDE.
>
> This the line echoed on the log after deploying :
>
> 25 févr. 2011 10:19:55 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Déploiement de l'archive SimpleTest.war de l'application web
> 25 févr. 2011 10:19:55 com.sun.faces.config.ConfigureListener
> contextInitialized
> INFO: Initializing Mojarra (1.2_15-20100923-SNAPSHOT) for context
> '/SimpleTest'
>
> What is the Majorra ?
>
> Do you have an idea how to force Tomcat 6 to run in English on a Windows
> French OS Version ? (So that the log will be in English).
>
> Thank you
> Fahmi
>
>
>
>
>
>
>
>
> 2011/2/25 Scott O'Bryan <da...@gmail.com>
>
>> I could be wrong but it looks like you have multiple JSF instances there.
>> Try it with just the glassfish or download the latest myfaces and remove
>> everything else.
>>
>> Trinidad requires either MyFaces (since the .3 release I believe) or the
>> Mojarra 1.2.11 or later.
>>
>> Scott
>>
>>
>> On 02/23/2011 03:46 AM, Fahmi Hachicha wrote:
>>
>>> I retrieve the attached file because the deamon refuse the message with a
>>> file with about 8 Mo.
>>> Fahmi
>>>
>>> ---------- Forwarded message ----------
>>> From: Fahmi Hachicha<fa...@gmail.com>
>>> Date: 2011/2/23
>>> Subject: Re: [Trinidad] problem when deploy trinidad-demo-1.2.14.war or
>>> trinidad-blank-1.2.14.war on Tomcat 6
>>> To: MyFaces Discussion<us...@myfaces.apache.org>
>>>
>>>
>>> Dear Scott,
>>>
>>> I had the library javax.jsp and javax.servlet among the library used so
>>> that
>>> there was a conflict I think.
>>>
>>> Now the Trinidad Test based on the blank example works with the following
>>> libraries :
>>> glassfish.jsf_1.0.0.0_1-2-15.jar
>>> glassfish.jstl_1.2.0.1.jar
>>> javax.jsf_1.1.0.0_1-2.jar
>>> wls.jsf.di.jar
>>> trinidad-api.jar
>>> trinidad-impl.jar
>>> glassfish.el_1.0.0.0_2-1.jar
>>>
>>> I am using Jdeveloper R11 as IDE.
>>>
>>> The attached archive is working well.
>>>
>>> Do you have an idea how to force Tomcat 6 to run in English on a Windows
>>> French OS Version ? (So that the log will be in English).
>>>
>>> Thank you
>>> Fahmi
>>>
>>>
>>>
>>> 2011/2/23 Scott O'Bryan<da...@gmail.com>
>>>
>>> Fahmi,
>>>
>>>> I assume you have MyFaces installed in Tomcat, is that correct?  If not,
>>>> you may have to build the examples custom to include JSTL and JSF.  By
>>>> default they are not included with the examples because J2EE contains
>>>> them.
>>>>
>>>> Other then that, I'm going to need to see more of the stacktrace that's
>>>> being thown (and hopefully in english so I can read it..  :D
>>>>
>>>> Scott
>>>>
>>>>
>>>> On 02/22/2011 12:59 PM, Fahmi Hachicha wrote:
>>>>
>>>> Hello,
>>>>>
>>>>> When deploying the examples of the Trinidad 1.2.14 on a Tomcat 6 Web
>>>>> Server,
>>>>> the WebApp does not start due to an error :
>>>>>
>>>>> org.apache.catalina.core.StandardContext start
>>>>> GRAVE: Error filterStart
>>>>> 22 févr. 2011 20:29:40 org.apache.catalina.core.StandardContext start
>>>>> GRAVE: Erreur de démarrage du contexte [/trinidad-demo-1.2.14] suite aux
>>>>> erreurs précédentes
>>>>>
>>>>> How must I configure Tomcat 6 Server to be able to run these demo
>>>>> examples
>>>>> ?
>>>>>
>>>>> Thanks
>>>>> Fahmi
>>>>>
>>>>>
>>>>>
>>

Re: Fwd: [Trinidad] problem when deploy trinidad-demo-1.2.14.war or trinidad-blank-1.2.14.war on Tomcat 6

Posted by Fahmi Hachicha <fa...@gmail.com>.
Dear Scott,

I test the Trinidad Test based on the blank example working with the
following libraries :

glassfish.jsf_1.0.0.0_1-2-15.jar
glassfish.jstl_1.2.0.1.jar
trinidad-api.jar
trinidad-impl.jar

The webapp does'nt start :
this is the error reported by Apache Tomcat-6.0.32

org.apache.catalina.core.StandardContext start
GRAVE: Error filterStart

the same error appears if i *exchange *glassfish.jsf lib by
javax.jsf_1.1.0.0_1-2.jar.

The SimpleTest webapp is only running if both glassfish.jsf lib and
javax.jsf_1.1.0.0_1-2.jar are used.
At conclusion :
The Web-Inf lib dir of the SampleTest.war archive contains :

glassfish.jsf_1.0.0.0_1-2-15.jar
glassfish.jstl_1.2.0.1.jar
trinidad-api.jar
trinidad-impl.jar
javax.jsf_1.1.0.0_1-2.jar

AND

The lib used by Tomcat in the lib Dir contains :
annotations-api.jar
catalina-ant.jar
catalina-ha.jar
catalina-tribes.jar
catalina.jar
ecj-3.3.1.jar
el-api.jar
jasper-el.jar
jasper.jar
jsp-api.jar
listeLib.txt
servlet-api.jar
tomcat-coyote.jar
tomcat-dbcp.jar
tomcat-i18n-es.jar
tomcat-i18n-fr.jar
tomcat-i18n-ja.jar

I am using Jdeveloper R11 as IDE.

This the line echoed on the log after deploying :

25 févr. 2011 10:19:55 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive SimpleTest.war de l'application web
25 févr. 2011 10:19:55 com.sun.faces.config.ConfigureListener
contextInitialized
INFO: Initializing Mojarra (1.2_15-20100923-SNAPSHOT) for context
'/SimpleTest'

What is the Majorra ?

Do you have an idea how to force Tomcat 6 to run in English on a Windows
French OS Version ? (So that the log will be in English).

Thank you
Fahmi








2011/2/25 Scott O'Bryan <da...@gmail.com>

> I could be wrong but it looks like you have multiple JSF instances there.
>  Try it with just the glassfish or download the latest myfaces and remove
> everything else.
>
> Trinidad requires either MyFaces (since the .3 release I believe) or the
> Mojarra 1.2.11 or later.
>
> Scott
>
>
> On 02/23/2011 03:46 AM, Fahmi Hachicha wrote:
>
>> I retrieve the attached file because the deamon refuse the message with a
>> file with about 8 Mo.
>> Fahmi
>>
>> ---------- Forwarded message ----------
>> From: Fahmi Hachicha<fa...@gmail.com>
>> Date: 2011/2/23
>> Subject: Re: [Trinidad] problem when deploy trinidad-demo-1.2.14.war or
>> trinidad-blank-1.2.14.war on Tomcat 6
>> To: MyFaces Discussion<us...@myfaces.apache.org>
>>
>>
>> Dear Scott,
>>
>> I had the library javax.jsp and javax.servlet among the library used so
>> that
>> there was a conflict I think.
>>
>> Now the Trinidad Test based on the blank example works with the following
>> libraries :
>> glassfish.jsf_1.0.0.0_1-2-15.jar
>> glassfish.jstl_1.2.0.1.jar
>> javax.jsf_1.1.0.0_1-2.jar
>> wls.jsf.di.jar
>> trinidad-api.jar
>> trinidad-impl.jar
>> glassfish.el_1.0.0.0_2-1.jar
>>
>> I am using Jdeveloper R11 as IDE.
>>
>> The attached archive is working well.
>>
>> Do you have an idea how to force Tomcat 6 to run in English on a Windows
>> French OS Version ? (So that the log will be in English).
>>
>> Thank you
>> Fahmi
>>
>>
>>
>> 2011/2/23 Scott O'Bryan<da...@gmail.com>
>>
>> Fahmi,
>>
>>> I assume you have MyFaces installed in Tomcat, is that correct?  If not,
>>> you may have to build the examples custom to include JSTL and JSF.  By
>>> default they are not included with the examples because J2EE contains
>>> them.
>>>
>>> Other then that, I'm going to need to see more of the stacktrace that's
>>> being thown (and hopefully in english so I can read it..  :D
>>>
>>> Scott
>>>
>>>
>>> On 02/22/2011 12:59 PM, Fahmi Hachicha wrote:
>>>
>>>  Hello,
>>>>
>>>> When deploying the examples of the Trinidad 1.2.14 on a Tomcat 6 Web
>>>> Server,
>>>> the WebApp does not start due to an error :
>>>>
>>>> org.apache.catalina.core.StandardContext start
>>>> GRAVE: Error filterStart
>>>> 22 févr. 2011 20:29:40 org.apache.catalina.core.StandardContext start
>>>> GRAVE: Erreur de démarrage du contexte [/trinidad-demo-1.2.14] suite aux
>>>> erreurs précédentes
>>>>
>>>> How must I configure Tomcat 6 Server to be able to run these demo
>>>> examples
>>>> ?
>>>>
>>>> Thanks
>>>> Fahmi
>>>>
>>>>
>>>>
>

Re: Fwd: [Trinidad] problem when deploy trinidad-demo-1.2.14.war or trinidad-blank-1.2.14.war on Tomcat 6

Posted by Scott O'Bryan <da...@gmail.com>.
I could be wrong but it looks like you have multiple JSF instances 
there.  Try it with just the glassfish or download the latest myfaces 
and remove everything else.

Trinidad requires either MyFaces (since the .3 release I believe) or the 
Mojarra 1.2.11 or later.

Scott

On 02/23/2011 03:46 AM, Fahmi Hachicha wrote:
> I retrieve the attached file because the deamon refuse the message with a
> file with about 8 Mo.
> Fahmi
>
> ---------- Forwarded message ----------
> From: Fahmi Hachicha<fa...@gmail.com>
> Date: 2011/2/23
> Subject: Re: [Trinidad] problem when deploy trinidad-demo-1.2.14.war or
> trinidad-blank-1.2.14.war on Tomcat 6
> To: MyFaces Discussion<us...@myfaces.apache.org>
>
>
> Dear Scott,
>
> I had the library javax.jsp and javax.servlet among the library used so that
> there was a conflict I think.
>
> Now the Trinidad Test based on the blank example works with the following
> libraries :
> glassfish.jsf_1.0.0.0_1-2-15.jar
> glassfish.jstl_1.2.0.1.jar
> javax.jsf_1.1.0.0_1-2.jar
> wls.jsf.di.jar
> trinidad-api.jar
> trinidad-impl.jar
> glassfish.el_1.0.0.0_2-1.jar
>
> I am using Jdeveloper R11 as IDE.
>
> The attached archive is working well.
>
> Do you have an idea how to force Tomcat 6 to run in English on a Windows
> French OS Version ? (So that the log will be in English).
>
> Thank you
> Fahmi
>
>
>
> 2011/2/23 Scott O'Bryan<da...@gmail.com>
>
> Fahmi,
>> I assume you have MyFaces installed in Tomcat, is that correct?  If not,
>> you may have to build the examples custom to include JSTL and JSF.  By
>> default they are not included with the examples because J2EE contains them.
>>
>> Other then that, I'm going to need to see more of the stacktrace that's
>> being thown (and hopefully in english so I can read it..  :D
>>
>> Scott
>>
>>
>> On 02/22/2011 12:59 PM, Fahmi Hachicha wrote:
>>
>>> Hello,
>>>
>>> When deploying the examples of the Trinidad 1.2.14 on a Tomcat 6 Web
>>> Server,
>>> the WebApp does not start due to an error :
>>>
>>> org.apache.catalina.core.StandardContext start
>>> GRAVE: Error filterStart
>>> 22 févr. 2011 20:29:40 org.apache.catalina.core.StandardContext start
>>> GRAVE: Erreur de démarrage du contexte [/trinidad-demo-1.2.14] suite aux
>>> erreurs précédentes
>>>
>>> How must I configure Tomcat 6 Server to be able to run these demo examples
>>> ?
>>>
>>> Thanks
>>> Fahmi
>>>
>>>


Fwd: [Trinidad] problem when deploy trinidad-demo-1.2.14.war or trinidad-blank-1.2.14.war on Tomcat 6

Posted by Fahmi Hachicha <fa...@gmail.com>.
I retrieve the attached file because the deamon refuse the message with a
file with about 8 Mo.
Fahmi

---------- Forwarded message ----------
From: Fahmi Hachicha <fa...@gmail.com>
Date: 2011/2/23
Subject: Re: [Trinidad] problem when deploy trinidad-demo-1.2.14.war or
trinidad-blank-1.2.14.war on Tomcat 6
To: MyFaces Discussion <us...@myfaces.apache.org>


Dear Scott,

I had the library javax.jsp and javax.servlet among the library used so that
there was a conflict I think.

Now the Trinidad Test based on the blank example works with the following
libraries :
glassfish.jsf_1.0.0.0_1-2-15.jar
glassfish.jstl_1.2.0.1.jar
javax.jsf_1.1.0.0_1-2.jar
wls.jsf.di.jar
trinidad-api.jar
trinidad-impl.jar
glassfish.el_1.0.0.0_2-1.jar

I am using Jdeveloper R11 as IDE.

The attached archive is working well.

Do you have an idea how to force Tomcat 6 to run in English on a Windows
French OS Version ? (So that the log will be in English).

Thank you
Fahmi



2011/2/23 Scott O'Bryan <da...@gmail.com>

Fahmi,
>
> I assume you have MyFaces installed in Tomcat, is that correct?  If not,
> you may have to build the examples custom to include JSTL and JSF.  By
> default they are not included with the examples because J2EE contains them.
>
> Other then that, I'm going to need to see more of the stacktrace that's
> being thown (and hopefully in english so I can read it..  :D
>
> Scott
>
>
> On 02/22/2011 12:59 PM, Fahmi Hachicha wrote:
>
>> Hello,
>>
>> When deploying the examples of the Trinidad 1.2.14 on a Tomcat 6 Web
>> Server,
>> the WebApp does not start due to an error :
>>
>> org.apache.catalina.core.StandardContext start
>> GRAVE: Error filterStart
>> 22 févr. 2011 20:29:40 org.apache.catalina.core.StandardContext start
>> GRAVE: Erreur de démarrage du contexte [/trinidad-demo-1.2.14] suite aux
>> erreurs précédentes
>>
>> How must I configure Tomcat 6 Server to be able to run these demo examples
>> ?
>>
>> Thanks
>> Fahmi
>>
>>
>

Re: [Trinidad] problem when deploy trinidad-demo-1.2.14.war or trinidad-blank-1.2.14.war on Tomcat 6

Posted by Scott O'Bryan <da...@gmail.com>.
Fahmi,

I assume you have MyFaces installed in Tomcat, is that correct?  If not, 
you may have to build the examples custom to include JSTL and JSF.  By 
default they are not included with the examples because J2EE contains them.

Other then that, I'm going to need to see more of the stacktrace that's 
being thown (and hopefully in english so I can read it..  :D

Scott

On 02/22/2011 12:59 PM, Fahmi Hachicha wrote:
> Hello,
>
> When deploying the examples of the Trinidad 1.2.14 on a Tomcat 6 Web Server,
> the WebApp does not start due to an error :
>
> org.apache.catalina.core.StandardContext start
> GRAVE: Error filterStart
> 22 févr. 2011 20:29:40 org.apache.catalina.core.StandardContext start
> GRAVE: Erreur de démarrage du contexte [/trinidad-demo-1.2.14] suite aux
> erreurs précédentes
>
> How must I configure Tomcat 6 Server to be able to run these demo examples ?
>
> Thanks
> Fahmi
>