Is empty Content Type of Request allowed in Tomcat?

2011-08-29 Thread Isaac Li
Hello, I'm using Cyberduck as client to send request to my web server which using apache-tomcat-7.0.16 as web container. When Cyberduck sent a request with an empty Content Type, web server returned following errors: HTTP/1.1 400 Bad Request (text/plain) Bad Content-Type header value: '' I

Re: Cannot build mod_jk.1.2.32

2011-08-29 Thread Casper Wandahl Schmidt
So I fanilly had time to check up on this topic :) Lets start with the apache2ctl -V command: Server version: Apache/2.2.8 (Ubuntu) Server built: Nov 18 2010 21:19:17 Server's Module Magic Number: 20051115:11 Server loaded: APR 1.2.11, APR-Util 1.2.12 Compiled using: APR 1.2.11, APR-Util

Re: Cannot build mod_jk.1.2.32

2011-08-29 Thread Mladen Turk
On 08/29/2011 10:55 AM, Casper Wandahl Schmidt wrote: So I fanilly had time to check up on this topic :) Lets start with the apache2ctl -V command: Server version: Apache/2.2.8 (Ubuntu) I suppose the Server MPM: Prefork (you have Worker) might be the reason why I couldn't get the mod_jk

Tomcat service blocks all TCP or UDP ports?

2011-08-29 Thread Michael Südkamp
Hello, we have a problem on a customer's server which we never had in many years of working with Tomcat. The customer runs a Windows 2008R2 with Tomcat 6.0.29 und Java 1.6.0_20 The situation when the problem occurs is always this: Our web-apps logs that suddenly the MS SQL Server on the same

Re: Cannot build mod_jk.1.2.32

2011-08-29 Thread Casper Wandahl Schmidt
Den 29-08-2011 11:30, Mladen Turk skrev: On 08/29/2011 10:55 AM, Casper Wandahl Schmidt wrote: So I fanilly had time to check up on this topic :) Lets start with the apache2ctl -V command: Server version: Apache/2.2.8 (Ubuntu) I suppose the Server MPM: Prefork (you have Worker) might be the

Re: Cannot build mod_jk.1.2.32

2011-08-29 Thread Mladen Turk
On 08/29/2011 11:46 AM, Casper Wandahl Schmidt wrote: Anyway I was able to run make successfully and now I have the mod_jk.so :) Cool. Thank you all for your time and help. I might be back with questions on how to make the connector work at a later time :) Cannot wait for that one ;)

Re: Cannot build mod_jk.1.2.32

2011-08-29 Thread Casper Wandahl Schmidt
Den 29-08-2011 12:47, Mladen Turk skrev: On 08/29/2011 11:46 AM, Casper Wandahl Schmidt wrote: Anyway I was able to run make successfully and now I have the mod_jk.so :) Cool. Thank you all for your time and help. I might be back with questions on how to make the connector work at a

Re: Is empty Content Type of Request allowed in Tomcat?

2011-08-29 Thread André Warnier
Isaac Li wrote: Hello, I'm using Cyberduck as client to send request to my web server which using apache-tomcat-7.0.16 as web container. When Cyberduck sent a request with an empty Content Type, web server returned following errors: HTTP/1.1 400 Bad Request (text/plain) Bad Content-Type

Re: parallel deployment of tomcat 7

2011-08-29 Thread Konstantin Kolinko
2011/8/29 Sammy MT Lau sammy...@hk1.ibm.com: I've read some articles regarding to the parallel deployment of tomcat 7. From what I've read, enabling parallel deployment requires the enablement of tomcat session as well. However, the API server and client I'm working with don't do any session

Tomcat 6.xx SSL supports

2011-08-29 Thread sanjivacharyya
Hi, I have the below requirements for SSL certificates. Please do let me know is tomcat 6.xx supports below requirements :- 1) 128 bit data encryption will be employed. 2) 1024 bit server certificate keys will be used. 3) 2048 bit VeriSign Intermediate and Root CA Certificate keys will be

Re: parallel deployment of tomcat 7

2011-08-29 Thread Mark Thomas
On 29/08/2011 04:15, Sammy MT Lau wrote: Hello all, I've read some articles regarding to the parallel deployment of tomcat 7. From what I've read, enabling parallel deployment requires the enablement of tomcat session as well. However, the API server and client I'm working with don't do

Re: Is empty Content Type of Request allowed in Tomcat?

