• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Saxon 9, java.net.ConnectException: Connection timed out: connect error

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Saxon 9.1 to transform an XML document and get, inconsistently, the following error I have found that by disabling the firewall I am able to run the same code without issues most of the time, I still get the error from time to time (much more rarely though). I have tried to disable "use XSI schema location" feature in an attempt to ignore lookups of the namespace URI (based on Michael Key's comment Here), but I still get the error. I need to be able to prevent this without having to resort to taking down the firewall. Has anyone else had this issue, if so how did you manage to resolve it?

Any help is greatly appreciated.
 
Don Blodgett
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there some way I can determine what Saxon is trying to connect to, I looked through the XML and XSLT, but there is nothing that would indicate that there is anything to connect to. The only URIs in the document are namespace URIs and it should not be trying to connect to those as they are just namespaces.
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Doesn't your firewall tell you? If it's blocking requests then it should be logging those blocked requests so the administrator can see who is doing "bad things", or at least you should be able to configure it to do so.
 
He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic