You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Paul Idusogie <po...@att.net> on 2003/11/14 23:49:00 UTC

Unable to find the JDBC Driver for Mysql using struts -- Help Please

I have configured tomcat residing on a linux box with a context for the
mysql database within the server.xml file.
I have used the same directives as specified in the How-To see
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html


But I get an error at the browser when I attempt to authenticate. It cannot
find the driver
mysql driver = org.gjt.mm.mysql.Driver

This is the error:

The Following SQL Error(s) occurred while processing your request: Cannot
create JDBC driver of class '' for connect URL 'null' 

Sincerely,


Paul Idusogie





RE: Unable to find the JDBC Driver for Mysql using struts -- Help Please

Posted by Paul Idusogie <po...@att.net>.
Thanks I'll check it out
Sincerely,


Paul Idusogie
Chayil Corporation
Enterprise Software Solutions Provider



-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of Vic Cekvenich
Sent: Friday, November 14, 2003 6:40 PM
To: struts-user@jakarta.apache.org
Subject: Re: Unable to find the JDBC Driver for Mysql using struts --
Help Please


On home page of http://ibatis.com there is a mySQL tutorial.
It examplains how to install mySQL and how to instal PetStore3 (a sample
bluePrints/struts app).

It also exaplins how to setup a jdbc driver.
Maybe this can help,

.V

Paul Idusogie wrote:
> yes I did I am using the 3.0.9 version of the mysql driver
>
> Sincerely,
>
>
> Paul Idusogie
> Chayil Corporation
> Enterprise Software Solutions Provider
>
>
>
> -----Original Message-----
> From: Mauricio T. Ferraz [mailto:mauricio.tavares@cilix.com.br]
> Sent: Friday, November 14, 2003 4:56 PM
> To: Struts Users Mailing List; poidusogie@att.net
> Subject: Re: Unable to find the JDBC Driver for Mysql using struts --
> Help Please
>
>
> Did you copied the file mysql drive mm.mysql-2.0.4-bin.jar (for example)
to
> your WEB-INF\lib of your Application ??
> ----- Original Message -----
> From: "Paul Idusogie" <po...@att.net>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Friday, November 14, 2003 8:49 PM
> Subject: Unable to find the JDBC Driver for Mysql using struts -- Help
> Please
>
>
>
>>I have configured tomcat residing on a linux box with a context for the
>>mysql database within the server.xml file.
>>I have used the same directives as specified in the How-To see
>>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html
>>
>>
>>But I get an error at the browser when I attempt to authenticate. It
>
> cannot
>
>>find the driver
>>mysql driver = org.gjt.mm.mysql.Driver
>>
>>This is the error:
>>
>>The Following SQL Error(s) occurred while processing your request: Cannot
>>create JDBC driver of class '' for connect URL 'null'
>>
>>Sincerely,
>>
>>
>>Paul Idusogie
>>
>>
>>
>>
>>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Unable to find the JDBC Driver for Mysql using struts -- Help Please

Posted by Vic Cekvenich <ce...@baseBeans.com>.
On home page of http://ibatis.com there is a mySQL tutorial.
It examplains how to install mySQL and how to instal PetStore3 (a sample 
bluePrints/struts app).

It also exaplins how to setup a jdbc driver.
Maybe this can help,

.V

Paul Idusogie wrote:
> yes I did I am using the 3.0.9 version of the mysql driver
> 
> Sincerely,
> 
> 
> Paul Idusogie
> Chayil Corporation
> Enterprise Software Solutions Provider
> 
> 
> 
> -----Original Message-----
> From: Mauricio T. Ferraz [mailto:mauricio.tavares@cilix.com.br]
> Sent: Friday, November 14, 2003 4:56 PM
> To: Struts Users Mailing List; poidusogie@att.net
> Subject: Re: Unable to find the JDBC Driver for Mysql using struts --
> Help Please
> 
> 
> Did you copied the file mysql drive mm.mysql-2.0.4-bin.jar (for example)  to
> your WEB-INF\lib of your Application ??
> ----- Original Message -----
> From: "Paul Idusogie" <po...@att.net>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Friday, November 14, 2003 8:49 PM
> Subject: Unable to find the JDBC Driver for Mysql using struts -- Help
> Please
> 
> 
> 
>>I have configured tomcat residing on a linux box with a context for the
>>mysql database within the server.xml file.
>>I have used the same directives as specified in the How-To see
>>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html
>>
>>
>>But I get an error at the browser when I attempt to authenticate. It
> 
> cannot
> 
>>find the driver
>>mysql driver = org.gjt.mm.mysql.Driver
>>
>>This is the error:
>>
>>The Following SQL Error(s) occurred while processing your request: Cannot
>>create JDBC driver of class '' for connect URL 'null'
>>
>>Sincerely,
>>
>>
>>Paul Idusogie
>>
>>
>>
>>
>>
> 
> 
> 
> ----------------------------------------------------------------------------
> ----
> 
> 
> 
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Refresh - Duplicate Records Issue.

