Re: R: R: R: R: R: R: App + ConnectorJ + MXJ deployment
Eric Herman <[email protected]>
| Newsgroups | gmane.comp.db.mysql.java |
|---|---|
| Message-ID | <1160145630.20923.172.camel@localhost> |
On Fri, 2006-10-06 at 16:35 +0200, tech wrote: > Hi Eric, > > Did you manage to investigate about MySQL 5.0.22 reading a 5.0.24a > database directory? That's on my list of things to look at today, as a matter of fact! Cheers, -Eric > > Cheers > Roberto > > -----Messaggio originale----- > Da: Eric Herman [mailto:[email protected]] > Inviato: lunedì 2 ottobre 2006 15.04 > A: tech > Cc: [email protected] > Oggetto: Re: R: R: R: R: R: App + ConnectorJ + MXJ deployment > > Hi Roberto, > > On Mon, 2006-10-02 at 14:25 +0200, tech wrote: > > Hi Eric, > > > > 1) I'm working with MySQL 5.0.24a-community-nt and MySQL Client 5.0.11 > > > > 2) As you suggest, I had already tried to run my app after deleting the > > directory and nothing changed. The console output was the same. > > I wonder if we are seeing an issue with MySQL 5.0.22 reading a 5.0.24a > database directory? I will have to investigate. > > Unfortunately I will probably not have time to look at this today. I > will try to make some time soon. > > Cheers, > --Eric > > > > > > > Cheers > > Roberto > > > > > > > > > > > > -----Messaggio originale----- > > Da: Eric Herman [mailto:[email protected]] > > Inviato: venerdì 29 settembre 2006 14.29 > > A: tech > > Cc: [email protected] > > Oggetto: Re: R: R: R: R: App + ConnectorJ + MXJ deployment > > > > Hi Roberto, > > > > On Fri, 2006-09-29 at 12:26 +0200, tech wrote: > > > Hi Eric, > > > > > > I turned to my application (still on my development pc), but I got the > > > attached Console output. > > > > > > The name of the only table in rua142 is anlog00f. My app connects > properly > > > to anlog00f when it is unaware of connector-mxj. > > > > > > The Java runtime found Incorrect information in the file. > > > > from the console output you attached, looking at: > > > > 060929 12:20:41 [ERROR] C:\roberto_test\mysql-mxj\bin\mysqld-nt.exe: > > Incorrect information in file: '.\rua142\anlog00f.frm' > > > > That looks to me like mysqld-nt.exe 5.0.22 doesn't like the table. > > > > What version of MySQL was used to create the custom data dir which was > > used to create the data_dir.jar file added to connector-mxj.jar? > > > > Also, please try completely deleting the application directory and > > trying one more time. I don't really expect different results, but I > > wonder if there is part of the data directory from a previous run? If > > so, then this may make a difference. > > > > Cheers, > > -Eric > > > > > > > > I attached my Java class which manages the DB connection too. > > > > > > Cheers > > > Roberto > > > > > > > > > > > > -----Messaggio originale----- > > > Da: Eric Herman [mailto:[email protected]] > > > Inviato: giovedì 28 settembre 2006 18.04 > > > A: tech > > > Oggetto: Re: R: R: R: App + ConnectorJ + MXJ deployment > > > > > > On Thu, 2006-09-28 at 16:21 +0200, tech wrote: > > > > Hi, Eric > > > > > > > > I completed step 7. Below you have the console output. > > > > Is it what you expected ? > > > > > > Yes! That looks good! > > > > > > So, let us review: > > > * you have a custom database in your connector-mxj.jar > > > * you have a custom program very similar to the "object example" > > > * the program specifies a "data dir" > > > * we see it can be connect to the “rua142” database > > > * the connection uses the “utente142” user and password > > > * we see that program is able to do a "select version()" > > > > > > Assuming all of that is correct, it sounds like you should have a > > > working custom connector-mxj.jar and a working test application. > > > > > > I believe that should provide you everything you need to move forward > > > with your main application. > > > > > > Please let us know if you still have questions. > > > > > > -Eric > > > > > > > > > > > Cheers > > > > Roberto > > > > > > > > > > > > [MysqldResource] launching mysqld (getOptions) > > > > > > > > > > [C:\roberto_test\mysql-mxj\bin\mysqld-nt.exe][--no-defaults][--console][--pi > > > > > > > > > > d-file=C:\roberto_test\mysql-mxj\data\MysqldResource.pid][--socket=mysql.soc > > > > > > > > > > k][--datadir=C:\roberto_test\mysql-mxj\data][--basedir=C:\roberto_test\mysql > > > > -mxj][--port=3336] > > > > [MysqldResource] launching mysqld (test-mysqld-thread) > > > > [MysqldResource] mysqld running as process: 1284 > > > > InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 > > > bytes > > > > InnoDB: than specified in the .cnf file 0 5242880 bytes! > > > > 060928 15:47:28 [Note] C:\roberto_test\mysql-mxj\bin\mysqld-nt.exe: > > ready > > > > for connections. > > > > Version: '5.0.22-community-nt' socket: '' port: 3336 MySQL > Community > > > > Edition (GPL) > > > > MySQL is running. > > > > ------------------------ > > > > > > > > 5.0.22-community-nt > > > > > > > > ------------------------ > > > > [MysqldResource] stopping mysqld (process: 1284) > > > > [MysqldResource] clearing options > > > > [MysqldResource] shutdown complete > > > > > -- > > > MySQL Java Mailing List > > > For list archives: http://lists.mysql.com/java > > > To unsubscribe: http://lists.mysql.com/[email protected] > > -- > > Eric Herman, Software Developer > > MySQL AB, www.mysql.com > > VoIP Ext: 6594 US: +1 408 213 6540 Europe: +46 18 174 400 > > Mobile: +31 [0]6-20719662 > > Are you MySQL certified? www.mysql.com/certification > > > > > -- > Eric Herman, Software Developer > MySQL AB, www.mysql.com > VoIP Ext: 6594 US: +1 408 213 6540 Europe: +46 18 174 400 > Mobile: +31 [0]6-20719662 > Are you MySQL certified? www.mysql.com/certification > > > -- > MySQL Java Mailing List > For list archives: http://lists.mysql.com/java > To unsubscribe: http://lists.mysql.com/[email protected] > > __________ Informazione NOD32 1.1786 (20061002) __________ > > Questo messaggio stato controllato dal Sistema Antivirus NOD32 > http://www.nod32.it > > > -- MySQL Java Mailing List For list archives: http://lists.mysql.com/java To unsubscribe: http://lists.mysql.com/[email protected]