« Return to Thread: Help: Connecting Aglet with database

Re: Help: Connecting Aglet with database

by zuhra sofyan :: Rate this Message:

Reply to Author | View in Thread

Luca Ferrari wrote:
> Communication link failure: java.io.IOException, underlying cause:
> Unexpected end of input stream

Could it be a firewall problem? Try making a java standalone program that
loads your agent and executes the run method, and see if it can connect to
the database server or there's a problem.

Luca
No, its not, I'm not using any firewall. When I try to use my code in the standalone program, it works fine.
Anyway, when I try to use it in my notebook, this aglets can run ,but when I try to use it in my desktop, it gives me error message:

java.io.IOException: FileNotFound: C:\java\aglets\public\com\mysql\jdbc\Driver.class

Seems like the system cannot execute my mysqldriver. I have load mysqldriver to my system variables (path), but it won't solve the problem. I think it's about missconfiguration but I do'nt know where.
I'm looking for some answer. Thanks before for the patience.

Zuhra


 « Return to Thread: Help: Connecting Aglet with database