I am running into an issue, and it doesn't make sense to me.

I have a simple java program that runs my XSLT that uses the SQL
Extension. It runs fine on my PC. No problem, works like a champ... good
stuff.

I put this same code on an iSeries (AS/400), I put xalan.jar,
xml-apis.jar, jt400.jar, etc. in my classpath and execute the code and
it doesn't work. I get the "No suitable driver found" error I am sure
you all have seen before. My driver is
com.ibm.as400.access.AS400JDBCDriver and it is in jt400.jar... which is
in my classpath.

I have seen people mention the Xalan classloader and I am wondering what
that is all about. Is there something special in Xalan for loading
classes that is different from other things one usually runs across?

Also, what can I do to get better exception information from my
stylesheet when things like this happen. Right now I am just using the
xsl:message and xsl:copy elements like those that are found in the SQL
Extension examples. I would like to get a full stack trace. Do I need to
write a custom ErrorHandler to do this? Thanks for your help.

-Dan Feather

Reply via email to