Sorry, I hit send on accident before pasting it in.

I've got this in my class path mapping:
C:\CFusionMX7\runtime\jre\lib\ext\mysql-connector-java-3.1.6-bin.jar


-----Original Message-----
From: Steven Erat [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 29, 2005 7:01 AM
To: CF-Talk
Subject: Re: MySQL DSN troubles

> Don't know if this is related or not, but there's a line missing from 
> that KB article.
> You also need to add the path to the J Connector to the Class Path in 
> the Java/JVM settings in the CF Admin, then you can restart the
server.

For article http://www.macromedia.com/go/6ef0253, you do not need to add
the driver jar to the class path if the jar is in cf_root/WEB-INF/lib

The jar files in cf_root/WEB-INF/lib are automatically included in the
ColdFusion classpath when ColdFusion starts.


> I have mine saved in 
> CFusionMX/runtime/servers/lib 
> - can't remember why, but it works) 


On JRun installations of ColdFusion, jar files in the
jrun_root/servers/lib directory makes the jars available to all server
instances.  CFMX Server configuration has cf_root/runtime/servers/lib,
so saving the jar file there would also work since the runtime directory
is equivalent to jrun_root.

> Add the path, including the full jar file name, to the class path 
> under 
> the Java/JVM settings in the CF Admin. 

No need to do this.

-Steven Erat



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200427
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to