Also you can configure Apache to log the value of the
session cookie (if you're using session cookies --
LogFormat "%{JSESSIONID}C..."), which includes the lb
route so that you even know which instance of Tomcat
took the request.
-marc
--- Tim Funk <[EMAIL PROTECTED]> wrote:
> If apache is servi
Could be wrong, but it doesn't sound like you really
want to use sessions for this usage because session
attributes are stored in memory in Tomcat (unless
you're using a backup manager). In time, you will
have many sessions and cap your physical memory. It
sounds like you just need to use a regul
If you're using apache httpd as a front end you can
handle this with a rewrite rule:
RewriteRule (.*);jsessionid.* $1
I do this for a different reason - when my users go to
the top level url they are redirected to a login page
that includes the jsessionid in the new url. They
then bookmark the p
By default, session cookies don't get stored on disk.
If the max age attribute of a cookie is 0 or less, the
cookie resides only in a browser's memory and
disappears entirely once the browser session is ended.
In order to make it get stored to disk, you have to
modify the cookie to have a longer
Supposing that your secure area is using a constantly
different URL path than your non-secure pages you
could create a filter to modify the default path for
the jsessionid cookie to be valid only for non-secure
pages.
For example, if your non-secure site is at
http://mysite.com/public/...
and you
Dude. If you don't like boobies so much, stop sending
them to everybodys' mailboxes. Have your little war
outside of my inbox so I can work.
-marc
--- Dakota Jack <[EMAIL PROTECTED]> wrote:
> With the huge number of issue covered in the past
> and what I consider to be
> very good documentatio
Thanks for the quick answer Peter, this was my
suspicion - glad to have it confirmed.
-marc
--- Peter Crowther <[EMAIL PROTECTED]>
wrote:
> > From: Marc Richards [mailto:[EMAIL PROTECTED]
> > Also, can someone explain the difference between
> > CATALINA_HOME and C
mailing list archives here:
> http://www.nabble.com/Tomcat---User-f342.html
> or here:
> http://marc.theaimsgroup.com/?l=tomcat-user&r=1&w=2
>
> --
> Len
>
> On 7/10/06, Marc Richards <[EMAIL PROTECTED]> wrote:
> > Hi again, sorry, but I forgot to m
environment variables?
Thanks,
-marc
--- Marc Richards <[EMAIL PROTECTED]> wrote:
> Hi all, I would like to run multiple instances of
> Tomcat on a single Windows box for the purposes of
> instantiating multiple jvm's (to keep the heap small
> and use more of the system's avail
Hi all, I would like to run multiple instances of
Tomcat on a single Windows box for the purposes of
instantiating multiple jvm's (to keep the heap small
and use more of the system's available memory and cpu)
and then balance between them. I currently have one
instance setup as a service - this wa
> enableLookups="false"
> redirectPort="8443" protocol="AJP/1.3" />
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
className="org.apache.catalina.realm.UserDataba
I didn't see any mention of the Tomcat version here,
but in 5.5 the part of the config is
no longer used. All paramters go in the tag with name="value" format just like name and
auth from your example below. i.e. maxIdle="30".
-marc
--- Mark Whitby <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
>
Wouldn't you find it easier to just install Tomcat
with the 'run as a service' option? Then all you have
to do is change the service that is created for you to
run as a secure user and you're done.
-marc
--- ZedroS Schwart <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm trying to manually setting up T
sing the main attribute to change is
> the following:
> > > poolPreparedStatements="true"
> > >
> > > Suppose that this is set to true, how do I
> access these
> > > pooled statement? My
> > > setup is exactly as you described, so thi
If you're already using pooling then I imagine you
already have a resource defined for the pool in either
server.xml or in the context xml file. To pool
prepared statements, which is desireable, you should
configure it to look something like this in Tomcat
5.5:
Note that in this example I'
The best place to begin is with a security firm or
consulting firm that provides security audits and has
professionals who are already experienced with tomcat
and apache httpd (along with your OS, DB and network
architecture). It's never a good idea to skimp where
security is concerned and there i
Thanks - I'm actually looking at p6spy right now and
am going to see if it will help to find out if my
problem is in the statements themselves.
But this would seem strange to me because remember
that each page loads very quickly when there is no
load on the web servers. It's only when I put some
Yes, we do joins where appropriate and I guess I
should clarify the inaccuracy of my initial statement
- there is one connection per request (for each
individual sql), rather then for each unique table.
-marc
--- Jess Holle <[EMAIL PROTECTED]> wrote:
> Caldarale, Charles R wrote:
>
> >This real
gt; something odd is definitely happening. at this
> point, it sounds you've
> exhausted all the obvious and not so obvious
> options, so it's probably most
> fruitful to profile it.
>
> peter
>
>
> On 12/16/05, Marc Richards <[EMAIL PROTECTED]> wrote
t the only way would be to start
> tomcat using a profiler
> and see exactly what is blocking.
>
> peter
>
>
> On 12/15/05, Marc Richards <[EMAIL PROTECTED]> wrote:
> >
> > No, the db is actually our world-wide enterprise
> > server. It's got
hould I see
when I run netstat directly after starting Tomcat and
before I make any calls to the web app? Should I see
50 connections (I don't)?
-marc
--- "Caldarale, Charles R"
<[EMAIL PROTECTED]> wrote:
> > From: "Marc Richards" <[EMAIL PROTECTED]>
>
several thousand
> > DB connections. that seems a bit odd to me.
> >
> > peter lin
> >
> >
> > On 12/15/05, Martin Gainty <[EMAIL PROTECTED]>
> wrote:
> >>
> >> Marc-
> >> what types of Coyote Point Equalizers are you
> using?
>
thousand
> DB connections. that seems a bit odd to me.
>
> peter lin
>
>
> On 12/15/05, Martin Gainty <[EMAIL PROTECTED]>
> wrote:
> >
> > Marc-
> > what types of Coyote Point Equalizers are you
> using?
> > What does the Doc say about co
I have a performance issue that I'm having trouble
with - perhaps somebody has seen this sort of thing
before and can help me out.
Problem:
Under no load my page responses average about 1.2
seconds (according to jmeter tests), which is pretty
good considering the heavy jdbc useage of my
applicatio
this figured
out completely and truely understand what I'm doing I
promise to spend some time contributing to the docs!
;-)
Thanks for the tips - I'll try them out and keep my
fingers crossed.
-marc
--- Bill Barker <[EMAIL PROTECTED]> wrote:
>
> "Marc Richards"
I have Apache 2.x and Tomcat 5.5 connected using
mod_jk ajp13 workers (win32) and running fine.
However, under heavy load (using jmeter) I start to
get mod_jk errors indicating that the connection is
closed and is unable to be reopened. This essentially
results in a dead server for a while.
The
26 matches
Mail list logo