RE: performance problems with Tomcat 6 and JSF 1.2

2010-02-17 Thread Michael Heinen
Thanks Mark. Two demo apps with a single jsp are available at: http://www.datafilehost.com/download-eec20011.html Just call for JSF 1.2 http://server:port/jsf12/faces/100hout.jsp http://server:port/jsf12/faces/1000hout.jsp http://server:port/jsf12/faces/2000hout.jsp for JSF 1.1

Re: [OT] Tomcat dies suddenly

2010-02-17 Thread Ognjen Blagojevic
André Warnier wrote: Now I am very curious, because I happen to have supplied the media archive management software used by a very large broadcasting organisation, where a similar story happened to the server running ditto software (this was a few years ago). Right after that incident, the

Re: Tomcat context startup failed

2010-02-17 Thread André Warnier
Hadole, Nishant IN BOM SISL wrote: Dear Simone, The obvious error displayed from log is java.lang.NoClassDefFoundError: org/apache/xerces/util/EncodingMap. First check whether the xerces jar containing mentioned class is in place. Try downloading new jar and again restart the tomcat

Re: Tomcat context startup failed

2010-02-17 Thread Bob Hall
Andre, --- On Wed, 2/17/10 at 1:06 AM, André Warnier a...@ice-sa.com wrote: The obvious error displayed from log is java.lang.NoClassDefFoundError: org/apache/xerces/util/EncodingMap. First check whether the xerces jar containing mentioned class is in place. Try downloading new jar and

VSphere4 and tomcat 6.0

2010-02-17 Thread Daniel Dreier
Hello, I want to use tomcat 6.0 on a vsphere4 based Server. Are there known issues? best regards Daniel Dreier - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Accessing a Tomcat webapp from a PHP webapp

2010-02-17 Thread
Hi! I'm trying to access a Java web application, hosted on a Tomcat 6.0.20, from a PHP application hosted on a Apache, located at the same machine. The PHP app must request a Java app with few parameters and, the Java app must respond with some data encoded in a JSON response. Perhaps I got a

[ANN] Apache Tomcat Native 1.1.20 released

2010-02-17 Thread Mladen Turk
The Apache Tomcat team announces the immediate availability of Apache Tomcat Native 1.1.20 stable. This release includes a fix for JVM crash on Tomcat shutdown. Please refer to the change log for the list of changes: http://tomcat.apache.org/native-doc/miscellaneous/changelog.html Downloads:

Re: VSphere4 and tomcat 6.0

2010-02-17 Thread André Warnier
Daniel Dreier wrote: Hello, I want to use tomcat 6.0 on a vsphere4 based Server. Are there known issues? Hi. It might help if you provided some details about vsphere4. I don't think that you can assume that many people here would be familiar with it, or would be willing to research the

Re: Multiple UserDatabases

2010-02-17 Thread vramanaj
Issue still not resolved. Is there any way to club both the Data Sources(one is tomcat.xml another josso data source) ? markt-2 wrote: On 04/01/2010 11:39, vramanaj wrote: Can you elobrate the second option ? http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html

Re: Tomcat dies suddenly

2010-02-17 Thread Carl
Just an update. A quick refresher. Server A has been rebuilt with eliminating the JRE before Slackware is installed. The jre from Slackware was allowed to be installed and was then removed using the package tool. The applications on both servers have been upgraded to mysql-connector

Re: [OT] Tomcat dies suddenly

2010-02-17 Thread André Warnier
Carl wrote: ... I was thinking maybe Andre could do the same for my servers, you know, with his telepathy thingie and all. You are confusing people. The telepath on this list is Pid. He is particularly good at guessing the OS, JVM, Tomcat version etc.. of people who post here without

Re: [OT] Tomcat dies suddenly

2010-02-17 Thread Peter Crowther
On 17 February 2010 13:55, André Warnier a...@ice-sa.com wrote:  We also have a couple of official buffoons. And a plethora of unofficial ones - Peter - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

RE: VSphere4 and tomcat 6.0

2010-02-17 Thread Caldarale, Charles R
From: Daniel Dreier [mailto:ddre...@softmate.de] Subject: VSphere4 and tomcat 6.0 I want to use tomcat 6.0 on a vsphere4 based Server. Are there known issues? I've tested Tomcat on a couple of different VMware installations without problem, but not under a heavy load. Make sure you give

RE: VSphere4 and tomcat 6.0

