Re: tomcat7-maven-plugin redeploy

2011-11-16 Thread Olivier Lamy
Hello, Did you try update parameter to true [1] ? Thanks -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy [1] http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/deploy-mojo.html#update 2011/11/16 Hodchenkov, Paul

Re: Apache Tomcat 6.0.34

2011-11-16 Thread Konstantin Kolinko
2011/11/16 Konstantin Kolinko knst.koli...@gmail.com: 2011/11/16 Angus Yiu a...@datapipe.com: Hello, We hit Authentication bypass and information disclosure CVE-2011-3190   http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3190 in tomcat 6.0.32 May i know when Tomcat 6.0.34 will be

Trying to get Tomcat 6 running as a Windows service

2011-11-16 Thread appy74
Hello I'm trying to get Tomcat 6.0.26 running as a service on a Windows 7 64 bit PC but everytime I try I get message: Failed installing 'Tomcat6' service. As far as I'm aware, all relevant system settings are good and the installation displays settings for CATALINA_HOME, CATALINA_BASE,

RE: Trying to get Tomcat 6 running as a Windows service

2011-11-16 Thread Ilya Kazakevich
Which file do you run? service.bat ? What do you have in your event logs? Which account do you use for service? Does it have requried rights? Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com Develop with pleasure! -Original Message- From: app...@dsl.pipex.com

Re: Errors with NIO processor

