Are the JDBC drivers (there should be a .jar file) also stored in classpath you keep 
your other Java code in for CF?

Because they will have to be.

Mark
------------------------------------------------------------------
[EMAIL PROTECTED]
ICQ: 3094740
Safe From Bees
[ www.safefrombees.com ]


Quoting Andrew Scott <[EMAIL PROTECTED]>:

> Mark,
> 
> In answer to your question, yes the package is known by CF that I am
> developing. Other methods in the class called from CF work. I tracked it
> down to the Database class, because the exception didn't have the variables
> inside the block I was returning a null.
> 
> Now the problem is that if I call the main class I setup to test on my work
> station the call to that method dbTest() (was db()) works, but as soon as I
> try to run it from CF it returns a problem with
> com.microsoft.jdbc.JdbcDriver or something like that. I have installed the
> MS jdbc drivers on that machine, but the method doesn't want to know about
> it.
> 
> The call from CF is this...
> 
> Test = factory.dbTest();
> 
> However if I return a normal ArrayList it works fine and returns the List as
> expected. 
> 
> 
>  
> Regards
> Andrew Scott
> Technical Consultant
> 
> NuSphere Pty Ltd
> Level 2/33 Bank Street
> South Melbourne, Victoria, 3205
> 
> Phone: 03 9686 0485  -  Fax: 03 9699 7976
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Mark M
> Sent: Friday, 14 May 2004 10:41 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [CFCDev] Java again in CFC's
> 
> What's your cf code look like?
> 
> And I assume you've dropped this .class (or .jar) file in your java
> classpath as defined in your CF Admin?
> 
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email
> to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
> in the message of the email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported
> by Mindtool, Corporation (www.mindtool.com).
> 
> An archive of the CFCDev list is available at
> www.mail-archive.com/[EMAIL PROTECTED]
> 
> 
> 
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to