Your DOCTYPE is incorrect. You should be using this:

<!DOCTYPE sqlMapConfig PUBLIC "-// SQL Map Config 2.0//EN"


Notice the difference in and

This causes the parser to go to the Internet for the dtd instead of looking in the jar file.




-----Original Message-----
From: Ashish Kulkarni []
Sent: Tuesday, February 06, 2007 8:33 AM
Subject: issue with unknown host exception

I have a java program which uses ibatis to run SQL queries, this program runs on AS400, and on of the AS400 boxes i am getting following error

Error occurred.  Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.
Caused by:                                                                        

The header in my XML file looks like this

<?xml version="1.0" encoding="UTF-8" ?>            
<!DOCTYPE sqlMapConfig                             
PUBLIC "-// SQL Map Config 2.0//EN" 

i suspect this AS400 has a firewall which blocks all internet traffic.

Is this the cause of this problem, is there any work around to get it working on this AS400 machine?