here is what I did
1. grap the mm.mysql jdbc driver ( check www.mysql.com )
2. untar the file to eg /usr/local/mm.mysql
3. in your tomcat.sh file, add classpath to include the mysql jar ( ie
export CLASSPATH=/usr/local/mm.mysql/mysql.jar:$CLASSPATH ).
4. write your code and use it.  I didn't put the mysql.jar in the WEB-INF
since I have multiple instance of Tomcat running.  So, add a classpath in
tomcat.sh can let all Tomcat instance use the mysql jdbc driver....



                                                                                       
        
                    Andrew                                                             
        
                    Burrows              To:     <[EMAIL PROTECTED]>      
        
                    <andrewbu@big        cc:                                           
        
                    pond.com>            Subject:     Re: Info on connections using 
mysql      
                                                                                       
        
                    01/10/2001                                                         
        
                    09:33 PM                                                           
        
                    Please                                                             
        
                    respond to                                                         
        
                    tomcat-user                                                        
        
                                                                                       
        
                                                                                       
        





Sounds like you may have to wait for the next full moon as I have already
done + I used 7 virgins and had to kill 3 young lambs.

Anyway tomcat and apache are working fine but i am still trying to come to
grips with how the connect works through to mysql.

Dose it use the drive setup in WEB-INF and do i need to install the driver
some were on the system.

The system i am working on is.
Linux don't know i think version 7 red hat
Apache 1.3.9
tomcat 1.3
mysql good question


> From: Glen Campbell <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Wed, 10 Jan 2001 21:21:16 -0800
> To: <[EMAIL PROTECTED]>
> Subject: Re: Info on connections using mysql
>
> On 1/10/01 8:49 PM, "Andrew Burrows" <[EMAIL PROTECTED]> casually
stated:
>
>> Hi All tomcat people,
>> Could someone point me in the right direction to find info on using
mysql in
>> conjunction with tomcat/apache.
>>
>> Thanks
>>
>> [EMAIL PROTECTED]
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, email: [EMAIL PROTECTED]
>>
>>
> Hi - I'm doing that sort of thing myself. I'm running Linux (redhat 7)
with
> Apache 1.4 and Tomcat 3.2.1. I've gotten Tomcat running standalone, and
I'm
> about to start work on integrating it with Apache. All the documentation
> says to use mod_jserv to handle this, but many people on the list have
> suggested that mod_jk is easier to configure. I believe mod_jserv is
pretty
> easy, too, except you have to wait for the next full moon and the
procedure
> seems to require three virgins for some reason. Mod_jk is not available
> standalone anywhere, as far as I can tell; you have to download the
Tomcat
> sources and build it from that. I'll let you know how my adventures
proceed.
>
> Glen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to