On 1/26/07, amjad Shahrour <[EMAIL PROTECTED]> wrote:

Hi,

I am using shale-tiger along with ADF faces on tomcat 5.5.8. and i am
having
several exceptions thrown at the startup of the server (but this seems not
affecting the working of shale, i.e. callbacks are being called)

Class = org.apache.commons.digester.Digester
Parse Error at line 83 column 19: The content of element type "attribute"
must match "(description*,display-name*,icon*,attribute-name,at
tribute-class,default-value?,suggested-value?,attribute-extension*)".


One of the frustrating things about Digester error messages is you get the
line and column number, but not the resource name :-).  But this one looks
like an issue with an <attribute> element in one of your
faces-config.xmlresources.  Most likely, you have a nested element
inside that is not valid
(the list after "must match" is the only valid subelements).

Craig


************org.xml.sax.SAXParseException: The content of element type
"attribute" must match "(description*,display-name*,icon*,attribut

e-name,attribute-class,default-value?,suggested-value?,attribute-extension*)".
        at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown
Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement
(Unknown
Source)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement
(Unknown
Source)
        at

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at org.apache.commons.digester.Digester.parse(Digester.java:1647)
        at org.apache.shale.tiger.config.FacesConfigParser.parse(
FacesConfigParser.java:157)
        at
org.apache.shale.tiger.view.faces.LifecycleListener2.parseResource(
LifecycleListener2.java:1282)
        at
org.apache.shale.tiger.view.faces.LifecycleListener2.contextInitialized(
LifecycleListener2.java:290)
        at
org.apache.shale.view.faces.LifecycleListener.contextInitialized(
LifecycleListener.java:138)
        at org.apache.catalina.core.StandardContext.listenerStart(
StandardContext.java:3659)
        at org.apache.catalina.core.StandardContext.start(
StandardContext.java:4097)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
:1012)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java
:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
:1012)
        at org.apache.catalina.core.StandardEngine.start(
StandardEngine.java
:442)
        at org.apache.catalina.core.StandardService.start(
StandardService.java:450)
        at org.apache.catalina.core.StandardServer.start(
StandardServer.java
:683)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
        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.catalina.startup.Bootstrap.start(Bootstrap.java:271)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)

regards,
Amjad Shahrour


Reply via email to