Hebert_Coelho 26 de mai. de 2012
esdmorais 26 de mai. de 2012
Olha o stacktrace cara:
26 / 05 / 2012 19 : 45 : 20 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 : \ Program Files \ Java \ jdk1 .6.0 _31 \ bin ; C : \ Windows \ Sun \ Java \ bin ; C : \ Windows \ system32 ; C : \ Windows ; C : \ Program Files \ Java \ jdk1 .6.0 _31 \ jre \ bin ; C : / Program Files / Java / jdk1 .6.0 _31 / bin / .. / jre / bin / server ; C : / Program Files / Java / jdk1 .6.0 _31 / bin / .. / jre / bin ; C : / Program Files / Java / jdk1 .6.0 _31 / bin / .. / jre / lib / amd64 ; C : \ Program Files \ Common Files \ Microsoft Shared \ Windows Live ; C : \ Program Files ( x86 ) \ Common Files \ Microsoft Shared \ Windows Live ; C : \ Windows \ system32 ; C : \ Windows ; C : \ Windows \ System32 \ Wbem ; C : \ Windows \ System32 \ WindowsPowerShell \ v1 .0 \ ; C : \ Program Files ( x86 ) \ Windows Live \ Shared ; C : \ Program Files \ Broadcom \ Broadcom 802.11 Network Adapter \ Driver ; c : \ Program Files ( x86 ) \ Microsoft SQL Server \ 100 \ Tools \ Binn \ ; c : \ Program Files \ Microsoft SQL Server \ 100 \ Tools \ Binn \ ; c : \ Program Files \ Microsoft SQL Server \ 100 \ DTS \ Binn \ ; c : \ Program Files ( x86 ) \ Microsoft SQL Server \ 100 \ Tools \ Binn \ VSShell \ Common7 \ IDE \ ; c : \ Program Files ( x86 ) \ Microsoft SQL Server \ 100 \ DTS \ Binn \ ; C : \ Program Files \ Java \ jdk1 .6.0 _31 \ bin ; C : \ Program Files \ JavaSpeech API \ ibmjs \ lib ; C : \ Program Files ( x86 ) \ ViaVoice \ BIN ; C : \ Program Files ( x86 ) \ Microchip \ MPLAB C32 Suite \ bin ; C : \ Program Files \ TortoiseSVN \ bin ; C : \ Program Files \ eclipse ;;.
26 / 05 / 2012 19 : 45 : 21 org . apache . tomcat . util . digester . SetPropertiesRule begin
AVISO : [ SetPropertiesRule ] { Server / Service / Engine / Host / Context } Setting property 'source' to 'org.eclipse.jst.jee.server:OrcamentoMecanica' did not find a matching property .
26 / 05 / 2012 19 : 45 : 21 org . apache . coyote . AbstractProtocol init
INFO : Initializing ProtocolHandler [ "http-bio-8080" ]
26 / 05 / 2012 19 : 45 : 21 org . apache . coyote . AbstractProtocol init
INFO : Initializing ProtocolHandler [ "ajp-bio-8009" ]
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . Catalina load
INFO : Initialization processed in 917 ms
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . core . StandardService startInternal
INFO : Starting service Catalina
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . core . StandardEngine startInternal
INFO : Starting Servlet Engine : Apache Tomcat / 7.0.27
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // java . sun . com / jstl / core is already defined
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // java . sun . com / jstl / sql_rt is already defined
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // java . sun . com / jsp / jstl / sql is already defined
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // java . sun . com / jstl / core_rt is already defined
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // java . sun . com / jsp / jstl / core is already defined
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // java . sun . com / jsp / jstl / functions is already defined
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // java . sun . com / jstl / fmt is already defined
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // jakarta . apache . org / taglibs / standard / permittedTaglibs is already defined
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // java . sun . com / jstl / xml is already defined
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // jakarta . apache . org / taglibs / standard / scriptfree is already defined
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // java . sun . com / jstl / fmt_rt is already defined
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // java . sun . com / jsp / jstl / fmt is already defined
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // java . sun . com / jsp / jstl / xml is already defined
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // java . sun . com / jstl / xml_rt is already defined
26 / 05 / 2012 19 : 45 : 21 org . apache . catalina . startup . TaglibUriRule body
INFO : TLD skipped . URI : http : // java . sun . com / jstl / sql is already defined
26 / 05 / 2012 19 : 45 : 25 org . apache . catalina . core . ContainerBase startInternal
GRAVE : A child container failed during start
java . util . concurrent . ExecutionException : org . apache . catalina . LifecycleException : Failed to start component [ StandardEngine[Catalina ] . StandardHost [ localhost ] . StandardContext [ /OrcamentoMecanica ] ]
at java . util . concurrent . FutureTask $ Sync . innerGet ( FutureTask . java : 222 )
at java . util . concurrent . FutureTask . get ( FutureTask . java : 83 )
at org . apache . catalina . core . ContainerBase . startInternal ( ContainerBase . java : 1128 )
at org . apache . catalina . core . StandardHost . startInternal ( StandardHost . java : 782 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 150 )
at org . apache . catalina . core . ContainerBase $ StartChild . call ( ContainerBase . java : 1566 )
at org . apache . catalina . core . ContainerBase $ StartChild . call ( ContainerBase . java : 1556 )
at java . util . concurrent . FutureTask $ Sync . innerRun ( FutureTask . java : 303 )
at java . util . concurrent . FutureTask . run ( FutureTask . java : 138 )
at java . util . concurrent . ThreadPoolExecutor $ Worker . runTask ( ThreadPoolExecutor . java : 886 )
at java . util . concurrent . ThreadPoolExecutor $ Worker . run ( ThreadPoolExecutor . java : 908 )
at java . lang . Thread . run ( Thread . java : 662 )
Caused by : org . apache . catalina . LifecycleException : Failed to start component [ StandardEngine[Catalina ] . StandardHost [ localhost ] . StandardContext [ /OrcamentoMecanica ] ]
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 154 )
... 7 more
Caused by : java . lang . NoClassDefFoundError : Lorg / apache / commons / logging / Log ;
at java . lang . Class . getDeclaredFields0 ( Native Method )
at java . lang . Class . privateGetDeclaredFields ( Class . java : 2291 )
at java . lang . Class . getDeclaredFields ( Class . java : 1743 )
at org . apache . catalina . startup . WebAnnotationSet . getDeclaredFields ( WebAnnotationSet . java : 452 )
at org . apache . catalina . startup . WebAnnotationSet . loadFieldsAnnotation ( WebAnnotationSet . java : 257 )
at org . apache . catalina . startup . WebAnnotationSet . loadApplicationFilterAnnotations ( WebAnnotationSet . java : 107 )
at org . apache . catalina . startup . WebAnnotationSet . loadApplicationAnnotations ( WebAnnotationSet . java : 65 )
at org . apache . catalina . startup . ContextConfig . applicationAnnotationsConfig ( ContextConfig . java : 381 )
at org . apache . catalina . startup . ContextConfig . configureStart ( ContextConfig . java : 858 )
at org . apache . catalina . startup . ContextConfig . lifecycleEvent ( ContextConfig . java : 345 )
at org . apache . catalina . util . LifecycleSupport . fireLifecycleEvent ( LifecycleSupport . java : 119 )
at org . apache . catalina . util . LifecycleBase . fireLifecycleEvent ( LifecycleBase . java : 90 )
at org . apache . catalina . core . StandardContext . startInternal ( StandardContext . java : 5161 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 150 )
... 7 more
Caused by : java . lang . ClassNotFoundException : org . apache . commons . logging . Log
at org . apache . catalina . loader . WebappClassLoader . loadClass ( WebappClassLoader . java : 1711 )
at org . apache . catalina . loader . WebappClassLoader . loadClass ( WebappClassLoader . java : 1556 )
... 21 more
26 / 05 / 2012 19 : 45 : 25 org . apache . catalina . core . ContainerBase startInternal
GRAVE : A child container failed during start
java . util . concurrent . ExecutionException : org . apache . catalina . LifecycleException : Failed to start component [ StandardEngine[Catalina ] . StandardHost [ localhost ] ]
at java . util . concurrent . FutureTask $ Sync . innerGet ( FutureTask . java : 222 )
at java . util . concurrent . FutureTask . get ( FutureTask . java : 83 )
at org . apache . catalina . core . ContainerBase . startInternal ( ContainerBase . java : 1128 )
at org . apache . catalina . core . StandardEngine . startInternal ( StandardEngine . java : 302 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 150 )
at org . apache . catalina . core . StandardService . startInternal ( StandardService . java : 443 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 150 )
at org . apache . catalina . core . StandardServer . startInternal ( StandardServer . java : 732 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 150 )
at org . apache . catalina . startup . Catalina . start ( Catalina . java : 675 )
at sun . reflect . NativeMethodAccessorImpl . invoke0 ( Native Method )
at sun . reflect . NativeMethodAccessorImpl . invoke ( NativeMethodAccessorImpl . java : 39 )
at sun . reflect . DelegatingMethodAccessorImpl . invoke ( DelegatingMethodAccessorImpl . java : 25 )
at java . lang . reflect . Method . invoke ( Method . java : 597 )
at org . apache . catalina . startup . Bootstrap . start ( Bootstrap . java : 322 )
at org . apache . catalina . startup . Bootstrap . main ( Bootstrap . java : 450 )
Caused by : org . apache . catalina . LifecycleException : Failed to start component [ StandardEngine[Catalina ] . StandardHost [ localhost ] ]
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 154 )
at org . apache . catalina . core . ContainerBase $ StartChild . call ( ContainerBase . java : 1566 )
at org . apache . catalina . core . ContainerBase $ StartChild . call ( ContainerBase . java : 1556 )
at java . util . concurrent . FutureTask $ Sync . innerRun ( FutureTask . java : 303 )
at java . util . concurrent . FutureTask . run ( FutureTask . java : 138 )
at java . util . concurrent . ThreadPoolExecutor $ Worker . runTask ( ThreadPoolExecutor . java : 886 )
at java . util . concurrent . ThreadPoolExecutor $ Worker . run ( ThreadPoolExecutor . java : 908 )
at java . lang . Thread . run ( Thread . java : 662 )
Caused by : org . apache . catalina . LifecycleException : A child container failed during start
at org . apache . catalina . core . ContainerBase . startInternal ( ContainerBase . java : 1136 )
at org . apache . catalina . core . StandardHost . startInternal ( StandardHost . java : 782 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 150 )
... 7 more
26 / 05 / 2012 19 : 45 : 25 org . apache . catalina . startup . Catalina start
GRAVE : Catalina . start :
org . apache . catalina . LifecycleException : Failed to start component [ StandardServer[8005 ] ]
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 154 )
at org . apache . catalina . startup . Catalina . start ( Catalina . java : 675 )
at sun . reflect . NativeMethodAccessorImpl . invoke0 ( Native Method )
at sun . reflect . NativeMethodAccessorImpl . invoke ( NativeMethodAccessorImpl . java : 39 )
at sun . reflect . DelegatingMethodAccessorImpl . invoke ( DelegatingMethodAccessorImpl . java : 25 )
at java . lang . reflect . Method . invoke ( Method . java : 597 )
at org . apache . catalina . startup . Bootstrap . start ( Bootstrap . java : 322 )
at org . apache . catalina . startup . Bootstrap . main ( Bootstrap . java : 450 )
Caused by : org . apache . catalina . LifecycleException : Failed to start component [ StandardService[Catalina ] ]
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 154 )
at org . apache . catalina . core . StandardServer . startInternal ( StandardServer . java : 732 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 150 )
... 7 more
Caused by : org . apache . catalina . LifecycleException : Failed to start component [ StandardEngine[Catalina ] ]
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 154 )
at org . apache . catalina . core . StandardService . startInternal ( StandardService . java : 443 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 150 )
... 9 more
Caused by : org . apache . catalina . LifecycleException : A child container failed during start
at org . apache . catalina . core . ContainerBase . startInternal ( ContainerBase . java : 1136 )
at org . apache . catalina . core . StandardEngine . startInternal ( StandardEngine . java : 302 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 150 )
... 11 more
26 / 05 / 2012 19 : 45 : 25 org . apache . catalina . startup . Catalina start
INFO : Server startup in 3794 ms
Quer dar uma olhada no meu xml também? Veja ai:
& lt ; ? xml version = "1.0" encoding = "UTF-8" ? & gt ;
& lt ; web - app xmlns : xsi = "http://www.w3.org/2001/XMLSchema-instance"
xmlns = "http://java.sun.com/xml/ns/javaee" xmlns : web = "http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi : schemaLocation = "http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id = "WebApp_ID" version = "3.0" & gt ;
& lt ; display - name & gt ; OrcamentoMecanica & lt ; / display - name & gt ;
& lt ; welcome - file - list & gt ;
& lt ; welcome - file & gt ; index . jsf & lt ; / welcome - file & gt ;
& lt ; / welcome - file - list & gt ;
& lt ; context - param & gt ;
& lt ; param - name & gt ; org . richfaces . CONTROL_SKINNING & lt ; / param - name & gt ;
& lt ; param - value & gt ; disable & lt ; / param - value & gt ;
& lt ; / context - param & gt ;
& lt ; context - param & gt ;
& lt ; param - name & gt ; org . richfaces . CONTROL_SKINNING_CLASSES & lt ; / param - name & gt ;
& lt ; param - value & gt ; disable & lt ; / param - value & gt ;
& lt ; / context - param & gt ;
& lt ; context - param & gt ;
& lt ; param - name & gt ; facelets . LIBRARIES & lt ; / param - name & gt ;
& lt ; param - value & gt ; / WEB - INF / mycomponents . taglib . xml & lt ; / param - value & gt ;
& lt ; / context - param & gt ;
& lt ; context - param & gt ;
& lt ; param - name & gt ; javax . faces . PROJECT_STAGE & lt ; / param - name & gt ;
& lt ; param - value & gt ; Development & lt ; / param - value & gt ;
& lt ; / context - param & gt ;
& lt ; context - param & gt ;
& lt ; param - name & gt ; javax . faces . DEFAULT_SUFFIX & lt ; / param - name & gt ;
& lt ; param - value & gt ; . jspx & lt ; / param - value & gt ;
& lt ; / context - param & gt ;
& lt ; context - param & gt ;
& lt ; param - name & gt ; facelets . VIEW_MAPPINGS & lt ; / param - name & gt ;
& lt ; param - value & gt ; *. jspx & lt ; / param - value & gt ;
& lt ; / context - param & gt ;
& lt ; login - config & gt ;
& lt ; auth - method & gt ; BASIC & lt ; / auth - method & gt ;
& lt ; / login - config & gt ;
& lt ; servlet - mapping & gt ;
& lt ; servlet - name & gt ; Faces Servlet & lt ; / servlet - name & gt ;
& lt ; url - pattern & gt ; / faces /*& lt ; / url - pattern & gt ;
& lt ; / servlet - mapping & gt ;
& lt ; servlet - mapping & gt ;
& lt ; servlet - name & gt ; Faces Servlet & lt ; / servlet - name & gt ;
& lt ; url - pattern & gt ; *. jsf & lt ; / url - pattern & gt ;
& lt ; / servlet - mapping & gt ;
& lt ; filter & gt ;
& lt ; filter - name & gt ; extensionsFilter & lt ; / filter - name & gt ;
& lt ; filter - class & gt ; org . apache . myfaces . webapp . filter . ExtensionsFilter & lt ; / filter - class & gt ;
& lt ; / filter & gt ;
& lt ; !-- extension mapping for adding & lt ; script /& gt ;, & lt ; link /& gt ;, and other resource
tags to JSF - pages --& gt ;
& lt ; filter - mapping & gt ;
& lt ; filter - name & gt ; extensionsFilter & lt ; / filter - name & gt ;
& lt ; servlet - name & gt ; Faces Servlet & lt ; / servlet - name & gt ;
& lt ; / filter - mapping & gt ;
& lt ; !-- extension mapping for serving page - independent resources ( javascript ,
stylesheets , images , etc . ) --& gt ;
& lt ; filter - mapping & gt ;
& lt ; filter - name & gt ; extensionsFilter & lt ; / filter - name & gt ;
& lt ; url - pattern & gt ; / faces / myFacesExtensionResource /*& lt ; / url - pattern & gt ;
& lt ; / filter - mapping & gt ;
& lt ; servlet & gt ;
& lt ; servlet - name & gt ; Faces Servlet & lt ; / servlet - name & gt ;
& lt ; servlet - class & gt ; javax . faces . webapp . FacesServlet & lt ; / servlet - class & gt ;
& lt ; load - on - startup & gt ; 1 & lt ; / load - on - startup & gt ;
& lt ; / servlet & gt ;
& lt ; context - param & gt ;
& lt ; description & gt ; State saving method : 'client' or 'server' ( = default ) . See JSF Specification 2.5 . 2 & lt ; / description & gt ;
& lt ; param - name & gt ; javax . faces . STATE_SAVING_METHOD & lt ; / param - name & gt ;
& lt ; param - value & gt ; client & lt ; / param - value & gt ;
& lt ; / context - param & gt ;
& lt ; context - param & gt ;
& lt ; param - name & gt ; javax . servlet . jsp . jstl . fmt . localizationContext & lt ; / param - name & gt ;
& lt ; param - value & gt ; resources . application & lt ; / param - value & gt ;
& lt ; / context - param & gt ;
& lt ; listener & gt ;
& lt ; listener - class & gt ; com . sun . faces . config . ConfigureListener & lt ; / listener - class & gt ;
& lt ; / listener & gt ;
& lt ; / web - app & gt ;
E o jar que eu estou usando é o tomahawk20-1.1.13.jar
Você tem ideia do que poderia ser?
Fico no aguardo!
esdmorais 26 de mai. de 2012
Cara resolvi o problema!
Faltavam alguns jars!
O que eu fiz foi simplesmente colocar todos os outros jars que veio junto com o Tomahawk e funcionou!!
o/