struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Reumann <strut...@reumann.net>
Subject Gonzalez's question posted as new thread:
Date Thu, 28 Jul 2005 18:43:42 GMT
Aleksander Gonzalez,

It's a very bad idea to hi-jack a thread by replying to it and changing 
the content. (ref: "probably a cleaner way..testing for one user"). Here 
is the question that you asked in the hijacked thread that I'm posting 
new. But as far as an answer goes to your question, you need to look in 
your server logs for a hint as to what the problem is.

Aleksnader's post:


Hello,

I cannon run an application
The error that I get when i asm going to run the
apllication is

type Status report

message Servlet action is currently unavailable

description The requested service (Servlet action is
currently unavailable) is not currently available.

It doesn{to procees my transaciton.


The web.xml file is:


<?xml version="1.0" encoding="ISO-8859-1"?>



<!DOCTYPE web-app

   PUBLIC "-//Sun Microsystems, Inc.//DTD Web
Application 2.2//EN"

   "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">



<web-app>





   <!-- Action Servlet Configuration -->

   <servlet>

     <servlet-name>action</servlet-name>


<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>

     <init-param>

       <param-name>config</param-name>


<param-value>/WEB-INF/struts-config.xml</param-value>

     </init-param>

     <load-on-startup>1</load-on-startup>

   </servlet>



   <!-- Action Servlet Mapping -->

   <servlet-mapping>

     <servlet-name>action</servlet-name>

     <url-pattern>*.do</url-pattern>

   </servlet-mapping>



   <!-- The Usual Welcome File List -->

   <welcome-file-list>

     <welcome-file>index.jsp</welcome-file>

   </welcome-file-list>





   <!-- Struts Tag Library Descriptors -->

   <taglib>

     <taglib-uri>/tags/struts-bean</taglib-uri>


<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>

   </taglib>



   <taglib>

     <taglib-uri>/tags/struts-html</taglib-uri>


<taglib-location>/WEB-INF/struts-html.tld</taglib-location>

   </taglib>



   <taglib>

     <taglib-uri>/tags/struts-logic</taglib-uri>


<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>

   </taglib>



   <taglib>

     <taglib-uri>/tags/struts-nested</taglib-uri>


<taglib-location>/WEB-INF/struts-nested.tld</taglib-location>

   </taglib>



   <taglib>

     <taglib-uri>/tags/struts-template</taglib-uri>


<taglib-location>/WEB-INF/struts-template.tld</taglib-location>

   </taglib>



   <taglib>

     <taglib-uri>/tags/struts-tiles</taglib-uri>


<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>

   </taglib>



</web-app>




and the struts-config.xml is:


<?xml version="1.0" encoding="ISO-8859-1" ?>



<!DOCTYPE struts-config PUBLIC

           "-//Apache Software Foundation//DTD Struts
Configuration 1.1//EN"


"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">





<struts-config>



<!-- ==================================== Data Source
Configuration -->

  <data-sources>



    <data-source>

      <set-property

         property="autoCommit"

         value="true"/>

      <set-property

         property="description"

         value="ConfiguraciĆ³n de la Base de Datos del
Sistema"/>

      <set-property

         property="driverClassName"

         value="org.postgresql.Driver"/>

      <set-property

         property="maxCount"

         value="100"/>

      <set-property

         property="minCount"

         value="2"/>

      <set-property

         property="url"
         value="jdbc:postgresql://159.90.16.8/oest4"/>

       <set-property

        property="username"

        value="postgres"/>
       <set-property

        property="password"

        value="postgres"/>

    </data-source>



  </data-sources>







<!-- ======================================== Form
Bean Definitions -->



     <form-beans>



        <form-bean

             name="validacionForm"


type="dide.bienestar.usuario.form.ValidacionForm" />

        <form-bean

             name="usuarioForm"


type="dide.bienestar.usuario.form.UsuarioForm" />

        <form-bean

             name="presolicitudForm"


type="dide.bienestar.solicitud.form.PresolicitudForm"
/>

        <form-bean

             name="solicitudForm"


type="dide.bienestar.solicitud.form.SolicitudForm" />

        <form-bean

             name="familiarForm"


type="dide.bienestar.solicitud.form.FamiliarForm" />

        <form-bean

             name="exoneracionForm"


type="dide.bienestar.solicitud.form.ExoneracionForm"
/>

        <form-bean

        		name="exoneracion1Form"

        	
type="dide.bienestar.solicitud.form.Exoneracion1Form"
/>

        <form-bean

        		name="estudianteForm"

        	
type="dide.bienestar.estudiante.form.EstudianteForm"
/>

        <form-bean

        		name="observacionesForm"

        	
type="dide.bienestar.solicitud.form.ObservacionesForm"
/>

        <form-bean

        		name="analisisForm"

        	
type="dide.bienestar.solicitud.form.AnalisisForm" />

        <form-bean

        		name="exoneracionesForm"

        	
type="dide.bienestar.beneficios.form.ExoneracionesForm"
/>	

        <form-bean

        		name="anularForm"

        	
type="dide.bienestar.beneficios.form.AnularForm" />	

        <form-bean

        		name="cestaForm"

        	
type="dide.bienestar.metodologia.form.CestaForm" />

        <form-bean

        		name="ingresosForm"

        	
type="dide.bienestar.metodologia.form.IngresosForm" />

        <form-bean

        		name="claseForm"

        	
type="dide.bienestar.metodologia.form.ClaseForm" />

     </form-beans>





<!-- =================================== Global
Forward Definitions -->



     <global-forwards>



		<forward

			name="editValidacion"

			path="/editValidacion.do"/>



     </global-forwards>







<!-- =================================== Action
Mapping Definitions -->



     <action-mappings>

  		<!-- Validacion -->

     	<action

     		path="/editValidacion"

		
type="dide.bienestar.usuario.action.EditValidacionAction"

			name=""

			scope="request"

			validate="true">

			<forward

				name="success"

				path="/pages/validacion.jsp"/>

		</action>

     	<action

     		path="/validacion"

		
type="dide.bienestar.usuario.action.ValidacionAction"

			name="validacionForm"

			scope="session"

			validate="true"

			input="/pages/validacion.jsp">

			<forward

				name="administrador"

				path="/pages/index_admin.jsp"/>

			<forward

				name="trabajador"

				path="/pages/index_empl.jsp"/>

			<forward

				name="estudiante"

				path="/pages/index_estud.jsp"/>

			<forward

				name="secretaria"

				path="/pages/index_secr.jsp"/>

			<forward

				name="failure"

				path="/pages/validacion.jsp"/>

		</action>

		<!-- Menu para cada tipo de usuario -->

     	<action

     		path="/menu"

			type="dide.bienestar.action.MenuAction"

			parameter="method">

			<forward

				name="estudiante"

				path="/pages/estudiante.jsp"/>

			<forward

				name="analizar"

				path="/pages/analizar.jsp"/>

			<forward

				name="informeotorg"

				path="/pages/informe_otorg.jsp"/>

			<forward

				name="informerenov"

				path="/pages/informe_renov.jsp"/>

			<forward

				name="informeexon"

				path="/pages/fecha_exon.jsp"/>

			<forward

				name="otorgar"

				path="/otorgar.do?method=cargar"/>

			<forward

				name="renovar"

				path="/renovar.do?method=cargar"/>

			<forward

				name="exonerar"

				path="/exonerar.do?method=cargar"/>

			<forward

				name="anular"

				path="/pages/anular.jsp"/>

			<!-- Opciones del estudiante-->

			<forward

				name="instrucciones"

				path="/pages/recaudos.jsp"/>

			<forward

				name="presolicitud"

				path="/pages/presolicitud.jsp"/>

			<forward

				name="exon"

				path="/pages/instrucciones2.jsp"/>

			<forward

				name="beca"

				path="/pages/instrucciones.jsp"/>				

			<forward

				name="becasotorg"

				path="/pages/fecha_otorg.jsp"/>

			<forward

				name="becasrenov"

				path="/pages/fecha_renov.jsp"/>				

			<forward

				name="listaexon"

				path="/pages/fecha_exon.jsp"/>

			<!-- Opciones de Administrador -->

			<forward

				name="registrar"

				path="/pages/registrar_usuario.jsp"/>

			<forward

				name="modificar"

				path="/usuarios.do"/>

			<!-- Opciones de Secretaria -->

			<forward

				name="tablas"

				path="/actualizar.do?method=cargar"/>

			<forward

				name="reportes"

				path="/pages/reportes.jsp"/>				

			<forward

				name="failure"

				path="/pages/index.jsp"/>		

		</action>

		<!-- Funciones de Administrador -->

     	<action

     		path="/registro"

			type="dide.bienestar.usuario.action.RegistroAction"

			name="usuarioForm"

			scope="request"

			validate="true"

			input="/pages/registrar_usuario.jsp">

			<forward

				name="success"

				path="/pages/conf_registro.jsp"/>

			<forward

				name="failure"

				path="/pages/registrar_usuario.jsp"/>

		</action>

     	<action

     		path="/usuarios"

			type="dide.bienestar.usuario.action.UsuariosAction"

			name=""

			scope="request">

			<forward

				name="success"

				path="/pages/usuarios.jsp"/>

			<forward

				name="failure"

				path="/pages/usuarios.jsp"/>

		</action>

		<action

     		path="/editarUsuario"

		
type="dide.bienestar.usuario.action.EditUsuariosAction"

			name="usuarioForm"

			scope="request"

			validate="false"

			input="/pages/usuarios.jsp"

			parameter="method">

			<forward

				name="modificar"

				path="/pages/modificar_usuario.jsp"/>

			<forward

				name="eliminar"

				path="/pages/eliminar_usuario.jsp"/>				

		</action>

		<action

     		path="/modificarUsuario"

		
type="dide.bienestar.usuario.action.ModificacionAction"

			name="usuarioForm"

			scope="request"

			validate="false"

			input="/pages/modificar_usuario.jsp">

			<forward

				name="success"

				path="/pages/conf_modificacion.jsp"/>				

			<forward

				name="failure"

				path="/pages/modificar_usuario.jsp"/>

		</action>

		<action

     		path="/eliminarUsuario"

		
type="dide.bienestar.usuario.action.EliminacionAction"

			name="usuarioForm"

			scope="request"

			validate="false"

			input="/pages/eliminar_usuario.jsp">

			<forward

				name="success"

				path="/pages/conf_eliminacion.jsp"/>				

			<forward

				name="failure"

				path="/pages/eliminar_usuario.jsp"/>

		</action>

		<!-- Funciones de Solicitudes -->

		<action

			path="/presolicitud"

		
type="dide.bienestar.solicitud.action.PresolicitudAction"

			name="presolicitudForm"

			validate="true"

			scope="session"

			input="/pages/presolicitud.jsp">

             <forward

             	name="exoneracion"

             	path="/pages/exoneracion.jsp"/>

             <forward

             	name="success"

             	path="/pages/conf_presolicitud.jsp"/>

             <forward

             	name="failure"

             	path="/pages/presolicitud.jsp"/>

		</action>

		<action

			path="/solicitud"

		
type="dide.bienestar.solicitud.action.SolicitudAction"

			name="solicitudForm"

			scope="session"

			input="/pages/instrucciones.jsp">

             <forward

             	name="success1"

             	path="/pages/identificacion.jsp"/>			

             <forward

             	name="success2"

             	path="/pages/socioeconomica1.jsp"/>

             <forward

             	name="success3"

             	path="/pages/socioeconomica2.jsp"/>

             <forward

             	name="success4"

             	path="/pages/ingresos.jsp"/>	

             <forward

             	name="success5"

             	path="/pages/egresos.jsp"/>

             <forward

             	name="success6"

             	path="/pages/propiedades.jsp"/>

            	<forward

             	name="success7"

             	path="/pages/datosestudiante.jsp"/>

             <forward

             	name="success8"

             	path="/pages/responsable.jsp"/>

             <forward

             	name="success9"

             	path="/pages/familiar.jsp"/>

             <forward

             	name="success"

             	path="/pages/conf_solicitud.jsp"/>	

             <forward

             	name="failure"

             	path="/pages/instrucciones.jsp"/>

		</action>

		<action

			path="/familiar"

		
type="dide.bienestar.solicitud.action.FamiliarAction"

			name="familiarForm"

			validate="true"

			input="/pages/familiar.jsp"

			parameter="method">

			<forward

				name="success"

				path="/pages/familiar.jsp"/>

			<forward

				name="failure"

				path="/pages/instrucciones.jsp"/>			

		</action>

		<action

			path="/exoFamiliar"

		
type="dide.bienestar.solicitud.action.FamiliarAction"

			name="familiarForm"

			validate="true"

			input="/pages/exo_familiar.jsp"

			parameter="method">

			<forward

				name="success"

				path="/pages/exo_familiar.jsp"/>

			<forward

				name="failure"

				path="/pages/instrucciones.jsp"/>			

		</action>		

     	<action

     		path="/exoneracion"

		
type="dide.bienestar.solicitud.action.ExoneracionAction"

			name="exoneracionForm"

			validate="true"

			scope="request"

			input="/pages/exoneracion.jsp">

			<forward

				name="success"

				path="/pages/conf_presolicitud.jsp"/>

			<forward

				name="failure"

				path="/pages/exoneracion.jsp"/>				

		</action>

		<action

     		path="/exoneracion1"

		
type="dide.bienestar.solicitud.action.Exoneracion1Action"

			name="exoneracion1Form"

			scope="session"

			input="/pages/instrucciones2.jsp">

             <forward

             	name="success1"

             	path="/pages/exo_identificacion.jsp"/>			

             <forward

             	name="success2"

             	path="/pages/exo_ingresos.jsp"/>

             <forward

             	name="success3"

             	path="/pages/exo_egresos.jsp"/>

             <forward

             	name="success4"

             	path="/pages/exo_responsable.jsp"/>	

             <forward

             	name="success5"

             	path="/pages/exo_familiar.jsp"/>

             <forward

             	name="success"

             	path="/pages/conf_solicitud.jsp"/>

              <forward

             	name="failure"

             	path="/pages/instrucciones2.jsp"/>
    	

		</action>

		<!-- Funciones de Empleados -->

		<action

			path="/estudiante"

		
type="dide.bienestar.estudiante.action.EstudianteAction"

			name="estudianteForm"

			scope="request"

			parameter="method">

             <forward

             	name="success"

             	path="/pages/info_estudiante.jsp"/>

              <forward

             	name="analisis"

             	path="/pages/analizar_solicitud.jsp"/>

             <forward

             	name="historial"

             	path="/pages/historial.jsp"/>

             <forward

             	name="failure1"

             	path="/pages/estudiante.jsp"/>        	

             <forward

             	name="failure"

             	path="/pages/info_estudiante.jsp"/>

		</action>

		<action

			path="/analisis"

		
type="dide.bienestar.solicitud.action.AnalisisAction"

			scope="request"

			input="/pages/info_estudiante.jsp"

			parameter="method">

             <forward

             	name="observaciones"

             	path="/pages/observaciones.jsp"/>
  	

             <forward

             	name="failure"

             	path="/pages/info_estudiante.jsp"/>

		</action>

		<action

			path="/observaciones"

		
type="dide.bienestar.solicitud.action.ObservacionesAction"

			name="observacionesForm"

			scope="request"

			validate="true"

			input="/pages/observaciones.jsp">

             <forward

             	name="success"

             	path="/pages/analizar_solicitud.jsp"/>
     	

             <forward

             	name="failure"

             	path="/pages/observaciones.jsp"/>

		</action>

		<action

			path="/analisisPF"

		
type="dide.bienestar.solicitud.action.AnalisisPFAction"

			name="analisisForm"

			scope="request"

			validate="true"

			input="/pages/analisispf.jsp"

			parameter="method">

             <forward

             	name="analisis"

             	path="/pages/analisispf.jsp"/>

             <forward

             	name="success"

             	path="/pages/analizar_solicitud.jsp"/>
     	

             <forward

             	name="failure"

             	path="/pages/analisispf.jsp"/>

		</action>

		<action

			path="/analizar"

		
type="dide.bienestar.solicitud.action.AnalizarAction"

			name="analisisForm"

			scope="request"

			validate="true"

			parameter="method">

             <forward

             	name="analisis"

             	path="/pages/analizar.jsp"/>

             <forward

             	name="success"

             	path="/pages/conf_analizar.jsp"/>	

             <forward

             	name="failure"

             	path="/pages/analizar.jsp"/>

		</action>	

		<action

			path="/otorgar"

		
type="dide.bienestar.beneficios.action.OtorgarAction"

			scope="request"

			input="/pages/otorgar.jsp"

			parameter="method">

             <forward

             	name="otorgar"

             	path="/pages/otorgar.jsp"/>

             <forward

             	name="success"

             	path="/pages/conf_otorgar.jsp"/>        	

             <forward

             	name="failure"

             	path="/pages/otorgar.jsp"/>

		</action>

		<action

			path="/renovar"

		
type="dide.bienestar.beneficios.action.RenovarAction"

			scope="request"

			input="/pages/renovar.jsp"

			parameter="method">

             <forward

             	name="renovar"

             	path="/pages/renovar.jsp"/>

             <forward

             	name="success"

             	path="/pages/conf_renovar.jsp"/>        	

             <forward

             	name="failure"

             	path="/pages/renovar.jsp"/>

		</action>

		<action

			path="/exonerar"

		
type="dide.bienestar.beneficios.action.ExonerarAction"

			scope="session"

			name="exoneracionesForm"

			parameter="method">

             <forward

             	name="exonerar"

             	path="/pages/exonerar.jsp"/>

             <forward

             	name="success"

             	path="/pages/conf_exonerar.jsp"/>


             <forward

             	name="failure"

             	path="/pages/exonerar.jsp"/>

		</action>

		<action

			path="/anular"

		
type="dide.bienestar.beneficios.action.AnularAction"

			name="anularForm"

			scope="request"

			validate="true"

			input="/pages/anular.jsp"

			parameter="method">

             <forward

             	name="anular"

             	path="/pages/datos_anular.jsp"/>

             <forward

             	name="success"

             	path="/pages/conf_anular.jsp"/>

             <forward

             	name="failure1"

             	path="/pages/anular.jsp"/>

             <forward

             	name="failure"

             	path="/pages/datos_anular.jsp"/>

		</action>		

		

		<!-- Generacion de Listados -->

		<action

			path="/listado"

			type="dide.bienestar.reportes.action.ListadoAction"

			scope="request"

			parameter="method">

             <forward

             	name="otorgadas"

             	path="/pages/listado_otorg.jsp"/>

             <forward

             	name="renovadas"

             	path="/pages/listado_renov.jsp"/>

			<forward

             	name="exoneraciones"

             	path="/pages/listado_exon.jsp"/>
     	     	

             <forward

             	name="failure"

             	path="/pages/index_estud.jsp"/>

		</action>

		<action

			path="/historial"

		
type="dide.bienestar.reportes.action.HistorialAction"

			scope="request"

			parameter="method">

             <forward

             	name="success"

             	path="/pages/expediente.jsp"/>    	

             <forward

             	name="failure"

             	path="/pages/historial.jsp"/>

		</action>

		<action

     		path="/actualizar"

		
type="dide.bienestar.metodologia.action.ActualizarAction"

			scope="request"

			parameter="method">

			<forward

				name="programa"

				path="/pages/programa.jsp"/>

			<forward

				name="cesta"

				path="/cesta.do?method=cargar"/>

			<forward

				name="ingresos"

				path="/pages/actualizar_ingresos.jsp"/>

			<forward

				name="clase"

				path="/pages/actualizar_clase.jsp"/>

			<forward

				name="failure"

				path="/pages/programa.jsp"/>

		</action>

		<action

     		path="/cesta"

		
type="dide.bienestar.metodologia.action.CestaAction"

			scope="session"

			name="cestaForm"

			input="/actualizar.do"

			parameter="method">

			<forward

				name="modificar"

				path="/pages/actualizar_cesta.jsp"/>		

			<forward

				name="success"

				path="/pages/conf_actualizacion.jsp"/>				

			<forward

				name="failure"

				path="/pages/actualizar_cesta.jsp"/>

		</action>

		<action

     		path="/clase"

		
type="dide.bienestar.metodologia.action.ClaseAction"

			scope="session"

			name="claseForm"

			input="/actualizar.do"

			parameter="method">

			<forward

				name="modificar"

				path="/pages/actualizar_clase.jsp"/>		

			<forward

				name="success"

				path="/pages/conf_actualizacion.jsp"/>				

			<forward

				name="failure"

				path="/pages/actualizar_clase.jsp"/>

		</action>

		<action

     		path="/ingresos"

		
type="dide.bienestar.metodologia.action.IngresosAction"


			scope="session"

			name="ingresosForm"

			input="/actualizar.do"

			parameter="method">

			<forward

				name="modificar"

				path="/pages/actualizar_ingresos.jsp"/>		

			<forward

				name="success"

				path="/pages/conf_actualizacion.jsp"/>				

			<forward

				name="failure"

				path="/pages/actualizar_ingresos.jsp"/>

		</action>	

     </action-mappings>











<!-- ===================================== Controller
Configuration -->



     <controller




processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>





<!-- ================================ Message
Resources Definitions -->



     <message-resources
parameter="resources.application"/>





<!-- ======================================= Plug Ins
Configuration -->



   <plug-in
className="org.apache.struts.tiles.TilesPlugin" >

     <set-property property="definitions-config"

	                 value="/WEB-INF/tiles-defs.xml" />

     <set-property property="moduleAware" value="true"
/>

     <set-property
property="definitions-parser-validate" value="true" />

   </plug-in>



    <plug-in
className="org.apache.struts.validator.ValidatorPlugIn">

     <set-property

         property="pathnames"


value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>

   </plug-in>



</struts-config>





I am using posgress 7.4.1 and tomcat 4.1

Thanks

Aleksander Gonzalez





		
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org




-- 
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message