Tomcat reset connection before completing the request

2011-05-31 Thread Chaminda Divitotawela
Hi, I am using two tomcat 6.0.13 servers loadblanced by a apache httpd-2.2.4 to host the web application (SOAP service). This application do get about 30k hits per day. Almost all requests are processed successfully except for few which returns 404 errors from the httpd server to client.

PHP Webapp on Tomcat Server

2011-05-31 Thread Software2
Hi, I am currently working on a project to develop an add-on for a network attached device. Hard to explain but basically what we currently have is a device that runs apache tomcat with a java webapp. I want to host on the same device, a seperate webapp. I have done some java programming in the

Re: PHP Webapp on Tomcat Server

2011-05-31 Thread Jonathan Rosenberg
Check out this http://php-java-bridge.sourceforge.net/pjb/ I did a quick install test of this a few months ago it worked right out of the box. I did not dig into it in detail, however. -- Jonathan Rosenberg Founder Executive Director Tabby's Place, a Cat Sanctuary On Tue, May 31,

Re: PHP Webapp on Tomcat Server

2011-05-31 Thread André Warnier
Looking just at the schema on the project homepage, that seems to be a solution similar to the OP's #3) however : you use another webserver as front-end to Tomcat. I do not see at first how this solution is much different than an Apache httpd front-end, which proxies to Tomcat what belongs to

Re: PHP Webapp on Tomcat Server

2011-05-31 Thread Jonathan Rosenberg
No, I'm missing something: a brain. You're correct. I hadn't read the OP description carefully. -- Jonathan Rosenberg Founder Executive Director Tabby's Place, a Cat Sanctuary On Tue, May 31, 2011 at 12:07 PM, André Warnier a...@ice-sa.com wrote: Looking just at the schema on the project

Re: PHP Webapp on Tomcat Server

2011-05-31 Thread Software2
Oh right, cheers. I had a look at that and got the impression it was more running/calling Java code using PHP, ill check it out! Jonathan Rosenberg-2 wrote: Check out this http://php-java-bridge.sourceforge.net/pjb/ I did a quick install test of this a few months ago it worked

specifying the content-type

2011-05-31 Thread Lentes, Bernd
Hi, first, i'm new to tomcat and i'm not a java developer. My collegues developed a web application i have to deploy now. I'm using tomcat6 on a sles 11 sp1 box. I configured a httpd (apache 2.2.10) in front of the tomcat, which communicates with tomcat using AJP. When i open one link, i don't

Switching native Tomcat logging system

2011-05-31 Thread Francis GALIEGUE
Hello, For some obscure reasons, Tomcat insists on having its own native implementation of a logging system, namely juli. This is beyond my understanding. Log4j has existed for years, is much better than even the native Sun's JDK logging API of today, and Tomcat hasn't switched to it, even to

RE: specifying the content-type

2011-05-31 Thread Lentes, Bernd
Hi, first, i'm new to tomcat and i'm not a java developer. My collegues developed a web application i have to deploy now. I'm using tomcat6 on a sles 11 sp1 box. I configured a httpd (apache 2.2.10) in front of the tomcat, which communicates with tomcat using AJP. When i open one link,

Re: Tomcat 5.5.27, session lost, cookies

2011-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filippo, On 5/27/2011 4:33 AM, Filippo Machi wrote: On Fri, May 27, 2011 at 12:12 AM, Christopher Schultz ch...@christopherschultz.net wrote: The value itself is blank, or the value /contains/ a blank? the value contains a blank The problem

Re: Tomcat 5.5.27, session lost, cookies

2011-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Diego, On 5/27/2011 9:16 AM, Diego Ruotolo wrote: Il 27/05/2011 15.04, Filippo Machi ha scritto: @Filippo: Ciao! There are no strange or blank character on cookie value, it's just the JSESSIONID as is. It's a value generated by Tomcat, isn't it?

Re: Switching native Tomcat logging system

