Sticky and asynchronous sessions in Tomcat cluster

2008-01-14 Thread Shiby Maria John
Hi, I am using a set up of Tomcat cluster with 2 instances (tomcatA and tomcatB, tomcatA being the primary server and tomcatB being the standby server) under an Apache Server used for load balancing. I am using Tomcat only for failover balancing and load balancing is entirely done by apache. In

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread David Smith
Yes -- your on the right path now. Your email seems to have crossed with mine. Take the element for DBTest out of conf/context.xml and put it in one of these two places -- conf/Catalina/localhost/DBTest.xml or webapps/DBTest/META-INF/context.xml): All it needs to contain is:

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread cuco2772
I'm starting to think that putting that > This context.xml is the one in /conf. From what I understand (and > according to the apache site) this > is where you put stuff that you want to be loaded by all webapps. > The /META-INF/context.xml would be for things that are more application > specifi

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread David Smith
Let's see if we can clear up the whole context.xml thing. Each webapp has it's own "context.xml" file. The context.xml file in the conf directory is the one bringing defaults for ALL webapps to the party. Don't mess with that file unless you want to change the default tomcat behavior. Resto

Re: Effect of MaxThreads

2008-01-14 Thread Bill Barker
Yes, but the way that the default, non-APR, AJP/1.3 Connector works, connections generally will stay open tying up the corresponding threads. This means that acceptCount doesn't really do very much in this case. Tomcat will end up failing the request if it can't find a free thread for it. The

Re: sessions not cleaned up after expiry