2010-02-17 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: VSphere4 and tomcat 6.0 I've tested Tomcat on a couple of different VMware installations without problem, but not under a heavy load. Forgot to mention that some of the VMware tools include an embedded Tomcat, so there can be port conflicts. The

RE: Tomcat context startup failed

2010-02-17 Thread Caldarale, Charles R
From: Bob Hall [mailto:rfha...@yahoo.com] Subject: Re: Tomcat context startup failed The offending .jar files were not loaded and can't contribute to any problems. Don't bet on it: if the app has its own ClassLoader, it may well ignore the finer points of the servlet spec. Regardless, the

Re: Tomcat dies suddenly

2010-02-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carl, On 2/17/2010 8:14 AM, Carl wrote: A quick refresher. Server A has been rebuilt with eliminating the JRE before Slackware is installed. The jre from Slackware was allowed to be installed and was then removed using the package tool. The

Re: Accessing a Tomcat webapp from a PHP webapp

2010-02-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 zé, On 2/17/2010 6:06 AM, zé wrote: I'm trying to access a Java web application, hosted on a Tomcat 6.0.20, from a PHP application hosted on a Apache, located at the same machine. The PHP app must request a Java app with few parameters and, the

Re: VSphere4 and tomcat 6.0

2010-02-17 Thread Jon Brisbin
We're running a dozen tcServer instances (Tomcat 6.0) on a VMware ESXi cloud infrastructure. We haven't put vSphere in yet, but we're planning to. The only thing I can say here is that there ARE differences between running Tomcat on a VM and running it on dedicated hardware. I have problems

Re: VSphere4 and tomcat 6.0

2010-02-17 Thread Philip Wigg
On 17 February 2010 15:07, Jon Brisbin jon.bris...@npcinternational.com wrote: We're running a dozen tcServer instances (Tomcat 6.0) on a VMware ESXi cloud infrastructure. We haven't put vSphere in yet, but we're planning to. The only thing I can say here is that there ARE differences between

Re: performance problems with Tomcat 6 and JSF 1.2

2010-02-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 2/17/2010 3:59 AM, Michael Heinen wrote: I patched org.apache.jasper.compiler.Generator and removed the AnnotationHelper. The compiled jsps did not contain these calls anymore but this did not have any noticeable effect on

Re: [ANN] Apache Tomcat Native 1.1.20 released

2010-02-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mladen, On 2/17/2010 6:26 AM, Mladen Turk wrote: The Apache Tomcat team announces the immediate availability of Apache Tomcat Native 1.1.20 stable. This release includes a fix for JVM crash on Tomcat shutdown. Please refer to the change log for

Re: Tomcat dies suddenly

2010-02-17 Thread Carl
Chris, Yup, that was my plan. Thanks, Carl - Original Message - From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, February 17, 2010 10:02 AM Subject: Re: Tomcat dies suddenly -BEGIN PGP SIGNED MESSAGE-

Re: [ANN] Apache Tomcat Native 1.1.20 released

2010-02-17 Thread Mladen Turk
On 02/17/2010 04:32 PM, Christopher Schultz wrote: Maybe it's the mirror I've hit, but the changelog doesn't show changes for 1.1.20. Right, there are some problems with web server sync and symlinks. Should be visible in 24 hrs (at least that's what infra@ told me) In the mean time here it

Re: Accessing a Tomcat webapp from a PHP webapp

2010-02-17 Thread
Hi Chris! Thanks for response! I don't use any kind of authentication and, I believe that the directory indexes are disabled due the HTTP 404 error returned when is tried listing. It's just a servlet being accessed by a PHP script. The servers aren't in the same machine instead of I told

Re: tomcat 6 on solaris losing cookies

2010-02-17 Thread George Baxter
Downloaded src code of tomcat for debugging purposes and sure enough, our cookies are of type byte, so the fact that the code can parse the cookie 'string' just fine means diddly-squat. Next plan, build my own tomcat 6.0.24 version with lots of logging and checks for debugging purposes...

Re: Configure tomcat in my development environment, and save session across restart

2010-02-17 Thread Ashish Kulkarni
Hi Is it possible to find from log files or some where, what is preventing from tomcat not able to persist sessions, all the classes saved in tomcat are serialized, they implement implements Serializable. where does tomcat save this serialized data file on PC, i want to see if this is created I

Re: Configure tomcat in my development environment, and save session across restart

2010-02-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 2/17/2010 3:32 PM, Ashish Kulkarni wrote: Is it possible to find from log files or some where, what is preventing from tomcat not able to persist sessions I would check logs/catalina.out, logs/localhost_*.log, and anything else in the

