Apache JDO Project - [jira] Commented: (JDO-421) Enhancer log contains ERRORs, but

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > September 2006 > [jira] Commented: (JDO-421) Enhancer log contains ERRORs, but





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (JDO-421) Enhancer log contains ERRORs, but
Craig Russell (JIRA)

2006-09-12, 1:11 am

[ http://issues.apache.org/jira/brows...action_12434051 ]

Craig Russell commented on JDO-421:
-----------------------------------

Considering that this is only a JPOX issue, and the TCK doesn't need to validate schema, I think Andy's proposed patch to jdori-pmf.properties is a good solution.

I'm not clear on all the changes to log4j.properties, though. Could you please annotate the changes?

# JPOX loggers
log4j.logger.JPOX = INFO, JPOX
-log4j.additivity.JPOX = false
+log4j.additivity.JPOX = false

Ok, this removes a trailing blank.

#log4j.logger.JPOX.JDO = INFO, JPOX
#log4j.logger.JPOX.Cache = INFO, JPOX
-#log4j.logger.JPOX.MetaData = INFO, JPOX
+#log4j.logger.JPOX.MetaData = DEBUG, JPOX

This appears to add more metdata information to the log, correct?

#log4j.logger.JPOX.General = DEBUG, JPOX
#log4j.logger.JPOX.Utility = INFO, JPOX
#log4j.logger.JPOX.Transaction = INFO, JPOX
@@ -64,7 +64,8 @@
#log4j.logger.JPOX.RDBMS = DEBUG, JPOX

log4j.logger.JPOX.Enhancer = INFO, JPOX
-log4j.logger.JPOX.SchemaTool = INFO, JPOX

The following line (+2) seems to comment this line. Could you explain why?

+log4j.additivity.JPOX.Enhancer = false

I don't know what this change does.

+#log4j.logger.JPOX.SchemaTool = INFO, JPOX


> Enhancer log contains ERRORs, but output appears to be fine
> -----------------------------------------------------------
>
> Key: JDO-421
> URL: http://issues.apache.org/jira/browse/JDO-421
> Project: JDO
> Issue Type: Bug
> Components: tck20
> Affects Versions: JDO 2 maintenance release 1
> Reporter: Michelle Caisse
> Priority: Minor
> Attachments: jdori-pmf.properties.patch, log4j.properties.patch
>
>
> There are numerous errors in the enhancer log, yet the enhancer runs to completion and produces valid output. These messages should be warnings at most.
> 17:12:15,804 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an error in file "package.jdo" at line 9, column 47 : Document root element "jdo", must match DOCTYPE root "null". - Please check your specification of DTD and the validity of the M

etaData XML that you have specified.
> 17:12:15,804 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an error in file "package.jdo" at line 9, column 47 : Document is invalid: no grammar found. - Please check your specification of DTD and the validity of the MetaData XML that you h

ave specified.
> 17:12:16,104 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an error in file "org/apache/jdo/tck/api/instancecallbacks/package.jdo" at line 8, column 47 : Document root element "jdo", must match DOCTYPE root "null". - Please check your speci

fication of DTD and the validity of the MetaData XML that you have specified.
> 17:12:16,104 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an error in file "org/apache/jdo/tck/api/instancecallbacks/package.jdo" at line 8, column 47 : Document is invalid: no grammar found. - Please check your specification of DTD and th

e validity of the MetaData XML that you have specified.
> 17:12:16,795 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an error in file "org/apache/jdo/tck/pc/company/package.jdo" at line 5, column 47 : Document root element "jdo", must match DOCTYPE root "null". - Please check your specification of

DTD and the validity of the MetaData XML that you have specified.
> 17:12:16,795 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an error in file "org/apache/jdo/tck/pc/company/package.jdo" at line 5, column 47 : Document is invalid: no grammar found. - Please check your specification of DTD and the validity

of the MetaData XML that you have specified.
> 17:12:17,015 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an error in file "org/apache/jdo/tck/pc/companyMapWithoutJoin/package.jdo" at line 5, column 47 : Document root element "jdo", must match DOCTYPE root "null". - Please check your sp

ecification of DTD and the validity of the MetaData XML that you have specified.
> 17:12:17,015 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an error in file "org/apache/jdo/tck/pc/companyMapWithoutJoin/package.jdo" at line 5, column 47 : Document is invalid: no grammar found. - Please check your specification of DTD and

the validity of the MetaData XML that you have specified.
> 17:12:17,055 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an error in file "org/apache/jdo/tck/pc/fieldtypes/AllTypes.jdo" at line 5, column 47 : Document root element "jdo", must match DOCTYPE root "null". - Please check your specificatio

n of DTD and the validity of the MetaData XML that you have specified.
> 17:12:17,055 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an error in file "org/apache/jdo/tck/pc/fieldtypes/AllTypes.jdo" at line 5, column 47 : Document is invalid: no grammar found. - Please check your specification of DTD and the valid

ity of the MetaData XML that you have specified.
> 17:12:17,065 (main) ERROR [JPOX.MetaData] - MetaData Parser encountered an error in file "org/apache/jdo/tck/pc/fieldtypes/ArrayCollections.jdo" at line 5, column 47 : Document root element "jdo", must match DOCTYPE root "null". - Please check your spec

ification of DTD and the validity of the MetaData XML that you have specified.
> ...


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com