You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/12/05 21:11:15 UTC

DO NOT REPLY [Bug 25197] - "No Suitable Driver" error in xalan SQL extensions

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25197>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25197

"No Suitable Driver" error in xalan SQL extensions

johnglinux@eyecatching.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|"No Suitable Driver" error  |"No Suitable Driver" error
                   |in xalan SQL extensions     |in xalan SQL extensions



------- Additional Comments From johnglinux@eyecatching.com  2003-12-05 20:11 -------
I was just working with the Oracle driver for some of the Apachecon
examples and all worked fine. 

What JDK are you using, what is the command line.

Below is a copy of the batch file that I used. 

@echo off
if not "%JAVA_HOME%" == "" goto setant
:noJavaHome
rem Default command used to call java.exe; hopefully it's on the path here
if "%_JAVACMD%" == "" set _JAVACMD=java

:setant
rem Default command used to call java.exe or equivalent
if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java

set CLASSPATH=C:\Java\xalan-j_2_5_1\bin\xalan.jar;%CLASSPATH%
set CLASSPATH=C:\Java\xalan-j_2_5_1\bin\xercesImpl.jar;%CLASSPATH%
set CLASSPATH=C:\Java\xalan-j_2_5_1\bin\xml-apis.jar;%CLASSPATH%

Rem Add in Oracle Jars
set CLASSPATH=C:\Java\OracleJDBC\classes12.jar;%CLASSPATH%

@echo off
"%_JAVACMD%" -mx64m %JAVA_OPTS% org.apache.xalan.xslt.Process -IN %1 -XSL %2
-OUT %3 -DIAG -EDUMP
echo off