Problema con Glassfish y struts1

cristian vicencio rios
22 de Marzo del 2011
Amigos:

Estoy desarrollando una aplicación jsp, en eclipse, con struts, hasta hay todo bien, también tengo un servidor glassfish ( Sun GlassFish Enterprise Server v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12)) (build b31g-fcs) ), al que cuando le subo el .war de mi aplicación y trato de deployarla me da el siguiente error:

Deployment has succeeded with following warning, please look at the log file for details Error occurred during application loading phase. The application will not run properly. Please fix your application and redeploy. WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException: ContainerBase.addChild: start: LifecycleException:
javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml com.sun.enterprise.deployment.backend.IASDeploymentException: ContainerBase.addChild: start: LifecycleException: javax.servlet.UnavailableException.

Dentro de mi proyecto jsp, tengo agregado lo siguiente,

en WEB-INF/lib:

-antrl.jar
-commons-beanutils.jar
-commons-digester.jar
-commons-fileupload.jar
-commons-logging.jar
-commons-validator.jar
-jakarta-oro.jar
-struts.jar

y en WEB-INF:

-struts-bean.tld
-struts-config.xml
-struts-html.tld
-struts-logic.tld
-struts-nested.tld
-struts-tiles.tld
-web.xml

y la estructura de mi struts-config.xml, es la siguiente:




la estructura del web.xml:




La versión de java es 1.6.0

Lo que no entiendo es por que corre bien en eclipse, pero al tratar de subirlo al glassfish no reconoce el archivo struts-config.xml, ojala me puedan ayudar, muchas gracias.

cristian vicencio rios
22 de Marzo del 2011
Amigos:

Estoy desarrollando una aplicación jsp, en eclipse, con struts, hasta hay todo bien, también tengo un servidor glassfish ( Sun GlassFish Enterprise Server v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12)) (build b31g-fcs) ), al que cuando le subo el .war de mi aplicación y trato de deployarla me da el siguiente error:

Deployment has succeeded with following warning, please look at the log file for details Error occurred during application loading phase. The application will not run properly. Please fix your application and redeploy. WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException: ContainerBase.addChild: start: LifecycleException:
javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml com.sun.enterprise.deployment.backend.IASDeploymentException: ContainerBase.addChild: start: LifecycleException: javax.servlet.UnavailableException.

Dentro de mi proyecto jsp, tengo agregado lo siguiente,

en WEB-INF/lib:

-antrl.jar
-commons-beanutils.jar
-commons-digester.jar
-commons-fileupload.jar
-commons-logging.jar
-commons-validator.jar
-jakarta-oro.jar
-struts.jar

y en WEB-INF:

-struts-bean.tld
-struts-config.xml
-struts-html.tld
-struts-logic.tld
-struts-nested.tld
-struts-tiles.tld
-web.xml

y la estructura de mi struts-config.xml, es la siguiente:





















la estructura del web.xml:



LoginGF


action
org.apache.struts.action.ActionServlet

config
/WEB-INF/struts-config.xml


debug
2


detail
2

2



action
*.do



Login.jsp



La versión de java es 1.6.0

Lo que no entiendo es por que corre bien en eclipse, pero al tratar de subirlo al glassfish no reconoce el archivo struts-config.xml, ojala me puedan ayudar, muchas gracias.