If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > Progress - Coldfusion: JDBC DSN setup

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-09-03, 19:38
Zander Zander is offline
Registered User
 
Join Date: Jan 2003
Posts: 3
Progress - Coldfusion: JDBC DSN setup

Using Coldfusion to connect to a progress database running on a solaris host.

In Coldfusion the DSN setup is

CF Data Source Name dummy
JDBC URL jdbc.JdbcProgress:T:localhost:6000:dbname
Driver Class com.progress.sql.jdbc.JdbcProgressDriver
Driver Name ----don't know value----
Username user
Password password

resulting error message...
Connection verification failed for data source: its
[]java.sql.SQLException: SQLException occurred in JDBCPool while attempting to connect: java.sql.SQLException: No suitable driver.
The root cause was that: java.sql.SQLException: SQLException occurred in JDBCPool while attempting to connect: java.sql.SQLException: No suitable driver.
Reply With Quote
  #2 (permalink)  
Old 01-13-03, 09:11
Emmon Emmon is offline
Registered User
 
Join Date: Nov 2002
Location: London
Posts: 47
Hi

Although not that familiar with the Progress JDBC driver, when that error occurs with our JDBC driver, it usually indicates that you don't have the necessary JDBC driver in your classpath. Typically, your classpath would look something like

Classpath=c:\openlink\jdbc2\opljdbc2.jar;

where the jar file contains the openlink JDBC information. You should have something like that setup for your environment. If this is not the case, I believe ColdFusion also has an option were you need to setup your Classpath that might be different from the System one. Again, add the necessary JAR files for Progress into this location.

Emmon Simbo
Technical Services Manager
OpenLink Software
Reply With Quote
  #3 (permalink)  
Old 01-13-03, 18:10
Zander Zander is offline
Registered User
 
Join Date: Jan 2003
Posts: 3
Thanks Emmon for your advice, I modified the CLASSPATH accordingly but the same error still results. I am currently investigating on wether it could be a licensing problem.
Reply With Quote
  #4 (permalink)  
Old 02-06-03, 04:53
Emmon Emmon is offline
Registered User
 
Join Date: Nov 2002
Location: London
Posts: 47
Zander

Is this still a problem?

I managed to get my ColdFusion Setup going yesterday and I had a similar problem to you. In the end, I did a couple of things. I had a CLASSPATH environment defined for my user which pointed to the actual jar file, secondly, I definied it using the JVM and JAVA setting via the administrator. With these defined, I was able to connect to my database.

HTH
Emmon
Reply With Quote
  #5 (permalink)  
Old 02-07-03, 12:38
edvan22 edvan22 is offline
Registered User
 
Join Date: Dec 2002
Posts: 19
Are you using CFMX? If so, Install the temp jrpatch.jar file (search for it on Macromedia support) and you should get more detailed error messages. I have the jdbc connection setup with a merant connection but not openlink. Can you tell me how you have your options configured for the openlink driver?

Thanks,
Reply With Quote
  #6 (permalink)  
Old 02-07-03, 12:58
Emmon Emmon is offline
Registered User
 
Join Date: Nov 2002
Location: London
Posts: 47
Hi

I did a couple of things.

I added my jar file located /home/openlink/jdk1.4/opljdbc3.jar. This is all taken care of by the shell script script openlink.sh

After running this script, I restarted my coldfusion with these settings as part of my environment, don't believe this is really necessary but just in case, and in the Java and JVM settings, I added the directory structure incl. jar file to my settings, restarted CF

From the Datasources section, I added a new setting for Other and simply added

URL = jdbcpenlink://emmon/SVT=SQLServer 2000/uid=sa/pwd=/database=northwind

Driver Class = openlink.jdbc2.Driver

That was it. It connected to my SQLServer db and I was able to write simple statements.

I have two connections, one using a Type 3 driver and the other using the OpenLink Type 4 JDBC driver for Virtuoso

HTH
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On