Re: Struts2 connection pooling using MySQL

2008-02-21 Thread Dave Newton
--- RajiR <[EMAIL PROTECTED]> wrote: > As struts2 comes along with spring integration with > struts2-spring-plugin-2.0.11.jar,after starting the tomcat server its > unable to load that jar and getting an exception as: Looks more like you don't have Spring itself on your classpath: > Caused by: ja

Re: Struts2 connection pooling using MySQL

2008-02-21 Thread RajiR
gt;> >>>>> >>>> Struts 2 itself doesn't provide a connection pooling implementation and >>>> probably shouldn't. >>>> >>>> MySql provide a pooled DataSource that you can use immediately. Set it >>>> up the same way a

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread Frans Thamura
dont forget to share the code. Thx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread RajiR
a pooled DataSource that you can use immediately. Set it >>> up the same way as your current DataSource >>> http://dev.mysql.com/tech-resources/articles/connection_pooling_with_connectorj.html >>> >>> Does that help? >>> >>> ----- >>> To unsubsc

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread Frans Thamura
> eg. > http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html is this connectio data source is the best implementation we are using hibernate c3p0, any suggestion F - To unsubscribe, e-mail: [EMAIL PROTECT

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread Laurie Harper
Struts1 provided a data-source configuration element because, at the time that was added, there was no consistent mechanism for configuring data sources that worked across servlet containers. That changed a long time ago and Struts first deprecated, and then removed, its support for the data-so

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread Jeromy Evans
Right. The configuration file the mysql reference refers to is the Container configuration, for example, server.xml or context.xml provided with Tomcat. Every J2EE container provides that configuration. Struts 1 provides some config to simply it, but Struts 2 doesn't provide convenience conf

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread RajiR
ql.com/tech-resources/articles/connection_pooling_with_connectorj.html > > Does that help? > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread Frans Thamura
hi there i got a too many connection when try use spring-hibernate with struts2 and this is not struts2 problem i think the connection pool is not struts2 responsibility as the controller and if we use spring, this will become injection work with the database tech like ORM ot JDBC F -

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread Jeromy Evans
RajiR wrote: Can't we implement connection pooling in struts2 alone?If so ,may I know the reason please...!!! Thanks. Struts 2 itself doesn't provide a connection pooling implementation and probably shouldn't. MySql provide a pooled DataSource that you can use immediately. Set it up t

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread RajiR
onnection pooling in struts.xml for >> mysql >> database? >> >> Please reply as soon as possible. >> >> Thanks. >> > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- Vie

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread Nuwan Chandrasoma
Hi, Why do not you give a try with Spring. as struts2 has built in support for spring, you can use springs connection pooling very easily. Thanks, Nuwan. RajiR wrote: Hi All, Since struts1 has connection pooling mechanism using tag,what is the procedure of connection pooling mechanism i

Struts2 connection pooling using MySQL

2008-02-20 Thread RajiR
to connect to MySQL database,how to implement connection pooling in struts.xml for mysql database? Please reply as soon as possible. Thanks. -- View this message in context: http://www.nabble.com/Struts2-connection-pooling-using-MySQL-tp15584715p15584715.html Sent from the Struts - User mailing