Re: Help required for SMAP....

2010-03-25 Thread TWönlìnè
Thanks for the reply, I guessed that also, but i think there are some problems in this approach. If you look at JSP line from 3 to 13 you'll find this, 3. % 4. %@ page import=java.util.* % 5. %@ page import=java.text.* % 6. !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

Re: httpd vs. Tomcat performance

2010-03-25 Thread Jason Brittain
Very entertaining reading! Thanks Chris and Mark for re-benchmarking, explaining, and giving your opinions on the results. I'm not entirely sure how I missed Chris' benchmark results email, almost exactly one year ago now. Chris: there are no units on your results numbers, and I'm not seeing

Re: Sporadic errors during high load

2010-03-25 Thread ssureshceg
We are also seeing the similar issue. We are also running a load test of 3000 concurent users and from 3000 ip address and aproximately 4 connection/ipaddress sec loading 5 pages which contains few portlets. The test runs for an hour but after 5 minutes we started seeing the failures in

Windows Server 2008: Access web application - application server (Apache Tomcat)

2010-03-25 Thread Hans Stoessel
Hi We have a web application running on Apache Tomcat (JSP / Axis2). This web application connects to an application server via SOAP. The application runs on Windows XP, Vista and Windows Server 2003. But we have problems on a Windows Sever 2008. The web application can't connect to the

Re: httpd vs. Tomcat performance