Re: Accessing a Tomcat webapp from a PHP webapp

2010-02-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 zé, On 2/17/2010 12:02 PM, zé wrote: I don't use any kind of authentication Ok. I believe that the directory indexes are disabled due the HTTP 404 error returned when is tried listing. Interesting. What is the URL you are trying to access?

Re: Configure tomcat in my development environment, and save session across restart

2010-02-17 Thread Ashish Kulkarni
Hi There is no SESSIONS.ser created under, but there is tldCache.ser C:\App\apache-tomcat-5.5.25\work\Catalina\localhost\[webapp] I have created a myapp.xml file under C:\App\apache-tomcat-5.5.25\conf\Catalina\localhost folder, and this xml file looks like below ?xml version=1.0 encoding=UTF-8?

Trouble with CLIENT-CERT authentication method

2010-02-17 Thread Kevin Mills
Greetings fellow Tomcat-ers: I'm trying enable client certificate authentication on a per-webapp basis using Tomcat 6.0.24. According to the various sources of documentation I've found, this should be possible by enabling the SSL Connector (which I've done), getting client certificate

Re: Trouble with CLIENT-CERT authentication method

2010-02-17 Thread Mark Thomas
On 17/02/2010 23:48, Kevin Mills wrote: Can anyone tell me what's going on here? CVE-2009-3555? http://tomcat.apache.org/tomcat-6.0-doc/config/http.html search for allowUnsafeLegacyRenegotiation Mark - To unsubscribe,

Re: Trouble with CLIENT-CERT authentication method

2010-02-17 Thread Kevin Mills
On 2/17/10, Mark Thomas ma...@apache.org wrote: On 17/02/2010 23:48, Kevin Mills wrote: Can anyone tell me what's going on here? CVE-2009-3555? http://tomcat.apache.org/tomcat-6.0-doc/config/http.html search for allowUnsafeLegacyRenegotiation Thanks for your reply - I did see that option

Re: Trouble with CLIENT-CERT authentication method

2010-02-17 Thread Mark Thomas
On 18/02/2010 00:04, Kevin Mills wrote: On 2/17/10, Mark Thomas ma...@apache.org wrote: On 17/02/2010 23:48, Kevin Mills wrote: Can anyone tell me what's going on here? CVE-2009-3555? http://tomcat.apache.org/tomcat-6.0-doc/config/http.html search for allowUnsafeLegacyRenegotiation

Re: Trouble with CLIENT-CERT authentication method

2010-02-17 Thread Kevin Mills
On 2/17/10, Mark Thomas ma...@apache.org wrote: Then you probably haven't got your config quite right. There are plenty of things to go wrong with this but this definitely works - I was using it just the other day. We'll need to see: - connector element from server.xml - web.xml -

Re: Trouble with CLIENT-CERT authentication method

2010-02-17 Thread Mark Thomas
On 18/02/2010 00:24, Kevin Mills wrote: snip/ servlet-mapping servlet-nameMyServlet/servlet-name url-pattern/myServlet/url-pattern /servlet-mapping snip/ security-constraint web-resource-collection

Re: Trouble with CLIENT-CERT authentication method

2010-02-17 Thread Kevin Mills
On 2/17/10, Mark Thomas ma...@apache.org wrote: snip/ :-) Doesn't work, meaning I don't get prompted for my certificate. I see my servlet's output without any sort of authentication. What URL are you requesting? Only index.jsp will prompt for a cert. Your servlet will just require SSL to

Re: Trouble with CLIENT-CERT authentication method

2010-02-17 Thread Mark Thomas
On 18/02/2010 00:42, Kevin Mills wrote: On 2/17/10, Mark Thomas ma...@apache.org wrote: snip/ :-) Doesn't work, meaning I don't get prompted for my certificate. I see my servlet's output without any sort of authentication. What URL are you requesting? Only index.jsp will prompt for a cert.

Re: Trouble with CLIENT-CERT authentication method

2010-02-17 Thread Kevin Mills
On 2/17/10, Mark Thomas ma...@apache.org wrote: The rules on how security constraints combine are in the Servlet spec. It can take a bit of time to get your head around it. To require a cert for your servlet too, one option would be: security-constraint

tomcat windows serivce and jconsole - solution

2010-02-17 Thread daniel steel
hi all, i have seen numerous questions asked on how to connect jconsole / jmap to a tomcat service on windows. And most of the solutions involve,in setting up jmx remort port setting etc.. and then connecting to tomcat service using jconsole remotely. Here is an alternate solution without