Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 24035 invoked from network); 1 Mar 2008 16:00:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2008 16:00:44 -0000 Received: (qmail 48796 invoked by uid 500); 1 Mar 2008 16:00:38 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 48772 invoked by uid 500); 1 Mar 2008 16:00:38 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 48760 invoked by uid 99); 1 Mar 2008 16:00:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2008 08:00:38 -0800 X-ASF-Spam-Status: No, hits=3.8 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.56] (HELO smtp101.prem.mail.sp1.yahoo.com) (98.136.44.56) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 01 Mar 2008 16:00:03 +0000 Received: (qmail 2536 invoked from network); 1 Mar 2008 16:00:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:In-Reply-To:References:Mime-Version:X-Priority:Content-Type:Message-Id:From:Subject:Date:To:X-Mailer; b=S4Li244LlpiQfxf58D8xH1tLfJvN+1yodj+7glNtVr/DBB+SBs+VTlr1/OIIciBA6mJgt41fv+62TPjHtOjbYc3SmJjajTbWTx/Phu7lVEE/fUnhzigwXA/09zE3QtQFSXGgNip4ugVJnoDsjBHRW+3ItaGCri+dEhUUAa1gDZI= ; Received: from unknown (HELO ?192.168.1.103?) (david_jencks@67.102.173.8 with plain) by smtp101.prem.mail.sp1.yahoo.com with SMTP; 1 Mar 2008 16:00:11 -0000 X-YMail-OSG: ltDr6DgVM1n8.0WsS9MiJGrtxeG95Hz.KxTGzTtIfvtxSGSziOb2e3E3xquwjE0JSHCef_A5olA9s5Ox0wBZUAHKnF6DV1nZSJIBhhqu7HPPwraHQJpMbZULTK_5Gg-- X-Yahoo-Newman-Property: ymail-3 In-Reply-To: <5936AC3E7271430D88EB03994BD47FB3@JosueLaptop> References: <5936AC3E7271430D88EB03994BD47FB3@JosueLaptop> Mime-Version: 1.0 (Apple Message framework v753) X-Priority: 3 Content-Type: multipart/alternative; boundary=Apple-Mail-5-594252010 Message-Id: <18DC284A-A7E8-4F8E-A99E-F6CA5098D63E@yahoo.com> From: David Jencks Subject: Re: Deploy simple servlet Date: Sat, 1 Mar 2008 08:00:34 -0800 To: user@geronimo.apache.org X-Mailer: Apple Mail (2.753) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-5-594252010 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed load-on-startup occurs after init-param david jencks On Mar 1, 2008, at 7:05 AM, Josue Barrios Rodriguez wrote: > Hi everyone... i need help again.. i'm trying to deploy a simple =20 > servlet over geronimo 2.1 and want to parametrize it by web.xml, =20 > but when i deploy it error appears and i dont know why > > Error parsing web.xml for . > org.apache.geronimo.common.DeploymentException: Error parsing =20 > web.xml for . > at =20 > org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.createModule=20= > (TomcatModuleBuilder.java:193) > .... > ..... > ....... > > error: cvc-complex-type.2.4a: Expected elements 'run-as@http://=20 > java.sun.com/xml/ns/javaee security-role-ref@http://java.sun.com/=20 > xml/ns/javaee' instead of 'init-param@http://java.sun.com/xml/ns/=20 > javaee' here in element servlet@http://java.sun.com/xml/ns/javaee > > error: cvc-complex-type.2.4a: Expected elements 'run-as@http://=20 > java.sun.com/xml/ns/javaee security-role-ref@http://java.sun.com/=20 > xml/ns/javaee' instead of 'init-param@http://java.sun.com/xml/ns/=20 > javaee' here in element servlet@http://java.sun.com/xml/ns/javaee > > error: cvc-complex-type.2.4a: Expected elements 'run-as@http://=20 > java.sun.com/xml/ns/javaee security-role-ref@http://java.sun.com/=20 > xml/ns/javaee' instead of 'init-param@http://java.sun.com/xml/ns/=20 > javaee' here in element servlet@http://java.sun.com/xml/ns/javaee > > the web.xml file is this... > > > xsi:schemaLocation=3D"http://java.sun.com/xml/ns/j2ee http://=20 > java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version=3D"2.4" =20 > xmlns=3D"http://java.sun.com/xml/ns/j2ee"> > > infosyceimg > com.syc.servicios.infosyceimg > 1 > > rutaBase > F:/INFOSYCE_IMG > > > imgNoexiste > F:/INFOSYCE_IMG/inexi.JPG > > > imgDesconexion > C:/error.JPG > > > > infosyceimg > /* > > > > > i hope can help me please... > > Thanks in advance > ______________________ > > Ing. Josue Barrios Rodr=EDguez > Ingeniero Desarrollador - Sistemas y Computadores S.A. > Centro Empresarial Chicamocha - Oficina 303 Sur > Mobil. 3005610404 --Apple-Mail-5-594252010 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 load-on-startup occurs after init-param