2010-03-25 Thread Marian Simpetru
Hi , We have a online shop developed as a suite of JSR168 portlets. On some portlets we list products and images (so there are about 25 images per page + other images). One image has around 250k. Performance was greatly improved after we put apache httpd in front (images served by apache

Re: Connecting to a Database

2010-03-25 Thread Pid
On 24/03/2010 15:56, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: Connecting to a Database If you define the datasource as a global resource, you can define the Realm in server.xml (before or inside the Host), but then you need a resource link in the context.xml

Re: need help

2010-03-25 Thread Pid
On 24/03/2010 22:00, Peter Crowther wrote: It depends entirely on your application. 500 users each asking for one static HTML page every 10 minutes? Sure, no problem. 500 concurrent users requesting 1 page every 10 seconds that takes 8 seconds to generate? Ah, now you're going to have to do

Re: httpd vs. Tomcat performance

2010-03-25 Thread Mark Thomas
On 25/03/2010 01:39, Rémy Maucherat wrote: On Thu, Mar 25, 2010 at 1:50 AM, Mark Thomas ma...@apache.org wrote: Chris deserves a lot of the credit. Without his figures, it is just opinion. That's the second benchmark that I see today that has odd numbers. What did you think was odd? Mark

Re: Project: Develop a tool that can provision a Tuscany SCA enabled web application based on the extension requirements of the composite (implementation/binding/databinding/policy types) for Google

2010-03-25 Thread Mark Thomas
On 25/03/2010 03:14, Nouhoun KANE wrote: i want you to give me more details about this idea bacause i want to do something with Tuscany SCA in Java and i think this an opportunity for me to do it. So i want more details about this idea and i will submit you my project and we will discuss

Re: Project : SPDY connector for Tomcat

2010-03-25 Thread Mark Thomas
On 25/03/2010 03:27, Nouhoun KANE wrote: I would like to work on this project. I propose a JAVA API that we can use to let Tomcat support SPDY. I'm waiting for your critics about this proposal. What proposal? Writing an API? The project is to provide an SPDY implementation for the existing

UndeclaredThrowableException as a result of false ClassLoading

2010-03-25 Thread Mikasch, Fares (EXT-IBM - DE/Berlin)
Hello, Apache Tomcat/5.5.26 jdk1.5.0_11 / jdk1.5.0_19 Windows XP / SunOS 5.10 Short description of the use case: - User fills form with some wrong information - tomcat sends (RMI call) to another server - server throws ValidationException back to tomcat - tomcat _sometimes_ wraps the

Re: Newbie: Tomcat Can't Find My App

2010-03-25 Thread Reuven Koblick
Thanks Charles, Your's was the advice that worked. I've been trying to get an app written by others to work. Their web.xml file was hopelessly out of date. BTW, I tried enabling the invoker and even that wouldn't run because it was priviledged. Reuven Koblick On Tue, Mar 23, 2010 at 12:55 PM,

RE: apache-tomcat-6.0.26 (log4j:WARN No appenders)

2010-03-25 Thread Manoj Kumar
In which directory should I configure the log4j.properties file ? Date: Wed, 24 Mar 2010 13:53:29 + From: p...@pidster.com To: users@tomcat.apache.org Subject: Re: apache-tomcat-6.0.26 (log4j:WARN No appenders) On 24/03/2010 12:44, Manoj Kumar wrote: Hi, I executed a

RE: apache-tomcat-6.0.26 (log4j:WARN No appenders)

2010-03-25 Thread Caldarale, Charles R
From: Manoj Kumar [mailto:utiba_ma...@hotmail.com] Subject: RE: apache-tomcat-6.0.26 (log4j:WARN No appenders) In which directory should I configure the log4j.properties file ? http://wiki.apache.org/tomcat/FAQ/Logging#Q5 - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR

Re: httpd vs. Tomcat performance

2010-03-25 Thread Mark Thomas
On 25/03/2010 07:01, Jason Brittain wrote: Very entertaining reading! Thanks Chris and Mark for re-benchmarking, explaining, and giving your opinions on the results. I'm not entirely sure how I missed Chris' benchmark results email, almost exactly one year ago now. Chris: there are no units

JNDI config

2010-03-25 Thread Thufir
For a servlet to employ JNDI to access a JDBC database, Tomcat must be configured? JNDI won't work on a vanilla configuration of Tomcat? 1. Install Your JDBC Driver Use of the JDBC Data Sources JNDI Resource Factory requires that you make an appropriate JDBC driver available to both Tomcat

Problem with different protocols and ports

2010-03-25 Thread Hagenlocher-Wemssen, Andreas
Hi all, I got a peculiar problem on a apache tomcat 5.5 server: Several clients, which could use the wrong port for their protocol. On the server there is a http port on 8080, and a https port on 8443 as default. Unfortunately, on the clients there are possibilities to combine the protocol

RE: Connecting to a Database

2010-03-25 Thread Leo Donahue - PLANDEVX
Chris, I meant to reply to this yesterday. I can digest a password and use that digested password in the tomcat-users.xml I added an md5 attribute to the user database realm in server.xml and storing the digested password in tomcat-users.xml is working. Is it not supposed to? Based on that

Re: Problem with different protocols and ports

2010-03-25 Thread Peter Crowther
This is a feature of the protocol; there's nothing you can do about idiot users who type strange things into their browsers' address bars. What you *can* do is run your services on the standard ports - 80 and 443 - so that your users don't have to type in port numbers. Is there any reason you're

RE: UndeclaredThrowableException as a result of false ClassLoading

2010-03-25 Thread Caldarale, Charles R
From: Mikasch, Fares (EXT-IBM - DE/Berlin) [mailto:fares.mikasch@nsn.com] Subject: UndeclaredThrowableException as a result of false ClassLoading Short description of the use case: - User fills form with some wrong information - tomcat sends (RMI call) to another server Let's get the

RE: JNDI config

2010-03-25 Thread Caldarale, Charles R
From: Thufir [mailto:hawat.thu...@gmail.com] Subject: JNDI config For a servlet to employ JNDI to access a JDBC database, Tomcat must be configured? Yes. JNDI won't work on a vanilla configuration of Tomcat? How could it? JNDI is simply a registry of names and references. If you don't

Re: configuration to serve 500 users

2010-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Muralidhar, Welcome to the list. In the future, please use a more descriptive subject line: most list members are writing because they need help, so need help is completely useless. On 3/24/2010 1:38 PM, Muralidhar Yaragalla wrote: Hi, I have to

RE: Problem with different protocols and ports

2010-03-25 Thread Hagenlocher-Wemssen, Andreas
Unfortunately, it has to be open in case they use the ports on other apps. One of the selling points. Ok, then I just have to live with it. Thanks Andreas -Original Message- From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther

How to find files that were changed/added to correct a Tomcat vulnerability

2010-03-25 Thread Naaliel Mendes
Dear Tomcat users, I am trying to characterize the way vulnerabilities are corrected and I have used the vulnerability reports of the Apache Tomcat in my research work. Currently I am facing difficulties to find out how some of the reported vulnerabilities were corrected, especially when there

tomcat PUT not working

2010-03-25 Thread Kumar Kadiyala
Hi, I have REST based web services some of which use the PUT method. The PUT method can contain a request body. The web service works fine with Websphere and is out in the field. We are in the process of migrating to tomcat and I noticed that my web service which uses PUT is not able to get

Any way to pre-compile JSPs in Tomcat

2010-03-25 Thread fred basset
As per the subject line, can I configure Tomcat to pre-compile the JSPs before we ship out a .war file? thx, Fred - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

AW: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-25 Thread Steffen Heil
Hi As Pid pointed out, this doesn't work: the scope of the manager webapp is the Host it's deployed under. I didn't realize that part of his last line... The whole idea smacks of security through obscurity - which means you've accomplished nothing. That's another discussion, but it could

Re: Any way to pre-compile JSPs in Tomcat

2010-03-25 Thread Pid
On 25/03/2010 16:56, fred basset wrote: As per the subject line, can I configure Tomcat to pre-compile the JSPs before we ship out a .war file? The catalina-tasks.xml file in tomcat/bin contains some importable ant tasks. See also: http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html

RE: Any way to pre-compile JSPs in Tomcat

2010-03-25 Thread Caldarale, Charles R
From: fred basset [mailto:fredbasset1...@gmail.com] Subject: Any way to pre-compile JSPs in Tomcat As per the subject line, can I configure Tomcat to pre-compile the JSPs before we ship out a .war file? Only if you read the doc:

Re: How to find files that were changed/added to correct a Tomcat vulnerability

2010-03-25 Thread Mark Thomas
On 25/03/2010 16:35, Naaliel Mendes wrote: Dear Tomcat users, I am trying to characterize the way vulnerabilities are corrected and I have used the vulnerability reports of the Apache Tomcat in my research work. Currently I am facing difficulties to find out how some of the reported

Re: Connecting to a Database

2010-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, On 3/25/2010 10:50 AM, Leo Donahue - PLANDEVX wrote: I can digest a password and use that digested password in the tomcat-users.xml Sorry, I was thinking server.xml for the DataSource setup: you cannot use the database's password in a hashed

Re: Help required for SMAP....

2010-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 TWönlìnè, On 3/25/2010 2:30 AM, TWönlìnè wrote: If you look at JSP line from 3 to 13 you'll find this, 3. % 4. %@ page import=java.util.* % 5. %@ page import=java.text.* % 6. !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

Re: httpd vs. Tomcat performance

2010-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 3/24/2010 8:50 PM, Mark Thomas wrote: On 25/03/2010 00:26, Hassan Schroeder wrote: Just to get this into the archives for the next time it comes up

Re: Compiling JSP with SMAP

2010-03-25 Thread Konstantin Kolinko
2010/3/24 TWönlìnè twonlinevi...@gmail.com: @Mercy, Thanks I managed to create SMAP files, using this code in my BUILD.XML - which compiles JSPs (...) Now it is creating .SMAP files. SMAPs are appended to the *.class files. That is why you do not see them as separate files when

Re: Any way to pre-compile JSPs in Tomcat

2010-03-25 Thread Konstantin Kolinko
2010/3/25 Pid p...@pidster.com: On 25/03/2010 16:56, fred basset wrote: As per the subject line, can I configure Tomcat to pre-compile the JSPs before we ship out a .war file? The catalina-tasks.xml file in tomcat/bin contains some importable ant tasks. See also:  

Re: How to find files that were changed/added to correct a Tomcat vulnerability

2010-03-25 Thread Naaliel Mendes
On Thu, Mar 25, 2010 at 5:11 PM, Mark Thomas ma...@apache.org wrote: On 25/03/2010 16:35, Naaliel Mendes wrote: Dear Tomcat users, I am trying to characterize the way vulnerabilities are corrected and I have used the vulnerability reports of the Apache Tomcat in my research work.

Re: httpd vs. Tomcat performance

2010-03-25 Thread Mark Thomas
On 25/03/2010 17:47, Christopher Schultz wrote: Mark, On 3/24/2010 8:50 PM, Mark Thomas wrote: On 25/03/2010 00:26, Hassan Schroeder wrote: Just to get this into the archives for the next time it comes up

Re: How to find files that were changed/added to correct a Tomcat vulnerability

2010-03-25 Thread Mark Thomas
On 25/03/2010 18:12, Naaliel Mendes wrote: Thank you for your suggestion. I am working on that and, if I succeed, I will send you the results of the mapping between CVEs and changelog and its respective svn revision ID. Should I use this mailing list to keep in touch? Yes please. Mark

Re: httpd vs. Tomcat performance

2010-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 3/25/2010 3:01 AM, Jason Brittain wrote: Chris: there are no units on your results numbers, and I'm not seeing any procedure you used, nor any configurations you used, so I'm not sure how to interpret the numbers. I'd be happy to give

Re: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-25 Thread Konstantin Kolinko
2010/3/25 Steffen Heil li...@steffen-heil.de: Hi As Pid pointed out, this doesn't work: the scope of the manager webapp is the Host it's deployed under. I didn't realize that part of his last line... It will not see what applications are deployed under separate Host. So, it will be

Re: tomcat PUT not working

2010-03-25 Thread Konstantin Kolinko
2010/3/25 Kumar Kadiyala kumark...@yahoo.com: We are in the process of migrating to tomcat and I noticed that my web service which uses PUT is not able to get the request body anymore. I use HttpServletRequest's getInputStream and it always returns null. It should be something in your

RE: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-25 Thread Caldarale, Charles R
From: Steffen Heil [mailto:li...@steffen-heil.de] Subject: AW: Is it possible to set the port for tomcat manager to 8080 and root port 80??? That's another discussion, but it could really make sense, if you use a connector bound to a non-public interface (or even localhost) just for

Re: tomcat PUT not working

2010-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kumar, On 3/25/2010 12:53 PM, Kumar Kadiyala wrote: I have REST based web services some of which use the PUT method. The PUT method can contain a request body. The web service works fine with Websphere and is out in the field. We are in the

Re: Any way to pre-compile JSPs in Tomcat

2010-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 3/25/2010 2:01 PM, Konstantin Kolinko wrote: 2010/3/25 Pid p...@pidster.com: On 25/03/2010 16:56, fred basset wrote: As per the subject line, can I configure Tomcat to pre-compile the JSPs before we ship out a .war file? The

Re: UndeclaredThrowableException as a result of false ClassLoading

2010-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fares, On 3/25/2010 6:56 AM, Mikasch, Fares (EXT-IBM - DE/Berlin) wrote: In the case where the ValidationException is wrapped by the UndeclaredThrowableException, the WebappClassLoader instance of the current thread and the instance of the

[OT] SecurityManager and Java Policy Files

2010-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, This is off-topic in that it doesn't really have anything to do specifically with Tomcat, but I would be willing to bet that readers would be interested in the answer. Besides, the pool of brain cells available to this list is rather deep and

Re: Problem with different protocols and ports

2010-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas, On 3/25/2010 11:38 AM, Hagenlocher-Wemssen, Andreas wrote: Unfortunately, it has to be open in case they use the ports on other apps. One of the selling points. Ok, then I just have to live with it. Yeah, I think you're stuck: all of the

Re: Any way to pre-compile JSPs in Tomcat

2010-03-25 Thread Mark Thomas
On 25/03/2010 19:41, Christopher Schultz wrote: Do you mean that you'll need to use a matching version in order to enjoy all the benefits and features of that version, or is there something more sinister? I would expect that you can pre-compile JSPs into servlets that will run on any

Re: tomcat PUT not working

2010-03-25 Thread Kumar Kadiyala
Hi Chris, On 3/25/2010 12:53 PM, Kumar Kadiyala wrote: I have REST based web services some of which use the PUT method. The PUT method can contain a request body. The web service works fine with Websphere and is out in the field. We are in the process of migrating to tomcat and I noticed that

tomcat maven project

2010-03-25 Thread ntwrkd
Hello, I'd like to start contributing to Tomcat, but I would appreciate some direction on a couple of things (yes I read the FAQ already). Is there a maven project publicly available for Tomcat? (I'd rather pull that then set everything up myself) Thanks, Matthew

