R: App + Connector/MXJ deployment

"tech" <[email protected]>
Newsgroups gmane.comp.db.mysql.java
Organization edoss consulenze
Message-ID <[email protected]>
Yes, Eric. My question is: what about Connector/J ?

On my development pc I had copied mysql-connector-java-5.0.3-bin.jar to my 
$JAVA_HOME/jre/lib/ext directory and it worked properly. 

Now, on the target pc I have the JRE and two jars: 
1) my Java application 
2) my own connector-mxj.jar with the pre-configured DB for the above
application. 

But what about Connector/J ?

Cheers
Roberto




-----Messaggio originale-----
Da: Eric Herman [mailto:[email protected]] 
Inviato: martedì 19 settembre 2006 19.49
A: tech
Cc: [email protected]
Oggetto: Re: App + Connector/MXJ deployment

On Tue, 2006-09-19 at 18:04 +0200, tech wrote:
> Hi Eric, 
> 
>  
> 
> here is my situation. I have created: 
> 
>  
> 
> 1)       MySQLTest.jar (my Java application which queries properly the
> MySQL Server on my development pc)
> 
>  
> 
> 2)       connector-mxj.jar (my own connector-mxj.jar with the
> pre-configured DB for the above application, created following
> paragraph 27.4.5.1 and 27.4.5.2 of the online manual) 
> 
>  
> 
> Now, I have another pc with the Java runtime environment and no
> MySQL. 
> 
>  
> 
> Can you tell me how to proceed to deploy my Java application with its
> own database on the second pc ?

Okay, sounds great. Provided the re-packaging of the connector.mxj jar
is correct, it should be as simple as making certain that each of the
jar files are in the CLASSPATH and starting your application.

You may wish to specify the "basedir" for the Connector/MXJ to use to
write the database files to, because the default basedir is a
subdirectory "java.io.tmpdir".

Do you have a more specific question?

Cheers,
 -Eric
> 
P.S.: Please keep us posted on how it goes for you.


> Thanks
> 
>  
> 
> Roberto Regazzoni
> 
>  
> 
>  
> 
> 
-- 
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.1762 (20060919) __________

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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.