You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Gregory F. March" <ma...@gfm.net> on 2003/06/10 21:02:17 UTC

struts-config error?

While playing with Kevin's suggestions, I noticed two things (I'll
post the second in a separate email right after this one).

While weblogic 6.1sp4 starts up, I noticed the attached stack trace.
It goes away if I remove the following:

  <controller>
    <set-property property="inputForward" value="true"/>
  </controller>

The functionality seems to work, but I don't like seeing that
exception.  Any ideas?

Thanks,

/greg

--
Gregory F. March    -=-    http://www.gfm.net:81/~march    -=-    AIM:GfmNet

------------------------------------------------------------------------------
[ERROR] Digester - -Parse Error at line 290 column 17: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)". <org.xml.sax.SAXParseException: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".>org.xml.sax.SAXParseException: Thecontent of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
        at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1090)
        at weblogic.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(XMLValidator.java:1775)
        at weblogic.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1420)
        at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1234)
        at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:396)
        at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:975)
        at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:123)
        at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:125)
        at org.apache.commons.digester.Digester.parse(Digester.java:1543)
        at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:944)
        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:731)
        at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:658)
        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:603)
        at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2360)
        at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2301)
        at weblogic.servlet.internal.HttpServer.preloadServlets(HttpServer.java:558)
        at weblogic.servlet.internal.WebService.preloadServlets(WebService.java:450)
        at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:49)
        at java.lang.Thread.run(Thread.java:479)

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org