Re: tomcat maven project

2010-03-25 Thread Mark Thomas
On 25/03/2010 20:56, ntwrkd wrote: Hello, I'd like to start contributing to Tomcat, but I would appreciate some direction on a couple of things (yes I read the FAQ already). Great! Welome. Is there a maven project publicly available for Tomcat? (I'd rather pull that then set everything up

RE: Why is tomcat taking so long to start?

2010-03-25 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: Re: Why is tomcat taking so long to start? You have some errors there, you're trying to start multiple Connectors on port 8443, so the second one fails. To say nothing of several other problems, the most glaring of which is using an unsupported

Re: Project : SPDY connector for Tomcat

2010-03-25 Thread Nouhoun KANE
Thank you Mark, now i understood the idea, but i think it's would be better if you give us more details and explanations about this idea to let us know more about this idea and to let us show you our proposal. I didn't uderstand the idea from the start, that's why i proposed a JAVA API. So if you

Re: Project : SPDY connector for Tomcat

2010-03-25 Thread Nouhoun KANE
Thank you very much Rajeev, i saw your link and it was very helpful. I'm still reading the page. Thank you. 2010/3/25 Rajeev Sampath rjvra...@gmail.com Hi Nouhoun, I too was interested in this idea and Jean-Frederic provided a brief explanation and also some useful resources. Perhaps you

