[Moonbeam-users] Re: Bug? (fwd)
Status: Beta
Brought to you by:
slonko
|
From: hlan <he...@hl...> - 2002-11-21 14:11:23
|
hi rafael, i guess you tried the gui client. this exception appears when either - no xml document was send - the xml was invalid per default the server works with the "EnvelopeHandlerImpl", which in other words expects the default moonbeam messages. take a look at the src/dtd/messages.xml files, it includes samples messages for that handler. it is explained here: http://openj.net i changed a lot in the code these days, and demo application "ChatRoom" is not functional at all. but a i am trying to get it finished till next week. the demo should offer you a good starting point. if you like you can post to the mailinglist http://lists.sourceforge.net/lists/listinfo/moonbeam-users so that your questions are available for other users. so long, heiko On Thu, 21 Nov 2002, Rafael wrote: -|Why this message appear? -| -|rafael -| -| -|[ 21.11 11:36:30 ] Clients: 0 -|[ 21.11 11:36:34 ] added: client#/172.25.4.25:4752 -|[ 21.11 11:36:35 ] Document root element is missing -|com.sun.xml.sp.ParseException:1: Document root element -|is missing -| at com.sun.xml.sp.Parser.fatal(Parser.java:2008) -| at com.sun.xml.sp.Parser.fatal(Parser.java:1993) -| at com.sun.xml.sp.Parser.parseContent -|(Parser.java:2792) -| at com.sun.xml.sp.Parser.parse(Parser.java:2320) -| at com.sun.xml.sp.StreamingParserImpl.parse -|(StreamingParserImpl.java:10 -|2) -| at javax.xml.marshal.StreamScanner.next -|(StreamScanner.java:60) -| at javax.xml.marshal.StreamScanner.<init> -|(StreamScanner.java:46) -| at javax.xml.marshal.XMLScanner.open -|(XMLScanner.java:138) -| at openj.moonbeam.message.xml.Envelope.unmarshal -|(Envelope.java:210) -| at -|openj.moonbeam.message.EnvelopeHandlerImpl.handleMess -|age(EnvelopeHan -|dlerImpl.java:110) -| at -|openj.moonbeam.server.util.BufferedNullbyteReader.readFrom -|Stream(Buf -|feredNullbyteReader.java:57) -| at openj.moonbeam.server.ClientConnection.run -|(ClientConnection.java:164 -|) -| at java.lang.Thread.run(Thread.java:536) -|[ 21.11 11:36:35 ] Poolsize: 4 -|[ 21.11 11:36:35 ] Clients: 1[ 21.11 11:36:50 ] Poolsize: 4 -| -- --_ __ - ___ _ . -- __ - |