Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 22927 invoked from network); 12 Jun 2006 18:01:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jun 2006 18:01:34 -0000 Received: (qmail 51526 invoked by uid 500); 12 Jun 2006 18:01:27 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 51514 invoked by uid 500); 12 Jun 2006 18:01:27 -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 51503 invoked by uid 99); 12 Jun 2006 18:01:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 11:01:27 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of christoph.sturm@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 11:01:26 -0700 Received: by ug-out-1314.google.com with SMTP id k40so212806ugc for ; Mon, 12 Jun 2006 11:01:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=anthPs5eNl5J5N1txVRo205QJFTwoHj4p7bqglEMVppyvofTiQJSjAnf6K46RvVAEYAzTQN0usMoWXViYD+WRRodRKG6Lrgm54A8BFUBnDY4x0B2qr0I59Cya+rZBbSZdsohB9ye2kQL0Wmjk7t/swzN1aGJVBwT/haePEQL5lA= Received: by 10.78.51.16 with SMTP id y16mr1469937huy; Mon, 12 Jun 2006 11:01:02 -0700 (PDT) Received: by 10.78.50.12 with HTTP; Mon, 12 Jun 2006 11:01:02 -0700 (PDT) Message-ID: <11dae57c0606121101m2c7b741dk51c8fd60ab241dee@mail.gmail.com> Date: Mon, 12 Jun 2006 20:01:02 +0200 From: "Christoph Sturm" To: user@geronimo.apache.org Subject: Re: strange errormessage when trying to deploy a war (maybe a bug?) (1.1-rc) In-Reply-To: <314E9EF4-CDEB-43BB-8383-78E2D3B0DBD0@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <11dae57c0606120921v181a0da9udd51e8007fe90185@mail.gmail.com> <314E9EF4-CDEB-43BB-8383-78E2D3B0DBD0@yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N http://issues.apache.org/jira/browse/GERONIMO-2108 On 6/12/06, David Jencks wrote: > I think that's a bug, will try to investigate later today. If you'd > like to file a jira that would be helpful. Can you see what happens > if you include a element before the message-destination? > > thanks > david jencks > > On Jun 12, 2006, at 9:21 AM, Christoph Sturm wrote: > > > hey! > > > > If I try to deploy this geronimo-web on 1.1rc1 (j2ee-jetty or tomcat): > > > > > > > xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1" > > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"> > > > > > > geronimo > > wtf > > 1.1 > > war > > > > > > > > > > > > x > > > > > > y > > > > > > > > > > i get a really strange stacktrace: > > org.apache.geronimo.common.DeploymentException: xml problem for web > > app . > > at > > org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.getTomcatWeb > > App(TomcatModuleBuilder.java:241) > > at > > org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.createModule > > (TomcatModuleBuilder.java:158) > > at > > org.apache.geronimo.web.deployment.AbstractWebModuleBuilder.createModu > > le(AbstractWebModuleBuilder.java:114) > > at > > org.apache.geronimo.web.deployment.AbstractWebModuleBuilder$ > > $FastClassByCGLIB$$459e0cc.invoke() > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke > > (FastMethodInvoker.java:38) > > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke > > (GBeanOperation.java:122) > > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke > > (GBeanInstance.java:817) > > at org.apache.geronimo.gbean.runtime.RawInvoker.invoke > > (RawInvoker.java:57) > > at > > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke > > (RawOperationInvoker.java:35) > > at > > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept > > (ProxyMethodInterceptor.java:96) > > at org.apache.geronimo.j2ee.deployment.ModuleBuilder$ > > $EnhancerByCGLIB$$23aaf839.createModule() > > at > > org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.createModul > > e(SwitchingModuleBuilder.java:94) > > at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder > > $$FastClassByCGLIB$$d0c31844.invoke() > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke > > (FastMethodInvoker.java:38) > > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke > > (GBeanOperation.java:122) > > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke > > (GBeanInstance.java:817) > > at org.apache.geronimo.gbean.runtime.RawInvoker.invoke > > (RawInvoker.java:57) > > at > > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke > > (RawOperationInvoker.java:35) > > at > > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept > > (ProxyMethodInterceptor.java:96) > > at org.apache.geronimo.j2ee.deployment.ModuleBuilder$ > > $EnhancerByCGLIB$$23aaf839.createModule() > > at > > org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan > > (EARConfigBuilder.java:275) > > at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$ > > $FastClassByCGLIB$$38e56ec6.invoke() > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke > > (FastMethodInvoker.java:38) > > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke > > (GBeanOperation.java:122) > > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke > > (GBeanInstance.java:817) > > at org.apache.geronimo.gbean.runtime.RawInvoker.invoke > > (RawInvoker.java:57) > > at > > org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke > > (RawOperationInvoker.java:35) > > at > > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept > > (ProxyMethodInterceptor.java:96) > > at org.apache.geronimo.deployment.ConfigurationBuilder$ > > $EnhancerByCGLIB$$2f9800ab.getDeploymentPlan() > > at org.apache.geronimo.deployment.Deployer.deploy > > (Deployer.java:232) > > at org.apache.geronimo.deployment.Deployer.deploy > > (Deployer.java:124) > > at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$ > > $734a235d.invoke() > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke > > (FastMethodInvoker.java:38) > > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke > > (GBeanOperation.java:122) > > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke > > (GBeanInstance.java:852) > > at org.apache.geronimo.kernel.basic.BasicKernel.invoke > > (BasicKernel.java:239) > > at > > org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDe > > ploy(AbstractDeployCommand.java:106) > > at > > org.apache.geronimo.deployment.plugin.local.DistributeCommand.run > > (DistributeCommand.java:60) > > at java.lang.Thread.run(Thread.java:552) > > Caused by: org.apache.xmlbeans.XmlException: Invalid deployment > > descriptor: [error: cvc-complex-type.2.4a: Expected elements > > 'context-root@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1 > > web-container@http://geronimo.apache.org/xml/ns/naming-1.1 > > host@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1 > > cross-context@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1 > > disable-cookies@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1 > > valve-chain@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1 > > tomcat-realm@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1 > > manager@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1 > > cluster@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1 > > gbean-ref@http://geronimo.apache.org/xml/ns/naming-1.1 > > ejb-ref@http://geronimo.apache.org/xml/ns/naming-1.1 > > ejb-local-ref@http://geronimo.apache.org/xml/ns/naming-1.1 > > service-ref@http://geronimo.apache.org/xml/ns/naming-1.1 > > resource-ref@http://geronimo.apache.org/xml/ns/naming-1.1 > > resource-env-ref@http://geronimo.apache.org/xml/ns/naming-1.1 > > message-destination@http://geronimo.apache.org/xml/ns/naming-1.1 > > security-realm-name@http://geronimo.apache.org/xml/ns/j2ee/web/ > > tomcat-1.1 > > gbean@http://geronimo.apache.org/xml/ns/deployment-1.1' instead of > > 'message-destination@http://geronimo.apache.org/xml/ns/j2ee/web/ > > tomcat-1.1' > > here] > > Descriptor: > xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1" > > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1" > > xmlns:tom="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1"> > > > > > > geronimo > > wtf > > 1.1 > > war > > > > > > > > x > > y > > > > > > at > > org.apache.geronimo.schema.SchemaConversionUtils.validateDD > > (SchemaConversionUtils.java:604) > > at > > org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.getTomcatWeb > > App(TomcatModuleBuilder.java:234) > > ... 42 more > > > > > > somehow my deployment namespace got replaced by the web-tomcat > > namespace. > > (I first tried with jetty, there it happens too, but with the > > web-jetty namespace instead of the web-tomcat namespace) > > > > it seems as if some stylesheet that tries to convert the deployment > > plan converts a bit too much :) > > > > regards > > chris > > -- > > christoph.sturm@gmail.com > > -- christoph.sturm@gmail.com