geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: deploy-offline, Deployer operation failed: Failed to expand the module archive
Date Thu, 03 Jul 2008 20:33:56 GMT

On Jul 3, 2008, at 3:47 PM, jklcom99 wrote:

>
> Thanks,
> Slowly I'm getting there.  I found a few posts others are having same
> problem deploying servicemix.war to Geronimo 2.1 but with no  
> answers.    I'm
> getting taglib error.

The <short-name> element of WEB-INF\myApp.tld is not compliant with  
the schema. There should not be any whitespace characters.

Although correct, our validation seems to be overly-strict. I'd have  
no objections to a change that permitted whitespace characters...

--kevan

>
>
>     [java] 15:00:46,352 INFO  [config] Loaded Module: myApp/1.0/car
>     [java] 15:00:49,430 WARN  [JspModuleBuilderExtension] Invalid
> transformed taglib
>     [java] org.apache.xmlbeans.XmlException: Invalid deployment  
> descriptor:
> errors:
>     [java]
>     [java] C:\apps\myApp.ear\webApp.war\WEB-INF\myApp.tld:10:5: error:
> cvc-datatype-valid.1.1: string value 'My App Tag Library' does not  
> match
> pattern for tld-canonical-nameType in namespace
> http://java.sun.com/xml/ns/javaee
>     [java]
>     [java] Descriptor:
>     [java] <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">
>     [java]   <tlib-version>1.0</tlib-version>
>     [java]   <short-name>My App Tag Library</short-name>
>     [java]   <uri>http://localhost/myApp</uri>
>     [java]   <tag>
>     [java]     <name>validateLogin</name>
>     [java]     <tag-class>myapp.web.tags.ValidateLoginTag</tag-class>
>     [java]     <body-content>empty</body-content>
>     [java]     <attribute>
>     [java]       <name>beanName</name>
>     [java]       <required>false</required>
>     [java]       <rtexprvalue>true</rtexprvalue>
>     [java]     </attribute>
>     [java]     <attribute>
>     [java]       <name>loginPage</name>
>     [java]       <required>false</required>
>     [java]       <rtexprvalue>true</rtexprvalue>
>     [java]     </attribute>
>     [java]     <attribute>
>     [java]       <name>successPage</name>
>     [java]       <required>false</required>
>     [java]       <rtexprvalue>true</rtexprvalue>
>     [java]     </attribute>
>     [java]   </tag>
>
>
> -- 
> View this message in context: http://www.nabble.com/deploy-offline%2C-Deployer-operation-failed%3A-Failed-to-expand-the-module-archive-tp18226797s134p18267007.html
> Sent from the Apache Geronimo - Users mailing list archive at  
> Nabble.com.
>


Mime
View raw message