RE: How do you keep your session junk free?

2003-03-07 Thread Gaurav . Goyal
What we are doing is (not very efficient, but easy and quick to program), we have a class that gets the session and path as parameter. Then this class checks to see what attributes are absolutely required for a path and it removes the rest. We are then calling this class from the processPreprocess

RE: Any Known Help (links) on Making Struts 1.1 work on I Planet 6.0?

2003-03-07 Thread Gaurav . Goyal
have had some very frustrating experiences on trying to do struts1.1 on iplanet 6. Spent about 5 days trying to get it to work..but failed. So right now, i'm just working with Struts 1.0 There are two problems you'll face with 1.1 1) Logger in ActionServlet won't initialize. So server will not

RE: Any Known Help (links) on Making Struts 1.1 work on I Planet 6.0?

2003-03-07 Thread Gaurav . Goyal
Exciting to know that Struts 1.1 is working for you. Will try it out this weekend. I think i kept trying with jdk1.2 and never really tried with jdk1.3. I'll try with that. Thanks. -Original Message- From: ajTreece [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 7:25 PM To: Struts

Exceeding sessions on load test

2003-03-06 Thread Gaurav . Goyal
Hi, I'm running iPlanet Web server on NT with Struts 1.0 I'm facing this problem where the number of sessions goes beyond the 1000 session limit during load test. We are invalidating sessions during logout. The load test has at the most 35 concurrent users. I confirmed that the

[OT] Simulating Concurrent Users

2003-03-05 Thread Gaurav . Goyal
Hi, Is there some open source tool or technique that I can use to simulate concurrent users for our application? I especially want to test our connection pooling implementation. Thanks, Gaurav - To unsubscribe, e-mail:

RE: [OT] Simulating Concurrent Users

2003-03-05 Thread Gaurav . Goyal
Sean, downloaded this software and set it up. Its pretty simple to use. Getting a problem though. Its not able to find the link to my application. It talks about changing the proxy server of IE. However i don't have the rights to do that on my system. Do you have any ideas on this? Thanks.

Struts or DBCP?

2003-03-02 Thread Gaurav . Goyal
Hi, I'm getting a strange exception in our application. We are using Struts 1.0 with DBCP 1.0 on iPlanet. There is a particular URL in our application which does a lot of data processing. It take approx 8 to 10 seconds to process and return data back to the screen. If i

processPreprocess hook

2003-03-01 Thread Gaurav . Goyal
Hi, We have been overriding the processPreprocess method in ActionServlet of Struts 1.0 in an extended class to do some custom processing like session expiry handling etc. I noticed that this method is not present in the ActionServlet of Struts 1.1. So now I guess we can't migrate from

[OT] DBCP Pool Closed connection problem

2003-02-27 Thread Gaurav . Goyal
Hi, I'm using commons DBCP in conjuction with STRUTS. When a lot of users start using our application, we start getting a lot of exceptions related to Connections, like Exhausted Resultset or Connection is Closed. The first one happens when we try to retrieve a column from a

RE: [OT] DBCP Pool Closed connection problem

2003-02-27 Thread Gaurav . Goyal
Thanks for the replies. How can turn on the validation which checks for a good connection before returning. I guess i need to setTestOnBorrow(true). Do I need to do any thing else? We actually have automated JTest which checks for all closed connections. So that's what makes me certain that

RE: [OT] DBCP Pool Closed connection problem

2003-02-27 Thread Gaurav . Goyal
Thats what i've been thinking. after we obtain results in a resultset and before we start iterating through it, the original connection is somehow getting closed. it could be because some other user has a reference to the same connection. but i'm not sure how that can happen. all connections are

Parsing error

2003-01-27 Thread Gaurav . Goyal
Hi, I'm getting the following error when I restart my web server. I'm developing on an NT machine and then deploying the code onto a unix server. Things work fine on my machine, but I start getting this error as soon as I deploy my code and do a server restart. Is it a problem with the

RE: Parsing error (Strange behaviour on NT)

