Suppose I will put following code in my struts-config.xml instead of
tomcat's server.xml will it work as per the expectation for abandoned
connection.
-Jignesh
On Mon, 2004-08-16 at 18:20, Jim Barrows wrote:
> > -Original Message-
>
I can say, this is purely a connection closing problem.
That's the reason when you restart the tomcat it works fine till the
time all the connection in the connection pool utilize and then after it
hangs.
Are u closing your connection in finally block?
-Jignesh
On Mon, 2004-08-16 at 02:14, Rajes
Hi Rick,
We are developing our software using struts and quartz with tomcat.
When we stop our web server it never stops the back end running threads.
We tried by developing separate listener but we never able to shutdown
our application properly.
any suggestion will be helpful on this.
-Jignesh
It seems your database connection is not getting close.
Your connection pool is not availalble after some time.
Put all connection close code in finally block.
-Jignesh
On Mon, 2004-08-09 at 06:17, Rajesh wrote:
> Hai all
>
> am using l Tomcat5, MySql, Struts 1.1 Linux.
>
> i had written a web
We are using following line of code
saveErrors(request, errors) and
saveMessages(request, messages)
but even the scope of errors and messages are limited to request. It
stores messages in session.
And we will be getting old messages displayed in our page instead of
message limited to particular r
Hi,
How do we will manage concurrency if suppose we have connection pool
which is managed with struts1.1 on tomcat.
And then we have two we server now suppose two connection from two
server try to access the database at the same time. How we can handle?
I know from my previous posting connection
Hi Geeta,
What I can say that check again your coding because we have application
in place with Servlet2.3, tomcat5.0.19 and struts1.1. And in
sessionDestroyed method I am able to trap the attribute which are
associated with the session.
It just work fine for us.
-Jignesh
On Fri, 2004-07-30 a
Can anybody write us
How much maximum database connection pool bear by tomcat 5.0.19 with the
struts framework.
How much maximum http connection threads bear by tomcat 5.0.19.
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PROTE
control.form;
> form.action = "SetOptions.do?someProp=";
> form.action += control.value;
> form.submit();
> }
>
>
>
>
> onclick="getOptions(this);"/> Value 1
> onclick="getOptions(this);"/> Value 2
&
Hi All,
In our application when user selects country like USA or Canada in turn
it has to show corresponding country's states.
Is there any struts example available for the same.
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PRO
Does that set a same token which will be used to avoid duplicate
submission.
-Jignesh
On Thu, 2004-07-08 at 09:19, Bill Siggelkow wrote:
> You can add the token to a link URL (html:link or html:rewrite tag) by
> setting 'transaction="true"'.
>
> Jignesh P
We have specific requirement for generating token in JSP instead of
action class to avoid duplicate submission.
Can anybody tell us how to do that.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
Hi, I am are trying to call session object in tiles page, but it returns null.
Is there any specific methodology to call session in jsp page.
Since I am just using session.getAttribute("Parameter") in session.
--
Jignesh Patel
Proj
a:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
--
Jignesh Patel
Project Leader
Bang Software Technolgy Pvt. Ltd.
(E) [EMAIL PROTECTED]
(T) 091 484 3942132
B-4, Smart Business Centre,
Infopark, SDF IT Bui
dation failed so send to error page (or straight onto
> success page if desired)
>return mapping.findForward("failure");
> }else{
> resetToken(request);
> // do some work as token is ok
> return mapping.findForward("success");
> }
>
> Daniel.
>
getting submitted at all, can anybody suggest what wrong I am doing.
For your information we are using one Action class per form so I am setting
saveToken method in execute method as per form.
--
Jignesh Patel
Project Leader
Bang Software
p/BasicDataSource.java
>
> Speaking of which, we need testers who use WL8.1 to test the patches
> in Bug #26322 -- right now, that would require applying the patches
> yourself, but after we cut Struts 1.2.1, I think the plan is to apply
> those patches so that they start gettin
t; write any code for this ???
>
> Harjot
>
>
> Harjot Narula
> Induslogic Inc.276, Piccadily House, 3rd FloorCapt. Gaur Marg,
> SrinivaspuriNew Delhi -110065, IndiaPhone No. - +91 -9818072345 (M)
> +91-11-
We are trying to deploy struts1.1 based application on weblogic8.1 which is
already working fine on tomcat5.19.
But it is giving problem because of following datasource code, if we remove it
then we are not able to get the oracle database connection and if keep it,
the code is not deploying Acti
app, it runs out of memory a lot
> quicker :)
>
> 3. If i run the stopapp and startapp ant tasks in a loop it runs out of
> memory with my struts app pretty quickly. Doing the same thing to axis
> takes a lot longer.
>
> So, i figure its not restricted to struts.
>
>
gravate this problem.
>
> I may have a completely wrong understanding of the problem too, but
> this is how we explain it to ourselves around here!
>
> Joe
--
Jignesh Patel
Project Leader
Bang Software Technolgy Pvt. Lt
using reverse
port 80 on apache server and as a framework we are using struts1.1.
Does it having problem with port number.
--
Jignesh Patel
Project Leader
Bang Software Technolgy Pvt. Ltd.
(E) [EMAIL PROTECTED]
(T) 091 484 3942132
I am just wondering, how concurrent request will be handled by single Action
class. Because for many form objects(as there are thousands of clients) there
are only one action class.
--
Jignesh Patel
Project Leader
Bang Software
How to set tomcat so that it says
how many processes and memory occupied by the tomcat at perticular moment.
--
Jignesh Patel
Project Leader
Bang Software Technolgy Pvt. Ltd.
(E) [EMAIL PROTECTED]
(T) 091 484 3942132
B-4
avoid
concurrent request.
Will it be the reason?
--
Jignesh Patel
Project Leader
Bang Software Technolgy Pvt. Ltd.
(E) [EMAIL PROTECTED]
(T) 091 484 3942132
B-4, Smart Business Centre,
Infopark, SDF IT Building,
Kusuma
> ActionForm form,
> HttpServletRequest request,
> HttpServletResponse response)
>
> This object is retained throughout application lifecycle, and reused for
> each request.
>
> Daniel.
>
> -Original Message-
> From: Jignesh Patel [mailto:[EMAIL PRO
> (DispatchAction) could add errors without initializing a new ActionError
> instance, and return it. But this is incorrect and can/will introduce
> problems.
>
> So there is no concurrency in Struts.
>
> Jignesh Patel wrote:
> >On Monday 10 May 2004 17:21, Jignesh
)
>
> Regards,
> Geeta
>
> > -Original Message-
> > From: Jignesh Patel [mailto:[EMAIL PROTECTED]
> > Sent: Monday, May 10, 2004 8:54 AM
> > To: Struts Users Mailing List
> > Subject: concurrency in struts
> >
> >
> > On Monday 10 May 2004 17:21, Jig
On Monday 10 May 2004 17:21, Jignesh Patel wrote:
I am just wondering, how concurrent request will be handled by single
Action class. Because for many form objects(as there are thousands of
browser running with jsp forms) and there is only one action class.
--
Jignesh Patel
Project Leader
How to remove history from JSP pages while we are using struts framework?
--
Jignesh Patel
Project Leader
Bang Software Technolgy Pvt. Ltd.
(E) [EMAIL PROTECTED]
(T) 091 484 3942132
B-4, Smart Business Centre,
Infopark, SDF
So You, mean there is a one seperate event for one single session.
-Jignesh
On Thursday 29 April 2004 12:33, Craig R. McClanahan wrote:
> Jignesh Patel wrote:
> >If we will use HttpSessionListener,
> >will tomcat implement seperate listener for all the Sessions or it will
> &
Hi All,
I am following query to insert value in databse now suppose value of
"webpurchased","targetadvt" and 'trial" is null then how can I can insert
same null value in database.
Because my parameter is like String webpurchased=null --In this case value of
webpurchase will be replaced by strin
If there are multiple sessions getting destroyed?
Which session will get first destroyed? or sessiondestroyed method will
override old session?
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Go through with SessionBindingListener and SessionAttributeListener.
And implement the appropriate one.
-Jignesh
On Thursday 22 April 2004 20:29, Matt Bathje wrote:
> Hey all - I'm having a small problem and was wondering if anybody could
> help.
>
> I have a page with a form, that when I submit,
If we will use HttpSessionListener,
will tomcat implement seperate listener for all the Sessions or it will be
common for all the sessions?
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
Hi All,
I am trying to implement timer with servlet but it works only at the time of
loading only while I schedule it to work after every 1 minute.
What is the reason for not working later on?
My servlet code is as follows:
public class TimerServlet extends GenericServlet implements SingleThread
Hi All,
Can anybody guide me how to integrate quartz scheduler with tomcat?
I am trying to develop email scheduling through quartz.
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
37 matches
Mail list logo