Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 42194 invoked from network); 24 Aug 2010 14:22:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Aug 2010 14:22:43 -0000 Received: (qmail 83533 invoked by uid 500); 24 Aug 2010 14:22:41 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 83314 invoked by uid 500); 24 Aug 2010 14:22:38 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 83297 invoked by uid 99); 24 Aug 2010 14:22:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 14:22:38 +0000 X-ASF-Spam-Status: No, hits=-1996.0 required=10.0 tests=ALL_TRUSTED,URIBL_SBL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 14:22:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7OEMGln021027 for ; Tue, 24 Aug 2010 14:22:16 GMT Message-ID: <22485791.531531282659736949.JavaMail.jira@thor> Date: Tue, 24 Aug 2010 10:22:16 -0400 (EDT) From: "viola.lu (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Assigned: (GERONIMO-5511) context-priority-classloader is not allowed in geronimo-web.xml for backwards compatibility In-Reply-To: <19331611.228821281335115780.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-5511?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:all-tabpanel ] viola.lu reassigned GERONIMO-5511: ---------------------------------- Assignee: viola.lu > context-priority-classloader is not allowed in geronimo-web.xml for backw= ards compatibility > -------------------------------------------------------------------------= ------------------ > > Key: GERONIMO-5511 > URL: https://issues.apache.org/jira/browse/GERONIMO-5511 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues)=20 > Components: web > Affects Versions: 3.0 > Environment: Ubuntu 8.04 x86-32 > Sun java 1.6.0_20 > Reporter: Forrest Xia > Assignee: viola.lu > Priority: Minor > > If the geronimo-web.xml includes element ""= , the deployment will fail at validating xml schema like this: > 2010-08-09 13:02:06,051 ERROR [DeploymentPortlet] Deployment failed > xml problem for web app web.war > org.apache.geronimo.common.DeploymentException: xml problem for web app w= eb.war > =09at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.getTomcat= WebApp(TomcatModuleBuilder.java:381) > =09at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.createMod= ule(TomcatModuleBuilder.java:275) > =09at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.creat= eModule(AbstractWebModuleBuilder.java:273) > =09at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.createMo= dule(SwitchingModuleBuilder.java:153) > =09at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EAR= ConfigBuilder.java:864) > =09at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EAR= ConfigBuilder.java:457) > =09at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentP= lan(EARConfigBuilder.java:319) > =09at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:231) > =09at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:39) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:25) > =09at java.lang.reflect.Method.invoke(Method.java:597) > =09at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Re= flectionMethodInvoker.java:34) > =09at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperat= ion.java:131) > =09at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstanc= e.java:872) > =09at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.jav= a:245) > =09at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.d= oDeploy(AbstractDeployCommand.java:116) > =09at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(D= istributeCommand.java:61) > =09at java.lang.Thread.run(Thread.java:619) > Caused by: org.apache.xmlbeans.XmlException: Invalid deployment descripto= r: errors: > error: cvc-complex-type.3.2.1: Attribute not allowed (no wildcards allowe= d): configId > error: cvc-complex-type.3.2.1: Attribute not allowed (no wildcards allowe= d): parentId > error: cvc-complex-type.2.4a: Expected elements 'environment@http://geron= imo.apache.org/xml/ns/deployment-1.2 context-root@http://geronimo.apache.or= g/xml/ns/j2ee/web/tomcat-2.0.1 work-dir@http://geronimo.apache.org/xml/ns/j= 2ee/web/tomcat-2.0.1 clustering@http://geronimo.apache.org/xml/ns/j2ee/appl= ication-2.0 web-container@http://geronimo.apache.org/xml/ns/naming-1.2 host= @http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 cross-context@http= ://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 disable-cookies@http://= geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 valve-chain@http://geronim= o.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 listener-chain@http://geronimo.ap= ache.org/xml/ns/j2ee/web/tomcat-2.0.1 tomcat-realm@http://geronimo.apache.o= rg/xml/ns/j2ee/web/tomcat-2.0.1 manager@http://geronimo.apache.org/xml/ns/j= 2ee/web/tomcat-2.0.1 cluster@http://geronimo.apache.org/xml/ns/j2ee/web/tom= cat-2.0.1 abstract-naming-entry@http://geronimo.apache.org/xml/ns/naming-1.= 2 env-entry@http://geronimo.apache.org/xml/ns/naming-1.2 ejb-ref@http://ger= onimo.apache.org/xml/ns/naming-1.2 ejb-local-ref@http://geronimo.apache.org= /xml/ns/naming-1.2 service-ref@http://geronimo.apache.org/xml/ns/naming-1.2= resource-ref@http://geronimo.apache.org/xml/ns/naming-1.2 resource-env-ref= @http://geronimo.apache.org/xml/ns/naming-1.2 message-destination@http://ge= ronimo.apache.org/xml/ns/naming-1.2 security-realm-name@http://geronimo.apa= che.org/xml/ns/j2ee/web/tomcat-2.0.1 service@http://geronimo.apache.org/xml= /ns/deployment-1.2' instead of 'context-priority-classloader@http://geronim= o.apache.org/xml/ns/j2ee/web/tomcat-2.0.1' here > Descriptor: > > false > > jdbc/TradeDataSource > TradeDataSource > > > =09at org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD(Xml= BeansUtil.java:188) > =09at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.getTomcat= WebApp(TomcatModuleBuilder.java:375) > =09... 19 more > But Geronimo 2.x could deploy the app with the element. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.