2003-01-27 Thread Gaurav . Goyal
Found the problem. action-mappings was opened and closed many times in the document. Funny thing is it was working fine on NT. What is buggy here on NT? My web server's XML parser? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 9:18 AM

Handling session Timeout

2002-10-08 Thread Gaurav . Goyal
I'm trying to implement something from an earlier posting on the list. I've extended ActionServlet and overridden the processPreprocess method. I've put in the following line : if (request.getSession(false) == null), however i find that this line always returns false, even after the session has

RE: Struts w/ iPlanet6

2002-10-04 Thread Gaurav . Goyal
were u actually able to get Struts 1.1 b2 to work with iplanet 6? I was able to fix the logging problem by making a small change in the ActionServlet, however I was having problems with the parsing of struts-config.xml by the Digester class. Since then I've given up on using Struts 1.1 b2 and

RE: all this traffic

2002-09-25 Thread Gaurav . Goyal
I think the archive has a wealth of information. It would be great if it was organized such that, it was very easy to search for the needed information. In fact a lot of the documentation needs would be reduced if only the archive was better organized. Some of the things that could be done is

RE: Struts1.1.b2 and Menu

2002-09-23 Thread Gaurav . Goyal
I guess you probably have a general question as to how you should call your JSP/HTML resources from within other JSP/HTML pages. The standard way of doing this in Struts is 1) Request for every resource through the controller servlet 2) To do this you can make every request to end with an

HTTP 405 - Resource not allowed

2002-09-23 Thread Gaurav . Goyal
Hi, For some reason I'm getting the above error whenever I try to access any of my .do URLs. Does anyone know what could be the reason for this? The same page is accessible if I try to access it directly, i.e. without going to it through Struts.. Thanks, Gaurav -- To

RE: HTTP 405 - Resource not allowed

2002-09-23 Thread Gaurav . Goyal
Please ignore this. I had screwed up the settings of my application server which was causing this. Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 7:59 PM To: [EMAIL PROTECTED] Subject: HTTP 405 - Resource not allowed Hi,

Starting Background processes

2002-09-18 Thread Gaurav . Goyal
Hi, This might be a general J2EE question rather than a Struts question. In our app we need to start some background java jobs upon a user request on a web based form. These jobs will execute for around 10 minutes. So once a user makes a request we need to kick off a job in the

RE: Web Application directory structure

2002-09-17 Thread Gaurav . Goyal
Yes, appending context root is a nice little feature. Thanks for the tip. request.getContextPath() is going into the JSP coding standards doc. I wonder if there is some list of Design Practices or Coding Practices that were followed during the development of struts? It would be a nice learning

RE: Parsing error

2002-09-12 Thread Gaurav . Goyal
While I share your opinion on iPlanet, I have to live with it as its the standard for development here. However I'm trying to advocate the MVC architecture here. And I want to use Struts for the obvious reason that I don't have to reinvent the wheel. So I need to get struts working. I did

RE: Parsing error

2002-09-12 Thread Gaurav . Goyal
i put digester.parse(is) in a synchronized block. That did not help. -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 10:13 AM To: 'Struts Users Mailing List' Subject: RE: Parsing error Wow...never saw that before. Apparently

commons-logging.properties

2002-09-11 Thread Gaurav . Goyal
Hi, I'm getting a problem when I restart my iPlanet Web Server 6.0 after deploying the example application in struts 1.1 b2. I've included the stack trace below. Is it because LogFactory.java is not able to find commons-logging.properties? If yes, can someone tell me where I can find this

Parsing error

2002-09-11 Thread Gaurav . Goyal
Hi, Getting the following error on trying to start up web server having the struts example app. I've tried it with the latest versions of jaxp and xerces and yet it gives the same error. The line in ActionServlet which is causing this is digester.parse(is); Please help, Thanks.

java.lang.ExceptionInInitializerError

2002-09-10 Thread Gaurav . Goyal
Hi, I installed the example application which comes with the struts 1.1 b2 version. The server is iPlanet web server 6.0 When I try to start the server it gives the following exception. Internal error: Unexpected error condition thrown