Move the <description> element to the top of the <init-param> element.
For example, change:
<init-param>
<param-name>allowDeclarations</param-name>
<param-value>false</param-value>
<description>Controls whether or not declarations are
considered valid.</description>
</init-param>
to:
<init-param>
<description>Controls whether or not declarations are
considered valid.</description>
<param-name>allowDeclarations</param-name>
<param-value>false</param-value>
</init-param>
Jarek
On Jan 24, 2008 12:48 AM, jithesh <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Thanks for your response.....
>
> Here is my server log description
>
> 15:45:25,078 WARN [JspModuleBuilderExtension] Invalid transformed taglib
> org.apache.xmlbeans.XmlException: Invalid deployment descriptor: errors:
>
> D:\Program
> Files\IBM\WebSphere\AppServerCommunityEdition\bin\jar:file:D:\Program
> Files\IBM\WebSphere\AppServerCommunityEdition\repository\default\securedmd\1200996902765\securedmd-1200996902765.war\WEB-INF\lib\standard.jar!\META-INF\scriptfree.tld:21:7:
> error: cvc-complex-type.2.4b: Element not allowed:
> [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee in element
> [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee
>
> D:\Program
> Files\IBM\WebSphere\AppServerCommunityEdition\bin\jar:file:D:\Program
> Files\IBM\WebSphere\AppServerCommunityEdition\repository\default\securedmd\1200996902765\securedmd-1200996902765.war\WEB-INF\lib\standard.jar!\META-INF\scriptfree.tld:28:7:
> error: cvc-complex-type.2.4b: Element not allowed:
> [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee in element
> [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee
>
> D:\Program
> Files\IBM\WebSphere\AppServerCommunityEdition\bin\jar:file:D:\Program
> Files\IBM\WebSphere\AppServerCommunityEdition\repository\default\securedmd\1200996902765\securedmd-1200996902765.war\WEB-INF\lib\standard.jar!\META-INF\scriptfree.tld:35:7:
> error: cvc-complex-type.2.4b: Element not allowed:
> [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee in element
> [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee
>
> Descriptor:
> <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>Validates JSP pages to prohibit use of scripting
> elements.</description>
> <tlib-version>1.0</tlib-version>
> <short-name>scriptfree</short-name>
> <uri>http://jakarta.apache.org/taglibs/standard/scriptfree</uri>
> <validator>
> <description>Validates prohibitions against scripting
> elements.</description>
>
> <validator-class>javax.servlet.jsp.jstl.tlv.ScriptFreeTLV</validator-class>
> <init-param>
> <param-name>allowDeclarations</param-name>
> <param-value>false</param-value>
> <description>Controls whether or not declarations are considered
> valid.</description>
> </init-param>
> <init-param>
> <param-name>allowScriptlets</param-name>
> <param-value>false</param-value>
> <description>Controls whether or not scriptlets are considered
> valid.</description>
> </init-param>
> <init-param>
> <param-name>allowExpressions</param-name>
> <param-value>false</param-value>
> <description>Controls whether or not top-level expressions are
> considered valid.</description>
> </init-param>
> <init-param>
> <description>Controls whether or not expressions used to supply
> request-time
> attribute values are considered valid.</description>
> <param-name>allowRTExpressions</param-name>
> <param-value>false</param-value>
> </init-param>
> </validator>
> <!--Every TLD needs at least one 'tag' element. We happily oblige.-->
> <tag>
> <description>Does nothing.</description>
> <name>noop</name>
> <tag-class>javax.servlet.jsp.tagext.TagSupport</tag-class>
> <body-content>empty</body-content>
> </tag>
> </taglib>
>
> at
> org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD(XmlBeansUtil.java:223)
> at
> org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.convertToTaglibSchema(JspModuleBuilderExtension.java:675)
> at
> org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.parseTldFile(JspModuleBuilderExtension.java:433)
> at
> org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.getListenerClasses(JspModuleBuilderExtension.java:420)
> 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.jasper.deployment.JspModuleBuilderExtension$$FastClassByCGLIB$$1f60ab3b.invoke(<generated>)
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>
>
> Please provide a solution to resolve this....
>
> Thanks and regards
> Jithesh PM
> --
> View this message in context:
> http://www.nabble.com/Geronimo-2.0-tp15036324s134p15059152.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>