2008-01-14 Thread Bill Barker
"Eqbal" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I am noticing the in one of our webapps sessions are > not getting cleaned up long after they have expired. > Our session expiry time is set to 30 min. I am using > lambdaprobe to monitor the sessions and it appears > t

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread cuco2772
This context.xml is the one in /conf. From what I understand (and according to the apache site) this is where you put stuff that you want to be loaded by all webapps. The /META-INF/context.xml would be for things that are more application specific.(I'm making an educated guess here). Here is what

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cuco, cuco2772 wrote: | So it seems to be complaining about my context.xml. The offending line | looks to be : | | | | Could the path attribute be incorrect ? I followed the directions | exactly. I think those instructions have been (sadly) broken

Re: Question about apache - tomcat connector

2008-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 German, [EMAIL PROTECTED] wrote: | When I logging in my webApp, I' m been redirected to SiteMinder (that part | is ok), then SM redirect me to tomcat (it s mean to the root /), appending | some special headers, (and that part is ok). | | head

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread cuco2772
I set up the test app and the database as per the instructions provided on that link you gave me which I will reproduce here : http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html I put everything within the Could the path attribute be incorrect ? I followed the directio

RE: sessions not cleaned up after expiry

2008-01-14 Thread Eqbal
Hello Martin, I am not sure I understand where you are going with this. I do have jmx enabled so I can see the memory allocation charts alright (survivor, eden, old, per gen, code cache etc.). I have my ms and mx set to 1024m, permgen is set to 64m min and 192m max. The thing I do not understand

Re: Replication problem

2008-01-14 Thread José Manuel Molina Pascual
Hello again, I solved, the issue. Definitevely it's not a coding fault. Let me explain a bit longer what we do. The customer asked us to support a domain cookie, we had also other http-headers session retrieval mechanisms requested by the customer. So we have a session manager (not a subclass o

RE: sessions not cleaned up after expiry

2008-01-14 Thread Martin Gainty
Get probe.war operational first and for memory status you will need to haveto get jmx running http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.htmlmake sure you set JRE_HOME properlytake a look at the log file location in my case I have everything deployed locally http://localhost:80

Re: Tomcat Service for 64 bit Hardware and Windows 64 bit

2008-01-14 Thread Mark Thomas
Will Holmes wrote: Does anyone know when the Windows service will be available for Windows 64 bit? http://svn.apache.org/repos/asf/tomcat/connectors/trunk/procrun/bin/ Mark - To start a new topic, e-mail: users@tomcat.apache

Tomcat Service for 64 bit Hardware and Windows 64 bit

2008-01-14 Thread Will Holmes
Does anyone know when the Windows service will be available for Windows 64 bit? Thanks Will Holmes Programmer Analyst Fremont Insurance Company Ph: 231-924-8445 E-Mail: [EMAIL PROTECTED]

sessions not cleaned up after expiry

2008-01-14 Thread Eqbal
Hi, I am noticing the in one of our webapps sessions are not getting cleaned up long after they have expired. Our session expiry time is set to 30 min. I am using lambdaprobe to monitor the sessions and it appears that all of these sessions contain one attribute, __lambda_probe_la_ip. I am using T

Re: No Authentication Dialog appears for Tomcat Manager

2008-01-14 Thread Mark Thomas
Mark Riggins wrote: I don't want to put any move effort into it. I'll just avoid the Manager instead if its that hard to set up. The Manager works out of the box on a clean install. If it doesn't work for you then something else is messed up in your configuration which is probably going to b

Re: DBCP user/password specified in getConnection

2008-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anthony, Berglas, Anthony wrote: | We have an app that uses connection pooling, but tries to specify the | username/password in the code. In particular, it does not want the | password to be in plain text in an xml file. There is only one username

Re: secure JSessionID

2008-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 GF, GF wrote: | can you give me a link about setting up a secure JSessionID cookie? I | mean to let it pass over HTTPS and not HTTP. I believe if your session starts through HTTPS, the cookie will be marked as secure and it won't be sent if the user

Re: Configuring different Context's to use different ports

2008-01-14 Thread Bai Shen
What do you mean? I'm not sure how to set that up. On Jan 11, 2008 9:08 PM, Bill Barker <[EMAIL PROTECTED]> wrote: > Far and away the easiest way to solve this is with a Filter that will > sendRedirct to scheme that the webapp wants to respond to. It is also > possible to do with multiple elem

RE: Is Tomcat FIPS compliant

2008-01-14 Thread Jason Pyeron
Martin, I am including my reply on list to help others too. When our customers request a compliance with (insert any term or misuse of term), they are requesting that their web applications are to authenticate against an established Public Key Infrastructure (PKI). It is typically a client certif

secure JSessionID

2008-01-14 Thread GF
Hello, can you give me a link about setting up a secure JSessionID cookie? I mean to let it pass over HTTPS and not HTTP. Thank you. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Is Tomcat FIPS compliant

2008-01-14 Thread Jason Pyeron
Under proper configuration and installation, yes it can be compliant, we routinely set it up to handle CAC. > -Original Message- > From: Mark H. Wood,UL 0115A,+1 317 274 0749, > [mailto:[EMAIL PROTECTED] On Behalf Of Mark H. Wood > Sent: Monday, January 14, 2008 10:00 > To: users@tomcat.a

Re: No Authentication Dialog appears for Tomcat Manager

2008-01-14 Thread Mark Riggins
That's not it. I tried this site http://gemal.dk/browserspy/password.html which has a basic authentication test built into it. It displayed and worked properly in my browser. I am not using SSL. I don't have a sniffer installed on XP [I'm more experienced with unix] I don't want to put an

Re: Is Tomcat FIPS compliant

2008-01-14 Thread Mark H. Wood
That probably depends on which FIPS you mean. There are at least 201 different U.S. Federal Information Processing Standards. -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Typically when a software vendor says that a product is "intuitive" he means the exact opposite. pgpIAd1MXC

Re: strange forwarding problem with jkmount

2008-01-14 Thread Rainer Jung
Hi Edwin, Edwin Walsh wrote: Hi, I have the most peculiar problem (at least in my point of view) with forwarding with jkmount. JkMount has always worked on my server, but suddenly, without changing anything but the mod_jk settings (adding a new jkmount and some rewriterules), JkMount suddenl

strange forwarding problem with jkmount

2008-01-14 Thread Edwin Walsh
Hi, I have the most peculiar problem (at least in my point of view) with forwarding with jkmount. JkMount has always worked on my server, but suddenly, without changing anything but the mod_jk settings (adding a new jkmount and some rewriterules), JkMount suddenly only works if I connect to m

RE: Effect of MaxThreads

2008-01-14 Thread Caldarale, Charles R
> From: Berglas, Anthony [mailto:[EMAIL PROTECTED] > Subject: Effect of MaxThreads > > Tomcat connectors provide maxThreads parameter to throttle > the number of concurrent transactions. But what actually > happens when this number is exceeded? It's in the doc: http://tomcat.apache.org/tomcat-

Re: Behavior of Tomcat Ant task "list"

2008-01-14 Thread alain.perry
Hi Rainer, Well, you certainly get the right answer. In raw mode, the ant task is "Successful" => resolved Thanks for help. Regards. Alain |-+---> | | | | | | | |

Replication problem

2008-01-14 Thread José Manuel Molina Pascual
Hello. I'm using Tomcat 5.5.23. I'm having an extrange problem in some cases. One of the attributes I have to replicate is having this issue. The first time it is replicated it goes ok to the other tomcat instance. The following times it has to be replicated it is received at the other instanc

Re: Behavior of Tomcat Ant task "list"

2008-01-14 Thread Rainer Jung
Hi Alain, [EMAIL PROTECTED] wrote: Environment Description : Windows 2000 SP4 ; IE 6.0 Apache Tomcat 5.5 Apache Ant 1.7.0 Object : my purpose is to use the ant task "list" defines in Tomcat distrib (Tomcat distrib gives a general purpose build script with lot of features, including a target "li

Behavior of Tomcat Ant task "list"

2008-01-14 Thread alain.perry
Environment Description : Windows 2000 SP4 ; IE 6.0 Apache Tomcat 5.5 Apache Ant 1.7.0 Object : my purpose is to use the ant task "list" defines in Tomcat distrib (Tomcat distrib gives a general purpose build script with lot of features, including a target "list"). 1. This is the build file I mad

Question about apache - tomcat connector

2008-01-14 Thread german . a . luisi
- Hello. I have the next doubt integrating apache with tomcat and SiteMinder (SSO) When I logging in my webApp, I' m been redirected to SiteMinder (that part is ok), then SM redirect me to tomcat (it s mean to the root /), appending some special headers,

Re: Doubt in how lbfactor works with load balancing of Apache with Tomcat cluster

2008-01-14 Thread Rainer Jung
Hi Shiby, Shiby Maria John schrieb: Hi, This is my worker.properties for Apache server for clustering 3 instances of Tomcat in my machine. # The advanced router LB worker worker.list=router # Define a worker using ajp13 worker.worker1.port=8009 worker.worker1.host=localhost worker.worker1.typ

Re: JBoss 4.2.2, http port is not working, but https is working

2008-01-14 Thread Dave
I have found answer from JBoss forum. JBoss 4.2 bind to localhost by default. Thanks. David Smith <[EMAIL PROTECTED]> wrote: I don't see anything obviously wrong here. I assume jboss.bind.address is set somewhere else in the config. Is there anything in the logs indicating a problem? Have yo

Re: No Authentication Dialog appears for Tomcat Manager

2008-01-14 Thread David Delbecq
The message you see in browser, namely "HTTP Status 401 -" appear probably because your browser for an unknown reason does not support basic authentification or has it disabled (securities in browser that prevent basic auth outside of ssl?). The text you see is normaly sent by tomcat along

Doubt in how lbfactor works with load balancing of Apache with Tomcat cluster

2008-01-14 Thread Shiby Maria John
Hi, This is my worker.properties for Apache server for clustering 3 instances of Tomcat in my machine. # The advanced router LB worker worker.list=router # Define a worker using ajp13 worker.worker1.port=8009 worker.worker1.host=localhost worker.worker1.type=ajp13 worker.worker1.lbfactor=1 # D