I did send the following problem a week or so ago. Can someone please still
help me with this ?
Eddie
-----------
FROM: Eddie PostDATE: 06/06/2002 23:51:01SUBJECT: [dbforms] Strange parsing
error Hellu,
Ok, everthing seems to work fine, but still have one error in the standard
output. This is because my log.property file is in the name/value pair
format (the old one) while dbforms requires the new XML-format. However, in
some way it uses the settings and writes in the correct log file.
But what about this error ? how can I tell dbforms to use the old format.
For me it isn't an option to switch to the newer format as I use a central
config file with one copy of the log4j jar file.
Parsing error:
---------------
......
Set org.dbforms.util.DbConnection properties
Call org.dbforms.DbFormsConfig.setDbConnection(DbConnection = name=
jdbc:inetdae7:localhost,jndi=false,conClass=com.inet.tds.PDataSourc
e,username=WebStagingUser)
Pop org.dbforms.util.DbConnection
Parse Fatal Error at line 1 column -1: Document root element is mis
sing.
org.xml.sax.SAXParseException: Document root element is missing.
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3035)
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3023)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
at org.apache.commons.digester.Digester.parse(Digester.java:1206)
at org.dbforms.ConfigServlet.initXMLErrors(ConfigServlet.java:363)
at org.dbforms.ConfigServlet.init(ConfigServlet.java:113)
at javax.servlet.GenericServlet.init(GenericServlet.java:44)
at com.evermind._cp._vnc(.:1630)^M
at com.evermind._cp._wxc(.:3891)^M
at com.evermind._cp._vqc(.:3990)^M
at com.evermind._cp._wcc(.:546)^M
at com.evermind._cp.<init>(.:348)^M
at com.evermind._aj._qad(.:536)^M
at com.evermind._cr._qad(.:581)^M
---------------
Please some advice ?
Eddie
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms