Erro ao iniciar Tom Cat (InvocationTargetException)

0 respostas
oliveirarenan

Pessoal.

Quando eu statrto o tom cat, ele inicializa normalmente…se eu tento entrar na home dele (http://localhost:8080) dai o Tom cat é derrubado e me gera o seguinte erro:

AbandonedObjectPool is used (org.apache.tomcat.dbcp.dbcp.AbandonedObjectPool@baa31b) LogAbandoned: false RemoveAbandoned: true RemoveAbandonedTimeout: 300 2007-04-19 14:41:18,914 WARN net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Tomcat/webapps/ep5cm/WEB-INF/lib/ehcache-ehcache-1.2.3.jar!/ehcache-failsafe.xml 2007-04-19 14:41:35,541 INFO com.elasticpath.cmweb.context.impl.EpContextConfigListener - EPContextConfigListener - Set webApplicationContext: org.springframework.web.context.support.XmlWebApplicationContext: display name [Root WebApplicationContext]; startup date [Thu Apr 19 14:41:05 GMT-03:00 2007]; root of context hierarchy; config locations [/WEB-INF/elastic-path-servlet.xml] 2007-04-19 14:41:35,541 INFO com.elasticpath.cmweb.context.impl.EpContextConfigListener - EPContextConfigListenter - Set WEB-INF path: C:\Tomcat\webapps\ep5cm\WEB-INF 2007-04-19 14:41:35,713 INFO com.elasticpath.cmweb.context.impl.EpContextConfigListener - Get databaseMetaData: com.microsoft.sqlserver.jdbc.SQLServerDatabaseMetaData@11fcdde 2007-04-19 14:41:35,713 INFO com.elasticpath.cmweb.context.impl.EpContextConfigListener - EPContextConfigListener - Set DatabaseMetaData: com.microsoft.sqlserver.jdbc.SQLServerDatabaseMetaData@11fcdde 2007-04-19 14:41:35,713 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded buildIndex.properties successfully... 2007-04-19 14:41:35,713 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded categoryBuildIndex.properties successfully... 2007-04-19 14:41:35,713 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded country.properties successfully... 2007-04-19 14:41:35,728 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded customerBuildIndex.properties successfully... 2007-04-19 14:41:35,728 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded orderBuildIndex.properties successfully... 2007-04-19 14:41:35,728 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded productBuildIndex.properties successfully... 2007-04-19 14:41:35,728 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded subcountry.CA.properties successfully... 2007-04-19 14:41:35,728 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded subcountry.US.properties successfully... 2007-04-19 14:41:35,728 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded topSeller.properties successfully... java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: java.lang.NullPointerException at java.io.File.<init>(Unknown Source) at org.apache.catalina.core.StandardContext.getBasePath(StandardContext.java:4624) at org.apache.catalina.core.StandardContext.getServletContext(StandardContext.java:1598) at org.apache.catalina.core.StandardContext.postWorkDirectory(StandardContext.java:4806) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4059) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) ... 6 more AbandonedObjectPool is used (org.apache.tomcat.dbcp.dbcp.AbandonedObjectPool@baa31b) LogAbandoned: false RemoveAbandoned: true RemoveAbandonedTimeout: 300 2007-04-19 15:19:36,085 WARN net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Tomcat/webapps/ep5cm/WEB-INF/lib/ehcache-ehcache-1.2.3.jar!/ehcache-failsafe.xml 2007-04-19 15:19:58,275 INFO com.elasticpath.cmweb.context.impl.EpContextConfigListener - EPContextConfigListener - Set webApplicationContext: org.springframework.web.context.support.XmlWebApplicationContext: display name [Root WebApplicationContext]; startup date [Thu Apr 19 15:19:22 GMT-03:00 2007]; root of context hierarchy; config locations [/WEB-INF/elastic-path-servlet.xml] 2007-04-19 15:19:58,275 INFO com.elasticpath.cmweb.context.impl.EpContextConfigListener - EPContextConfigListenter - Set WEB-INF path: C:\Tomcat\webapps\ep5cm\WEB-INF 2007-04-19 15:19:58,634 INFO com.elasticpath.cmweb.context.impl.EpContextConfigListener - Get databaseMetaData: com.microsoft.sqlserver.jdbc.SQLServerDatabaseMetaData@11fcdde 2007-04-19 15:19:58,634 INFO com.elasticpath.cmweb.context.impl.EpContextConfigListener - EPContextConfigListener - Set DatabaseMetaData: com.microsoft.sqlserver.jdbc.SQLServerDatabaseMetaData@11fcdde 2007-04-19 15:19:58,634 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded buildIndex.properties successfully... 2007-04-19 15:19:58,634 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded categoryBuildIndex.properties successfully... 2007-04-19 15:19:58,634 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded country.properties successfully... 2007-04-19 15:19:58,634 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded customerBuildIndex.properties successfully... 2007-04-19 15:19:58,634 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded orderBuildIndex.properties successfully... 2007-04-19 15:19:58,634 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded productBuildIndex.properties successfully... 2007-04-19 15:19:58,634 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded subcountry.CA.properties successfully... 2007-04-19 15:19:58,634 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded subcountry.US.properties successfully... 2007-04-19 15:19:58,634 INFO com.elasticpath.persistence.impl.PropertiesDaoImpl - Loaded topSeller.properties successfully... java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: java.lang.NullPointerException at java.io.File.<init>(Unknown Source) at org.apache.catalina.core.StandardContext.getBasePath(StandardContext.java:4624) at org.apache.catalina.core.StandardContext.getServletContext(StandardContext.java:1598) at org.apache.catalina.core.StandardContext.postWorkDirectory(StandardContext.java:4806) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4059) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) ... 6 more

Alguém teria alguma sugestão???

Abs´s

:lol: :lol: :lol:

Criado 19 de abril de 2007
Respostas 0
Participantes 1