Hi
I tried changing it to
<!DOCTYPE sqlMap
PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"
"http://ibatis.apache.org/dtd/sql-map-2.dtd";>

But still i get the same error, i have java 1.4.2 on this AS400, so the XML
parser must be from java.

Also i have these program running on 5 other AS400 boxes with same jar
files, but not working on this one,

i tried to ping http://ibatis.apache.org but it could not find the server.

how do i change it to use system DTD instead of the default.

Do you have an example.

Regards
Ashish

On 2/6/07, Larry Meadors <[EMAIL PROTECTED]> wrote:

It should be resolved in the iBATIS jar file. Are you using an older
version of iBATIS, or the current release?

Also, it could be the XML parser on the 400..if that is the case, you
could use a system DTD instead of the default.

Larry


On 2/6/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> Hi
> 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: java.net.UnknownHostException: ibatis.apache.org
>
>
>
> The header in my XML file looks like this
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE sqlMapConfig
> PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN"
> " http://ibatis.apache.org/dtd/sql-map-config-2.dtd";>
>
> 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?
>
> Regards
> Ashish
>

Reply via email to