2011-05-31 Thread Pid
On 31/05/2011 19:49, Francis GALIEGUE wrote: Hello, For some obscure reasons, Tomcat insists on having its own native implementation of a logging system, namely juli. This is beyond my understanding. Log4j has existed for years, is much better than even the native Sun's JDK logging API of

RE: specifying the content-type

2011-05-31 Thread Caldarale, Charles R
From: Lentes, Bernd [mailto:bernd.len...@helmholtz-muenchen.de] Subject: RE: specifying the content-type when talking with a web browser directly to tomcat (port 8080), the web page is shown correctly. Are you sure the original request on port 80 is actually making it through httpd all

Re: Log4j.properties settings in documentation

2011-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 5/27/2011 7:26 AM, chris derham wrote: I think that I have found a problem in the documentation for setting up log4j.properties at http://tomcat.apache.org/tomcat-7.0-doc/logging.html#Using_Log4j. [snip] It works fine if I update the

Re: Tomcat reset connection before completing the request

2011-05-31 Thread Pid
On 31/05/2011 15:03, Chaminda Divitotawela wrote: I am using two tomcat 6.0.13 servers loadblanced by a apache httpd-2.2.4 You really, really need to upgrade Tomcat. That version is old many problems have been fixed since then. p signature.asc Description: OpenPGP digital signature

Re: error while starting tomcat

2011-05-31 Thread Puneet duggal
I am getting below mentioned error while starting the tomcat server:- I have a certificate signed from an internal CA I get an exception like java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which

Re: ***SPAM*** maxPostSize syntax

2011-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/28/2011 12:14 PM, ma...@apache.org wrote: Olivier Lefevre lefev...@yahoo.com wrote: What is the syntax for the maxPostSize Connector parameter: are notations like 1M or 1G recognized? That would be expected, even thought the docs:

Re: error while starting tomcat

2011-05-31 Thread Puneet duggal
Hi Friends, I am getting below mentioned error while starting the tomcat server:- I have a certificate signed from an internal CA I get an exception like java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher

Re: Piping tomcat logs to rsyslog

2011-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/27/2011 5:00 PM, Mark Eggers wrote: From a Google search: juli logging syslog http://remcojansen.posterous.com/2009/11/how-to-send-tomcats-access-log-to.html Note that this solution has to configure Tomcat to use log4j logging, and

Re: Transactions using Tomcat 7 + Apache Commons DBCP 1.4 with two databases?

2011-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 5/26/2011 8:41 PM, Brian Braun wrote: I have an application that, so far, hasn't had transactional processing. I mean I have the autocommit in on mode, so every update/delete gets commited separately. I need to fix it so it starts

Re: Issues with getRemoteAddress

2011-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filippo, On 5/27/2011 4:21 AM, Filippo Machi wrote: we have a filter, not a valve, (a class implementing javax.servlet.Filter) that authenticates incoming request according to: - a particular key contained as parameter in the request - the ip

Re: specifying the content-type

2011-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernd, On 5/31/2011 2:09 PM, Lentes, Bernd wrote: box. I configured a httpd (apache 2.2.10) in front of the tomcat, which communicates with tomcat using AJP. Do you actually require httpd for your setup? If Tomcat works fine on it's own, maybe

Re: Switching native Tomcat logging system

2011-05-31 Thread Mark Eggers
- Original Message - From: Francis GALIEGUE f...@one2team.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Tuesday, May 31, 2011 11:49 AM Subject: Switching native Tomcat logging system Hello, For some obscure reasons, Tomcat insists on having its own native

Re: Exception in thread http-bio-8080-exec-9 java.lang.OutOfMemoryError: Java heap space

2011-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/30/2011 12:24 PM, André Warnier wrote: Note also that running out of Heap space does not necessarily mean that your classes have leaks. It can also mean that they are just using memory to a point where your allocated Heap space is

Tomcat with Cisco ACE Load Balancer

