logo       

Re: Help: Connecting Aglet with database: msg#00001

db.mysql.java

Subject: Re: Help: Connecting Aglet with database




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 the classpath, 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



--
View this message in context:
http://www.nabble.com/Help%3A-Connecting-Aglet-with-database-tf3625508.html#a11483100
Sent from the MySQL - Java mailing list archive at Nabble.com.


--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=gcdmj-java@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise