I have built the demo-alert-aggregator war file as given in the instructions
in Java SCA 1.3.1 (RC1) distribution and tried to deploy (not run, just
deploy) the war on Geronimo 2.1.2.  I ended up with the following exception:

18:39:26,109 WARN  [JspModuleBuilderExtension] Invalid transformed taglib
org.apache.xmlbeans.XmlException: Invalid deployment descriptor: errors:

D:\eclipse\jar:file:D:\g\geronimo-tomcat6-javaee5-2.1.2\repository\org\apache\tuscany\sca\demo-alert-aggregator-webapp\1.3.1\demo-alert-aggregator-webapp-1.3.1.war\WEB-INF\lib\tuscany-host-webapp-1.3.1.jar!\META-INF\sca.tld:23:1:
error: uniqattspec: Duplicate attribute: version in element taglib@
http://java.sun.com/xml/ns/javaee

D:\eclipse\jar:file:D:\g\geronimo-tomcat6-javaee5-2.1.2\repository\org\apache\tuscany\sca\demo-alert-aggregator-webapp\1.3.1\demo-alert-aggregator-webapp-1.3.1.war\WEB-INF\lib\tuscany-host-webapp-1.3.1.jar!\META-INF\sca.tld:40:7:
error: cvc-complex-type.2.4a: Expected elements 'rtexprvalue@
http://java.sun.com/xml/ns/javaee deferred-value@
http://java.sun.com/xml/ns/javaee deferred-method@
http://java.sun.com/xml/ns/javaee [EMAIL 
PROTECTED]://java.sun.com/xml/ns/javaee'
instead of '[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee' here in element
[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee

D:\eclipse\jar:file:D:\g\geronimo-tomcat6-javaee5-2.1.2\repository\org\apache\tuscany\sca\demo-alert-aggregator-webapp\1.3.1\demo-alert-aggregator-webapp-1.3.1.war\WEB-INF\lib\tuscany-host-webapp-1.3.1.jar!\META-INF\sca.tld:46:7:
error: cvc-complex-type.2.4a: Expected elements 'rtexprvalue@
http://java.sun.com/xml/ns/javaee deferred-value@
http://java.sun.com/xml/ns/javaee deferred-method@
http://java.sun.com/xml/ns/javaee [EMAIL 
PROTECTED]://java.sun.com/xml/ns/javaee'
instead of '[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee' here in element
[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee

D:\eclipse\jar:file:D:\g\geronimo-tomcat6-javaee5-2.1.2\repository\org\apache\tuscany\sca\demo-alert-aggregator-webapp\1.3.1\demo-alert-aggregator-webapp-1.3.1.war\WEB-INF\lib\tuscany-host-webapp-1.3.1.jar!\META-INF\sca.tld:52:7:
error: cvc-complex-type.2.4a: Expected elements 'rtexprvalue@
http://java.sun.com/xml/ns/javaee deferred-value@
http://java.sun.com/xml/ns/javaee deferred-method@
http://java.sun.com/xml/ns/javaee [EMAIL 
PROTECTED]://java.sun.com/xml/ns/javaee'
instead of '[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee' here in element
[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee

Descriptor:
<!--* Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.-->
<taglib xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"; version="2.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns="
http://java.sun.com/xml/ns/javaee";>
  <description>A tag library for integrating sca components with
jsp</description>
  <tlib-version>1.0</tlib-version>
  <short-name>SCA-JSP</short-name>
  <uri>http://www.osoa.org/sca/sca_jsp.tld</uri>
  <tag>
    <name>reference</name>

<tag-class>org.apache.tuscany.sca.host.webapp.jsp.ReferenceTag</tag-class>

<tei-class>org.apache.tuscany.sca.host.webapp.jsp.ReferenceTEI</tei-class>
    <body-content>empty</body-content>
    <attribute>
      <name>name</name>
      <required>true</required>
      <type>java.lang.String</type>
    </attribute>
    <attribute>
      <name>type</name>
      <required>true</required>
      <type>java.lang.String</type>
    </attribute>
    <attribute>
      <name>scope</name>
      <required>false</required>
      <type>java.lang.Integer</type>
    </attribute>
  </tag>
</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.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:497)
    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:595)

Has anyone been able to run this sample on Geronimo?

++Vamsi

Reply via email to