R: Designing tomcat failover

2008-11-06 Thread Leandro Dardini
-Messaggio originale- Da: Sivapatham, Hari [mailto:[EMAIL PROTECTED] Inviato: mercoledì 5 novembre 2008 18.10 A: users@tomcat.apache.org Oggetto: Designing tomcat failover Hello, I have to design a failover setup and I am looking for rough ideas/pointers. Here is our

Where to get the exact source code of tomcat6.exe and tomcat6w.exe

2008-11-06 Thread Jack Cai
Hi, I see that tomcat6.exe and tomcat6w.exe is precompiled and is presented as is in Tomcat source code tree. Where can I find the exact source code for this two EXE? I'm aware of the Apache Commons procrun project, but I'm not sure whether tomcat6.exe and tomcat6w.exe are created from the latest

Re: Tomcat Native library for Windows

2008-11-06 Thread zmeeagain
I too had and still have the same problem: 6 Nov 2008 9:48:57 am org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program

Re: Tomcat Native library for Windows

2008-11-06 Thread Serge Fonville
As far as I know Vista x64 does not run on an ItaniumPerhaps you instead wanted amd64 Regards, Serge Fonville On Thu, Nov 6, 2008 at 9:07 AM, zmeeagain [EMAIL PROTECTED] wrote: I too had and still have the same problem: 6 Nov 2008 9:48:57 am org.apache.catalina.core.AprLifecycleListener

Re: tomcat 6.0.18 static cluster confugation

2008-11-06 Thread killbulle
Hi, thanks for you reply here is a more precise reporting i have few problem i only see member dispaear the jmx cluster bean is not present(i cannot find it) et the deployer refuse to start Regards, Marc the cluster seems to be conected as the stop off server 2 is recevied by server 1 6

Re: Tomcat Native library for Windows

2008-11-06 Thread zmeeagain
It's an Intel Core2 Duo E4500 at 2.2 GHz, running Vista Business 64 bit. Anyhow, your comment made think that ia64 is not my architecture. And indeed, version 1.1.14 of tcnative-1.dll is available for amd and x64 architectures (instead of amd and ia64 as in some previous versions). That last one

Re: tomcat 6.0.18 static cluster confugation

2008-11-06 Thread killbulle
Hi filip, herre is a more detailled post(sorry for the first one) i have few problem in fact i cannot see the jmx cluster Mbean but the valve replication valve is here , is this normal ? the FarmDeployer doesn't work(still experimetal in tomcat 6) Regards Marc here my server log jvm 1| 6

Tomcat 6.0.19 when?

2008-11-06 Thread sje
Hi All! Do anyone know when Tomcat 6.0.19 will be released? I''m working on a enterprise project, where i need to change the SessionName on my tomcat server (6.0.18). I'we been looking on the bugbase for Tomcat 6, and according to this bug:

Tomcat multiple sub domain names configuration

2008-11-06 Thread Ridwan
Hi, I Need some help. I have Java applications running in Apache Tomcat 6.0.16 from port 80 from a Windows 2003 server. It can be accessed say by the URL http://site1.mycompany.net/MyApplication where MyApplication is actually a Java application folder name under the $CATALINA_HOME/webapps/

Tomcat-native | best memory choice

2008-11-06 Thread Chris
Hi there, I've two questions about using Tomcat. We currently using Tomcat in version 5.5.23 on 64 Bit - Linux (several instances configured with 1GB of ram | as Webserver | ~30 Clients). A friend of mine told me that's not a benefite to run the tomcat jvm with more than 512 MB memory,

RE: Tomcat-native | best memory choice

2008-11-06 Thread Caldarale, Charles R
From: Chris [mailto:[EMAIL PROTECTED] Subject: Tomcat-native | best memory choice A friend of mine told me that's not a benefite to run the tomcat jvm with more than 512 MB memory, because the jvm needs more time to reorganize itself as to process the jobs. Is this statement correct? No,

Re: Tomcat multiple sub domain names configuration

2008-11-06 Thread Serge Fonville
Either create a new host in server.xml with a different appBase or check for the request url and perform a redirect Regards, Serge Fonville On Thu, Nov 6, 2008 at 1:28 PM, Ridwan [EMAIL PROTECTED] wrote: Hi, I Need some help. I have Java applications running in Apache Tomcat 6.0.16 from

RE: Tomcat multiple sub domain names configuration

2008-11-06 Thread Caldarale, Charles R
From: Ridwan [mailto:[EMAIL PROTECTED] Subject: Tomcat multiple sub domain names configuration typing both of those will just bring the Tomcat's home page from the $CATALINA_HOME/webapps/ROOT folder. The easiest way is to simply delete Tomcat's ROOT directory, and rename MyApplication to

Apache - Tomcat Connector for NIO AJP

2008-11-06 Thread Burak Oguz
Hi everybody, I am using Tomcat 6.0.18 and Apache2. Anyone knows how to connect tomcat with apache over AJP/NIO. I developed a Comet application but I should serve it over Apache. When I simple reverse proxy it over Apache it gives such an error: [Thu Nov 06 14:11:15 2008] [error] [client

RE: Tomcat-native | best memory choice

2008-11-06 Thread Chris
No, and hasn't been for over ten years. The time spent in garbage collection is proportional to the number of live objects in the heap, not the size of the heap. The number of live objects usually correlates to the number of active connections in a Tomcat environment. Make sure you have enough

Forward filter mapping including path info

2008-11-06 Thread Florian Hopf
Hi, I am in a situation where I want to map a forward filter based on a servlet and an additional path. The path that is forwarded to looks something like this: /servlet/long/path.to/my.jsp The path info is mapped by the servlet to a JSP in the file system. My filter declaration looks like

Re: Apache - Tomcat Connector for NIO AJP

2008-11-06 Thread Filip Hanik - Dev Lists
that wont work, you have to use a HTTP connector for Comet functionality, and in that case use mod_proxy_http Filip Burak Oguz wrote: Hi everybody, I am using Tomcat 6.0.18 and Apache2. Anyone knows how to connect tomcat with apache over AJP/NIO. I developed a Comet application but I should

Re: tomcat 6.0.18 static cluster confugation

2008-11-06 Thread Filip Hanik - Dev Lists
inline killbulle wrote: Hi filip, herre is a more detailled post(sorry for the first one) i have few problem in fact i cannot see the jmx cluster Mbean but the valve replication valve is here , there is no formal jmx mbean for the cluster yet is this normal ? the FarmDeployer doesn't

Re: tomcat 6.0.18 static cluster confugation

2008-11-06 Thread killbulle
thanks Filip Hanik - Dev Lists wrote: inline killbulle wrote: Hi filip, herre is a more detailled post(sorry for the first one) i have few problem in fact i cannot see the jmx cluster Mbean but the valve replication valve is here , there is no formal jmx mbean for the cluster

Re: Sticky Session AND session duplication?

2008-11-06 Thread Greg Dick
Hi, Ok, this was successful. There was an issue in the ICEfaces framework that invalidated the session immediately during failover, giving the impression that the session had no previous values, when in fact a new session was being created. Thanks all. Greg Sanjeev Verma wrote: comment

ExpireSession settings

2008-11-06 Thread Greg Dick
Hi, We have an application with an HttpSessionListener on Tomcat 6.0.14 with an Apache 2.2 load balancer. We have gone through a variety of config settings regarding expireSessionsOnShutdown and we're a bit confused as to what we should be seeing. When a user hits the site and a new session

RE: Designing tomcat failover

2008-11-06 Thread Sivapatham, Hari
Hi Leandro, Your solution seems to be exactly what I was looking for. Could you please explain more about what you had in mind about the wrapper? Is there a standard I can use (like a valve or filter) or is it custom one? I assume that the wrapper will be used at the tomcat level and is outside

Re: Thread Names..Which in Important?

2008-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, keeplearning wrote: I am relatively new to Tomcat. I was looking at thread dumps which we took from Tomcat and I see lots of thread names. Now, I am not sure which one is important to look at. Some of threads I see are as

Re: a cookie question of one Server with two tomcat server

2008-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bon, Bon wrote: In my environment there are two tomcat server runing with different port in one server , and both two must set its own cookies into client Are you talking about JSESSIONID cookies, or some other ones? now, when I open a

Re: Is it possible to hide tomcat resource from outside?

2008-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 einojah, einojah wrote: I have an admin area in my application I want to secure. I know I can define a security constraint to set a basic or digest authentication for a url pattern. But, I don't want the /admin area to be shown outside at

Re: Tomcat 6.0.19 when?

2008-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Søren, [EMAIL PROTECTED] wrote: Do anyone know when Tomcat 6.0.19 will be released? I''m working on a enterprise project, where i need to change the SessionName on my tomcat server (6.0.18). Do you mean the name of the JSESSIONID cookie?

Re: Convenient web application configuration.

2008-11-06 Thread Jason Cipriani
My end solution ended up being to modify $CATALINA_ROOT/conf/context.xml and put the JNDI data source definition there. While I agree that modifying global server files is less than ideal it is by far the simplest solution: It's only one resource element that has to be added, it requires no

Re: Tomcat 6.0.19 when?

2008-11-06 Thread Rainer Jung
Christopher Schultz schrieb: Søren, [EMAIL PROTECTED] wrote: Do anyone know when Tomcat 6.0.19 will be released? I''m working on a enterprise project, where i need to change the SessionName on my tomcat server (6.0.18). Do you mean the name of the JSESSIONID cookie? That's what it

Re: Convenient web application configuration.

2008-11-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, Jason Cipriani wrote: My end solution ended up being to modify $CATALINA_ROOT/conf/context.xml and put the JNDI data source definition there. Yikes! You should /definitely/ not do that. Doing so will make that JNDI data source available

Re: Convenient web application configuration.

2008-11-06 Thread Jason Cipriani
Hmm, well, there are no other web applications, the server is dedicated to this one. If there *were* other web applications, they would likely be using the same data source anyways -- and in that case it's certainly handy to be able to set the data source for multiple web apps by maintaining just

ISAPI_REDIRECT issue

2008-11-06 Thread Paul Pree
Hi All Apologies in advance if I'm not getting this right - I'm a newbie to the list. I have an issue using ISAPI_REDIRECT through IIS to Tomcat. For most Windows users the redirection works fine, but for users with large group memberships (approx 70+) they are not redirected and nothing is

Re: ISAPI_REDIRECT issue

2008-11-06 Thread Rainer Jung
Paul Pree schrieb: Hi All Apologies in advance if I'm not getting this right - I'm a newbie to the list. I have an issue using ISAPI_REDIRECT through IIS to Tomcat. For most Windows users the redirection works fine, but for users with large group memberships (approx 70+) they are

RE: ISAPI_REDIRECT issue

2008-11-06 Thread Paul Pree
Thanks Rainer I've attached a log recorded during one of these failing connects for TestUser. We stopped IIS, set logging to trace, cleared the log, started IIS, attempted one connect, then stopped. Unfortunately I don't have direct access to the failing site, but have been trying to resolve this

Re: a cookie question of one Server with two tomcat server

2008-11-06 Thread Bon
Hi Christopher, I'm not sure what's difference of JSESSIONID cookies and javax.servlet.http.Cookie, I think they are the same thing right? or some other difference details what I don't know. when a client user click logout link from the main site web page, the logout link is

Re: ISAPI_REDIRECT issue

2008-11-06 Thread Rainer Jung
The attachment did not make it through. If it is to big for this list, you can send to me directly, but we should keep the discussion on the list. Regards, Rainer Paul Pree schrieb: Thanks Rainer I've attached a log recorded during one of these failing connects for TestUser. We stopped IIS,

Re: ISAPI_REDIRECT issue

2008-11-06 Thread Rainer Jung
Paul Pree schrieb: Thanks Rainer I've attached a log recorded during one of these failing connects for TestUser. We stopped IIS, set logging to trace, cleared the log, started IIS, attempted one connect, then stopped. Unfortunately I don't have direct access to the failing site, but have

migrating from Tomcat 5.5.x to Tomcat 6.0.x

2008-11-06 Thread rajesh202023
Hi, I want to replace Tomcat 5.5.x running in my system with Tomcat 6.0.x. I want to do this in a manner such that the applications that are running on Tomcat 5 do not need to be modified in any manner to run on Tomcat 6. I have gone through the Tomcat homepage and noticed that there are some

Re: Where to get the exact source code of tomcat6.exe and tomcat6w.exe

2008-11-06 Thread Bill Barker
Jack Cai [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I see that tomcat6.exe and tomcat6w.exe is precompiled and is presented as is in Tomcat source code tree. Where can I find the exact source code for this two EXE? I'm aware of the Apache Commons procrun project, but I'm

RE: a cookie question of one Server with two tomcat server

2008-11-06 Thread Caldarale, Charles R
From: Bon [mailto:[EMAIL PROTECTED] Subject: Re: a cookie question of one Server with two tomcat server I'm not sure what's difference of JSESSIONID cookies and javax.servlet.http.Cookie, JSESSIONID is the specific cookie called out by the servlet spec to be used for tracking sessions

Re: SSL setup help

2008-11-06 Thread Bill Barker
The entry keystoreFile=${/usr/local/jre1.6.0_06/bin/keystore.key}/.keystore is almost certainly wrong. For this to work, you would have to start Tomcat with the weird entry -D/usr/local/jre1.6.0_06/bin/keystore.key=/path/to/my/keystore/keys. Tomcat does variable substitution when parsing the

RE: a cookie question of one Server with two tomcat server

2008-11-06 Thread Bon
Hi Caldarale I just set my own cookies's maxAge to 0, if I also set the JSESSIONID to 0 maybe could be solve my problem right? I'll try it. thank you for your answer. Bon Caldarale, Charles R wrote: From: Bon [mailto:[EMAIL PROTECTED] Subject: Re: a cookie question of one Server with

Deployment Web App on Debian

2008-11-06 Thread Zaki Akhmad
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all, I am having difficulty while deploying my web application on Debian. FYI, I am using Debian Testing. Before I deploy on Debian, I had successfully deployed on Windows. I just copy one folder of my web application folder to C:\Program

RE: a cookie question of one Server with two tomcat server

2008-11-06 Thread Bon
Hi Caldarale, I'm so naive. I've try to set the JSESSIONID's max-age to 0, and my second site still did not expire its own cookie from client. I guess that is a issue about client or because I can check the second site's cookie from Server side and logging each cookie's

[Problem]Tomcat 6.x with Active Directory on Windows Server 2003

2008-11-06 Thread Vickey
I am trying to authenticate web users with Active Directory on Windows Server 2003 R2 with sp2 and tomcat 6.18, but get an HTTP Status 403 - Access to the requested resource has been denied error, don't know why, my steps and configuration as below and post as attachment: 1. create test group

Vedr.: Re: Tomcat 6.0.19 when?

2008-11-06 Thread sje
Hi Rainer! Yes! That's correct - i referenced the wrong bugnumber :) Rainer Jung [EMAIL PROTECTED] 06-11-2008 21:16 Besvar venligst til Tomcat Users List users@tomcat.apache.org Til Tomcat Users List users@tomcat.apache.org cc Emne Re: Tomcat 6.0.19 when? Christopher Schultz

Re: Deployment Web App on Debian

2008-11-06 Thread Youssef Mohammed
There shouldn't be any difference if you have same same version of tomcat (recall java in platform independent). You should look at your logs and see why it fails. If could be for example that you don't have your database setup or jdbc drivers is done added the classpath. You should also deploy a

Problem Deploying Web App on Debian's Tomcat

2008-11-06 Thread Zaki Akhmad
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all, I am having difficulty while deploying my web application on Debian. FYI, I am using Debian Testing. Before I deploy on Debian, I had successfully deployed on Windows. I just copy one folder of my web application folder to C:\Program

Re: [Problem]Tomcat 6.x with Active Directory on Windows Server 2003

2008-11-06 Thread Vickey
another thing, authentication on IIS and Active Directory with the same users and groups is successfully passed. -- View this message in context: http://www.nabble.com/-Problem-Tomcat-6.x-with-Active-Directory-on-Windows-Server-2003-tp20375746p20375888.html Sent from the Tomcat - User mailing

Re: Deployment Web App on Debian

2008-11-06 Thread Leon Rosenberg
you should also check which java version is installed. If its not suns - remove it. Leon On Fri, Nov 7, 2008 at 8:22 AM, Youssef Mohammed [EMAIL PROTECTED] wrote: There shouldn't be any difference if you have same same version of tomcat (recall java in platform independent). You should look

RE: a cookie question of one Server with two tomcat server

2008-11-06 Thread Bon
Hi all, I've solved my problem, but I'm not sure why it could be worked. I found the second site's logout URL with a difference path of login URL(cookie writer), then I change the config setting to change the logout URL path to same as login, then the cookies of second site was