2011-11-16 Thread Mark Thomas
On 15/11/2011 17:00, Matthew Tyson wrote: Hey Guys, We are seeing the following errors (in production of course, testing didn't reveal this) after switching to NIO protocol. This is Tomcat 7.0.22 on CentOS 6. There is a load balancer sending only comet traffic to port 8080, where the NIO

RE: Trying to get Tomcat 6 running as a Windows service

2011-11-16 Thread Martin O'Shea
I've been trying to get the service running as per the attachment. The account I am using does have admin rights. The Jakarta Service log file reports: [2011-11-16 11:54:30] [info] Commons Daemon procrun (1.0.2.0) started [2011-11-16 11:54:30] [80 service.c] [error] Access is denied.

RE: Trying to get Tomcat 6 running as a Windows service

2011-11-16 Thread Martin O'Shea
I've been trying to run: service.bat install From the Windows command line in folder: C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.26\bin -Original Message- From: Ilya Kazakevich [mailto:ilya.kazakev...@jetbrains.com] Sent: 16 Nov 2011 11 40 To: 'Tomcat Users List'

RE: Trying to get Tomcat 6 running as a Windows service

2011-11-16 Thread Ilya Kazakevich
http://www.coderanch.com/t/450781/Tomcat/Tomcat-Windows-Server-Permissions Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com Develop with pleasure! -Original Message- From: Martin O'Shea [mailto:app...@dsl.pipex.com] Sent: Wednesday, November 16, 2011 3:59 PM To:

RE: Trying to get Tomcat 6 running as a Windows service

2011-11-16 Thread Martin O'Shea
Thanks. Will try this later. -Original Message- From: Ilya Kazakevich [mailto:ilya.kazakev...@jetbrains.com] Sent: 16 Nov 2011 12 15 To: 'Tomcat Users List' Subject: RE: Trying to get Tomcat 6 running as a Windows service

RE: tomcat7-maven-plugin redeploy

2011-11-16 Thread Hodchenkov, Paul
Thanks, it works. -Original Message- From: Olivier Lamy [mailto:ol...@apache.org] Sent: Wednesday, November 16, 2011 11:35 AM To: Tomcat Users List Subject: Re: tomcat7-maven-plugin redeploy Hello, Did you try update parameter to true [1] ? Thanks -- Olivier Lamy Talend:

mod_jk connection pool configuration

2011-11-16 Thread Pid *
Hi, Tomcat 6.0.32, HTTPD (worker mpm) 2.2.19, mod_jk 1.2.31. If ThreadsPerChild is 60 and ServerLimit is 10, MaxClients is 600, how many connections, at peak, will be made to 20 Tomcat instances? Will this change If Tomcat instances start failing? p

Certificate issued by GeoTrust Global CA is not appearing at client browser's side

2011-11-16 Thread Yi SHU
Hello everyone, We would like to setup a secured web service on Axis 1.4, Tomcat 6.0.24, JDK 1.6 and CentOS Linux, because our partner requires HTTPS access to our web service and accepts only publicly trusted certificates (not self-signed ones). So we are setting up SSL on Tomcat 6.0.24,

Re: mod_jk connection pool configuration

2011-11-16 Thread Pid *
On 16 Nov 2011, at 13:47, Pid * p...@pidster.com wrote: Hi, Tomcat 6.0.32, HTTPD (worker mpm) 2.2.19, mod_jk 1.2.31. If ThreadsPerChild is 60 and ServerLimit is 10, MaxClients is 600, how many connections, at peak, will be made to 20 Tomcat instances? I should add that

Re: Certificate issued by GeoTrust Global CA is not appearing at client browser's side

2011-11-16 Thread Daniel Mikusa
On Wed, 2011-11-16 at 06:23 -0800, Yi SHU wrote: At last we can access to our Tomcat welcome page through HTTPS, but the certificate we acquired from GeoTrust Global CA does not appear in my web browser. For example if we display the welcome page in Internet Explorer 8, the address bar

Re: Certificate issued by GeoTrust Global CA is not appearing at client browser's side

2011-11-16 Thread Tapio Niemi
Hi, Taking a quick look at this, i believe this is the part that goes wrong keytool -import -trustcacerts -alias $myAlias -file $myServerCert -keystore $myKeyStoreFileName It looks to me that you are importing a certificate that is supposed to be your server certificate as if it were a

mod_jk connection timeouts

2011-11-16 Thread Alexander Diedler
Hello all, We have a new cluster with 2 servers. Every server contains 2 instances of Tomcat 6.0.32. Every node has an Aapche 2.2.21 installed an mod_jk is configured. In front of the these cluster there is a hardware loadbalancer cluster for HA. Several times we get in the status manager

Re: Grabbing the user's info

2011-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 11/14/11 1:18 PM, Josh Gooding wrote: Question. I'm developing an application that resides on a network. I wondered if (and how) there was a way to use the users network authentication as a valid authentication into this application?

RE: Grabbing the user's info

2011-11-16 Thread Ilya Kazakevich
Hello, As Ilya hints, you'll have to use NTLM to get this to work. IIRC, this requires that you use IIS with mod_jk to capture the authentication information and forward it over to Tomcat. If you want to be able to use NTLM for authentication into your webapp, you'll need to use a specific type

Re: mod_jk connection pool configuration

2011-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 11/16/11 8:47 AM, Pid * wrote: Tomcat 6.0.32, HTTPD (worker mpm) 2.2.19, mod_jk 1.2.31. If ThreadsPerChild is 60 and ServerLimit is 10, MaxClients is 600, how many connections, at peak, will be made to 20 Tomcat instances? - From httpd

RE: mod_jk Avoid loadbalancing

2011-11-16 Thread Jeffrey Janner
-Original Message- From: Pid [mailto:p...@pidster.com] Sent: Tuesday, November 15, 2011 9:09 AM To: Tomcat Users List Subject: Re: mod_jk Avoid loadbalancing On 15/11/2011 15:00, Jeffrey Janner wrote: Alexander - From reading your emails, it sounds like you have the following

Re: tomcat manager/status question

2011-11-16 Thread Justin Larose
I have copied my server.xml file below. __ Server port=8405 shutdown=Shutdown.SerenaCommonTomcat !-- Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on / -- Listener className=org.apache.catalina.core.JasperListener/ Listener

Database connection causes slow startup

2011-11-16 Thread Ben Gladstone
Hey all, I'm running Tomcat 6.0.33, Java 1.6.0_29, and Ubuntu 11.10 64-bit (kernel 3.0.0-12). I'm using Tomcat to connect to 2 databases, defined in my conf/server.xml file. Before I added these data sources, Tomcat started up quickly. Now, it takes around 7 minutes to start. It still connects to

Re: Grabbing the user's info

2011-11-16 Thread chris derham
But for _transparent_ authentication IIS is required as Christopher mentioned. That is not true. You can use SPNEGO to setup transparent authentication directly to tomcat. You do not need IIS. This means that a browser accesses a protected url on the server, and the server and browser discuss

Re: tomcat manager/status question

2011-11-16 Thread Daniel Mikusa
Justin, Assuming that is the entire file, it looks like you do not have a UserDatabase or a Realm defined. You need to define a UserDatabase Resource tag and a Realm for the security configuration. This is required by the manager application perform authentication and authorization. This

Re: Database connection causes slow startup

2011-11-16 Thread Daniel Mikusa
On Wed, 2011-11-16 at 11:07 -0800, Ben Gladstone wrote: I've attached my server.xml, context.xml, and catalina.out. I don't believe that you can attach files to the list. You'll need to copy and paste the information in your email. Now, it takes around 7 minutes to start. This seems long,

Re: Database connection causes slow startup

2011-11-16 Thread Ben Gladstone
If I'm not mistaken, the data sources are defined in server.xml. Let's try this again. Here's server.xml: ?xml version='1.0' encoding='utf-8'? !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this

Re: Hosts Created in Tomcat 7 Host-Manager Don't Process JSP

2011-11-16 Thread Jordan Michaels
Figured this out. For anyone who is curious or who is experiencing the same problem, I was able to get things working with two changes: 1) Make sure Deploy at startup option is checked in when you create the host in the Host Manager. 2) Create the ROOT.xml file for the context in

