|
From: Jason W. <jwo...@hb...> - 2004-01-23 02:01:08
|
Mark, I do remember running into this a while back. Don't remember whether I was able to fix it, but have you tried backing off to the 2.0.x release? (I assume by the error message that you're using the CVS version.) It looks like there was a switch from calling Xerces directly to calling it via JAXP. Not sure why that would make a difference, but maybe it caused validation to be turned on. You could try turning it off with dbf.setValidating(false) at ChartArchiver.java:79. -j -----Original Message----- From: rep...@li... [mailto:rep...@li...] On Behalf Of Mark R. Diggory Sent: Monday, January 19, 2004 11:25 AM To: repast-developer Subject: [Repast-developer] Chart Archiver Hangs For some reason I can't fathom, the chart archiver is attempting to open an ftp connection during the XML parsing, and then hanging for about 2 mins before timing out. Is this exception at all familiar to others? Is it attempting to get a DTD or Schema from somewhere that could have been stored locally? -Mark Error loading persistent chart sizes and positions java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at sun.net.NetworkClient.doConnect(NetworkClient.java:139) at sun.net.NetworkClient.openServer(NetworkClient.java:118) at sun.net.ftp.FtpClient.openServer(FtpClient.java:423) at sun.net.ftp.FtpClient.<init>(FtpClient.java:692) at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java: 175) at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnectio n.java:257) at java.net.URL.openStream(URL.java:913) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124) at uchicago.src.sim.analysis.ChartArchiver.loadXML(ChartArchiver.java:81) at uchicago.src.sim.analysis.ChartArchiver.loadCharts(ChartArchiver.java:69 ) at uchicago.src.sim.engine.AbstractGUIController.setModel(AbstractGUIContro ller.java:155) at uchicago.src.sim.engine.Controller.setModel(Controller.java:146) -- Mark Diggory Software Developer Harvard MIT Data Center http://osprey.hmdc.harvard.edu ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Repast-developer mailing list Rep...@li... https://lists.sourceforge.net/lists/listinfo/repast-developer |