RE: connection pooling

2004-08-16 Thread Jignesh Patel
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- >

Re: Connection and Tomcat server

2004-08-16 Thread Jignesh Patel
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

stopping threads when sever stops

2004-08-11 Thread Jignesh Patel
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

Re: Tomcat5 not logging me in

2004-08-09 Thread Jignesh Patel
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

message of request scope will be displayed with other requests also

2004-08-06 Thread Jignesh Patel
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

concurrency management

2004-07-30 Thread Jignesh Patel
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

Re: HttpSessionListener vs. HttpSessionBindingListener

2004-07-30 Thread Jignesh Patel
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

tomcat max capacity with struts1.1

2004-07-26 Thread Jignesh Patel
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

Re: country state swapping in struts

2004-07-09 Thread Jignesh Patel
control.form; > form.action = "SetOptions.do?someProp="; > form.action += control.value; > form.submit(); > } > > > > > onclick="getOptions(this);"/> Value 1 > onclick="getOptions(this);"/> Value 2 &

country state swapping in struts

2004-07-09 Thread Jignesh Patel
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

Re: duplicate submission

2004-07-08 Thread Jignesh Patel
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

duplicate submission

2004-07-08 Thread Jignesh Patel
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

session is not working with jsp

2004-06-19 Thread Jignesh Patel
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

code won't work to avoid duplicate submit

2004-05-24 Thread Jignesh Patel
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

Re: double click submit button problem

2004-05-22 Thread Jignesh Patel
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. >

double click submit button problem

2004-05-21 Thread Jignesh Patel
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

Re: struts is giving error on weblogic81

2004-05-18 Thread Jignesh Patel
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

Re: Session Timeout

2004-05-18 Thread Jignesh Patel
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-

struts is giving error on weblogic81

2004-05-17 Thread Jignesh Patel
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

Re: java.lang.OutOfMemoryError after server app start/stop cyclin g

2004-05-14 Thread Jignesh Patel
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. > >

Re: java.lang.OutOfMemoryError after server app start/stop cyclin g

2004-05-13 Thread Jignesh Patel
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

critical problem

2004-05-10 Thread Jignesh Patel
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

concurrency in struts

2004-05-10 Thread Jignesh Patel
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

tomcat configuration

2004-05-10 Thread Jignesh Patel
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

strange tomcat problem with struts1.1

2004-05-10 Thread Jignesh Patel
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

Re: concurrency in struts

2004-05-10 Thread Jignesh Patel
> 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

Re: concurrency in struts

2004-05-10 Thread Jignesh Patel
> (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

Re: concurrency in struts

2004-05-10 Thread Jignesh Patel
) > > 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

concurrency in struts

2004-05-10 Thread Jignesh Patel
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

removing history from jsp pages

2004-05-02 Thread Jignesh Patel
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

Re: HttpSessinoListener Confusion

2004-05-02 Thread Jignesh Patel
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 > &

how to insert null using sql query in java code

2004-04-25 Thread Jignesh Patel
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

HttpSessionListener Interface

2004-04-22 Thread Jignesh Patel
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

Re: session form "reset"

2004-04-22 Thread Jignesh Patel
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,

HttpSessinoListener Confusion

2004-04-22 Thread Jignesh Patel
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: [

Timer implementation with servlet

2004-04-20 Thread Jignesh Patel
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

quartz scheduling

2004-04-20 Thread Jignesh Patel
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