Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 81101 invoked from network); 6 Feb 2007 18:04:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2007 18:04:44 -0000 Received: (qmail 12155 invoked by uid 500); 6 Feb 2007 18:04:48 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 12138 invoked by uid 500); 6 Feb 2007 18:04:48 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 12067 invoked by uid 99); 6 Feb 2007 18:04:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 10:04:48 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [140.185.212.88] (HELO ptmexu03os.ptc.pentagon.mil) (140.185.212.88) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 10:04:37 -0800 Received: by ptmexu03os.ptc.pentagon.mil with Internet Mail Service (5.5.2656.59) id <1LLRBANP>; Tue, 6 Feb 2007 18:04:14 -0000 Message-ID: From: "Yee, Richard K CTR DMDC" To: "'user-java@ibatis.apache.org'" Subject: RE: issue with unknown host exception Date: Tue, 6 Feb 2007 17:58:41 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C74A18.6F577C7C" X-Virus-Checked: Checked by ClamAV on apache.org This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C74A18.6F577C7C Content-Type: text/plain Ashish, I believe I sent you the wrong DOCTYPE. I sent you the one for the sqlmap config instead of the sqlMap file Try this one. Which version of iBATIS are you using. This DOCTYPE is for versions after 2.1 -Richard -----Original Message----- From: Ashish Kulkarni [mailto:ashish.kulkarni13@gmail.com] Sent: Tuesday, February 06, 2007 9:25 AM To: user-java@ibatis.apache.org; lmeadors@apache.org Subject: Re: issue with unknown host exception Hi I tried changing it to 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 > 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 > 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 > > > 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 > ------_=_NextPart_001_01C74A18.6F577C7C Content-Type: text/html Content-Transfer-Encoding: quoted-printable Message
Ashish,
I=20 believe I sent you the wrong DOCTYPE. I sent you the one for the sqlmap = config=20 instead of the sqlMap file
Try=20 this one.
 
<!DOCTYPE=20 sqlMap

PUBLIC "-//ibatis.apache.org//DTD SQL = Map=20 2.0//EN"

"http://ibatis.apache.org/dtd/sql-map-2.dtd">

Which version of = iBATIS are you=20 using. This DOCTYPE is for versions after 2.1

 

-Richard

-----Original Message-----
From: = Ashish Kulkarni=20 [mailto:ashish.kulkarni13@gmail.com]
Sent: Tuesday, = February 06,=20 2007 9:25 AM
To: user-java@ibatis.apache.org;=20 lmeadors@apache.org
Subject: Re: issue with unknown host=20 exception

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

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

Also i have these program = running on=20 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=20 find the server.

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

Do you have an = example.

Regards
Ashish

On 2/6/07, Larry=20 Meadors <lmeadors@apache.org> = wrote:
It=20 should be resolved in the iBATIS jar file. Are you using an = older
version=20 of iBATIS, or the current release?

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

Larry


On 2/6/07, Ashish Kulkarni = <ashish.kulkarni13@gmail.com<= /A>>=20 wrote:
> Hi
> I have a java program which uses ibatis = to run SQL=20 queries, this program
> runs on AS400, and on of the AS400 = boxes i am=20 getting following error
>
> Error=20 occurred.  Cause:
> = com.ibatis.common.xml.NodeletException:=20 Error parsing XML.
> Caused by: java.net.UnknownHostException = : ibatis.apache.org
>
><= BR>>
>=20 The header in my XML file looks like this
>
> <?xml=20 version=3D"1.0" encoding=3D"UTF-8" ?>
> <!DOCTYPE = sqlMapConfig=20
> PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN"
> = " http://ibatis= .apache.org/dtd/sql-map-config-2.dtd">
>
>=20 i suspect this AS400 has a firewall which blocks all internet = traffic.=20
>
> Is this the cause of this problem, is there any = work around=20 to get it
> working on this AS400 machine?
>
>=20 Regards
>=20 Ashish
>

------_=_NextPart_001_01C74A18.6F577C7C--