2011-08-29 Thread Mark Thomas
On 29/08/2011 09:10, Isaac Li wrote: Hello, I'm using Cyberduck as client to send request to my web server which using apache-tomcat-7.0.16 as web container. When Cyberduck sent a request with an empty Content Type, web server returned following errors: Cyberduck is broken and is

RE: Ajp13Processor threads are not getting closed.

2011-08-29 Thread Jagadish Raj R
Hi Andre, Here are the results. Compiled in modules: core.c prefork.c http_core.c mod_so.c KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 Thanks Regards, JAGADISH RAJ R -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, August 25,

Re: Tomcat started and localhost:8080 is loading

2011-08-29 Thread Priya Ram Prasad
Hi, I don't think there is any problem with the tomcat. Did you add the plugin properly and started the eclipse with -clean option ? Check your Tomcat version and tomcat home directory in eclipse preference. Also whether your eclipse's installed JRE is pointing to jdk directory. Thanks, Priya

Re: Tomcat 6.xx SSL supports

2011-08-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sanjiv, On 8/29/2011 8:53 AM, sanjivacharyya wrote: I have the below requirements for SSL certificates. Please do let me know is tomcat 6.xx supports below requirements :- 1) 128 bit data encryption will be employed. 2) 1024 bit server

Re: Tomcat started and localhost:8080 is loading

2011-08-29 Thread Priya Ram Prasad
Hi, I don't think there is any problem with the tomcat. Did you add the plugin properly and started the eclipse with -clean option ? Check your Tomcat version and tomcat home directory in eclipse preference. Also whether your eclipse's installed JRE is pointing to jdk directory. Thanks, Priya

Re: parallel deployment of tomcat 7

2011-08-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/29/2011 9:37 AM, Mark Thomas wrote: On 29/08/2011 04:15, Sammy MT Lau wrote: Hello all, I've read some articles regarding to the parallel deployment of tomcat 7. From what I've read, enabling parallel deployment requires the

Re: Exception Handling

2011-08-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Donald, On 8/28/2011 4:35 PM, Donald Jolley wrote: Exception handling can be configured in WEB-INF/web.xml This suggestion seems to hold a lot of promise for error handling. The only problem is that I have not been able to get it to work. I

Could not find datasource when starting tomcat

2011-08-29 Thread Alaeddine HAOUAS
Hi, I try to backup a java 1.5 web application with servlet/JSP using tomcat-6.0.20. I am having the following error when starting my tomcat in Eclipse (sysdeo plugin v3.2.1) : FATAL [main] DatasourceConnectionProvider:47 - Could not find datasource: dbName

Re: Could not find datasource when starting tomcat

2011-08-29 Thread Savitha Akella
Hi , Usually in the resource tag , we define the name parameter as below: name=jndi/dbName Make this change and hopefully it should work. Thanks On Mon, Aug 29, 2011 at 10:20 AM, Alaeddine HAOUAS a.hao...@nouvellemarque.com wrote: Hi, I try to backup a java 1.5 web application with

CometFilter getAuthType() returns null

2011-08-29 Thread Sudeep Pradhan
Hi, I am using Tomcat 6.0.33. I have a CometProcessor Servlet and CometFilter. I use curl as http client and send username/password with basic authentication. The curl trace shows that the authentication type is basic. I have HTTPS in place. I try to get the AuthType and Principal in

Re: CometFilter getAuthType() returns null

2011-08-29 Thread Mark Thomas
On 29/08/2011 19:20, Sudeep Pradhan wrote: Hi, I am using Tomcat 6.0.33. I have a CometProcessor Servlet and CometFilter. I use curl as http client and send username/password with basic authentication. The curl trace shows that the authentication type is basic. I have HTTPS in place. I

Re: Tomcat started and localhost:8080 is loading

2011-08-29 Thread Pratibha S
Hi Priya, Thank you for the response. I started eclipse with -clean option. error remains the same. Tomcat version and home directory are configured in mongrel settings. How do I check plug-in is installed properly or not? Installed JRE is poiting to jdk directory. Regards, On Mon, Aug 29,

Re: Could not find datasource when starting tomcat

2011-08-29 Thread Mark Eggers
- Original Message - From: Savitha Akella savitha.saraswa...@gmail.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Monday, August 29, 2011 10:36 AM Subject: Re: Could not find datasource when starting tomcat Hi , Usually in the resource tag , we define the name

Re: Tomcat started and localhost:8080 is loading

2011-08-29 Thread Priya Ram Prasad
Hi, Add the plugin to eclipse\plugins and then run eclipse with -clean option. Can you send the error trace when you open localhost:8080 page ? thanks On Mon, Aug 29, 2011 at 1:32 PM, Pratibha S psund...@gmail.com wrote: Hi Priya, Thank you for the response. I started eclipse with -clean