tomcat maven plugin datasource

2010-03-25 Thread fachhoch
I am having trouble setting datasource here is my configration for datasource Context Resource name=jdbc/artmsDataSource auth=Container type=javax.sql.DataSource username=username password=password driverClassName=oracle.jdbc.driver.OracleDriver

RE: Why is tomcat taking so long to start?

2010-03-25 Thread Mon Cab
Charles While this may be an unsupported version of Tomcat, version support is not an issue for us here. I am guessing that Tomcat 5.0 should not be having these issues, just because it is no longer supported. What are the other problems you alluded to? --- On Thu, 3/25/10, Caldarale,

RE: Why is tomcat taking so long to start?

2010-03-25 Thread Caldarale, Charles R
From: Mon Cab [mailto:futo...@yahoo.com] Subject: RE: Why is tomcat taking so long to start? While this may be an unsupported version of Tomcat, version support is not an issue for us here. But it is for people who volunteer to support Tomcat - even the doc for that level is difficult to

SSL requests are getting timedout with the error

2010-03-25 Thread Arunkumar Janarthanan
Hi, We noticed the below error when the SSL requests failed to complete. I have tomcat 5.5.9 running on Solaris 10 SPARC server with 16 Gig of Memory and 32 CPU. However the plain requests and SSL with just domain works ok. ex: https://www.abc.com. My sincere apologize for the minimal

RE: SSL requests are getting timedout with the error

2010-03-25 Thread Caldarale, Charles R
From: Arunkumar Janarthanan [mailto:arunkumar.webad...@gmail.com] Subject: SSL requests are getting timedout with the error I have tomcat 5.5.9 Happy fifth birthday to that version of Tomcat - which means it's very, very old, and many, many fixes for a variety of issues have gone into

Re: SSL requests are getting timedout with the error

2010-03-25 Thread Arunkumar Janarthanan
Hi Chris, Very valid point the Tomcat to be upgraded, does the error makes any sense could be caused by SSL protocol ? Thanks for your advice. Best Regards, Arun J On Thu, Mar 25, 2010 at 11:34 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Arunkumar Janarthanan

RE: SSL requests are getting timedout with the error

2010-03-25 Thread Caldarale, Charles R
From: Arunkumar Janarthanan [mailto:arunkumar.webad...@gmail.com] Subject: Re: SSL requests are getting timedout with the error Hi Chris, It's Chuck (or Charles, if you want to be formal), not Chris. Very valid point the Tomcat to be upgraded And probably httpd and mod_jk. does the