david = jencks

On Mar 1, 2008, at 7:05 AM, Josue Barrios = Rodriguez wrote:

Hi everyone... i = need help again.. i'm trying to deploy a simple servlet over geronimo = 2.1 and want to parametrize it by web.xml, = but when i deploy it error appears and i dont know why
=
=A0
Error parsing web.xml for = .
org.apache.geronimo.common.DeploymentException: Error parsing web.xml for .
at = org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.createModule(Tom= catModuleBuilder.java:193)
....
.....
.......
=A0
=A0
=A0
=A0
the web.xml file is this...
=
=A0
<?xml version =3D '1.0' encoding =3D = 'windows-1252'?>
<web-app xmlns:xsi=3D"http://www.w3.org/2001/= XMLSchema-instance" xsi:schemaLocation=3D"http://java.sun.com/xml/ns/j2ee http://java.sun.c= om/xml/ns/j2ee/web-app_2_4.xsd" version=3D"2.4" xmlns=3D"http://java.sun.com/xml/ns/j2ee">
=A0=A0=A0 <servlet>
=A0=A0=A0=A0=A0=A0=A0 = <servlet-name>infosyceimg</servlet-name>
=A0=A0=A0=A0=A0=A0= =A0 = <servlet-class>com.syc.servicios.infosyceimg</servlet-class>=A0=A0<load-on-startup>1</load-on-startup>
=A0=A0<init= -param>
=A0=A0=A0=A0=A0 = =A0=A0<param-name>rutaBase</param-name>
=A0=A0=A0=A0=A0 = =A0=A0<param-value>F:/INFOSYCE_IMG</param-value>
=A0=A0=A0 = =A0</init-param>
=A0=A0<init-param>
=A0=A0=A0=A0=A0 = =A0=A0<param-name>imgNoexiste</param-name>
=A0=A0=A0=A0=A0 = =A0=A0<param-value>F:/INFOSYCE_IMG/inexi.JPG</param-value>
= =A0=A0=A0 =A0</init-param>
=A0=A0<init-param>
=A0=A0=A0=A0= =A0 =A0=A0<param-name>imgDesconexion</param-name>
=A0=A0=A0= =A0=A0 =A0=A0<param-value>C:/error.JPG</param-value>
=A0=A0= =A0 =A0</init-param>
=A0=A0=A0 </servlet>
=A0=A0=A0 = <servlet-mapping>
=A0=A0=A0=A0=A0=A0=A0 = <servlet-name>infosyceimg</servlet-name>
=A0=A0=A0=A0=A0=A0= =A0 <url-pattern>/*</url-pattern>
=A0=A0=A0 = </servlet-mapping>
=A0=A0=A0 =
</web-app>
=A0
i hope = can help me please...
=A0
Thanks = in advance
=
______________________
=
=A0
Ing. Josue Barrios = Rodr=EDguez
Ingeniero Desarrollador - Sistemas y Computadores = S.A.
Centro Empresarial Chicamocha - Oficina 303 Sur
Mobil. = 3005610404

= --Apple-Mail-5-594252010--