Hi,Andre
Thanks for the advice. I do implement a Valve class to capture all the
request before forwarding to actual web app. However, I can not know
in advance the actual url for the servlet or JSP ..
i.e. I can not know from the URI in the Valve class that the
resources is static files or servlet
Kim wrote:
Hi, Dear all
I'm using tomcat 6.0.35 on linux CentOS 5.7 using sun jdk jdk1.5.0_11.
I need to enable public_html for my user but for security reason, I
would like restrict the functions to serve static files only.
Can anyone tell me how to do that ?
Actually I can build tomcat from sr
Hi, Dear all
I'm using tomcat 6.0.35 on linux CentOS 5.7 using sun jdk jdk1.5.0_11.
I need to enable public_html for my user but for security reason, I
would like restrict the functions to serve static files only.
Can anyone tell me how to do that ?
Actually I can build tomcat from src and don't mi
Hi all,
Say I have a webapp that don't stop all the timer threads it started upon
the webapp undeploy/stop. So tomcat prints an error,
"The web application [/NewStratosDBAccessServlet] appears to have started a
thread named [MySQL Statement Cancellation Timer] but has failed to stop
it. This is ve
Probably waited too long for a connection. What does your pool
configuration look like? Look in META-INF/context.xml or, I suppose, in
conf/server.xml for elements.
type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="1"
username="user" password
On 6/26/2012 12:09 PM, Steven Sinclair wrote:
> You can use java jmx console to monitor the number of db connections.
Thanks Steven, I will check this.Actually servlet was leaking connection
and I had forgot to close connection.Fixed it now.
But I still need to monitor DB side.I will check jmx con
On 26/06/2012 23:26, Au, Leon wrote:
> On 6/25/12 9:19 AM, "Au, Leon" wrote:
>
>> Hi,
>>
>> There was a recent change to how Tomcat handles the Content-Type response
>> header in order to address Bug #52811
>> (https://issues.apache.org/bugzilla/show_bug.cgi?id=52811)
>>
>> We've noticed that thi
On 6/25/12 9:19 AM, "Au, Leon" wrote:
>Hi,
>
>There was a recent change to how Tomcat handles the Content-Type response
>header in order to address Bug #52811
>(https://issues.apache.org/bugzilla/show_bug.cgi?id=52811)
>
>We've noticed that this can cause issues with client code when parsing
>the
I found a really good explanation for what I want to do in "Java Servlet
Programming", Jason Hunter et al, chapter 11 "Servlet Collaboration".
Thanks to all.
Joe
-Original Message-
From: Cotton, Joseph B [mailto:bcot...@dpscs.state.md.us]
Sent: Tuesday, June 26, 2012 2:14 PM
To: Tomcat
Thanks,
Brooke Hedrick
-Original Message-
From: Don Lawton [dglaw...@verizon.net]
Received: Tuesday, 26 Jun 2012, 11:00am
To: Tomcat Users List [users@tomcat.apache.org]
Subject: Re: SEVERE: Servlet threw load() exception
java.lang.ClassNotFoundException:
Hi Brooke. It's just an assump
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kiran,
On 6/26/12 1:11 AM, Kiran Badi wrote:
> While testing the pagination links ,I am getting below error,
>
> SEVERE: null org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot
> get a connection, pool error Timeout waiting for idle object
Proba
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 6/26/12 6:10 AM, André Warnier wrote:
> André Warnier wrote:
>> Andun Sameera wrote:
>>> I have some web apps hosted in Tomcat container, Can we engage
>>> a Valve specifically for a webapp ?
>>>
>> I've never done it, but according to the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mansukhdeep,
On 6/25/12 11:27 PM, THIND Mansukhdeep wrote:
> Can any one give a cue as to why tomcat is taking such a long time
> to start up on windows-7 64 bit machine, while the same used to
> startup in mere seconds on a 32 bit windows XP machine?
Thanks, Konstantine, Cris and Mark. I will be reading the docs.
"... global objects should not retain references to objects loaded by your web
application..." We intend on only doing it the opposite direction, that is,
loading global objects into web apps. That is the whole point, we want so
Thanks! I apologize for the multiple posts.
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Saturday, June 23, 2012 4:09 AM
To: Tomcat Users List
Subject: Re: Tomcat 6 jsvc startup/shutdown script
2012/6/23 Christopher Schultz :
>
> On 6/22/12 10:12 AM,
On 26/06/2012 17:16, chris derham wrote:
> On Tue, Jun 26, 2012 at 12:46 PM, Cotton, Joseph B <
> bcot...@dpscs.state.md.us> wrote:
>
>> I looked at the Realm documentation for a few minutes, but it appears to
>> be intended for User ID and Password verification.
>>
>> Joseph,
>
> Ignore Martin's
On Tue, Jun 26, 2012 at 12:46 PM, Cotton, Joseph B <
bcot...@dpscs.state.md.us> wrote:
> I looked at the Realm documentation for a few minutes, but it appears to
> be intended for User ID and Password verification.
>
> Joseph,
Ignore Martin's JDBCRealm suggestion - his responses don't seem to rel
2012/6/26 Cotton, Joseph B :
> My question may be covered by the Tomcat documentation and I am just
> confused by all the new terminology. I have spent hours in reading and
> still I am looking to an answer.
>
> We wish to have a class running on Tomcat that contains system wide info
> and multipl
Hi Martin. Yes indeed, 'public class hfController extends HttpServlet {'.
As I mentioned to Brooke, I'll go see if I can get an explanation from the
Eclipse folks about compiling servlets and placing them in the appropriate
server folders. Thanks.
Don
-Original Message-
From: Marti
Hi Brooke. It's just an assumption, but if Tomcat is running, when I save
the servlet code in eclipse, eclipse seems to compile automatically. Looks
like I need to chat with the eclipse folks. Thanks again for you
assistance.
Don
-Original Message-
From: Hedrick, Brooke - 43
Sent:
I looked at the Realm documentation for a few minutes, but it appears to
be intended for User ID and Password verification.
-Original Message-
From: Martin Gainty [mailto:mgai...@hotmail.com]
Sent: Tuesday, June 26, 2012 11:28 AM
To: Tomcat Users List
Subject: RE: Wish to use an indep
Joe
did you get a chance to look at implementing
JDBCRealmhttp://tomcat.apache.org/tomcat-7.0-doc/realm-howto.html#JDBCRealm
Martin
__
Place longwinded disclaimer here
> Subject: Wish to use an independent class module in Tomcat
> Date: Tue, 26 Ju
My question may be covered by the Tomcat documentation and I am just
confused by all the new terminology. I have spent hours in reading and
still I am looking to an answer.
We wish to have a class running on Tomcat that contains system wide info
and multiple database connections into DB2 on the
Thanks,
Brooke Hedrick
-Original Message-
From: Don Lawton [dglaw...@verizon.net]
Received: Tuesday, 26 Jun 2012, 6:11am
To: Tomcat Users List [users@tomcat.apache.org]
Subject: Re: SEVERE: Servlet threw load() exception
java.lang.ClassNotFoundException:
Good morning and thank you for
Daniel Mikusa wrote:
- Original Message -
Hi
Can any one give a cue as to why tomcat is taking such a long time to
start up on windows-7 64 bit machine, while the same used to startup
in mere seconds on a 32 bit windows XP machine? I have pasted the
server startup console info below.
- Original Message -
> Hi
>
> Can any one give a cue as to why tomcat is taking such a long time to
> start up on windows-7 64 bit machine, while the same used to startup
> in mere seconds on a 32 bit windows XP machine? I have pasted the
> server startup console info below.
>
> -Orig
as brooke mentioned your hfController java class has to be in either
YourWebApp\WEB-INF\classes or packaged in some manner of jar located
inYourWebApp\WEB-INF\lib so your web.xml can find the servlet-class
org.dgl.HomeFinances.Utilities.Controller.hfController
does hfController cl
Good morning and thank you for you quick response. This problem occurs
while testing within Eclipse - the app is not deployed. The class is listed
in the project tree in the 'Java Resources/src' folder. There is nothing in
the 'Web Content/WEB-INF/lib' folder and there is no 'Web
Content/WEB
André Warnier wrote:
Andun Sameera wrote:
I have some web apps hosted in Tomcat container, Can we engage a Valve
specifically for a webapp ?
I've never done it, but according to the excellent on-line
documentation, you can.
http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html#Introductio
Andun Sameera wrote:
I have some web apps hosted in Tomcat container, Can we engage a Valve
specifically for a webapp ?
I've never done it, but according to the excellent on-line documentation, you
can.
http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html#Introduction
("context" being equ
I have some web apps hosted in Tomcat container, Can we engage a Valve
specifically for a webapp ?
Thanks
AndunSLG
31 matches
Mail list logo