Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Makone

Erro no tomcat

Recommended Posts

Galera to tentando rodar uma aplicação web, mas ta aparecendo isso:

 

HTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exceptionjavax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml	at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:769)	at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:745)	at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:687)	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:333)	at javax.servlet.GenericServlet.init(GenericServlet.java:212)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:888)	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:621)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:163)	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)	at java.lang.Thread.run(Unknown Source)

Meu struts config ta assim:

 

<?xml version="1.0" encoding="ISO-8859-1" ?><!DOCTYPE struts-config PUBLIC		  "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"		  "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd"><struts-config>	<form-beans>		  <form-bean name="frmCadastraCertificacao" 	type="br.com.cast.projetofinal.form.FormCertificacao" />		  <form-bean name="frmCadastraMunicipio" 		type="br.com.cast.projetofinal.form.FormMunicipio" /> 	  </form-beans>	<action-mappings>			<action path="/certificacao" type ="br.com.cast.projetofinal.controle.CtrlCertificacao" parameter="acao" name="frmCadastraCertificacao">			<forward name="index" 			path="/WEB-INF/aplicacao/projetofinal/visao/certificacao/indexcert.jsp" />							<forward name="montainclusao" 	path="/WEB-INF/aplicacao/projetofinal/visao/certificacao/indexmontainclusao.jsp" />			<forward name="montalista" 		path="/WEB-INF/aplicacao/projetofinal/visao/certificacao/indexmontalista.jsp" />								<forward name="operacao" 		path="/WEB-INF/aplicacao/projetofinal/visao/certificacao/indexok.jsp" />			<forward name="erro" 			path="/WEB-INF/aplicacao/projetofinal/visao/certificacao/indexerro.jsp" />			<forward name="pesq" 			path="/WEB-INF/aplicacao/projetofinal/visao/certificacao/indexmontalista.jsp" />			<forward name="retornapag" 		path="/WEB-INF/aplicacao/projetofinal/visao/certificacao/indexpesquisa.jsp" />			<forward name="retornaeditar" 	path="/WEB-INF/aplicacao/projetofinal/visao/certificacao/indexalterar.jsp" />		</action>				<action path="/municipio" type ="br.com.cast.projetofinal.controle.CtrlMunicipio" parameter="acao" name="frmCadastraMunicipio">			<forward name="index" 		  path="/WEB-INF/aplicacao/projetofinal/visao/municipio/indexmunicipio.jsp" />							<forward name="montainclusao" path="/WEB-INF/aplicacao/projetofinal/visao/municipio/indexmontainclusao.jsp" />			<forward name="montalista" 	  path="/WEB-INF/aplicacao/projetofinal/visao/municipio/indexmontalista.jsp" />								<forward name="operacao" 	  path="/WEB-INF/aplicacao/projetofinal/visao/municipio/indexok.jsp" />			<forward name="erro" 		  path="/WEB-INF/aplicacao/projetofinal/visao/municipio/indexerro.jsp" />			<forward name="pesq" 		  path="/WEB-INF/aplicacao/projetofinal/visao/municipio/indexmontalista.jsp" />			<forward name="retornapag" 	  path="/WEB-INF/aplicacao/projetofinal/visao/municipio/indexpesquisa.jsp" />			<forward name="retornaeditar" path="/WEB-INF/aplicacao/projetofinal/visao/municipio/indexalterar.jsp" />		</action>				<action path="/login" type="br.com.cast.projetofinal.controle.CtrlLogin" parameter="acao" name="frmLogin">			 <forward name="index" path="/WEB-INF/aplicacao/projetofinal/visao/login/indexlogin.jsp" /> 			 <forward name="ok" path="/WEB-INF/aplicacao/projetofinal/visao/login/indexok.jsp" /> 			 <forward name="erro" path="/WEB-INF/aplicacao/projetofinal/visao/login/indexerro.jsp" /> 			 <forward name="logado" path="/WEB-INF/aplicacao/projetofinal/visao/login/indexlogado.jsp" /> 		 </action>			</action-mappings></struts-config>

Bom, não roda como vcs podem conferir. Ah, meu struts config ta dentro do WebInf, e então o que pode ser?

 

Abraços a todos.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Você ja olhou os logs do tomcat??Colocae o que o log deuFlwww

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.