[kepler-users] Kepler DOM timeout
Matt Jones
jones at nceas.ucsb.edu
Mon Apr 11 21:57:10 PDT 2011
Frank,
Looking into this further, it seems to have been fixed by riddle in r26177,
and so is fixed on the trunk. I verified that it is working without an
internet connection on Mac OS X 10.6 with Kepler trunk. Also verified that
the fix is in the 2.2 release branch, which should be out soon. So I think
that if you upgrade to 2.2 release the problem will be fixed, and that
Kepler will use a locally cached copy and not depend on an internet
connection for this MOML DTD file. Let us know if it seems otherwise once
you upgrade to the 2.2. release, which should be out soon.
Matt
PS I closed bug 5098.
On Mon, Apr 11, 2011 at 10:51 AM, Matt Jones <jones at nceas.ucsb.edu> wrote:
> This is a known bug, reported here:
> http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5098
>
> Kepler should not need connectivity, and it should be using a
> locally-cached version of the MOML DTD. For some reason TBD the code that
> loads the DTD as a local resource is not being called or finding the
> resource. More exploration is needed to determine why.
>
> I changed the milestone for this to Kepler 2.3 to try to work it out, but
> if its a straightforward fix we may be able to release a patch sooner.
>
> Matt
>
>
> On Mon, Apr 11, 2011 at 9:36 AM, Christopher Brooks <cxh at eecs.berkeley.edu
> > wrote:
>
>> The machine ptolemy.eecs.berkeley.edu is down right now,
>> it should be back up shortly.
>>
>> There is a bug here though. If a machine does not
>> have network access, it could be that Kepler will not run.
>>
>> _Christopher
>>
>>
>> On 4/11/11 10:21 AM, Frank White wrote:
>>
>>> Hello All:
>>> As of this morning, I am no longer able to build and run Kepler on my
>>> Windows machine. I also cannot execute workflows using the Kepler Webservice
>>> which is installed on a machine that has not been
>>> modified in weeks. I think I have traced my problem to not being able to
>>> access this file (http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd)
>>> to validate my XML. When I try to get to the file in a
>>> browser, I time out. Is it possible that the URL has changed? The problem
>>> is mentioned in this thread [
>>> http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/2010-July/002257.html].
>>> The error
>>> message that I receive from using ant run from the Kepler build is pasted
>>> below. I am using kepler-2.1. I'd appreciate any help you can offer.
>>>
>>> Thanks much!
>>>
>>> Frank White
>>>
>>>
>>> ___________________________________________________________________________
>>>
>>> [run] java.net.ConnectException: Connection timed out: connect
>>> [run] at java.net.PlainSocketImpl.
>>> socketConnect(Native Method)
>>> [run] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>>> [run] at
>>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>>> [run] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>>> [run] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>>> [run] at java.net.Socket.connect(Socket.java:529)
>>> [run] at java.net.Socket.connect(Socket.java:478)
>>> [run] at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
>>> [run] at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
>>> [run] at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
>>> [run] at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
>>> [run] at sun.net.www.http.HttpClient.New(HttpClient.java:306)
>>> [run] at sun.net.www.http.HttpClient.New(HttpClient.java:323)
>>> [run] at
>>> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975)
>>> [run] at
>>> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)
>>> [run] at
>>> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
>>> [run] at
>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1177)
>>> [run] at
>>> org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
>>> [run] at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
>>> Source)
>>> [run] at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown
>>> Source)
>>> [run] at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown
>>> Source)
>>> [run] at
>>> org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
>>> Source)
>>> [run] at
>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>> Source)
>>> [run] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> Source)
>>> [run] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
>>> Source)
>>> [run] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>> [run] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>>> [run] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>>> [run] at
>>> org.kepler.moml.KeplerMetadataExtractor.extractActorMetadata(KeplerMetadataExtractor.java:112)
>>> [run] at
>>> org.kepler.objectmanager.cache.ActorCacheObject.<init>(ActorCacheObject.java:143)
>>> [run] at
>>> org.kepler.kar.handlers.ActorMetadataKAREntryHandler.cache(ActorMetadataKAREntryHandler.java:170)
>>> [run] at org.kepler.kar.KARFile.cache(KARFile.java:917)
>>> [run] at org.kepler.kar.KARFile.cacheKARContents(KARFile.java:631)
>>> [run] at
>>> org.kepler.kar.KARCacheManager.synchronizeKARCacheWithLocalRepositories(KARCacheManager.java:327)
>>> [run] at
>>> org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:335)
>>> [run] at
>>> org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
>>> [run] at
>>> ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:202)
>>> [run] at
>>> ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
>>> [run] at
>>> ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:330)
>>> [run] at
>>> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:347)
>>> [run] at
>>> ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1128)
>>> [run] at
>>> ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
>>> [run] at
>>> ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:226)
>>> [run] at
>>> ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:81)
>>> [run] at
>>> ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:110)
>>> [run] at
>>> ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219)
>>> [run] at
>>> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
>>> [run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
>>> [run] at
>>> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
>>> [run] at
>>> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
>>> [run] at
>>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
>>> [run] at
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
>>> [run] at
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
>>> [run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
>>> [run] Error parsing Actor KAR DOM "<?xml version="1.0"?>
>>> [run] <!DOCTYPE entity PUBLIC "-//UC Berkeley//DTD MoML 1//EN"
>>> [run] "http://ptolemy.e. <http://ptolemy.e./>..": Connection timed out:
>>> connect
>>>
>>>
>>> --
>>> Frank White
>>> fwhite at optensity.com
>>> 781-771-2798
>>>
>>>
>>>
>>> _______________________________________________
>>> Kepler-users mailing list
>>> Kepler-users at kepler-project.org
>>> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>>
>>
>> --
>> Christopher Brooks, PMP University of California
>> CHESS Executive Director US Mail: 337 Cory Hall
>> Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
>> ph: 510.643.9841 (Office: 545Q Cory)
>> home: (F-Tu) 707.665.0131 cell: 707.332.0670
>> _______________________________________________
>> Kepler-users mailing list
>> Kepler-users at kepler-project.org
>> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20110411/4f59cfbd/attachment.html>
More information about the Kepler-users
mailing list