5 Replies Latest reply on Jan 28, 2008 4:40 PM by 666705

    weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND

    666705
      I have a deploy application on the server [Weblogic 10], but when I try to assign a VirtualHost handing me the following error:
                
                weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
                problem: cvc-complex-type.2.4b: Element not allowed: dispatcher@http://java.sun.com/xml/ns/javaee in element filter-mapping@http://java.sun.com/xml/ns/javaee:<null>
                problem: cvc-complex-type.2.4b: Element not allowed: dispatcher@http://java.sun.com/xml/ns/javaee in element filter-mapping@http://java.sun.com/xml/ns/javaee:<null>
                at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:234)
                at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:221)
                at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:146)
                at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292)
                at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
                Truncated. see log file for complete stacktrace
        • 1. Re: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
          666705
          Hi, ibarragz,
                    
                    It seems like there is something incorrect in your filter-mapping element. Would you please help to attach your simplified web.xml here?
                    
                    Thanks,
                    -Fred.
          • 2. Re: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
            666705
            <?xml version="1.0" encoding="UTF-8"?>
                      <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
                      <display-name>portalUchileWeb</display-name>
                      <welcome-file-list>
                      <welcome-file>index.html</welcome-file>
                      <welcome-file>index.htm</welcome-file>
                      <welcome-file>index.jsp</welcome-file>
                      <welcome-file>default.html</welcome-file>
                      <welcome-file>default.htm</welcome-file>
                      <welcome-file>default.jsp</welcome-file>
                      </welcome-file-list>
                      <filter>
                      <filter-name>PageFlowJspFilter</filter-name>
                      <filter-class>org.apache.beehive.netui.pageflow.PageFlowJspFilter</filter-class>
                      </filter>
                      <filter>
                      <filter-name>PageFlowForbiddenFilter</filter-name>
                      <filter-class>org.apache.beehive.netui.pageflow.PageFlowForbiddenFilter</filter-class>
                      <init-param>
                      <param-name>response-code</param-name>
                      <param-value>404</param-value>
                      </init-param>
                      </filter>
                      <filter-mapping>
                      <filter-name>PageFlowJspFilter</filter-name>
                      <url-pattern>*.jsp</url-pattern>
                      <dispatcher>FORWARD</dispatcher>
                      <dispatcher>REQUEST</dispatcher>
                      <dispatcher>INCLUDE</dispatcher>
                      </filter-mapping>
                      <filter-mapping>
                      <filter-name>PageFlowJspFilter</filter-name>
                      <url-pattern>*.jspx</url-pattern>
                      <dispatcher>FORWARD</dispatcher>
                      <dispatcher>REQUEST</dispatcher>
                      <dispatcher>INCLUDE</dispatcher>
                      </filter-mapping>
                      <filter-mapping>
                      <filter-name>PageFlowForbiddenFilter</filter-name>
                      <url-pattern>*.java</url-pattern>
                      <dispatcher>REQUEST</dispatcher>
                      </filter-mapping>
                      <filter-mapping>
                      <filter-name>PageFlowForbiddenFilter</filter-name>
                      <url-pattern>*.jsfb</url-pattern>
                      <dispatcher>REQUEST</dispatcher>
                      </filter-mapping>
                      <filter-mapping>
                      <filter-name>PageFlowForbiddenFilter</filter-name>
                      <url-pattern>*.jpfs</url-pattern>
                      <dispatcher>REQUEST</dispatcher>
                      </filter-mapping>
                      <listener>
                      <listener-class>org.apache.beehive.netui.pageflow.PageFlowContextListener</listener-class>
                      </listener>
                      <listener>
                      <listener-class>org.apache.beehive.netui.pageflow.HttpSessionMutexListener</listener-class>
                      </listener>
                      <servlet>
                      <servlet-name>action</servlet-name>
                      <servlet-class>org.apache.beehive.netui.pageflow.PageFlowActionServlet</servlet-class>
                      <init-param>
                      <param-name>config</param-name>
                      <param-value>/_pageflow/struts-config.xml</param-value>
                      </init-param>
                      <init-param>
                      <param-name>debug</param-name>
                      <param-value>2</param-value>
                      </init-param>
                      <init-param>
                      <param-name>detail</param-name>
                      <param-value>2</param-value>
                      </init-param>
                      <load-on-startup>2</load-on-startup>
                      </servlet>
                      <servlet>
                      <servlet-name>XmlHttpRequestServlet</servlet-name>
                      <servlet-class>org.apache.beehive.netui.pageflow.xmlhttprequest.XmlHttpRequestServlet</servlet-class>
                      </servlet>
                      <servlet-mapping>
                      <servlet-name>action</servlet-name>
                      <url-pattern>*.jpf</url-pattern>
                      </servlet-mapping>
                      <servlet-mapping>
                      <servlet-name>action</servlet-name>
                      <url-pattern>*.do</url-pattern>
                      </servlet-mapping>
                      <servlet-mapping>
                      <servlet-name>XmlHttpRequestServlet</servlet-name>
                      <url-pattern>*.xhr</url-pattern>
                      </servlet-mapping>
                      <servlet-mapping>
                      <servlet-name>XmlHttpRequestServlet</servlet-name>
                      <url-pattern>*.render</url-pattern>
                      </servlet-mapping>
                           <jsp-config>
                      <taglib>
                      <taglib-uri>render.tld</taglib-uri>
                      <taglib-location>/WEB-INF/lib/render_taglib.jar</taglib-location>
                      </taglib>
                      <taglib>
                      <taglib-uri>/WEB-INF/exesite.tld</taglib-uri>
                      <taglib-location>/WEB-INF/exesite.tld</taglib-location>
                      </taglib>
                      <taglib>
                      <taglib-uri>netui-tags-template.tld</taglib-uri>
                      <taglib-location>/WEB-INF/netui-tags-template.tld</taglib-location>
                      </taglib>
                           <taglib>
                      <taglib-uri>netui-tags-databinding.tld</taglib-uri>
                      <taglib-location>/WEB-INF/netui-tags-databinding.tld</taglib-location>
                      </taglib>
                      <taglib>
                      <taglib-uri>netui-tags-html.tld</taglib-uri>
                      <taglib-location>/WEB-INF/netui-tags-html.tld</taglib-location>
                      </taglib>
                      <taglib>
                      <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
                      <taglib-location>/WEB-INF/lib/struts-bean.tld</taglib-location>
                      </taglib>
                      <taglib>
                      <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
                      <taglib-location>/WEB-INF/lib/struts-logic.tld</taglib-location>
                      </taglib>
                      <taglib>
                      <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
                      <taglib-location>/WEB-INF/lib/struts-adapter-html.tld</taglib-location>
                      </taglib>
                      <taglib>
                      <taglib-uri>um.tld</taglib-uri>
                      <taglib-location>/WEB-INF/lib/um_taglib.jar</taglib-location>
                      </taglib>
                      </jsp-config>
                      </web-app>
            • 3. Re: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
              666705
              Hi ibarragz,
                        
                        I couldn't reproduce the problem you encountered, it works well in my environment. Could you make a small reproducer and upload it here.
              • 4. Re: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
                666705
                hi Ibarra... Is this problem solved? I am getting same error. i guess the problem related to name space used web-app tag.
                          Taglib xml tag may not be allowed with the new namespace specified for version 2.4 . Either new tagname or new configurations need to be done for taglibs. Thank you.
                          
                          --
                          Edited by itsvasu at 12/26/2007 1:29 AM
                • 5. Re: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
                  666705
                  Anybody resolved that problem?
                            
                            Sam.