The following error makes it look like it's not reading your web.xml properly:

mappings of FacesServlet found. Abort initializing MyFaces.

Matt

On Wed, May 28, 2008 at 9:11 AM, Carlos Yagüe <[EMAIL PROTECTED]> wrote:
>
> Hi Matt,
>
> I've done two chages to solve this problem:
>
> 1. I've added one Server Tomcat 6.0.16 in Eclipse Europa.
>
> I tried to start it from Eclipse Servers and I've been reported with the
> same fatal warning:
>
> 28-may-2008 16:59:18 org.apache.tomcat.util.digester.SetPropertiesRule begin
> ADVERTENCIA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
> property 'source' to 'org.eclipse.jst.j2ee.server:miproyecto-webapp' did not
> find a matching property.
> 28-may-2008 16:59:18 org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> C:\LibreA\jdk1.5.0_11\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Archivos de
> programa\Java\jre1.6.0_02\bin\client;C:\Archivos de
> programa\Java\jre1.6.0_02\bin;C:\LibreA\jdk1.5.0_11\;C:\oracle\ora92\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos
> de programa\zabkat\xplorer2\extensions\PixVue\bin;C:\Archivos de
> programa\QuickTime\QTSystem\;C:\Archivos de programa\Archivos comunes\Teleca
> Shared;C:\LibreA\jdk1.5.0_11\bin;;C:\LibreA\MySQL Server 5.0\bin;C:\Archivos
> de programa\IDM Computer
> Solutions\UltraEdit-32;C:\LibreA\jdk1.5.0_11;c:\archivos de
> programa\flex\bin;c:\dev-cpp\bin;C:\LibreA\apache-maven-2.0.9\\bin;;
> 28-may-2008 16:59:21 org.apache.coyote.http11.Http11Protocol init
> INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
> 28-may-2008 16:59:21 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 4638 ms
> 28-may-2008 16:59:21 org.apache.catalina.core.StandardService start
> INFO: Arrancando servicio Catalina
> 28-may-2008 16:59:21 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
> [miproyecto] WARN [main] AbstractFacesInitializer.initFaces(77) | No
> mappings of FacesServlet found. Abort initializing MyFaces.
> 28-may-2008 16:59:23 org.apache.coyote.http11.Http11Protocol start
> INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
> 28-may-2008 16:59:23 org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> 28-may-2008 16:59:23 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/78  config=null
> 28-may-2008 16:59:23 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 2648 ms
> 28-may-2008 17:00:46 org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
> 28-may-2008 17:00:47 org.apache.catalina.core.StandardService stop
> INFO: Parando servicio Catalina
> 28-may-2008 17:00:47 org.apache.coyote.http11.Http11Protocol destroy
> INFO: Stopping Coyote HTTP/1.1 on http-8080
>
> 2. I've changed MyFaces Core Library (myfaces-api.jar, myfaces-impl.jar) by
> 1.2.3 version.
>
> But I haven't got a sucessfull starting tomcat from Eclipse Servers:
>
> 28-may-2008 16:59:18 org.apache.tomcat.util.digester.SetPropertiesRule begin
> ADVERTENCIA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
> property 'source' to 'org.eclipse.jst.j2ee.server:miproyecto-webapp' did not
> find a matching property.
> 28-may-2008 16:59:18 org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> C:\LibreA\jdk1.5.0_11\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Archivos de
> programa\Java\jre1.6.0_02\bin\client;C:\Archivos de
> programa\Java\jre1.6.0_02\bin;C:\LibreA\jdk1.5.0_11\;C:\oracle\ora92\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos
> de programa\zabkat\xplorer2\extensions\PixVue\bin;C:\Archivos de
> programa\QuickTime\QTSystem\;C:\Archivos de programa\Archivos comunes\Teleca
> Shared;C:\LibreA\jdk1.5.0_11\bin;;C:\LibreA\MySQL Server 5.0\bin;C:\Archivos
> de programa\IDM Computer
> Solutions\UltraEdit-32;C:\LibreA\jdk1.5.0_11;c:\archivos de
> programa\flex\bin;c:\dev-cpp\bin;C:\LibreA\apache-maven-2.0.9\\bin;;
> 28-may-2008 16:59:21 org.apache.coyote.http11.Http11Protocol init
> INFO: Inicializando Coyote HTTP/1.1 en puerto http-8080
> 28-may-2008 16:59:21 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 4638 ms
> 28-may-2008 16:59:21 org.apache.catalina.core.StandardService start
> INFO: Arrancando servicio Catalina
> 28-may-2008 16:59:21 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
> [miproyecto] WARN [main] AbstractFacesInitializer.initFaces(77) | No
> mappings of FacesServlet found. Abort initializing MyFaces.
> 28-may-2008 16:59:23 org.apache.coyote.http11.Http11Protocol start
> INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
> 28-may-2008 16:59:23 org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> 28-may-2008 16:59:23 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/78  config=null
> 28-may-2008 16:59:23 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 2648 ms
> 28-may-2008 17:00:46 org.apache.coyote.http11.Http11Protocol pause
> INFO: Pausing Coyote HTTP/1.1 on http-8080
> 28-may-2008 17:00:47 org.apache.catalina.core.StandardService stop
> INFO: Parando servicio Catalina
> 28-may-2008 17:00:47 org.apache.coyote.http11.Http11Protocol destroy
> INFO: Stopping Coyote HTTP/1.1 on http-8080
>
> Thanks anyway!
>
>
>
> mraible wrote:
>>
>> This is a known issue - if you use Tomcat 6, you won't have to perform
>> these additional steps.
>>
>> Matt
>>
>> On Wed, May 28, 2008 at 1:50 AM, Carlos Yagüe <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> Hi
>>>
>>> I had several problems with an JSF Modular application on starting up in
>>> Apache Tomcat 5.x
>>>
>>> Firstable, I can't run my application using an Apache Tomcat 5.5
>>> configured
>>> in Eclipse Europa like a Server.
>>>
>>> I got this fatal warning trace:
>>> WARN [main] AbstractFacesInitializer.initFaces(99) | No mappings of
>>> FacesServlet found. Abort initializing MyFaces.
>>>
>>>
>>> May somebody help me??
>>>
>>> But I don't stop to find ideas, so I've decided work with the Maven
>>> Apache
>>> Tomcat plugin.
>>>
>>> To run this server in maven, I added tomcat maven plugin in pom.xml of
>>> web
>>> module:
>>>            <plugin>
>>>                <groupId>org.codehaus.mojo</groupId>
>>>                <artifactId>tomcat-maven-plugin</artifactId>
>>>                <version>1.0-alpha-1</version>
>>>                <configuration>
>>>                    <path>/</path>
>>>                </configuration>
>>>            </plugin>
>>>
>>> I re-packed my webapp and I run tomcat with the next mvn-command:
>>> $mvn_project/web> mvn tomcat:run-war
>>>
>>> But I got a new error:
>>> No valid ExpressionFactory implementation is available but that's
>>> required
>>> as this application isn't running in a JSP 2.1 container.
>>>
>>> To fix this error, you have to add 2 dependencies to the application's
>>> general pom.xml:
>>> ...
>>>      <dependency>
>>>          <groupId>javax.el</groupId>
>>>          <artifactId>el-api</artifactId>
>>>          <version>${el.version}</version>
>>>        </dependency>
>>>        <dependency>
>>>           <groupId>com.sun.el</groupId>
>>>           <artifactId>el-ri</artifactId>
>>>           <version>${el.ri.version}</version>
>>>       </dependency>
>>> ...
>>>        <!-- Testing dependency versions -->
>>> ...
>>>        <el.version>1.0</el.version>
>>>        <el.ri.version>1.2</el.ri.version>
>>>
>>> And finally, the startup works!!
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/JSF-Modular---Starting-up-Apache-Tomcat-5.x---Problems-with-Eclipse-Europa---ExpressionFactory-tp17507020s2369p17507020.html
>>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/JSF-Modular---Starting-up-Apache-Tomcat-5.x---Problems-with-Eclipse-Europa---ExpressionFactory-tp17507020s2369p17514987.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to