Hi Mark,
I applied your advice. I added a directive to my error page, so it wont
create a session variable, and therefore won't try to create a session if it
does exist (<%@ page session="false"%>).
Well, IT WORKED! I got rid of the "java.lang.IllegalStateException: Cannot
create a session after t
I agree. A forum would be more practical.
It is much easier reading all postings on a topic.
I find myself clearing my "tomcat users list inbox" every morning, while on
forums I visit I check out the new or updated topics.
The forums these days let you subscribe to topics or complete forums and
se
We are using tomcat-6.0.24 with jdk1.6.0.17 on RHEL 3 OS. We have a
wrapper script which sets few variables and then call tomcat.start to
start up the instance. In the tomcat log, I do see
"org.apache.jk.common.ChannelSocket init" not getting loaded on the
start of tomcat.
Thanks
-Original Me
After debug into tomcat source code, i found that if transfer-encode is set
as 'buffered', tomcat 6.0.26 will report null pointer exception in buffered
filter recycle, but in tomcat 6.0.29 , directly report 501 error. But not
sure attackers how to obtain sensitive information via a crafted header?
> From: Roy McMorran [mailto:mcmor...@mdibl.org]
> Subject: Errors not logging to catalina.out after redeploy
> Ordinarily if an exception occurs this will be logged to catalina.out.
> When Tomcat is first started (we use jsvc) this is the case as
> expected. However if the webapp is redeploy
> From: Ken Bowen [mailto:kbo...@als.com]
> Subject: Re: Why an email list, and not a forum?
> The volunteers who provide the support on this list
> certainly don't want to spend lots of extra (and
> wasted time) dealing with a web forum instead of
> receiving messages in email.
To use a less m
:-)
On Sep 23, 2010, at 9:39 PM, michel wrote:
> :)
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Ken,
I'm to lazy to look it up, can you just summarize it for me? :)
- Original Message -
From: "Ken Bowen"
To: "Tomcat Users List"
Sent: Thursday, September 23, 2010 9:31 PM
Subject: Re: Why an email list, and not a forum?
Well, as first posted by Mark: http://slash7.com/
Well, as first posted by Mark: http://slash7.com/2006/12/22/vampires/
On Sep 23, 2010, at 9:23 PM, michel wrote:
> Maybe this is a time (good or bad) for me to chip in with my own complaint
> ... to many people are posting questions and make it obvious that they
> couldn't be bothered even do
Maybe this is a time (good or bad) for me to chip in with my own complaint
... to many people are posting questions and make it obvious that they
couldn't be bothered even doing some basic googling, reading and trying out
stuff BEFORE asking questions.
Michel
- Original Message -
You haven't responded to Hassan's message: you're only thinking of yourself,
and you're only planning on consuming, not giving. The volunteers who
provide the support on this list certainly don't want to spend lots of extra
(and
wasted time) dealing with a web forum instead of receiving message
+1
On Sep 23, 2010, at 8:53 PM, michel wrote:
> I like that questions that I never though of asking can arrive in my email
> and I can see some great "new-to-me" topics and I try to answer when I can
> (not often, but I do try to help because I am so grateful when people help me
> out).
>
>
Yes, but I still think that forums are better, a more modern way to give and
ask for support.
If I have time to see other people's questions, I can go to the forum and
read the postings (and answer them, if I can), it is very easy. And I also
learn reading other people's questions. I enjoy that.
Bu
I like that questions that I never though of asking can arrive in my email
and I can see some great "new-to-me" topics and I try to answer when I can
(not often, but I do try to help because I am so grateful when people help
me out).
- Original Message -
From: "Hassan Schroeder"
> On 23/09/2010 12:01, Brian wrote:
> > Thanks for the "commited" explanation, but I still have a doubt: Where
> > in my code do I commit? I don't do it explicitly, so it is happening
> > at some point automatically but I don't know exactly where/when. If a
> > full buffer is not the cause, what is
On Thu, Sep 23, 2010 at 5:33 PM, Brian wrote:
> But what if you just want to receive responses to your question, instead of
> receiving all the emails that is being writen?
Or to put it another way -- what if you only want to be a taker, without
any intention of participating in a community of us
You can use something like gmane.org:
http://dir.gmane.org/gmane.comp.jakarta.tomcat.user
On Sep 23, 2010, at 5:33 PM, Brian wrote:
> But what if you just want to receive responses to your question, instead of
> receiving all the emails that is being writen?
> Mail lists are an old method. Web
But what if you just want to receive responses to your question, instead of
receiving all the emails that is being writen?
Mail lists are an old method. Web based forums are more efficient. And even
forums (such are the ones powered by phpBB) are not the latest solution.
> -Original Message---
web based means that people have to keep checking a website, instead of
having the information sent to them as it happens ... like having pizza home
delivered.
Michel
- Original Message -
From: "Brian"
To:
Sent: Thursday, September 23, 2010 8:19 PM
Subject: Why an email list, and
Hi,
Just a thought: Why is this support taking place in an email list, instead
aof a web based forum?
We are observing an odd behavior after upgrading to 6.0.29.
Ordinarily if an exception occurs this will be logged to catalina.out.
When Tomcat is first started (we use jsvc) this is the case as
expected. However if the webapp is redeployed (without a restart of
Tomcat) errors are no longer
On 23/09/2010 13:26, Jason Pringle wrote:
>
> I've recently become aware of the new-ish tomcat connection pool
> (http://people.apache.org/~fhanik/jdbc-pool/) which appears to be at version
> 1.0.8.5 (a January 2010 release?).
>
> Before I recommend we begin using this in a production situation
Thanks Chis. I'll make sure the AccessLogValve is configured
correctly. Currently the app is not clustered. It it ever becomes
clustered, I will make sure we keep this in mind.
On Thu, Sep 23, 2010 at 4:47 PM, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jeff,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeff,
I've re-arranged some of your comments so that my questions make a bit
more sense.
On 9/23/2010 4:13 PM, Jeff Thorn wrote:
> I am sure there are no sessions now. Its a REST based XML API.
>
> So my question is what kind of overhead does getSess
On Thu, Sep 23, 2010 at 10:13 PM, Jeff Thorn wrote:
> Hi Max. Thanks for your response.
>
> I am sure there are no sessions now. Its a REST based XML API.
What type of client is going to use the REST API? If its not browser
based it may well not accept sessions. Thus you would have several
sessio
I've recently become aware of the new-ish tomcat connection pool
(http://people.apache.org/~fhanik/jdbc-pool/) which appears to be at version
1.0.8.5 (a January 2010 release?).
Before I recommend we begin using this in a production situation, I'd like to
gather a bit of data on it. As a bit o
Don't reinvent the wheel use sessions. Whatever miniscule overhead there might
be is worth it. There is the whole timeout aspect and you can add listeners
(for session events) down the road if you desired all of which you would
additionally have to recreate.
Plus you can be sure that by now ses
Hi Max. Thanks for your response.
I am sure there are no sessions now. Its a REST based XML API. There
are no views or jsp pages at all. It was designed from scratch to be
stateless. I truly don't even like the idea of adding a session id
either. But that is out of my control. The session id will
Rather than chasing it at the view end why don't you just call getSession in
the controller or a filter? Then you have no need of doing anything with any
buffers etc.
As to what exception is happening it's the illegal state. Whatever has happened
up to that point of the processing has flushed
How are you planning on logging/tracking this information anyway?
My thinking would be to use a filter for all requests. And then you can do what
you want with the information in the filter. And getSession() is to me clearer.
A couple of other things though.
1) Are you sure you don't have sessi
Kishore,
if you do not know, then maybe you should not write things that will confuse others even
more.
Kishore Kumar Manthangod wrote:
Could you check your log4j configured to show class name?
.. not really relevant or useful in this case
Biren,
Mark already gave you the answer, but I'll
On 23/09/2010 12:01, Brian wrote:
> Thanks for the "commited" explanation, but I still have a doubt: Where in my
> code do I commit? I don't do it explicitly, so it is happening at some point
> automatically but I don't know exactly where/when. If a full buffer is not
> the cause, what is it for th
On 23/09/2010 11:48, Sean Killeen wrote:
> Sorry for the additional reply but I found some additional information that
> might be relevant:
>
> We have a tomcat 6.0 installation that is referring to the same keystore
> with the same connector that starts up without error. However, the Tomcat
> 6.0
Wow. This is what I call "Premium Support"! I was thinking about writing en
email to you, Mark, since I was studying the Tomcat source code and saw your
name there. But thought it would be too direct to write to you. I'm honored
to receive your response, really :-)
Thanks for the "commited" expla
Catalina was misconfigured, as the dev-team placed some properties on a
/home/blabla path :S
Thanks for helping me out anyway!
- Mensaje original -
De: "Mark Eggers"
Para: "Tomcat Users List"
Enviados: Jueves, 23 de Septiembre 2010 15:44:21
Asunto: Re: Issues with Memory Leaks on Tomca
Hello,
I have a stateless webservice that I am running with Tomcat 6.0. The
product owners want to start tracking user sessions to the webservice
(how many request per session, etc.). Since its been stateless up to
this point, I am not using the HttpSession object at all. Is there any
way I can add
Sorry for the additional reply but I found some additional information that
might be relevant:
We have a tomcat 6.0 installation that is referring to the same keystore
with the same connector that starts up without error. However, the Tomcat
6.0.28 instance starts up with error.
I did a diff on t
I'll do some of this inline:
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
>property 'debug'
> to '0' did not find a matching property.
Two things here:
1. Place your context in a META-INF/context.xml file in your web application,
not in server.xml
2. Remove the
@Kishore: I attempted your fix, but the errors remain so I changed it back.
@Mark: I commented the AprLifecycleListener listener, but the error remains.
The listeners section of server.xml now looks like:
Thanks for the fast responses! Hoping to find a resolution to this soo
Could you check your log4j configured to show class name?
## The log pattern uses the following conversion specifiers.
# %p for Priority Level.
# %C for Class Name.
# %d for Date.
# %n for The new line character. Equivalent to \n or CRLF. The logger will
not automatically place a new line charact
On 23/09/2010 11:30, Patel, Biren G wrote:
> Here is the logs from original email:
Thanks for adding that back.
I quoted selectively for a reason. Not least of which so I didn't fill
up the inboxes of the 2000+ subscribers to this list with a copy of some
meaningless data they already have a copy
It looks like someone add a System.out.* inside a loop possibly as a
debug. This is application logs, I see this all the time, someone just
wants a quick debug and they print to system.out rather than using a
logger.
On Thu, Sep 23, 2010 at 8:30 PM, Patel, Biren G wrote:
> Here is the logs from
Here is the logs from original email:
Sep 16, 2010 12:55:54 PM org.apache.catalina.core.ApplicationContext log
INFO: cgi: runCGI: write("dd ADD:00
09/16/2010 10:13:02 0600912345 0505266A9153 9153 add ADD:00
09/16/2010 10:13:02 0600912345 0505266A9203 9203 add ADD:00
09/16/2010 10:13
On 23/09/2010 11:26, Kishore Kumar Manthangod wrote:
> Looks this is culprit. Either file not found at d:\keystore\.keystore or
> change it to d:/keystore/.keystore (Forward slashing)
Nope. That is not the problem in this case.
Mark
-
On 23/09/2010 11:21, Sean Killeen wrote:
> Our Tomcat Connector (only connector in the file):
>
> port="8443"
> protocol="HTTP/1.1"
> protocols="TLSv1"
> SSLEnabled="true"
> enableLookups="false"
> acceptCount="100"
> maxThreads="200"
> scheme="https"
> keystoreFile="d:\keyst
Looks this is culprit. Either file not found at d:\keystore\.keystore or
change it to d:/keystore/.keystore (Forward slashing)
On Thu, Sep 23, 2010 at 11:21 AM, Sean Killeen wrote:
> Hi all,
>
> Have been going through steps to upgrade a product residing on Tomcat (on
> Windows Server 2003) to t
Hi all,
Have been going through steps to upgrade a product residing on Tomcat (on
Windows Server 2003) to the newest version. Previously, our upgrade path
went to 6.0 but now we've taken it to 6.0.28 on another server and I'm
encountering errors that I can't seem to trace. I've been all over Googl
On 23/09/2010 10:58, Kevin Mai wrote:
> Sep 23, 2010 2:57:09 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
The stack trace for this will be in the localhost log (or maybe an app
specific log).
Mark
--
On 23/09/2010 09:30, Patel, Biren G wrote:
> Hi,
>
> I am using Tomcat 5.5.7 on AIX 5.3. The log file catalina.log is getting
> fill up quick causing file system to be 100 %, I am using default logging
> configuration. I see the following lines being dump into the log file. Can
> you please t
On 23/09/2010 07:42, Brian wrote:
> What does "response has been commited" mean? I have a theory: Maybe it means
> that in the java code that the container generated for my JSP, at least one
> "out.write()" method has already been used, which means that "It already has
> started to send html code t
This is the whole output:
INFO: Pausing Coyote HTTP/1.1 on http-8080
Sep 23, 2010 2:57:02 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Sep 23, 2010 2:57:02 PM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.
> From: Kevin Mai [mailto:k...@mrecic.gov.ar]
> Subject: Issues with Memory Leaks on Tomcat 6.0.28
> I'm getting this error on my tomcat installation:
> SEVERE: Error listenerStart
The above is the real problem. (Note that you didn't give us the interesting
part of the log, including the ti
I'm getting this error on my tomcat installation:
SEVERE: Error listenerStart
Sep 23, 2010 2:29:40 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/Simon] startup failed due to previous errors
Sep 23, 2010 2:29:40 PM org.apache.catalina.loader.WebappClassLoader
clearThreadL
Hi,
I am using Tomcat 5.5.7 on AIX 5.3. The log file catalina.log is getting fill
up quick causing file system to be 100 %, I am using default logging
configuration. I see the following lines being dump into the log file. Can you
please tell me what these log means ?
Sep 16, 2010 12:55:54 PM
On 09/22/2010 03:42 PM, Darryl Lewis wrote:
Are you trying to monitor from the same computer that tomcat is running on?
That's not a good idea. What happens if the entire system crashes...you won't
get any data/alerts. End to end uses another machine to monitor the first.
You could monitor cata
Hi,
First of all, I'm using Tomcat 6.0.29 (the latest as of September 2010),
Struts and other technologies not relevant here.
My website runs fine 99% of the time, but several times per day I get an
error in my Tomcat Log, so it is an sporadic issue. I don't know the reason.
My code is separate
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Aravidu,
On 9/23/2010 7:13 AM, aravidu wrote:
> Ok. Thanks. I fixed it and tested it again. Now it says this:
>
> Caused by: java.net.SocketException: SocketException invoking
> https://:8081/myapp/endpoint: Software caused connection abort: recv
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jorge,
On 9/22/2010 8:55 PM, Jorge Medina wrote:
> I have had browsers (IE) that can establish an SSL (https) connection
> to a server even when the server did not provide the intermediate
> certificates. Other browsers (like Firefox) won't allow the
On 23/09/2010 14:03, Darryl Lewis wrote:
>
>
>
> On 23/09/10 9:56 PM, "Pid" wrote:
>
>>
>> Tables for layout. How very 1997.
>>
> meow
;)
0x62590808.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
Please advise how I'm not using the DSR because my config is wrong and
parameters have been corrected as ?
Username
Well, that's the code in the 6.0.20 samples I have.
-Original Message-
From: Darryl Lewis [mailto:darryl.le...@unsw.edu.au]
Sent: 23 Sep 2010 14 04
To: Tomcat Users List
Subject: Re: Use of error page in Tomcat
On 23/09/10 9:56 PM, "Pid" wrote:
>
> Tables for layout. How very 1997.
On 23/09/10 9:56 PM, "Pid" wrote:
>
> Tables for layout. How very 1997.
>
meow
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
On 23/09/2010 13:27, Martin O'Shea wrote:
> I'm currently using a DataSourceRealm and Tomcat 6.0.20.
Well, you aren't actually using the DSR because your config is wrong.
Why use 6.0.20 when 6.0.29 is out?
> So if I wanted to pick up an error that Tomcat's authentication throws, how
> best can I
I'm currently using a DataSourceRealm and Tomcat 6.0.20.
So if I wanted to pick up an error that Tomcat's authentication throws, how
best can I do it to avoid manual verification of the user (which is now
working adequately when I check the database)?
-Original Message-
From: Pid [mailto:
On 23/09/2010 13:04, Martin O'Shea wrote:
> Apologies re the duplicate posting; email trouble with my ISP.
>
> Relevant part of web.xml reads:
>
>
> Security Constraint
>
>
>
> /login
>
>
>
>
>
Apologies re the duplicate posting; email trouble with my ISP.
Relevant part of web.xml reads:
Security Constraint
/login
FORM
/jsp/security/protected/login.jsp
/jsp/securi
On 23/09/2010 12:22, Martin O'Shea wrote:
> Hello
>
> I have a /myApp/displayDatasetPage which is used to display content. In this
> page, I incorporate the default Tomcat login code as follows:
>
>
> method = "post">
>
Tables for layout. How very 1997.
>
Hello
I have a /myApp/displayDatasetPage which is used to display content. In this
page, I incorporate the default Tomcat login code as follows:
Username
Ok. Thanks. I fixed it and tested it again. Now it says this:
Caused by: java.net.SocketException: SocketException invoking
https://:8081/myapp/endpoint: Software caused connection abort: recv
failed
"Caused by: java.net.SocketException: Software caused connection abort: recv
failed"
I am sure
Hello
I have a /myApp/displayDatasetPage which is used to display content. In this
page, I incorporate the default Tomcat login code as follows:
Username
On 23/09/2010 02:54, aravidu wrote:
> -Djavax.net.ssl.keyStore =${truststore.location}
> With this setup, it kept complaining about a very basic error. Here is the
> exception:
> java.lang.NoClassDefFoundError: =C:\Clientcerts\client.keystore
That would be because you made a basic error and inc
2010/9/23 Jason Britton :
> Glad you brought this back up P - was cursing this problem again yesterday.
> So if tomcat 6.0.29 is running and my foo webapp is deployed, if I dare copy
> in foo.war for auto re-deployment tomcat nukes my foo.xml context definition
> in conf/Catalina/HOST/ directory.
72 matches
Mail list logo