Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 60199 invoked from network); 6 Dec 2008 08:13:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2008 08:13:24 -0000 Received: (qmail 74244 invoked by uid 500); 6 Dec 2008 08:13:35 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 74213 invoked by uid 500); 6 Dec 2008 08:13:35 -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 74198 invoked by uid 99); 6 Dec 2008 08:13:35 -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 00:13:35 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.59] (HELO smtp104.prem.mail.sp1.yahoo.com) (98.136.44.59) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 06 Dec 2008 08:12:03 +0000 Received: (qmail 3585 invoked from network); 6 Dec 2008 08:12:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=iBpK1QwQ072TtnYpP7g2Qgmm89IRhJfLYYflIQ+L9LgSrgxdxv+S8yNf6h6cTKs4k6h5seOYOm6DNW7cdJBDfJX+xJzztZ5L5t9cwiYMpyHoRv7qWIdZNHCsir3o74B3r5w19m0jqPpGW4TcvMOFteP2d8TiTsexbrX+QTPRsv4= ; Received: from unknown (HELO ?10.11.55.10?) (david_jencks@63.105.20.225 with plain) by smtp104.prem.mail.sp1.yahoo.com with SMTP; 6 Dec 2008 08:12:47 -0000 X-YMail-OSG: xdzeOLMVM1k4l_vkSF2OAQ_8oT7fPnfPM0TE4MDOzQ1ui9oeC5eZd1hW3OVDHgp1OS68SRb53CYbNVn81tDPofvXtdNt6YuybOrdb62kkSqgFNS13b3eKvG9uS9.lzz.PROkOD0liRxwVW.rhNE1y_FkKpe0IZjb2bL1vCI90y7zA0uPvlajDJ_uEXs- X-Yahoo-Newman-Property: ymail-3 Message-Id: <6EB4B4E5-8A51-418C-9706-419978972113@yahoo.com> From: David Jencks To: user@geronimo.apache.org In-Reply-To: <20866794.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: jRuby on Geronimo 2.1.3 invalid taglibs Date: Sat, 6 Dec 2008 00:12:44 -0800 References: <20866794.post@talk.nabble.com> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org 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. >