ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diran Ayandele <Adediran.Ayand...@Sun.COM>
Subject Re: Fwd: more details..
Date Fri, 11 Aug 2006 19:27:04 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000099">
Vijay, <br>
&nbsp;&nbsp;&nbsp; But as you can see, it can't find your Sqlmap file.&nbsp;
Do you have
the path correct?&nbsp; Perhaps it is that exclamation point in the path.<br>
<br>
Diran<br>
<br>
Nathan Maves wrote:
<blockquote
 cite="mid2f55db670608111152w14aef9cekb3402ace4d8372ee@mail.gmail.com"
 type="cite"><br>
  <br>
---------- Forwarded message ----------<br>
  <span class="gmail_quote">From: <b class="gmail_sendername">Nathan
Maves</b> &lt;<a href="mailto:Nathan.Maves@sun.com">Nathan.Maves@sun.com</a>&gt;<br>
Date: Aug 11, 2006 12:52 PM
  <br>
Subject: Re: more details..<br>
To: "Khanna, Vijay (GE, Corporate, consultant)" &lt;<a
 href="mailto:vijay.khanna@ge.com">vijay.khanna@ge.com</a>&gt;<br>
Cc: <a href="mailto:nathan.maves@gmail.com">nathan.maves@gmail.com
  </a><br>
  <br>
  </span>
  <div>
  <div style="">As I said please do not send me direct emails...&nbsp; The
is a community project and support is driven by the community as well.
  <div><br>
  </div>
  <div>Please send all emails to&nbsp;</div>
  <div><br>
  </div>
  <div><a href="mailto:user-java@ibatis.apache.org" target="_blank"
 onclick="return top.js.OpenExtLink(window,event,this)">user-java@ibatis.apache.org</a></div>
  <div><br>
  </div>
  <div><br>
  <div>
  <div>On Aug 11, 2006, at 12:47 PM, Khanna, Vijay (GE, Corporate,
consultant) wrote:
  </div>
  <br>
  <blockquote type="cite">
    <div align="left" dir="ltr"><font color="#0000ff" face="Arial"
 size="2"><span>Some more..details</span></font></div>
    <div align="left" dir="ltr"><font color="#0000ff" face="Arial"
 size="2"><span></span></font>&nbsp;</div>
    <div align="left" dir="ltr"><font color="#0000ff" face="Arial"
 size="2"><span>&nbsp;java.io.IOException: Could not find resource&nbsp;
<a>file:/D</a>:/supportcentral/v2.2_fixes/Ibatis_migration/xmlconversion/lib/ibatis/1-x-Compatib
    <br>
ility/ibatis-sqlmap-2.jar!/com/ibatis/db/sqlmap/upgrade/SqlMap.xsl<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.ibatis.common.resources.Resources.getResourceAsStream(Resources.java:101)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.ibatis.common.resources.Resources.getResourceAsStream
(Resources.java:86)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.ibatis.common.resources.Resources.getResourceAsReader(Resources.java:150)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.ibatis.db.sqlmap.upgrade.SqlMapXmlConverter.convertXml(SqlMapXmlConverter.java:76)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.ibatis.db.sqlmap.upgrade.SqlMapXmlConverter.convertFile(SqlMapXmlConverter.java:114)</span></font></div>
    <div>&nbsp;</div>
    <div align="left"><font color="#000080" face="Verdana" size="2">Thanks,</font></div>
    <div align="left"><font size="2"><font face="Verdana"><font
 color="#000080"><strong>Vijay Khanna</strong><br>
    <strong><font size="1">Desk&nbsp;: 203-326-2365</font></strong></font></font></font></div>
    <div>&nbsp;</div>
    <br>
    <div align="left" dir="ltr" lang="en-us">
    <hr> <font face="Tahoma" size="2"><b>From:</b> Khanna, Vijay (GE,
Corporate, consultant) <br>
    <b>Sent:</b> Friday, August 11, 2006 2:44 PM<br>
    <b>To:</b> '<a href="mailto:Nathan.Maves@Sun.COM" target="_blank"
 onclick="return top.js.OpenExtLink(window,event,this)">
