Re: frequent Class unloading/classnotfound problem

2011-04-10 Thread S Arvind
Chris, So when the request comes it is sending 404 status or class-not-found exception. --Can you give some specifics? Assume we have a class called Sample.class, so when trying to create the object it is giving classnotfound exception. Then i have to again compile the java in the runtime

Which data structure (whether FIFO queue or Input stream) is used by Tomcat server

2011-04-10 Thread vinod hv
Hello everyone.. What i mean in the above question is that, when we send a HTTP request to the apache tomcat server in which data structure does it get stored for further action(like processing it and serving the request) I am designing a testing http://www.javaranch.com/unit-testing.jsp tool to

RE: Help with CsrfPreventionFilter

2011-04-10 Thread Mathew Samuel
Hi Konstantin, I will try to avoid mapping the filter to those paths as you have suggested as yes that is another approach I can try. You had mentioned that the filter works by providing its own implementation of encodeURL(). Is this a function I have to explicitly call or is it something

Re: Help with CsrfPreventionFilter

2011-04-10 Thread Konstantin Kolinko
2011/4/11 Mathew Samuel mathew.sam...@entrust.com: Hi Konstantin, I will try to avoid mapping the filter to those paths as you have suggested as yes that is another approach I can try. You had mentioned that the filter works by providing its own implementation of encodeURL(). Is this a

Re: How to retry database connection with Tomcat 7 jdbc pool ?

2011-04-10 Thread sojin
Got it, testOnBorrow=true validationQuery=select 1 validationInterval=1 did the trick. sojin wrote: How to configure Tomcat 7 jdbc pool to retry database connection if the DB goes restarted ? With default configurations on alternatives like apache dbcp or bonecp, the connection

Re: How to hide tomcat console when installed as service

2011-04-10 Thread Amit k
Hi, I actually tried that option. I know it works but under one situation it fails. When your application require tomcat to interact with desktop it fails and in my case, application in tomcat interacts with Desktop through JNI call. So I cant use this option. And moreover it is required to be

tomcat shows 404 error for existing pages

2011-04-10 Thread Bhagyashri Pawar
Dear all members Currently I have purchase one domain name and virtual dedicated server(Linux - Red hat fedora). I am using java and tomcat 5.5 on that server. The problem I am facing is tomcat shows 404 error (description: The requested resource (/mytestpage.jsp) is not available.). Is there

Re: How to hide tomcat console when installed as service

2011-04-10 Thread Mladen Turk
On 04/11/2011 07:01 AM, Amit k wrote: Hi, I actually tried that option. I know it works but under one situation it fails. When your application require tomcat to interact with desktop it fails and in my case, application in tomcat interacts with Desktop through JNI call. So I cant use this