Re: Database connection causes slow startup

2011-11-16 Thread Daniel Mikusa
Resource name=jdbc/PortalDb auth=Container type=oracle.jdbc.pool.OracleDataSource connectionCachingEnabled=true description=FCF Datasource driverClassName=oracle.jdbc.OracleDriver factory=oracle.jdbc.pool.OracleDataSourceFactory

How do I build tomcat native for windows x64?

2011-11-16 Thread John Wilkinson
Hello, I would like to build tcnative-1.dll or libtcnative-1.dll for 64-bit windows from source (my goal is twofold: to try a newer APR version, and to debug a crash we are seeing in the native connector with ssl). Either dll will do. I am currently using Visual Studio 2010 on Windows 7 64-bit,

Re: Grabbing the user's info

2011-11-16 Thread Terence M. Bandoian
On 1:59 PM, chris derham wrote: But for _transparent_ authentication IIS is required as Christopher mentioned. That is not true. You can use SPNEGO to setup transparent authentication directly to tomcat. You do not need IIS. This means that a browser accesses a protected url on the server,

tomcat session replication and domain change

2011-11-16 Thread Leon Rosenberg
Hello, I'm researching possible solutions for a following scenario and am not sure whether tomcat session replication can support it: My site is normally available under www.site.com, www.site.fr, www.site.de etc, for 22 different countries and a total of 500 domains (partners). Usually a user

Re: tomcat session replication and domain change

2011-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 11/16/11 5:06 PM, Leon Rosenberg wrote: User logins on http://www.site.fr, a new session is created. User uses the site, attributes are written and read... User clicks a special link and is redirected to https://secure.site.com -

Re: Database connection causes slow startup

2011-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben, On 11/16/11 2:44 PM, Ben Gladstone wrote: Resource name=jdbc/PortalDb auth=Container type=oracle.jdbc.pool.OracleDataSource connectionCachingEnabled=true description=FCF Datasource driverClassName=oracle.jdbc.OracleDriver

Re: tomcat session replication and domain change

2011-11-16 Thread Leon Rosenberg
Hello Chris, thank you for the answer, more inline. User logins on http://www.site.fr, a new session is created. User uses the site, attributes are written and read... User clicks a special link and is redirected to https://secure.site.com - secure.site.com (same webapp, different servers)

Re: mod_jk connection pool configuration

2011-11-16 Thread Pid
On 16/11/2011 16:52, Christopher Schultz wrote: Pid, On 11/16/11 8:47 AM, Pid * wrote: Tomcat 6.0.32, HTTPD (worker mpm) 2.2.19, mod_jk 1.2.31. If ThreadsPerChild is 60 and ServerLimit is 10, MaxClients is 600, how many connections, at peak, will be made to 20 Tomcat instances? - From

Single POST request being handled twice

2011-11-16 Thread Jeremy
OK, I know this seems crazy, but I've looked long and hard and cannot explain this as other than a Tomcat bug. I'm more than willing to dig up extra information where I can, but this is a very rare problem seen in production and not reproducible at will. Also, because this is in production,

Re: Single POST request being handled twice

2011-11-16 Thread Igor Cicimov
Bypass the apache and send the POST request to tomcat directly. Thant will tell you where the problem is tomcat or apache. On Thu, Nov 17, 2011 at 12:29 PM, Jeremy asfbugzi...@nuru.net wrote: OK, I know this seems crazy, but I've looked long and hard and cannot explain this as other than a

RE: Single POST request being handled twice

2011-11-16 Thread Caldarale, Charles R
From: Jeremy [mailto:asfbugzi...@nuru.net] Subject: Single POST request being handled twice How is it possible that Tomcat has 2 threads handling the same request? This is usually the result of an application coding or design error: storing a reference to a request in an inappropriate

Re: Single POST request being handled twice

2011-11-16 Thread Jeremy
Chuck, Thank you for responding to my query. I'd be more than happy to fix our webapp if I understood what it was doing wrong, but unfortunately I don't understand your answer. Would you please give me an example of how I would purposefully write a webapp to create the behavior I witnessed? I

Re: Single POST request being handled twice

2011-11-16 Thread Mark Thomas
On 17/11/2011 01:29, Jeremy wrote: OK, I know this seems crazy, but I've looked long and hard and cannot explain this as other than a Tomcat bug. I'm more than willing to dig up extra information where I can, but this is a very rare problem seen in production and not reproducible at will.