pb exe runtime eror – does not connect to db2 database from client machine

5 pts.
Tags:
IBM DB2
pb9
I have created an application using PB9.0.2 with database as db2 server db 9.7 on Windows XP Professional. the application works fine on all machines having PB installed. I have created an exe and copied the necessary files and dlls. this exe works fine on my machine, but does not work at all on the client machine. It does not connect to the database from the client machine and displays the error "SORRY CANNOT CONNECT TO DATABASE", "COULD NOT INITIALISE JAVA VM!" My db connectivity code in the application open event is as follows: SQLCA.DBMS = "JDBC" SQLCA.LogPass = "db2" SQLCA.LogId = "db2" SQLCA.AutoCommit = False SQLCA.DBParm = "Driver='com.ibm.db2.jcc.DB2Driver',URL='jdbc:db2://IP ADDRESS OF SERVer ,DBGetTime=1,DisableBind=1" connect using SQLCA; Please help Thanks, WIlma

Software/Hardware used:
software

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    What happens? It isn't enough to say it "does not work". We need to know what it does, what statement fails, what messages or codes show up. Once those are known, there's a good chance that they will lead to other questions. (E.g., what OS is involved? and perhaps what is "9.0.2"?) -- Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following