No problem! Thanks for conformation!
2013/12/16 Yasser Zamani :
> I could not re-produce it with most recent version, 2.3.16. Both DTD
> versions work correctly on an off-line Tomcat :)
>
> I think there is a mis-version-configuration between struts and xwork with
> that non-maven old application.
I could not re-produce it with most recent version, 2.3.16. Both DTD
versions work correctly on an off-line Tomcat :)
I think there is a mis-version-configuration between struts and xwork
with that non-maven old application. Sorry for the inconvenience!
Thanks!
On 12/15/2013 03:53 PM, Lukasz
Hmm... so it must be some small bug, a typo somewhere. Can you
register an issue with the stacktrace and explanation that it works
with 1.0.2?
Thanks
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/12/15 Yasser Zamani :
> I reviewed Struts internally and discovered that in all places
I reviewed Struts internally and discovered that in all places it uses
"1.0.2" instead of "1.0.3". So, I guessed if I rewrite my DOCTYPE to:
1.0.2//EN" "http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";>
it may work. I tried and yeah, it works!
(However, it's some was confusing that
2013/12/14 Yasser Zamani :
> Hi there,
>
> We have a Struts2 application with some validation XMLs with following
> "DOCTYPE":
>
>1.0.3//EN" "http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd";>
>
>
> When we run this application on a server which has access to
> "struts.apache.org",
Hi there,
We have a Struts2 application with some validation XMLs with following
"DOCTYPE":
http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd";>
When we run this application on a server which has access to
"struts.apache.org", there is no problem. But when we run it on a server
wh
Hi All,
I have my DB and web application running in different machine. And
whenever my DB machine restart my application fail since it can't
connect to the DB. I have to restart my application every time my DB start.
I am using Struts Plug-in to load connection information from web.xml
ication.
> While the documentation for the jasperReport plugin explains how to use a
> datasource and a compiled template to generate a report, I wasn't able to
> find out how to use a database connection as a datasource and how to pass
> parameters to the report. I have the jrxml
The JR plugin expects the datasource to be the S2 action, not a connection.
If you have an existing JR report you may want to consider just keeping it
as-is and streaming back the result.
Dave
On Sat, Feb 25, 2012 at 12:20 AM, Thameem wrote:
> I have created some reports with iReport
> -Original Message-
> From: Thameem [mailto:thameem@gmail.com]
> Sent: Saturday, February 25, 2012 0:21
> To: user@struts.apache.org
> Subject: [struts-user] Struts 2 PASSING CONNECTION TO IREPORT
>
> I have created some reports with iReport BY connecting to s
find out how to use a database connection as a datasource and how to pass
parameters to the report. I have the jrxml and jasper files. I need to pass
the connection to ireport. Can anyone give me a solution.?
Thanking you advance.
--
View this message in context:
http://struts.1045723.n5.nabbl
-0500
From: anji...@hotmail.com
To: user@struts.apache.org
Subject: Connection Pooling with Struts
I have to do DB connection (Oracle 10g) in my application developed in
Struts 1.3.8.
Currently I am implementing JDBC. As far I understand this is not a good
technique for real project. So I am hopi
Anjib,
i'd certainly take a look at hibernate, i've been using it for a while now and
find it easy enough and functionally rich enough for most things.
adam
> Date: Tue, 7 Dec 2010 14:36:01 -0500
> From: anji...@hotmail.com
> To: user@struts.apache.org
> Subject: C
ate: Tue, 7 Dec 2010 16:19:48 -0600
> Subject: Re: Connection Pooling with Struts
> From: stanl...@gmail.com
> To: user@struts.apache.org
>
> Dude, I can't sit quietly any longer! How you connect to a database has
> NOTHING WHATSOEVER to do with the Struts/2 Framework. I woul
> Anjib
>
>
> On 12/7/2010 5:19 PM, stanl...@gmail.com wrote:
>
>> Dude, I can't sit quietly any longer! How you connect to a database has
>> NOTHING WHATSOEVER to do with the Struts/2 Framework. I would advise you
>> to
>> keep the two separated in your
On Tue, Dec 7, 2010 at 6:15 PM, Anjib wrote:
> I am asking about ORM tool not Struts framework itself.
>
I think the point was more along the lines of "why are you asking here,"
since you're not asking about the Struts framework.
Dave
k. I would advise you to
keep the two separated in your mind. Much like you wouldn't look to a
Database connection to serve a web page, neither should you look to Struts/2
as a Database connection.
On Tue, Dec 7, 2010 at 3:36 PM, Anjib Mulepati wrote:
So I can use this DBCP Componenet
Dude, I can't sit quietly any longer! How you connect to a database has
NOTHING WHATSOEVER to do with the Struts/2 Framework. I would advise you to
keep the two separated in your mind. Much like you wouldn't look to a
Database connection to serve a web page, neither should you look t
So I can use this DBCP Componenet instead of framework?
Anjib
E.g -. http://commons.apache.org/dbcp/
On Tue, Dec 7, 2010 at 4:27 PM, Dave Newton wrote:
A connection pooling library?
On Tue, Dec 7, 2010 at 4:25 PM, Anjib Mulepati
wrote:
Ok now I get confuse. I was thinking simple JDBC
E.g -. http://commons.apache.org/dbcp/
On Tue, Dec 7, 2010 at 4:27 PM, Dave Newton wrote:
> A connection pooling library?
>
> On Tue, Dec 7, 2010 at 4:25 PM, Anjib Mulepati
> wrote:
>
> > Ok now I get confuse. I was thinking simple JDBC can't (or complex to )
> &g
A connection pooling library?
On Tue, Dec 7, 2010 at 4:25 PM, Anjib Mulepati wrote:
> Ok now I get confuse. I was thinking simple JDBC can't (or complex to )
> handle connection pooling. So framework make work easy. If framework is not
> used what are other alternatives to han
Ok now I get confuse. I was thinking simple JDBC can't (or complex to )
handle connection pooling. So framework make work easy. If framework is
not used what are other alternatives to handle connection pooling beside
JDBC itself?
Anjib
On 12/7/2010 4:20 PM, Arthur Neves wrote:
Nop,
Is the question about connection pooling, as the subject line indicates, or
is the question about generic DB handling and JDBC v. ORMs?
Dave
On Tue, Dec 7, 2010 at 4:20 PM, Arthur Neves wrote:
> Nop,
>
> You dont need using a framework... if you pick one just will make your life
>
exists several frameworks for this job like hibernate, myBatis,
>> spring
>> jdbc tempalate, ... .
>> google for it and look which framework is the best for your project.
>>
>> Johannes
>>
>>
>> anjibman wrote:
>>
>>> I have to do DB connec
, spring
jdbc tempalate, ... .
google for it and look which framework is the best for your project.
Johannes
anjibman wrote:
I have to do DB connection (Oracle 10g) in my application developed in
Struts 1.3.8.
Currently I am implementing JDBC. As far I understand this is not a good
technique for
I have to do DB connection (Oracle 10g) in my application developed in
> Struts 1.3.8.
>
> Currently I am implementing JDBC. As far I understand this is not a good
> technique for real project. So I am hoping someone could suggest me how
> to do DB handling efficiently
I have to do DB connection (Oracle 10g) in my application developed in
Struts 1.3.8.
Currently I am implementing JDBC. As far I understand this is not a good
technique for real project. So I am hoping someone could suggest me how
to do DB handling efficiently?
Thanks
Anjib
Hi friends,
Additional to the config file i also realized that the connection with my
server never ends when viewed on browser, i mean the status bar always says
that "Waiting for URL.",
Pl. help on the Error: Cannot get a connection, pool error Timeout waiting
for idle objec
am gettting the following errors in my log file,
>
> Cannot get a connection, pool error Timeout waiting for idle object
>
>
> What could be the reason to this error, it seems like this is because of db
> which is mysql in my case,
>
> Pl. advice, what to do in to remove t
Hi friends.
I am using strurts 1 with mysql and is using the datasource in
struts-config.xml.
I am gettting the following errors in my log file,
Cannot get a connection, pool error Timeout waiting for idle object
What could be the reason to this error, it seems like this is because of db
which
Hi ,
Is it a best practice to create a connection object in handlers and
sending that object to DB functions that are called from handlers?
Previously I was creating connection object in every DB function and closing
it while coming back. I got some connection issues and now I am creating
Could you tel me in detail/example?
tks in advance
john
--- On Tue, 4/7/09, Sidharth Bhatia wrote:
From: Sidharth Bhatia
Subject: RE: how to initialize database connection pool in struts 2?
To: "'Struts Users Mailing List'" , w...@wantii.com
Date: Tuesday, April 7,
You can also use struts 2 spring capability and have the connection given to
you through dependency injection.
Sid Bhatia
"Try not. Do... or do not. There is no try" -- Yoda
_
_ mailto:sidharth.bhat...@gmail.com
-Original Message-
From: Wes W
On Tuesday 07 April 2009 21:38:44 john lee wrote:
> in structs 1, in APPLICATION/WEB-INF/web.xml, i have the following line
>
>
> DBInit
> neuco.db.DBInitServlet
> 1
>
>
> to initialize/launch default databse connection pool, how
in structs 1, in APPLICATION/WEB-INF/web.xml, i have the following line
DBInit
neuco.db.DBInitServlet
1
to initialize/launch default databse connection pool, how can i do this in
struts 2 ?
tks in advance
john
Mel Rosenberg wrote:
I have been working on using Jasper with Struts2 2.0.11. Looking at the
documentation it seems that the dataSource param is looking for a list. The
question is what is in the list. Is it a list of connection parameters to
the database, ie.. url, login name, password
am is looking for a list.
> The
> question is what is in the list. Is it a list of connection parameters to
> the database, ie.. url, login name, password... or is it a list of
> results?
>
> Can anyone point me in the right direction? I have searched the web and
> cant f
I have been working on using Jasper with Struts2 2.0.11. Looking at the
documentation it seems that the dataSource param is looking for a list. The
question is what is in the list. Is it a list of connection parameters to
the database, ie.. url, login name, password... or is it a list of
st object in your prepare method.
( mypojoList
-Original Message-
From: Rajeshwari Godbole [mailto:rgodb...@gmail.com]
Sent: Tuesday, January 13, 2009 2:12 PM
To: user@struts.apache.org
Subject: JasperReports Plugin:How to specify JDBC connection?
Hello,
*Problem*: I created a .jrxml rep
work. After I got the
JasperReportResult.java, I got errors while compiling that required the
classes com.opensymphony.xwork2.util.logging.Logger and LoggerFactory so I
got xwork-2.1.0.jar that has the logging classes (was using xwork-2.0.5
earlier). Now I'm getting an error on line 288 that says Con
t 2.0.mumble, maybe iReport 3+ is
> better).
>
> Dave
>
>
> --- On Fri, 12/12/08, Milan Milanovic wrote:
>
>> From: Milan Milanovic
>> Subject: Re: [S2] Struts + JasperReports (iReport) - setting connection
>> To: user@struts.apache.org
>> Date: Frida
for some of the initial layout but ended up resorting to
editing the XML file (this was iReport 2.0.mumble, maybe iReport 3+ is better).
Dave
--- On Fri, 12/12/08, Milan Milanovic wrote:
> From: Milan Milanovic
> Subject: Re: [S2] Struts + JasperReports (iReport) - setting connection
> To
novic
>> Subject: Re: [S2] Struts + JasperReports (iReport) - setting connection
>> To: user@struts.apache.org
>> Date: Friday, December 12, 2008, 1:41 PM
>> Dear Dave,
>>
>> have you maybe managed to find time to see how we can
>> define datasource in
Nope.
--- On Fri, 12/12/08, Milan Milanovic wrote:
> From: Milan Milanovic
> Subject: Re: [S2] Struts + JasperReports (iReport) - setting connection
> To: user@struts.apache.org
> Date: Friday, December 12, 2008, 1:41 PM
> Dear Dave,
>
> have you maybe managed to find t
bscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/-S2--Struts-%2B-JasperReports-%28iReport%29---setting-connection-tp20937308p20981232.html
Sent from
be, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/-S2--Struts-%2B-JasperReports-%28iReport%29---setting-connection-tp20937308p20956829.html
Sent from the Struts - User mailing list arch
--- On Thu, 12/11/08, Milan Milanovic wrote:
> O.K. Thank you. When Jasper report is designed I need to
> set datasource for it and for every type of data source
> I need to fill those elements (data source class, method
> which return data source elements, etc.). There is no
> such things explai
.
--
Thx, M.
newton.dave wrote:
>
> --- On Thu, 12/11/08, Milan Milanovic wrote:
>> No one knows how to set-up Jasper report connection for this
>> kind integration with Struts 2 ?
>
> You've gotta have a little more patience. I'll see how my report is
> co
--- On Thu, 12/11/08, Milan Milanovic wrote:
> No one knows how to set-up Jasper report connection for this
> kind integration with Struts 2 ?
You've gotta have a little more patience. I'll see how my report is configured,
but I don't recall anything about a factory in
No one knows how to set-up Jasper report connection for this kind integration
with Struts 2 ?
--
M.
Milan Milanovic wrote:
>
> Hi,
>
> I'm following this tutorial for integrating JasperReports in Struts app:
> http://struts.apache.org/2.0.14/docs/jasperreports-
Hi,
I'm following this tutorial for integrating JasperReports in Struts app:
http://struts.apache.org/2.0.14/docs/jasperreports-tutorial.html
http://struts.apache.org/2.0.14/docs/jasperreports-tutorial.html .
But I'm wondering how I should set up my connection on my report (e.g.,
That won't use the pool.
Take a look at some of the code snippets at [1]
Nils-H
[1] -
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
On Mon, Dec 1, 2008 at 8:09 AM, Adam Ruggles <[EMAIL PROTECTED]> wrote:
>
> You can use this little snippet to
You can use this little snippet to get a connection:
public Connection getConnection(String url, String driverClassName,
String
username, String password) throws SQLException {
try {
Class.forName(driverClassName);
} catch
Hello guys,
I'm newbie about Struts and I'm trying to understand a complex task (for
me), that is obtaining a connection from connection pool (I use dbcp for
this) and a datasource (that one of tomcat) and use this connection in dao
layer.
I'm trying to get this working, bu
AFAIK, there is no pattern.
You can configure a datasource through Spring, or you could get it
from JNDI once when your app starts (by writing a
ServletContextListener)
2008/8/20, Roger <[EMAIL PROTECTED]>:
> I need to implement a database connection pool and was considering using t
I need to implement a database connection pool and was considering using the
JNDI facilities provided by the servlet container (in my case, Apache
Tomcat). Is there a Struts "pattern" for accessing JNDI resources in (a) a
container neutral manner and (b) without tying my action clas
Lukasz Lenart wrote:
My understanding is that the webwork API for ApplicationAware means that the
interceptor will have it's setApplication(Map applicationData); triggered
when the interceptor is run, thereby giving me access to the
applicationcontext.
ApplicationAware should be used with Actio
Dave Belfer-Shevett wrote:
Hi folks - i'm trying to write an interceptor in struts2 that has
access to the ApplicationMap in the application context.
My understanding is that the webwork API for ApplicationAware means
that the interceptor will have it's setApplication(Map
applicationData); tr
> My understanding is that the webwork API for ApplicationAware means that the
> interceptor will have it's setApplication(Map applicationData); triggered
> when the interceptor is run, thereby giving me access to the
> applicationcontext.
ApplicationAware should be used with Actions not with inte
(The goal here is to store a c3p0 connection pool object in the
application context, so that I can get a connection from it on every hit
- I assume this is the proper way to do this?)
T
Thanks for the suggestion, but I use Spring very heavily! ;)
(Everything's bean-ified, and dependency injected...)
2008/5/5 KonTiki <[EMAIL PROTECTED]>:
>
> The Spring context listener is needed only if you do use Spring.
> If you do not, then this might be causing the error as Tomcat was unable
The Spring context listener is needed only if you do use Spring.
If you do not, then this might be causing the error as Tomcat was unable to
find the Spring classes.
Try removing this:
org.springframework.web.context.ContextLoaderListener
org.springframework.web.c
d)
> 2008/04/29 00:59:30 | at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 2008/04/29 00:59:30 | at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 2008/04/29 00:59:30 | at java.lang.reflect.Method.i
at java.lang.Thread.run(Thread.java:619)
2008/04/29 00:59:30 | Caused by: Connection timed out - [unknown location]
2008/04/29 00:59:30 | at
com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:123)
2008/04/29 00:59:30 | at
com.opensymphony.x
he
interceptors for that action. You either need to create a *complete* stack
with your interceptor included or specify *all* the interceptors your action
requires.
> Question 2...
> I tried doing this, and saw the connection start up, but the Action
> class kept having the connection
ptor line in my struts.xml file, the Logon
form validator fails. Line 29 shows 'null' in Logon.java. If i leave
it commented out, it works fine.
Question 2...
In Logon.java, I'm using the execute() method to set up my JDBC
connection (as pulled from my JBoss container datasourc
--- 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
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-source configuration element.
>>
>> The preferred way to
dont forget to share the code.
Thx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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-source configuration element.
>
> The preferred way to set up a data source (using a connection pool or
> 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
-source configuration element.
The preferred way to set up a data source (using a connection pool or
not) is through JNDI using your servlet container configuration. The
article Jeromy linked to mentions JNDI and links to more detailed
documentation for various servlet containers and application
http://dev.mysql.com/tech-resources/articles/connection_pooling_with_connectorj.html,
we can preform connection pooling only after configuring it in our
configuration files.If it is in the case of struts1, struts-config.xml file
has a tag called and there we can configure.But,what about
struts2 ho
Hi,
In this link :
http://dev.mysql.com/tech-resources/articles/connection_pooling_with_connectorj.html,
we can preform connection pooling only after configuring it in our
configuration files.If it is in the case of struts1, struts-config.xml file
has a tag called and there we can configure.But
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
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 immediate
Can't we implement connection pooling in struts2 alone?If so ,may I know the
reason please...!!!
Thanks.
nuwan chandrasoma-2 wrote:
>
> Hi,
>
> Why do not you give a try with Spring. as struts2 has built in support
> for spring, you can use springs connection
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
Hi All,
Since struts1 has connection pooling mechanism using tag,what
is the procedure of connection pooling mechanism in struts2?
Can we do tht using tag?I have seen from some
of the search results for oracle db using
class:oracle.jdbc.pool.OracleConnectionCacheImpl. But I need
Hi Frans,
You need to isolate what there's too many connections to. Is it the
database, the http server or some other resource?
My wild "stab in the dark" is that you're using the Session In View
pattern with hibernate and a connection pool setup through spring. T
hi there,
i am developing system using struts2, hibernate, and spring
and show off the error too many connection ,
and the error show off after there is 300 user log to the systme
can help anyone
F
-
To unsubscribe, e-mail
n 12/18/07, kenk <[EMAIL PROTECTED]> wrote:
>
>
> Filipe,
>
> Funny, I was looking for the same information. Here's the Spring
> configuration I'm moving forward
Filipe,
Funny, I was looking for the same information. Here's the Spring
configuration I'm moving forward with to use the Oracle connecti
Database Connection Pooling is typically handled (already) by the
container. You can get your datasource from this connection pooling
using JNDI. Spring has a way of doing this nicely using the
JndiObjectFactoryBean. Each container has a different way to configure
this JNDI configuration, so
uts 2 that is Oracle database driven.
> Integrating Struts 2 + Spring 2 + JPA (as described in
> http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html), how do I
> configure Oracle database Connection Caching (pooling)?
>
> Oracle's JDBC driver provided in the Oracle I
Hi all,
I want to create a web app with Struts 2 that is Oracle database driven.
Integrating Struts 2 + Spring 2 + JPA (as described in
http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html), how do I
configure Oracle database Connection Caching (pooling)?
Oracle's JDBC d
This is usually a result of using the wrong DOCTYPE in one of your XML
configuration files (in this case, one of /WEB-INF/validator-rules.xml,
/WEB-INF/validator-rules-extra.xml, /WEB-INF/validation.xml). Make sure
the declared DOCTYPE is appropriate to the version of Struts you're using.
Ther
Hello kind person,
I have a struts application that was working fine, but when I tried to move it
to another server it started throwing the below error messages. Why is it
trying to pull the DTD remotely? How can I fix?
Thanks for any and all help
Ed
struts-config_1_2.dtd
tions.
>
> So this was the load client specified ... i had set the max limit of
> my pool to 100 ... that may be the problem . i will go and increase it
> now...
If you need to serve 200 requests per second, ten you need to evaluate
what percentage of requests result in DB connection
i had set the max limit of my pool to 100 ...
that may be the problem . i wud go and increase it now...
Thanx
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jasdeep,
>
> jasdeep wrote:
>> 2. Configuring Jboss'
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jasdeep,
jasdeep wrote:
> 2. Configuring Jboss's Internal Container Level Connection pooling simply
> creating the datasources
This is the right way to do things.
> The application works OK with Second method but When it is being h
Hi All ,
i am developing a struts based web-application with JBoss 4.0.5 as
Application Server and Oracle 10g Express edition .
I am configuring my application for connection pooling .
I have tried following methods :
1. Oracle Connection Pooling following thius link
http
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Balazs,
Balazs Michnay wrote:
> 2) open your server.xml and put the following lines between
> tags (this is what I
> missed...)
> (Modify it properly...)
Although this is possible, most will recommend against it (including
me). This will create a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Balazs,
Balazs Michnay wrote:
> Thanks for helping.
> Sure, here are all my settings.
I think you have more configuration than you need. Here is exactly what
I have for a similar setup (MySQL 5.x, Connector/J 5.x, Tomcat 5.5.x):
I checked, and
Many thanks for your help, I managed to set connection pooling up (however, I
don't know whether it uses conn. pooling or not...)
To help others, here are all the configurations that need to be done:
(This works with Tomcat 5.5, MySQL 5.0, Win XP SP2)
1) Place your database driver in
Hi,
Struts way (not good)
Connection pooling is not available in latest version of struts
1 and
struts 2. So if you upgrade your application to latest struts
then you
will be in trouble.
Server (JNDI) very good
All application servers provide
Hi
To set up connection pooling in struts which is the recommended way whether and
please explain the benifts
1) Configure through struts-config
2) Configure through Server (like in tomcat data-source configuration)
Thanks & Regards,
Saravanan Vijayappan,
+91 944883
OTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, May 22, 2007 7:34 AM
Subject: Re: [OT] Connection Pooling
I forgot that I also have a resource-ref entry in my web.xml file... just
in case it counts...
DB Connection
jdbc/akr_db
javax.sql.DataSource
I forgot that I also have a resource-ref entry in my web.xml file... just in
case it counts...
DB Connection
jdbc/akr_db
javax.sql.DataSource
Container
But still nothing :(
Thanks,
BM
- Original Message
From: Nuwan Chandrasoma <[EMAIL PROTEC
--- Original Message
From: Nuwan Chandrasoma <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Tuesday, May 22, 2007 2:33:34 PM
Subject: Re: [OT] Connection Pooling
hi,
i just had a look, i think your url is wrong.
where is the DB name?
eg:- you have it like jdbc:mysql://localhost:
1 - 100 of 377 matches
Mail list logo