jyoshiriro 17 de ago. de 2010
thiagosf88 17 de ago. de 2010
Cara,
coloquei todas essas que me passou. mas continuar dando erro ao inicializar o tomcat.
Eu preciso colocar algum .jar na pasta do tomcat?
To colocando o erro gerado abaixo:
17 / 08 / 2010 16 : 11 : 32 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 _21 \ bin ;.; C : \ Windows \ Sun \ Java \ bin ; C : \ Windows \ system32 ; C : \ Windows ; C : \ Windows \ system32 ; C : \ Windows ; C : \ Windows \ System32 \ Wbem ; C : \ Windows \ System32 \ WindowsPowerShell \ v1 .0 ;; C : \ Program Files ( x86 ) \ MySQL \ MySQL Server 5.1 \ bin ; 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
17 / 08 / 2010 16 : 11 : 33 org . apache . tomcat . util . digester . SetPropertiesRule begin
AVISO : [ SetPropertiesRule ]{ Server / Service / Engine / Host / Context } Setting property ‘ source ’ to ‘ org . eclipse . jst . jee . server : Ciec ’ did not find a matching property .
17 / 08 / 2010 16 : 11 : 33 org . apache . catalina . startup . Catalina load
INFO : Initialization processed in 1570 ms
17 / 08 / 2010 16 : 11 : 33 org . apache . catalina . core . StandardService startInternal
INFO : Starting service Catalina
17 / 08 / 2010 16 : 11 : 33 org . apache . catalina . core . StandardEngine startInternal
INFO : Starting Servlet Engine : Apache Tomcat / 7.0.0
17 / 08 / 2010 16 : 11 : 35 com . sun . faces . config . ConfigureListener contextInitialized
INFO : Initializing Sun ’ s JavaServer Faces implementation ( 1.2 _04 - b20 - p03 ) for context ‘ / Ciec ’
17 / 08 / 2010 16 : 11 : 35 com . sun . faces . spi . InjectionProviderFactory createInstance
INFO : JSF1048 : PostConstruct / PreDestroy annotations present . ManagedBeans methods marked with these annotations will have said annotations processed .
17 / 08 / 2010 16 : 11 : 36 com . opensymphony . xwork2 . util . logging . commons . CommonsLogger info
INFO : Parsing configuration file [ struts - default . xml ]
17 / 08 / 2010 16 : 11 : 37 com . opensymphony . xwork2 . util . logging . commons . CommonsLogger info
INFO : Parsing configuration file [ struts - plugin . xml ]
17 / 08 / 2010 16 : 11 : 37 com . opensymphony . xwork2 . util . logging . commons . CommonsLogger info
INFO : Unable to locate configuration files of the name struts . xml , skipping
17 / 08 / 2010 16 : 11 : 37 com . opensymphony . xwork2 . util . logging . commons . CommonsLogger info
INFO : Parsing configuration file [ struts . xml ]
17 / 08 / 2010 16 : 11 : 37 com . opensymphony . xwork2 . util . logging . commons . CommonsLogger error
GRAVE : Dispatcher initialization failed
java . lang . RuntimeException : java . lang . reflect . InvocationTargetException
at com . opensymphony . xwork2 . inject . ContainerImpl$MethodInjector . inject ( ContainerImpl . java : 295 )
at com . opensymphony . xwork2 . inject . ContainerImpl$ConstructorInjector . construct ( ContainerImpl . java : 431 )
at com . opensymphony . xwork2 . inject . ContainerBuilder$5 . create ( ContainerBuilder . java : 207 )
at com . opensymphony . xwork2 . inject . Scope$2$1 . create ( Scope . java : 51 )
at com . opensymphony . xwork2 . inject . ContainerBuilder$3 . create ( ContainerBuilder . java : 93 )
at com . opensymphony . xwork2 . inject . ContainerBuilder$7 . call ( ContainerBuilder . java : 487 )
at com . opensymphony . xwork2 . inject . ContainerBuilder$7 . call ( ContainerBuilder . java : 484 )
at com . opensymphony . xwork2 . inject . ContainerImpl . callInContext ( ContainerImpl . java : 574 )
at com . opensymphony . xwork2 . inject . ContainerBuilder . create ( ContainerBuilder . java : 484 )
at com . opensymphony . xwork2 . config . impl . DefaultConfiguration . createBootstrapContainer ( DefaultConfiguration . java : 252 )
at com . opensymphony . xwork2 . config . impl . DefaultConfiguration . reloadContainer ( DefaultConfiguration . java : 193 )
at com . opensymphony . xwork2 . config . ConfigurationManager . getConfiguration ( ConfigurationManager . java : 66 )
at org . apache . struts2 . dispatcher . Dispatcher . init_PreloadConfiguration ( Dispatcher . java : 371 )
at org . apache . struts2 . dispatcher . Dispatcher . init ( Dispatcher . java : 415 )
at org . apache . struts2 . dispatcher . ng . InitOperations . initDispatcher ( InitOperations . java : 69 )
at org . apache . struts2 . dispatcher . ng . filter . StrutsPrepareAndExecuteFilter . init ( StrutsPrepareAndExecuteFilter . java : 51 )
at org . apache . catalina . core . ApplicationFilterConfig . initFilter ( ApplicationFilterConfig . java : 269 )
at org . apache . catalina . core . ApplicationFilterConfig . getFilter ( ApplicationFilterConfig . java : 250 )
at org . apache . catalina . core . ApplicationFilterConfig . setFilterDef ( ApplicationFilterConfig . java : 368 )
at org . apache . catalina . core . ApplicationFilterConfig .( ApplicationFilterConfig . java : 98 )
at org . apache . catalina . core . StandardContext . filterStart ( StandardContext . java : 4193 )
at org . apache . catalina . core . StandardContext . startInternal ( StandardContext . java : 4792 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 138 )
at org . apache . catalina . core . ContainerBase . startInternal ( ContainerBase . java : 990 )
at org . apache . catalina . core . StandardHost . startInternal ( StandardHost . java : 772 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 138 )
at org . apache . catalina . core . ContainerBase . startInternal ( ContainerBase . java : 990 )
at org . apache . catalina . core . StandardEngine . startInternal ( StandardEngine . java : 275 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 138 )
at org . apache . catalina . core . StandardService . startInternal ( StandardService . java : 424 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 138 )
at org . apache . catalina . core . StandardServer . startInternal ( StandardServer . java : 648 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 138 )
at org . apache . catalina . startup . Catalina . start ( Catalina . java : 576 )
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 : 288 )
at org . apache . catalina . startup . Bootstrap . main ( Bootstrap . java : 415 )
Caused by : java . lang . reflect . InvocationTargetException
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 com . opensymphony . xwork2 . inject . ContainerImpl$MethodInjector . inject ( ContainerImpl . java : 293 )
… 39 more
Caused by : java . lang . ExceptionInInitializerError
at com . opensymphony . xwork2 . ognl . OgnlValueStackFactory . setContainer ( OgnlValueStackFactory . java : 85 )
… 44 more
Caused by : java . lang . IllegalArgumentException : Javassist library is missing in classpath ! Please add missed dependency !
at ognl . OgnlRuntime .( OgnlRuntime . java : 165 )
… 45 more
Caused by : java . lang . ClassNotFoundException : javassist . ClassPool
at org . apache . catalina . loader . WebappClassLoader . loadClass ( WebappClassLoader . java : 1664 )
at org . apache . catalina . loader . WebappClassLoader . loadClass ( WebappClassLoader . java : 1509 )
at java . lang . Class . forName0 ( Native Method )
at java . lang . Class . forName ( Class . java : 169 )
at ognl . OgnlRuntime .( OgnlRuntime . java : 162 )
… 45 more
17 / 08 / 2010 16 : 11 : 37 org . apache . catalina . core . StandardContext filterStart
GRAVE : Exception starting filter struts2
java . lang . reflect . InvocationTargetException - Class : com . opensymphony . xwork2 . inject . ContainerImpl$MethodInjector
File : ContainerImpl . java
Method : inject
Line : 295 - com / opensymphony / xwork2 / inject / ContainerImpl . java : 295 : -1
at org . apache . struts2 . dispatcher . Dispatcher . init ( Dispatcher . java : 428 )
at org . apache . struts2 . dispatcher . ng . InitOperations . initDispatcher ( InitOperations . java : 69 )
at org . apache . struts2 . dispatcher . ng . filter . StrutsPrepareAndExecuteFilter . init ( StrutsPrepareAndExecuteFilter . java : 51 )
at org . apache . catalina . core . ApplicationFilterConfig . initFilter ( ApplicationFilterConfig . java : 269 )
at org . apache . catalina . core . ApplicationFilterConfig . getFilter ( ApplicationFilterConfig . java : 250 )
at org . apache . catalina . core . ApplicationFilterConfig . setFilterDef ( ApplicationFilterConfig . java : 368 )
at org . apache . catalina . core . ApplicationFilterConfig .( ApplicationFilterConfig . java : 98 )
at org . apache . catalina . core . StandardContext . filterStart ( StandardContext . java : 4193 )
at org . apache . catalina . core . StandardContext . startInternal ( StandardContext . java : 4792 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 138 )
at org . apache . catalina . core . ContainerBase . startInternal ( ContainerBase . java : 990 )
at org . apache . catalina . core . StandardHost . startInternal ( StandardHost . java : 772 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 138 )
at org . apache . catalina . core . ContainerBase . startInternal ( ContainerBase . java : 990 )
at org . apache . catalina . core . StandardEngine . startInternal ( StandardEngine . java : 275 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 138 )
at org . apache . catalina . core . StandardService . startInternal ( StandardService . java : 424 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 138 )
at org . apache . catalina . core . StandardServer . startInternal ( StandardServer . java : 648 )
at org . apache . catalina . util . LifecycleBase . start ( LifecycleBase . java : 138 )
at org . apache . catalina . startup . Catalina . start ( Catalina . java : 576 )
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 : 288 )
at org . apache . catalina . startup . Bootstrap . main ( Bootstrap . java : 415 )
Caused by : java . lang . RuntimeException : java . lang . reflect . InvocationTargetException
at com . opensymphony . xwork2 . inject . ContainerImpl$MethodInjector . inject ( ContainerImpl . java : 295 )
at com . opensymphony . xwork2 . inject . ContainerImpl$ConstructorInjector . construct ( ContainerImpl . java : 431 )
at com . opensymphony . xwork2 . inject . ContainerBuilder$5 . create ( ContainerBuilder . java : 207 )
at com . opensymphony . xwork2 . inject . Scope$2$1 . create ( Scope . java : 51 )
at com . opensymphony . xwork2 . inject . ContainerBuilder$3 . create ( ContainerBuilder . java : 93 )
at com . opensymphony . xwork2 . inject . ContainerBuilder$7 . call ( ContainerBuilder . java : 487 )
at com . opensymphony . xwork2 . inject . ContainerBuilder$7 . call ( ContainerBuilder . java : 484 )
at com . opensymphony . xwork2 . inject . ContainerImpl . callInContext ( ContainerImpl . java : 574 )
at com . opensymphony . xwork2 . inject . ContainerBuilder . create ( ContainerBuilder . java : 484 )
at com . opensymphony . xwork2 . config . impl . DefaultConfiguration . createBootstrapContainer ( DefaultConfiguration . java : 252 )
at com . opensymphony . xwork2 . config . impl . DefaultConfiguration . reloadContainer ( DefaultConfiguration . java : 193 )
at com . opensymphony . xwork2 . config . ConfigurationManager . getConfiguration ( ConfigurationManager . java : 66 )
at org . apache . struts2 . dispatcher . Dispatcher . init_PreloadConfiguration ( Dispatcher . java : 371 )
at org . apache . struts2 . dispatcher . Dispatcher . init ( Dispatcher . java : 415 )
… 26 more
Caused by : java . lang . reflect . InvocationTargetException
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 com . opensymphony . xwork2 . inject . ContainerImpl$MethodInjector . inject ( ContainerImpl . java : 293 )
… 39 more
Caused by : java . lang . ExceptionInInitializerError
at com . opensymphony . xwork2 . ognl . OgnlValueStackFactory . setContainer ( OgnlValueStackFactory . java : 85 )
… 44 more
Caused by : java . lang . IllegalArgumentException : Javassist library is missing in classpath ! Please add missed dependency !
at ognl . OgnlRuntime .( OgnlRuntime . java : 165 )
… 45 more
Caused by : java . lang . ClassNotFoundException : javassist . ClassPool
at org . apache . catalina . loader . WebappClassLoader . loadClass ( WebappClassLoader . java : 1664 )
at org . apache . catalina . loader . WebappClassLoader . loadClass ( WebappClassLoader . java : 1509 )
at java . lang . Class . forName0 ( Native Method )
at java . lang . Class . forName ( Class . java : 169 )
at ognl . OgnlRuntime .( OgnlRuntime . java : 162 )
… 45 more
17 / 08 / 2010 16 : 11 : 37 org . apache . catalina . core . StandardContext startInternal
GRAVE : Error filterStart
17 / 08 / 2010 16 : 11 : 37 org . apache . catalina . core . StandardContext startInternal
GRAVE : Context [ / Ciec ] startup failed due to previous errors
17 / 08 / 2010 16 : 11 : 37 org . apache . catalina . loader . WebappClassLoader clearThreadLocalMap
GRAVE : The web application [ / Ciec ] created a ThreadLocal with key of type [ null ] ( value [ com . opensymphony . xwork2 . inject . ContainerImpl$10 @523 cd193 ]) and a value of type [ java . lang . Object []] ( value [[ Ljava . lang . Object ; @16e33413 ]) but failed to remove it when the web application was stopped . This is very likely to create a memory leak .
Ataxexe 17 de ago. de 2010
Na própria console já aparece o que falta:
Caused by : java . lang . IllegalArgumentException : Javassist library is missing in classpath ! Please add missed dependency !
thiagosf88 17 de ago. de 2010
Pessoal descobri.
Para a versão 2.2.1 é necessário um outro .jar
Esse aqui javassist-3.7.ga.jar
Abraços
jyoshiriro 17 de ago. de 2010
E algumas mensagens de erro dão a entender que o “jar” do “jsf plugin” está no classpath. Você realmente precisa desse plugin?
Só lembrando que o Eclipse é meio “chato” na hora de tirar os “jars” que você remove do classpath. Ele tira do projeto mas continua jogando para a pasta do tomcat. eu considero isso um bug e não descobri como resolver, nem removendo e adicionando o proejto denovo no tomcat. Só revolsi excluindo toda configuração do tomcat no eclipse e configurando denovo.
thiagosf88 17 de ago. de 2010
Realmente não utilizo.
Vlw pela dica
lazaropj 16 de nov. de 2010
Cara…
No meu caso, peguei os Jars da apostila da Caelum, mas só q em versão atualizadas.
Aí esse JAR aí q ele falou me ajudou tbm…
Valew!!