Re: Ajp13Processor threads are not getting closed.

2011-08-29 Thread André Warnier
Well then.. Jagadish Raj R wrote: Hi Andre, Here are the results. Compiled in modules: core.c this : prefork.c means that your front-end Apache httpd server is running in prefork mode. And what do the parts in red say in the link I sent you before ? http_core.c mod_so.c

[SECURITY] CVE-2011-3190 Apache Tomcat Authentication bypass and information disclosure

2011-08-29 Thread Mark Thomas
CVE-2011-3190 Apache Tomcat Authentication bypass and information disclosure Severity: Important Vendor: The Apache Software Foundation Versions Affected: - Tomcat 7.0.0 to 7.0.20 - Tomcat 6.0.0 to 6.0.33 - Tomcat 5.5.0 to 5.5.33 - Earlier, unsupported versions may also be affected

Re: Tomcat started and localhost:8080 is loading

2011-08-29 Thread Pratibha S
The plug-in is already in the plugins directory. I started eclipse with -clean option. Sorry for a naive question.The eclipse console does not show any error. Is error trace, the file localhost_access_log.date.txt? If yes, please find the entry below: 127.0.0.1 - -

Tomcat JDBC Connection Pool, Tomcat 7, and Maven?

2011-08-29 Thread Andrew Todd
Hi, So I'm working on a Maven-based project in which I would like to use the Tomcat JDBC connection pool. I've noticed that with Tomcat 7, the documentation has now moved into the official Tomcat docs (https://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html). However, I'm wondering a few things:

Re: Tomcat started and localhost:8080 is loading

2011-08-29 Thread André Warnier
Hi. At the beginning, you said : When I start startup.sh, I can load the localhost:8080 page. But when I start Tomcat from Eclipse, it is able to start but I'm unable to load the localhost page. Explorer says, could not connect to localhost:8080. That seems to indicate that Tomcat is not

Re: Exception Handling

2011-08-29 Thread Donald Jolley
I am happy to report that I finally got exception handling to work using the web.xml approach. To me this approach makes the most sense for handling errors. (Forwarding is a different issue.) It was a patchwork of assistance from many that finally led me to this point. Thanks to all who

Re: Exception Handling

2011-08-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Donald, On 8/29/2011 5:46 PM, Donald Jolley wrote: Finally, as I have said, I now have the error handling working. Great. My errors page displays the information obtained from exception.toString(). Is there any other information available

Re: Exception Handling

2011-08-29 Thread Donald Jolley
Like... what other information do you want to provide? An explanation of what to do to avoid the error? That is worthy of a Turing Award if you can pull it off :) I am interested in identifying as clearly as possible the specific code that was the root cause of the error. The original URI

Re: Is empty Content Type of Request allowed in Tomcat?

2011-08-29 Thread Isaac Li
Thank André and Mark for your quick response, detailed answer and references! I'll try to report this issue to Cyberduck. One more question: when I uses current version of Cyberduck to connect Amazon S3, it can accept this kind of invalid request, is it a kind of fault tolerance design of

Re: Exception Handling

2011-08-29 Thread Mark Eggers
- Original Message - From: Donald Jolley jolleyt...@gmail.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Monday, August 29, 2011 5:38 PM Subject: Re: Exception Handling   Like... what other information do you want to   provide? An explanation of what to do to avoid

Two SSL certs. for same web app

2011-08-29 Thread Greg Johnson
We have a wildcard SSL cert. installed on our tomcat (6.0.18) instance. We are not fronted by Apache, as we just use Tomcat to serve the content directly. We provide subdomains for our clients to connect to us. For example: https://client1.mycompany.com represents client 1's portal into our web

Re: Is empty Content Type of Request allowed in Tomcat?

2011-08-29 Thread Isaac Li
On Tue, Aug 30, 2011 at 10:00 AM, Isaac Li tingjun...@gmail.com wrote: Thank André and Mark for your quick response, detailed answer and references! I'll try to report this issue to Cyberduck. One more question: when I uses current version of Cyberduck to connect Amazon S3, See request

RE: Two SSL certs. for same web app

2011-08-29 Thread Caldarale, Charles R
From: Greg Johnson [mailto:gre...@yahoo.com] Subject: Two SSL certs. for same web app I've done some research and I believe I should use the address parameter on the connectors, so that I would then have two sets of Connector's, using the clientn.keystore on the 2nd SSL connector.