Hi vbkraemer, thank for reply
I'm goin to try to explain the scenario.
[b]Description:[/b] In some moments of the life cicle of the application I obtain from Active Directory the users information, to do this, I read the values of the configurated LDAP properties in the application domain, with this, I have in an only place this values.
[b]Technically:[/b] To read the domain.xml file I use a class that has the next [b]constructor:[/b]
[i]//------->[/i]
[i]DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();//line 1
[i]DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();//line 2
File file=new File(xmlFilePath);//line 3
Document xmlDocument = docBuilder.parse(file);//line 4[/i]
[i]//<-------[/i]
but if the domain.xml file has the DOCTYPE line, the line number 4 throws an IOException: [i]unknowHostException www.sun.com[/i]. But, if I remove the line or alter the route as local path, I have no problems accessing the file contents.
[b]Considerations:[/b] My web application is deployed into a Solaris Server without internet connection, and locally in Windows platform with internet connection. The error occurs in both enviroments.
[Message sent by forum member 'rodriguo']
http://forums.java.net/jive/thread.jspa?messageID=478292