• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1608
  • Last Modified:

weblogic server start

When i start weblogic server i am getting these errors:

What are they and how they can be fixed.

1.
ERROR digester.Digester  - Parse Error at line 143 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*)".
        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)

2.
555 [main] INFO util.PropertyMessageResources  - Initializing, config='application', returnNull=true
702 [main] ERROR digester.Digester  - Parse Error at line 6 column 19: Document is invalid: no grammar found.
org.xml.sax.SAXParseException: Document is invalid: no grammar found.
        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)

3.
707 [main] ERROR digester.Digester  - Parse Error at line 6 column 19: Document root element "tiles-definitions", must match DOCTYPE root "null".
org.xml.sax.SAXParseException: Document root element "tiles-definitions", must match DOCTYPE root "null".
        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.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

I am not using Tiles in  my struts at present.

4.
743 [main] INFO tiles.TilesPlugin  - Tiles definition factory loaded for module ''.
756 [main] INFO validator.ValidatorPlugIn  - Loading validation rules file from '/WEB-INF/validator-rules.xml'
822 [main] INFO validator.ValidatorPlugIn  - Loading validation rules file from '/WEB-INF/validation.xml'
0 [main] INFO util.PropertyMessageResources  - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
3 [main] INFO util.PropertyMessageResources  - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
340 [main] INFO util.PropertyMessageResources  - Initializing, config='application', returnNull=true
440 [main] ERROR digester.Digester  - Parse Error at line 7 column 19: Document is invalid: no grammar found.
org.xml.sax.SAXParseException: Document is invalid: no grammar found.
        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.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)

I am not using validator plugin either

5.
743 [main] INFO tiles.TilesPlugin  - Tiles definition factory loaded for module ''.
756 [main] INFO validator.ValidatorPlugIn  - Loading validation rules file from '/WEB-INF/validator-rules.xml'
822 [main] INFO validator.ValidatorPlugIn  - Loading validation rules file from '/WEB-INF/validation.xml'
0 [main] INFO util.PropertyMessageResources  - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
3 [main] INFO util.PropertyMessageResources  - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
340 [main] INFO util.PropertyMessageResources  - Initializing, config='application', returnNull=true
440 [main] ERROR digester.Digester  - Parse Error at line 7 column 19: Document is invalid: no grammar found.
org.xml.sax.SAXParseException: Document is invalid: no grammar found.
        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.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)

I would like to know how to correct all of them also.

Thanks.




0
su_harvie
Asked:
su_harvie
1 Solution
 
YagantappaCommented:
There are some errors in your configuration files validator-rules.xm, validation.xml and struts-config.xml files.
Are you trying to deploy struts application?
0
 
su_harvieAuthor Commented:
yes,

it seems the error waas in some other file. Now it is not giving thsi error.

Thanks for the suggestion it helped.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now