Nathan.Maves@Sun.COM</a>'<br>
    <b>Subject:</b> RE: iBATIS-131 Combatibility JAVA1.5 / tomcat 5.5<br>
    </font><br>
    </div>
    <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial"
 size="2">Ok. Thanks. Is it under August 06 thread ?
    </font></span></div>
    <div align="left" dir="ltr"><span></span>&nbsp;</div>
    <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial"
 size="2">I moved ahead by making changes to the Convert.java where the
ClassCastException was raised. Not its IOException. I made some changes
again to the SqlMapXmlConverter, but theres no way out.</font></span></div>
    <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial"
 size="2"></font></span>&nbsp;</div>
    <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial"
 size="2">[convertSqlMaps] Copying 1 file to C:\convertSqlMaps<br>
[convertSqlMaps] FROM FILE
-D:\supportcentral\v2.2_fixes\Ibatis_migration\xmlconversion\sqlmap-1x\ltFaxboardSQLMappings.
    <br>
xml<br>
[convertSqlMaps] TO FILE -[Ljava.lang.String;@17e4ca<br>
[convertSqlMaps] SqlMap PATH - <a>file:/D</a>:/supportcentral/v2.2_fixes/Ibatis_migration/xmlconversion/lib/ibatis/1-x-Compatib<br>
ility/ibatis-sqlmap-2.jar!/com/ibatis/db/sqlmap/upgrade/SqlMap.xsl
    <br>
[convertSqlMaps] com.ibatis.common.exception.NestedRuntimeException:
Error.&nbsp; Cause: java.io.IOException: Could not find<br>
resource <a>file:/D</a>:/supportcentral/v2.2_fixes/Ibatis_migration/xmlconversion/lib/ibatis/1-x-Compatib
    <br>
ility/ibatis-sqlmap-2.jar!/com/ibatis/db/sqlmap/upgrade/SqlMap.xsl<br>
[convertSqlMaps] Caused by: java.io.IOException: Could not find
resource <a>file:/D</a>:/supportcentral/v2.2_fixes/Ibatis_migration/xmlconversion/lib/ibatis/1-x-Compatib
    <br>
ility/ibatis-sqlmap-2.jar!/com/ibatis/db/sqlmap/upgrade/SqlMap.xsl<br>
[convertSqlMaps]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.ibatis.db.sqlmap.upgrade.SqlMapXmlConverter.convertXml(SqlMapXmlConverter.java:89)<br>
[convertSqlMaps]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.ibatis.db.sqlmap.upgrade.SqlMapXmlConverter.convertFile
(SqlMapXmlConverter.java:114)<br>
[convertSqlMaps]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
com.ibatis.db.sqlmap.upgrade.ConvertTask.doFileOperations(ConvertTask.java:80)<br>
[convertSqlMaps]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
org.apache.tools.ant.taskdefs.Copy.execute(Copy.java
:430)</font></span></div>
    <div>&nbsp;</div>
    <div align="left"><font color="#000080" face="Verdana" size="2">Thanks,</font></div>
    <div align="left"><font size="2"><font face="Verdana"><font
 color="#000080"><strong>Vijay Khanna</strong>
    <br>
    <strong><font size="1">Desk&nbsp;: 203-326-2365</font></strong></font></font></font></div>
    <div>&nbsp;</div>
    <br>
    <div align="left" dir="ltr" lang="en-us">
    <hr> <font face="Tahoma" size="2"><b>From:</b> <a
 href="mailto:Nathan.Maves@Sun.COM" target="_blank"
 onclick="return top.js.OpenExtLink(window,event,this)">
Nathan.Maves@Sun.COM</a> [<a href="mailto:Nathan.Maves@Sun.COM"
 target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mailto:Nathan.Maves@Sun.COM</a>]
    <br>
    <b>Sent:</b> Friday, August 11, 2006 2:39 PM<br>
    <b>To:</b> <a href="mailto:user-java@ibatis.apache.org"
 target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">user-java@ibatis.apache.org</a><br>
    <b>Cc:</b> Khanna, Vijay (GE, Corporate, consultant)<br>
    <b>Subject:
    </b> Re: iBATIS-131 Combatibility JAVA1.5 / tomcat 5.5<br>
    </font><br>
    </div>
Vijay,
    <div><br>
    </div>
    <div>I am taking this topic to the user list.&nbsp; All questions should
be asked there.&nbsp; That way all questions and answers can be archived and
searched though.
    </div>
    <div><br>
    </div>
    <div>I would need a lot more to try and help you.&nbsp; Please provide
the full stack trace of the exception when you run this ant task.</div>
    <div><br>
    </div>
    <div>Nathan</div>
    <div><br>
    <div>
    <div>On Aug 11, 2006, at 11:22 AM, Khanna, Vijay (GE, Corporate,
consultant) wrote:
    </div>
    <br>
    <blockquote type="cite">
      <div><span><font face="Arial" size="2">Hi Nathan,</font></span></div>
      <div><span></span>&nbsp;</div>
      <div><span><font face="Arial" size="2">We are in the process of
converting Ibatis sqlmaps 1.x to 2.x as we intend to move torwards
2.1.7. The ant tasks is fails "java.lang.ClassCastException". Any
thoughts ?</font></span></div>
      <div><span></span>&nbsp;</div>
      <div><span></span>&nbsp;</div>
      <div><span><font face="Arial" size="2">Here's my build.xml</font></span></div>
      <div>&nbsp;</div>
      <div><font color="#0000ff" face="Arial" size="2">&lt;project
basedir="." default="main"&gt;&nbsp;</font></div>
      <div>&nbsp;</div>
      <div><font color="#0000ff" face="Arial" size="2">&nbsp;&lt;path
id="lib.path"&gt;<br>
&nbsp;&nbsp;&lt;fileset dir="lib/ibatis"&gt;
      <br>
&nbsp;&nbsp;&nbsp;&lt;include name="**/*.jar"/&gt;<br>
&nbsp;&nbsp;&lt;/fileset&gt;<br>
&nbsp;&lt;/path&gt;<br>
&nbsp;</font></div>
      <div>&nbsp;</div>
      <div><font color="#0000ff" face="Arial" size="2">&nbsp;&lt;taskdef
name="convertSqlMaps"
      <br>
&nbsp;&nbsp;classname="com.ibatis.db.sqlmap.upgrade.ConvertTask"<br>
&nbsp;&nbsp;classpathref="lib.path"/&gt;</font></div>
      <div>&nbsp;</div>
      <div><font color="#0000ff" face="Arial" size="2">&nbsp;&lt;target
name="main"&gt;
      <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&lt;convertSqlMaps
todir="c:/convertSqlMaps/"&nbsp;&nbsp;overwrite="true"&gt;<br>
&nbsp;&nbsp;&nbsp;&lt;fileset
dir="D:/supportcentral/v2.2_fixes/Ibatis_migration/xmlconversion/sqlmap-1x"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;include name="**/*.xml"/&gt;
      <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&lt;/fileset&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&lt;/convertSqlMaps&gt;<br>
&nbsp;&lt;/target&gt;</font></div>
      <div>&nbsp;</div>
      <div><font color="#0000ff" face="Arial" size="2">&lt;/project&gt;</font>
      </div>
      <div>&nbsp;</div>
      <div align="left"><font color="#000080" face="Verdana" size="2">Thanks,</font></div>
      <div align="left"><font size="2"><font face="Verdana"><font
 color="#000080"><strong>Vijay Khanna</strong><br>
      <strong><font size="1">Desk&nbsp;: 203-326-2365</font></strong></font></font></font></div>
      <div>&nbsp;</div>
    </blockquote>
    </div>
    <br>
    </div>
  </blockquote>
  </div>
  <br>
  </div>
  </div>
  </div>
</blockquote>
</body>
</html>

Mime
View raw message