Posted by Harjot Narula <ha...@induslogic.com>.
Hi Tarun

Have a look at this 

(Search for 'token' on this page)
http://www.scioworks.net/camino_doc/manual/strutsIntro/struts1_0.html

Hope you find a solution.

Harjot

----- Original Message ----- 
From: "Tarun Dewan" <ta...@nucleussoftware.com>
To: "'Struts Users Mailing List'" <st...@jakarta.apache.org>
Sent: Friday, May 14, 2004 4:17 PM
Subject: Refresh - Duplicate Records Issue.


> Dear All, 
> 
> I'm facing one problem in my application. If user clicks 'REFRESH'
> (through right click menu) duplicate records gets inserted in my
> application. 
> 
> Pls. Suggest best way to handle the same. 
> 
> Thanks & regards,
> 
> Tarun.
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Refresh - Duplicate Records Issue.

Posted by Yves Sy <yv...@ssip.com>.
Use redirect = "true" in the forward property of your action mapping. As
a rule of thumb, you should redirect if you do any action that involves
writing in the persistence layer such as deleting, saving, updating,
etc...

HTH,
-Yves-


> -----Original Message-----
> From: Tarun Dewan [mailto:tarun.dewan@nucleussoftware.com]
> Sent: Friday, May 14, 2004 6:47 PM
> To: 'Struts Users Mailing List'
> Subject: Refresh - Duplicate Records Issue.
> 
> Dear All,
> 
> I'm facing one problem in my application. If user clicks 'REFRESH'
> (through right click menu) duplicate records gets inserted in my
> application.
> 
> Pls. Suggest best way to handle the same.
> 
> Thanks & regards,
> 
> Tarun.
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Refresh - Duplicate Records Issue.

Posted by Tarun Dewan <ta...@nucleussoftware.com>.
Dear All, 

I'm facing one problem in my application. If user clicks 'REFRESH'
(through right click menu) duplicate records gets inserted in my
application. 

Pls. Suggest best way to handle the same. 

Thanks & regards,

Tarun.





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Unable to find the JDBC Driver for Mysql using struts -- Help Please

Posted by Paul Idusogie <po...@att.net>.
yes I did I am using the 3.0.9 version of the mysql driver

Sincerely,


Paul Idusogie
Chayil Corporation
Enterprise Software Solutions Provider



-----Original Message-----
From: Mauricio T. Ferraz [mailto:mauricio.tavares@cilix.com.br]
Sent: Friday, November 14, 2003 4:56 PM
To: Struts Users Mailing List; poidusogie@att.net
Subject: Re: Unable to find the JDBC Driver for Mysql using struts --
Help Please


Did you copied the file mysql drive mm.mysql-2.0.4-bin.jar (for example)  to
your WEB-INF\lib of your Application ??
----- Original Message -----
From: "Paul Idusogie" <po...@att.net>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, November 14, 2003 8:49 PM
Subject: Unable to find the JDBC Driver for Mysql using struts -- Help
Please


>
> I have configured tomcat residing on a linux box with a context for the
> mysql database within the server.xml file.
> I have used the same directives as specified in the How-To see
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html
>
>
> But I get an error at the browser when I attempt to authenticate. It
cannot
> find the driver
> mysql driver = org.gjt.mm.mysql.Driver
>
> This is the error:
>
> The Following SQL Error(s) occurred while processing your request: Cannot
> create JDBC driver of class '' for connect URL 'null'
>
> Sincerely,
>
>
> Paul Idusogie
>
>
>
>
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Unable to find the JDBC Driver for Mysql using struts -- Help Please

Posted by "Mauricio T. Ferraz" <ma...@cilix.com.br>.
Did you copied the file mysql drive mm.mysql-2.0.4-bin.jar (for example)  to
your WEB-INF\lib of your Application ??
----- Original Message -----
From: "Paul Idusogie" <po...@att.net>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, November 14, 2003 8:49 PM
Subject: Unable to find the JDBC Driver for Mysql using struts -- Help
Please


>
> I have configured tomcat residing on a linux box with a context for the
> mysql database within the server.xml file.
> I have used the same directives as specified in the How-To see
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html
>
>
> But I get an error at the browser when I attempt to authenticate. It
cannot
> find the driver
> mysql driver = org.gjt.mm.mysql.Driver
>
> This is the error:
>
> The Following SQL Error(s) occurred while processing your request: Cannot
> create JDBC driver of class '' for connect URL 'null'
>
> Sincerely,
>
>
> Paul Idusogie
>
>
>
>
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org