2011-05-31 Thread Tauqir Akhtar
Hi We have been using Weblogic Clusters with Cisco ACE Load Balancer We have 8 managed servers in the weblogic Cluster distributed evenly over two Machines. Load Balancer distributes the load in Robin Round fashion across these 8 managed servers using the concept of Stickiness. Now we need to

Re: error while starting tomcat

2011-05-31 Thread Puneet duggal
Hi friends please reply for my problem. On Wed, Jun 1, 2011 at 12:57 AM, Puneet duggal duggalpu...@gmail.comwrote: Hi Friends, I am getting below mentioned error while starting the tomcat server:- I have a certificate signed from an internal CA I get an exception like

Request headers created in valve don't make it to application

2011-05-31 Thread Marc Boorshtein
I've got a simple Valve that creates some headers running on Tomcat6 6.0.32 that creates headers by calling request.addHeader(...). The valve is configured in tomcat_home/conf/context.xml. The valve runs, the headers are added but they don't make it to the underlying web application. Am I

RE: error while starting tomcat

2011-05-31 Thread Caldarale, Charles R
From: Puneet duggal [mailto:duggalpu...@gmail.com] Subject: Re: error while starting tomcat Hi friends please reply for my problem. Now you're being obnoxious. 1) You've posted the same question multiple times in less than an hour. 2) You've provided no real information (e.g., Tomcat

Re: error while starting tomcat

2011-05-31 Thread Puneet duggal
Extremely sorry Chuck.This is my first post i will be careful next time. 1) I am using Jboss4.2.2 which uses Tomcat . 2) I read the documentation about certifiates and I found the explanation of the error in the specification as well and which says tomcat cant find the alias for the key

RE: error while starting tomcat

2011-05-31 Thread Caldarale, Charles R
From: Puneet duggal [mailto:duggalpu...@gmail.com] Subject: Re: error while starting tomcat 1) I am using Jboss4.2.2 which uses Tomcat . Tomcat what? Be specific. Note that this is a _Tomcat_ mailing list, and JBoss may not be using Tomcat the way a standalone implementation does; you

Re: PHP Webapp on Tomcat Server

2011-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ryan, On 5/31/2011 11:53 AM, Software2 wrote: 1) Re-learn Java for developing the new webapp 2) Stick to PHP and work out how to host it as a webapp on the tomcat server 3) Install another PHP stack (xampp) on the device to host the PHP app I

RE: Request headers created in valve don't make it to application

2011-05-31 Thread Caldarale, Charles R
From: Marc Boorshtein [mailto:mboorsht...@gmail.com] Subject: Request headers created in valve don't make it to application The valve runs, the headers are added but they don't make it to the underlying web application. Do you have any filters or other valves that might be wrapping the

Re: error while starting tomcat

2011-05-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 5/31/2011 4:35 PM, Caldarale, Charles R wrote: From: Puneet duggal [mailto:duggalpu...@gmail.com] Subject: Re: error while starting tomcat 1) I am using Jboss4.2.2 which uses Tomcat . Tomcat what? Be specific. Note that this is

Re: Request headers created in valve don't make it to application

2011-05-31 Thread Marc Boorshtein
Do you have any filters or other valves that might be wrapping the request and choosing to ignore your extra headers? No, the app is just a servlet that loops over all the headers and cookies and generates a properties response 1) Show us your modified conf/context.xml. !-- The contents

Re: specifying the content-type

2011-05-31 Thread André Warnier
Lentes, Bernd wrote: Hi, first, i'm new to tomcat and i'm not a java developer. You have all my sympathy. My collegues developed a web application i have to deploy now. I'm using tomcat6 on a sles 11 sp1 box. I configured a httpd (apache 2.2.10) in front of the tomcat, which communicates

Re: Tomcat reset connection before completing the request

2011-05-31 Thread Chaminda Divitotawela
Hi Pid, Thanks for the response. I comprehensively agree with you the version we use is quite old. The problem is that, my engineering team is very reluctant to invest on testing an upgrade unless there is issue which impact functionality. At the moment I have is a guess. Any idea about a