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:eric@stripped]
> 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/java?unsub=1
--
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