Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 75117 invoked from network); 6 Dec 2008 19:14:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2008 19:14:30 -0000 Received: (qmail 56008 invoked by uid 500); 6 Dec 2008 19:14:36 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 55978 invoked by uid 500); 6 Dec 2008 19:14:36 -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 55967 invoked by uid 99); 6 Dec 2008 19:14:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Dec 2008 11:14:36 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Dec 2008 19:13:06 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1L92bB-0003J7-C0 for user@geronimo.apache.org; Sat, 06 Dec 2008 11:13:53 -0800 Message-ID: <20873397.post@talk.nabble.com> Date: Sat, 6 Dec 2008 11:13:53 -0800 (PST) From: fmchale To: user@geronimo.apache.org Subject: Re: jRuby on Geronimo 2.1.3 invalid taglibs In-Reply-To: <6EB4B4E5-8A51-418C-9706-419978972113@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: fmchale@cisco.com References: <20866794.post@talk.nabble.com> <6EB4B4E5-8A51-418C-9706-419978972113@yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Here is the jruby-rack tld file from github 1.0 jruby-rack urn:org.jruby.rack rails org.jruby.rack.RackTag empty Makes requests to the rails application and renders the results to the page path true true java.lang.String params false true java.lang.String rack org.jruby.rack.RackTag empty Makes requests to the rack application and renders the results to the page path true true java.lang.String params false true java.lang.String I looked through the schema/dtd and as you mentioned didnt see any info element inside the tag element. I will raise this issue with the author. Thanks for your help david. Fred djencks wrote: > > If the tld xml file that shows up in the error message is not the same > as the original could you show us the original? Otherwise the error > message is telling you that the tld file is invalid. In particular > there is no info element inside the tag element. > > For some reason many tag library authors don't seem to validate that > their tlds conform to the schemas claimed. I'm a bit mystified that > they deploy on any jsp implementations. I don't have the pre-2.0 tld > schema or dtd handy but I doubt there was an info element there either. > > thanks > david jencks > > On Dec 5, 2008, at 8:44 PM, fmchale wrote: > >> >> Hi, >> >> I am attempting to deploy a simple Jruby on Rails test application >> onto >> Geronimo-jetty 2.1.3. After packaging up my application into a war >> I can >> successfully deploy the application on Geronimo, and it runs fine. >> Although >> I do get the following which I am attempting to understand. >> >> 20:39:08,411 WARN [JspModuleBuilderExtension] Invalid transformed >> taglib >> org.apache.xmlbeans.XmlException: Invalid deployment descriptor: >> errors: >> >> jar:file:/Users/frederickmchale/Documents/geronimo-jetty6- >> javaee5-2.1.3/repository/default/j_test/1228538323041/ >> j_test-1228538323041.war/WEB-INF/lib/jruby-rack-0.9.3.jar!/META-INF/ >> jruby-rack.tld:11:5: >> error: cvc-complex-type.2.4a: Expected elements >> 'variable@http://java.sun.com/xml/ns/javaee >> attribute@http://java.sun.com/xml/ns/javaee >> dynamic-attributes@http://java.sun.com/xml/ns/javaee >> example@http://java.sun.com/xml/ns/javaee >> tag-extension@http://java.sun.com/xml/ns/javaee' instead of >> 'info@http://java.sun.com/xml/ns/javaee' here in element >> tag@http://java.sun.com/xml/ns/javaee >> >> jar:file:/Users/frederickmchale/Documents/geronimo-jetty6- >> javaee5-2.1.3/repository/default/j_test/1228538323041/ >> j_test-1228538323041.war/WEB-INF/lib/jruby-rack-0.9.3.jar!/META-INF/ >> jruby-rack.tld:29:5: >> error: cvc-complex-type.2.4a: Expected elements >> 'variable@http://java.sun.com/xml/ns/javaee >> attribute@http://java.sun.com/xml/ns/javaee >> dynamic-attributes@http://java.sun.com/xml/ns/javaee >> example@http://java.sun.com/xml/ns/javaee >> tag-extension@http://java.sun.com/xml/ns/javaee' instead of >> 'info@http://java.sun.com/xml/ns/javaee' here in element >> tag@http://java.sun.com/xml/ns/javaee >> >> Descriptor: >> > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee >> http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" >> xmlns="http://java.sun.com/xml/ns/j2ee" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xmlns:jav="http://java.sun.com/xml/ns/javaee"> >> 1.0 >> jruby-rack >> urn:org.jruby.rack >> >> rails >> org.jruby.rack.RackTag >> empty >> Makes requests to the rails application and renders the >> results to the page >> >> path >> true >> true >> java.lang.String >> >> >> params >> false >> true >> java.lang.String >> >> >> >> rack >> org.jruby.rack.RackTag >> empty >> Makes requests to the rack application and renders the >> results >> to the page >> >> path >> true >> true >> java.lang.String >> >> >> params >> false >> true >> java.lang.String >> >> >> >> >> at >> org >> .apache >> .geronimo >> .deployment.xmlbeans.XmlBeansUtil.validateDD(XmlBeansUtil.java:187) >> at >> org >> .apache >> .geronimo >> .jasper >> .deployment >> .JspModuleBuilderExtension >> .convertToTaglibSchema(JspModuleBuilderExtension.java:674) >> at >> org >> .apache >> .geronimo >> .jasper >> .deployment >> .JspModuleBuilderExtension >> .parseTldFile(JspModuleBuilderExtension.java:439) >> at >> org >> .apache >> .geronimo >> .jasper >> .deployment >> .JspModuleBuilderExtension >> .getListenerClasses(JspModuleBuilderExtension.java:424) >> at >> org >> .apache >> .geronimo >> .jasper >> .deployment >> .JspModuleBuilderExtension >> .createJspClassFinder(JspModuleBuilderExtension.java:180) >> at >> org >> .apache >> .geronimo >> .jasper >> .deployment >> .JspModuleBuilderExtension.addGBeans(JspModuleBuilderExtension.java: >> 149) >> at >> org >> .apache >> .geronimo >> .jetty6 >> .deployment.JettyModuleBuilder.addGBeans(JettyModuleBuilder.java:518) >> at >> org >> .apache >> .geronimo >> .j2ee >> .deployment >> .SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:165) >> at >> org >> .apache >> .geronimo >> .j2ee >> .deployment >> .EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647) >> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254) >> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun >> .reflect >> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun >> .reflect >> .DelegatingMethodAccessorImpl >> .invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org >> .apache >> .geronimo >> .gbean >> .runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java: >> 34) >> at >> org >> .apache >> .geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) >> at >> org >> .apache >> .geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867) >> at >> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java: >> 239) >> at >> org >> .apache >> .geronimo >> .deployment >> .plugin >> .local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) >> at >> org >> .apache >> .geronimo >> .deployment >> .plugin.local.DistributeCommand.run(DistributeCommand.java:61) >> at java.lang.Thread.run(Thread.java:613) >> >> Any help would be appreciated. >> >> Fred >> -- >> View this message in context: >> http://www.nabble.com/jRuby-on-Geronimo-2.1.3-invalid-taglibs-tp20866794s134p20866794.html >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/jRuby-on-Geronimo-2.1.3-invalid-taglibs-tp20866794s134p20873397.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.