geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmchale <fmch...@cisco.com>
Subject jRuby on Geronimo 2.1.3 invalid taglibs
Date Sat, 06 Dec 2008 04:44:37 GMT

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:
<jav:taglib version="2.1"
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">
  <jav:tlib-version>1.0</jav:tlib-version>
  <jav:short-name>jruby-rack</jav:short-name>
  <jav:uri>urn:org.jruby.rack</jav:uri>
  <jav:tag>
    <jav:name>rails</jav:name>
    <jav:tag-class>org.jruby.rack.RackTag</jav:tag-class>
    <jav:body-content>empty</jav:body-content>
    <jav:info>Makes requests to the rails application and renders the
results to the page</jav:info>
    <jav:attribute>
      <jav:name>path</jav:name>
      <jav:required>true</jav:required>
      <jav:rtexprvalue>true</jav:rtexprvalue>
      <jav:type>java.lang.String</jav:type>
    </jav:attribute>
    <jav:attribute>
      <jav:name>params</jav:name>
      <jav:required>false</jav:required>
      <jav:rtexprvalue>true</jav:rtexprvalue>
      <jav:type>java.lang.String</jav:type>
    </jav:attribute>
  </jav:tag>
  <jav:tag>
    <jav:name>rack</jav:name>
    <jav:tag-class>org.jruby.rack.RackTag</jav:tag-class>
    <jav:body-content>empty</jav:body-content>
    <jav:info>Makes requests to the rack application and renders the results
to the page</jav:info>
    <jav:attribute>
      <jav:name>path</jav:name>
      <jav:required>true</jav:required>
      <jav:rtexprvalue>true</jav:rtexprvalue>
      <jav:type>java.lang.String</jav:type>
    </jav:attribute>
    <jav:attribute>
      <jav:name>params</jav:name>
      <jav:required>false</jav:required>
      <jav:rtexprvalue>true</jav:rtexprvalue>
      <jav:type>java.lang.String</jav:type>
    </jav:attribute>
  </jav:tag>
</jav:taglib>

	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.


Mime
View raw message