> From: lightbulb432 [mailto:[EMAIL PROTECTED]
> Subject: Is ThreadLocal safe to use in servlets
>
> Are ThreadLocal variables safe to use with servlets?
They're great for keeping track of bits and pieces for a given request,
but can lead to GC problems if used for data with a longer lifetime.
K
Hello,
Anyone can help on this?
Any help will be greatly appreciated.
Thanks again for your kind attention
Best regards
Ketut Mahaindra (Ito)
From: MAHAINDRA Ketut [mailto:[EMAIL PROTECTED]
Sent: Fri 06/01/2007 16:40
To: Tomcat Users List
Subject: RE: Proble
On 5/29/07, Peter Dawn <[EMAIL PROTECTED]> wrote:
guys,
i am using tomcat 5.0. now i have created a file on my server at
C:\data\packet.xml. when somebody accesses my web app remotely, i want
the user to type in http://ipaddress:8080/packet.xml to be able to
access this file.
One way to access
they are absolutely perfect to reduce parameter pumping through many
layers of code. But you should set and reset them properly, best in a
filter.
regards
Leon
On 6/2/07, lightbulb432 <[EMAIL PROTECTED]> wrote:
Are ThreadLocal variables safe to use with servlets? There are some cases
where it
Are ThreadLocal variables safe to use with servlets? There are some cases
where it could really simplify my code if used correctly, but first I want
to make sure there aren't any horrible problems with doing so. (I've read
that the implementation of ThreadLocals has gotten much better with the las
On 6/2/07, ibozo <[EMAIL PROTECTED]> wrote:
Thanks again..
Here is my first code that takes two varibles from client to log in, as
email adress and password. And puts the email adress into a session variable
as:
With reference to the code in the previous post, it could be made a
lot simpler an
I submitted a fix for this, and it has been accepted for release
5.5.24 and 6.0.14.
Bugzilla report: http://issues.apache.org/bugzilla/show_bug.cgi?id=42497
--
Len
On 5/16/07, Joe Mun <[EMAIL PROTECTED]> wrote:
Hi guys... so according to the HTTP 1.1 spec (
http://www.w3.org/Protocols/rfc2616/rf
> The quickest solution is create
> appBase/ROOT, copy the contents of appBase to ROOT and set docBase to ROOT
Wow! Right on. Thanks a lot!
Ed
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMA
Gmail User wrote:
> I am trying to migrate my app from TC5.5.15 to TC6.0.13 under Linux with
> JRE1.6.0_01. I basically started with a fresh copy of TC and copied a
> virtual host definition to the new version.
>
> All pages use the same JSTL libraries and all work under TC5.5.15. Under
> TC6.0.13
Jacob Rhoden wrote:
> I finally upgraded everything to java 6/tomcat 6. Its all nice! There
> does seem to be a bug in the manager app. The application list comes out
> formatted strangely. (See attached picture if it works). I think it
> might be a bug.
http://issues.apache.org/bugzilla/show_bug.
> From: Jacob Rhoden [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 6 Manager App question (Memory usage)
>
> Free memory: 0.86 MB Total memory: 9.35 MB Max memory: 63.56 MB
>
> What is the difference between total memory and max memory.
Total memory is the current size of the heap (somewhere betw
On 6/2/07, Jacob Rhoden <[EMAIL PROTECTED]> wrote:
I finally upgraded everything to java 6/tomcat 6. Its all nice! There
does seem to be a bug in the manager app. The application list comes out
formatted strangely.
I use Java 6 and Tomcat 6 , the application list looks fine to me in
the manager
On 6/1/07, Bachler, Elisabeth (Elisabeth) <[EMAIL PROTECTED]> wrote:
Hi,
I have an application that works under tomcat.
Each time I run my application I have the same sessionID. Is there a way
I guess you mean each time you (re)start Tomcat when you say "Each
time I run my application..."
You
Thanks again..
Here is my first code that takes two varibles from client to log in, as
email adress and password. And puts the email adress into a session variable
as:
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.sql.*;
public class sorguservlet extends Htt
Peter Warren wrote:
Hmm, ok. Sending the headers up causes the comet servlet to behave as I
expected, one BEGIN event generated on the first client request and one
READ event generated on the second request. In my simple test, the
comet servlet doesn't receive the headers as data. If I don't s
I finally upgraded everything to java 6/tomcat 6. Its all nice! There
does seem to be a bug in the manager app. The application list comes out
formatted strangely. (See attached picture if it works). I think it
might be a bug.
-j
---
Pid wrote:
Jacob Rhoden wrote:
If I only allow connections to tomcat through apache (mod_jk), is it
ok then to turn off the the http connector...
Yes, just comment it out and restart.
I have already done it. Thanks! I was just worried there would be some
un-intended repercussions.
Best Reg
Jacob Rhoden wrote:
Hi,
If I only allow connections to tomcat through apache (mod_jk), is it ok
then to turn off the the http connector, ie (for example in tomcat 6)
So that tomcat only listens on the AJP port? Thanks.
Yes, just comment it out and restart.
p
Best Regards,
Ja
ibozo wrote:
Thank you for your help. I used the same codes as you told, however it
doesn't help me. Can there be a problem about Tomcat or with the "dopost"
and "doget" methods that I use. I took the session variables inside a
"dopost" program and I used those session variables in a "doget" prog
No idea, just a thought though: Tomcat 6 seems to require all your add
on jar libraries to go in /lib instead of /common/lib Are you sure you
do not have any special jar libraries that must go in there?
Thanks for the input. I was aware of that requirement from the
migration notes. The only JAR
Thank you for your help. I used the same codes as you told, however it
doesn't help me. Can there be a problem about Tomcat or with the "dopost"
and "doget" methods that I use. I took the session variables inside a
"dopost" program and I used those session variables in a "doget" program.
Waiting f
No idea, just a thought though: Tomcat 6 seems to require all your add
on jar libraries to go in /lib instead of /common/lib Are you sure you
do not have any special jar libraries that must go in there?
Gmail User wrote:
I am trying to migrate my app from TC5.5.15 to TC6.0.13 under Linux with
I am trying to migrate my app from TC5.5.15 to TC6.0.13 under Linux with
JRE1.6.0_01. I basically started with a fresh copy of TC and copied a
virtual host definition to the new version.
All pages use the same JSTL libraries and all work under TC5.5.15. Under
TC6.0.13, All pages under the root of
Hi,
The manager application status page reports the following regarding
memory usage:
Free memory: 0.86 MB Total memory: 9.35 MB Max memory: 63.56 MB
I am confused about what this means. What is the difference between
total memory and max memory. Is the free memory what is left of total
mem
24 matches
Mail list logo