You must be still missing the set-configuration-property tag support.
Perhaps you're pulling in a old gwt jar somewhere?
Fred Sauer
[EMAIL PROTECTED]


On Wed, Oct 29, 2008 at 4:38 PM, cmr <[EMAIL PROTECTED]> wrote:

>
> Just to add to my previous email, it works if I use gwt-log-2.5.jar
> but not with r275.jar.
>
> Thanks,
> cmr
>
> On Oct 29, 1:37 pm, cmr <[EMAIL PROTECTED]> wrote:
> > I built my GWT from trunk and using that with your r275.jar still
> > gives me the same error during compilation. Am I missing anything
> > else?
> >
> > Information:Compilation completed with 39 errors and 0 warnings
> > Information:39 errors
> > Information:0 warnings
> > Error:[ERROR] Line 25: Unexpected element 'set-configuration-property'
> > Error:Failure while parsing XML
> > Error:at
> >
> com.google.gwt.dev.util.xml.DefaultSchema.onUnexpectedElement(DefaultSchema.java:
> > 80)
> > Error:at
> > com.google.gwt.dev.util.xml.Schema.onUnexpectedElement(Schema.java:93)
> > Error:at com.google.gwt.dev.util.xml.ReflectiveParser
> > $Impl.startElement(ReflectiveParser.java:186)
> > Error:at
> >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:
> > 501)
> > Error:at
> >
> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:
> > 179)
> > Error:at
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:
> > 1339)
> > Error:at
> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
> > $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
> > Error:at
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:
> > 648)
> > Error:at
> >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:
> > 510)
> > Error:at
> >
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:
> > 807)
> > Error:at
> >
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:
> > 737)
> > Error:at
> >
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:
> > 107)
> > Error:at
> >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:
> > 1205)
> > Error:at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
> > $JAXPSAXParser.parse(SAXParserImpl.java:522)
> > Error:at com.google.gwt.dev.util.xml.ReflectiveParser
> > $Impl.parse(ReflectiveParser.java:310)
> > Error:at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access
> > $100(ReflectiveParser.java:48)
> > Error:at
> > com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:
> > 381)
> > Error:at
> > com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:
> > 243)
> > Error:at com.google.gwt.dev.cfg.ModuleDefSchema
> > $BodySchema.__inherits_begin(ModuleDefSchema.java:194)
> > Error:at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> > Error:at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> > 25)
> > Error:at java.lang.reflect.Method.invoke(Method.java:597)
> > Error:at
> > com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:
> > 223)
> > Error:at com.google.gwt.dev.util.xml.ReflectiveParser
> > $Impl.startElement(ReflectiveParser.java:257)
> > Error:at com.google.gwt.dev.cfg.ModuleDefLoader
> > $1.load(ModuleDefLoader.java:155)
> > Error:at
> > com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:
> > 269)
> > Error:at
> >
> com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:
> > 127)
> > Error:at
> >
> com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:
> > 108)
> > Error:at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:562)
> > Error:at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:554)
> > Error:at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)
> > Error:[ERROR] Line 22: Unexpected exception while processing element
> > 'inherits'
> > Error:at com.google.gwt.dev.util.xml.ReflectiveParser
> > $Impl.parse(ReflectiveParser.java:334)
> > Error:at
> >
> com.google.gwt.dev.util.xml.DefaultSchema.onHandlerException(DefaultSchema.java:
> > 56)
> > Error:at
> > com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:65)
> > Error:at
> > com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:
> > 233)
> > Error:[ERROR] Line 6: Unexpected exception while processing element
> > 'inherits'
> >
> > Thanks,
> > cmr
> >
> > On Oct 28, 6:40 pm, "Fred Sauer" <[EMAIL PROTECTED]> wrote:
> >
> > > The r275 jar should already include the client IP address as part of
> each
> > > message logged on the server.
> > > Fred Sauer
> > > [EMAIL PROTECTED]
> >
> > > On Tue, Oct 28, 2008 at 4:27 PM, cmr <[EMAIL PROTECTED]> wrote:
> >
> > > > Is there any way to extract the client machine's IP address into a
> log
> > > > message sent to RemoteLogger?
> >
> > > > Thanks a lot,
> > > > cmr
> >
> > > > On Oct 28, 6:53 am, "Fred Sauer" <[EMAIL PROTECTED]> wrote:
> > > > > As I suspected:   Error:[ERROR] Line 25: Unexpected element
> > > > > 'set-configuration-property'
> >
> > > > > That's an indication of needing features from GWT that are newer
> than
> > > > 1.5.
> > > > > You can follow instructions on how to build your own GWT from trunk
> here:
> > > >http://code.google.com/webtoolkit/makinggwtbetter.html
> >
> > > > > HTH
> > > > > Fred Sauer
> > > > > [EMAIL PROTECTED]
> >
> > > > > On Mon, Oct 27, 2008 at 11:37 PM, Madhavi Reddy <[EMAIL PROTECTED]
> >
> > > > wrote:
> > > > > > Here are the compilation errors:
> >
> > > > > >
> ====================================================================
> > > > > > Information:Note: Recompile with -Xlint:unchecked for details.
> > > > > > Information:Compilation completed with 39 errors and 1 warning
> > > > > > Information:39 errors
> > > > > > Information:1 warning
> > > > > > Error:[ERROR] Line 25: Unexpected element
> 'set-configuration-property'
> > > > > > Error:Failure while parsing XML
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.util.xml.DefaultSchema.onUnexpectedElement(DefaultSchema.java:80)
> > > > > > Error:at
> > > > > >
> com.google.gwt.dev.util.xml.Schema.onUnexpectedElement(Schema.java:93)
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:186)
> > > > > > Error:at
> >
> > > >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
> > > > > > Error:at
> >
> > > >
> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
> > > > > > Error:at
> >
> > > >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)
> > > > > > Error:at
> >
> > > >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
> > > > > > Error:at
> >
> > > >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> > > > > > Error:at
> >
> > > >
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
> > > > > > Error:at
> >
> > > >
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
> > > > > > Error:at
> >
> > > >
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> > > > > > Error:at
> >
> > > >
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
> > > > > > Error:at
> >
> > > >
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> > > > > > Error:at
> >
> > > >
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:310)
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:381)
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:243)
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:194)
> > > > > > Error:at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown
> Source)
> > > > > > Error:at
> >
> > > >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > Error:at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:223)
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:257)
> > > > > > Error:at
> > > > > >
> com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:155)
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:269)
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:127)
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:108)
> > > > > > Error:at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:562)
> > > > > > Error:at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:554)
> > > > > > Error:at
> com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)
> > > > > > Error:[ERROR] Line 22: Unexpected exception while processing
> element
> > > > > > 'inherits'
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:334)
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.util.xml.DefaultSchema.onHandlerException(DefaultSchema.java:56)
> > > > > > Error:at
> > > > > >
> com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:65)
> > > > > > Error:at
> >
> > > >
> com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:233)
> > > > > > Error:[ERROR] Line 6: Unexpected exception while processing
> element
> > > > > > 'inherits'
> >
> > > > > > On Mon, Oct 27, 2008 at 10:01 PM, Fred Sauer <
> [EMAIL PROTECTED]>
> > > > wrote:
> >
> > > > > >> I should have mentioned that you need to be building from GWT
> trunk to
> > > > get
> > > > > >> some of the features that were used to put in configurable log
> message
> > > > > >> formatting (a few commits back). I fairly certain the r275 jar
> will
> > > > not work
> > > > > >> with GWT 1.5 at this point.
> > > > > >> If that doesn't work, can you send a detailed error message?
> >
> > > > > >> Thanks
> > > > > >> Fred
> >
> > ...
> >
> > read more ยป
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-log" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gwt-log?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to