Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Error to connect Progress from Java

 
   Database Forums (Home) -> Progress RSS
Next:  Unexpected EOF encountered in BCP data-file  
Author Message
Nick

External


Since: Mar 22, 2006
Posts: 2



(Msg. 1) Posted: Wed Mar 22, 2006 5:43 pm
Post subject: Error to connect Progress from Java
Archived from groups: comp>databases>progress (more info?)

Hi All,

I am a new in Progress Database. I tried to connect to Progress
database from Java.
Below is my part of code:

public void connect (){

try {
Class.forName("com.progress.sql.jdbc.JdbcProgressDriver");
con = DriverManager.getConnection
("jdbc:JdbcProgress:T:tech01:2000:AffDB");
} catch (Exception e) {
e.printStackTrace();
}
}

I got an error when try to connect. The error is below:

java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)

I used Eclipse as java editor and have added progress.jar and JDBC.jar
as libraries.
Is there anyone can help me?

Thanks,

Nick.

 >> Stay informed about: Error to connect Progress from Java 
Back to top
Login to vote
nemo

External


Since: Apr 05, 2006
Posts: 2



(Msg. 2) Posted: Wed Apr 05, 2006 12:42 am
Post subject: Re: Error to connect Progress from Java [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You need to have in PATH the directory $DLC/java

JDBC needs 2 .dll files inside that directory if I remember ....

 >> Stay informed about: Error to connect Progress from Java 
Back to top
Login to vote
Nick

External


Since: Mar 22, 2006
Posts: 2



(Msg. 3) Posted: Thu Apr 06, 2006 1:56 am
Post subject: Re: Error to connect Progress from Java [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Could you please explain me the file name for the .dll files?
Thanks
nemo wrote:
> You need to have in PATH the directory $DLC/java
>
> JDBC needs 2 .dll files inside that directory if I remember ....
 >> Stay informed about: Error to connect Progress from Java 
Back to top
Login to vote
nemo

External


Since: Apr 05, 2006
Posts: 2



(Msg. 4) Posted: Thu Apr 06, 2006 2:30 am
Post subject: Re: Error to connect Progress from Java [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

in windows environment:

(sorry, the directory in $DLC/bin, not $DLC/java....)

%DLC%\bin\procli92.dll
%DLC%\bin\JdbcProgress.dll

in *nix environment:
$DLC/lib/libprocli92.so(sl,a)
$DLC/lib/libJdbcProgress.so(sl, a)
$DLC/lib/libJdbcProgress_g.so(sl,a)

(From Knowledge base #21245)

I hope this helped
 >> Stay informed about: Error to connect Progress from Java 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Progress Error when calling C# Wrapper using COM objects - First off I am using Progress 10.0A, and I am recieving this error message. Error occured while accessing component property/method: density. The type initializer for "QuantifiPINVOKE" threw an exception. Error code: 0x80020009..

PROGRESS/ QAD/ OH - OMNI GROUP tgugger@aimexec.com 419-250-1900 PROGRESS/ QAD/ IMMEDIATE/ OH ...

New to progress - Hi, I'm new to progress - how active is the group? Is there a mailing list? I've struggled to find online documentation or an FAQ - please could people point me in the direction of resources to get up to speed? Thanks, S.

Progress Database 9.1 SN -

PROGRESS is NOT SQL-92 compatible - Big error: select ac_code, SUM(case when acd_year < 2006 then acd_amt else 0.0000001 end) from ..... rounds to INTEGER, but when select ac_code, SUM(acd_amt) from ..... result is good. Any help from PROGRESS support Team ?? Adam
   Database Forums (Home) -> Progress All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]