PLEASE HELP ME!!!

2009-11-11 Thread AChudesnikov
After autorization on http server occure this problem. What's happened, who know? Please help me. HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. org.apache.jasper.JasperException: null

Re: PLEASE HELP ME!!!

2009-11-11 Thread Konstantin Kolinko
root cause java.lang.NumberFormatException: null                 java.lang.Integer.parseInt(Unknown Source)                 java.lang.Integer.parseInt(Unknown Source) org.apache.jsp.check_005fenter_jsp._jspService(check_005fenter_jsp.java:61)  

Re: Comet response is set to empty HTTP 200 reply by the framework problem

2009-11-11 Thread georgi danov
Hi, After some late night debugging yesterday I got it stable. The magic spell was to put event.getHttpServletRequest().setAttribute(org.apache.tomcat.comet.support , Boolean.TRUE); in my BEGIN event handler. After that I had to follow the advice to put the event.close() in

Re: PLEASE HELP ME!!!

2009-11-11 Thread André Warnier
achudesni...@btabank.ru wrote: After autorization on http server occure this problem. What's happened, who know? Please help me. HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request.

Re: [OT] WebappClassLoader and undeploy

2009-11-11 Thread Mark Thomas
Elli Albek wrote: Sorry Mark. Well this class loading scheme (context class loader - static variable) sounds little like a bug. Indeed. Thanks for that startup class. I think it will solve a problem that we have (using imageio). So you just add it as high up as possible in the server.xml

Re: Identifying Clients via SSL Certificates

2009-11-11 Thread Nilesh Patil
Hi.. Form Last few days Even I am also working on SSL Implementation. I am Using Jboss 5.1.0 GA. I had implemented server certificate but i dont knwo how to implement Client / Server Mutual Authentication. Do U work On that part ? can u help me .? another Issue I have is I can access my

Re: Secure login only, not rest of app

2009-11-11 Thread Robert Denison
Thanks everyone for your help, I'll take a look at this and then let everyone know how I get on. Christopher, thanks for your patient reply, sorry I missed your earlier post, I guess my googling skills aren't what I think they are! R. On 10 Nov 2009, at 20:26, Christopher Schultz wrote:

Re: tomcat: bandwidth limiter / transfer rate limit ?

2009-11-11 Thread pieroxy
Using a filter, it should be fairly easy to write something like that. 2009/11/11 Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cae, On 11/10/2009 6:36 PM, Cae Fernandes wrote: I wanna do a per-user basis transfer rate limit. My business

Re: tomcat 5.5.25 - Multiple Connectors and performance lost

2009-11-11 Thread Simão Fontes
Hello again, The 2 applications being used serve different purposes, one presents a terms search in a index, the other application is meant to show archived pages, similar to what happens in internet archive (internetarchive.org). For the second application to work is needs to contact the

Re: PLEASE HELP ME!!!

2009-11-11 Thread Pid
On 11/11/2009 08:57, André Warnier wrote: achudesni...@btabank.ru wrote: After autorization on http server occure this problem. What's happened, who know? Please help me. HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it

Re: tomcat: bandwidth limiter / transfer rate limit ?

2009-11-11 Thread Cae Fernandes
I wonder if Comet would be of any help. I don't have any experience with that. A filter/servlet solution would be easy to implement, but I'm afraid it could hurt performance to be sleeping threads .. On Wed, Nov 11, 2009 at 8:11 AM, pieroxy pier...@gmail.com wrote: Using a filter, it should be

Re: remote debug

2009-11-11 Thread maven apache
2009/11/11 Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 11/10/2009 2:18 AM, maven apache wrote: hi: I am so sorry to ask this problem again but I do can not make it work. I have seen the faq, and the doc

Re: remote debug

2009-11-11 Thread Pid
On 11/11/2009 13:23, maven apache wrote: 2009/11/11 Christopher Schultz ch...@christopherschultz.net mailto:ch...@christopherschultz.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 11/10/2009 2:18 AM, maven apache wrote: hi: I am so

Re: A question about mod_jk 1.2.28 configuration

2009-11-11 Thread thomas2004
Is the log message the same when running without socket_timeout? Without socket_timeout the log message looks as follow: [code] [Wed Nov 11 14:25:13 2009] [1976:2537062720] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong [Wed Nov 11 14:25:15 2009] [1976:2537062720]

Re: Hand Authentication to Apache

2009-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan, On 11/11/2009 2:43 AM, Ivan Eulaers wrote: Tomcat 6 has been installed by my hosting provider, and I don't know how it is connected to Apache. That's going to be a problem: it looks like they mapped more URI patterns to Tomcat than they

Re: A question about mod_jk 1.2.28 configuration

2009-11-11 Thread thomas2004
20-40 minutes is an unreasonable amount of time to wait for an HTTP request to complete. I recommend changing your architecture so that HTTP requests don't have to take so long. Surely is a good idea. But the situation is we just host the application for our customer who will do not want to

Re: A question about mod_jk 1.2.28 configuration

2009-11-11 Thread thomas2004
Without socket_timeout the log message looks as follow: [code] [Wed Nov 11 14:25:13 2009] [1976:2537062720] [info] ajp_handle_cping_cpong::jk_ajp_common.c Please ignog my post. The log message is wrong. -- View this message in context:

Re: remote debug

2009-11-11 Thread maven apache
Please read the following: http://catb.org/~esr/faqs/smart-questions.html Fine , I organized the problem I asked again: 1 related to maven. My project is created by eclipse IDE(through the m2eclipse), and managed by maven. It contains three modules: module MT-server, MT-io and MT-webapps.

Re: remote debug

2009-11-11 Thread Pid
On 11/11/2009 14:52, maven apache wrote: Please read the following: http://catb.org/~esr/faqs/smart-questions.html Fine , I organized the problem I asked again: 1 related to maven. My project is created by eclipse IDE(through the m2eclipse), and managed by maven. It contains three

How to set up tomcat and truststore

2009-11-11 Thread Luciana Moreira Sa de Souza Signed by - PrivaSphere AG
Hello, In the platform I am currently working on, we have to set up tomcat to require client certificate authentication. The main difference from the standard settings as described in (http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html) is that we wish to accept any client certificates,

RE: How to set up tomcat and truststore

2009-11-11 Thread Jorge Medina
Doesn't accepting any certificate defeats the purpose of authentication? If you want to accept any certificate, then you are not doing any authentication. If you have written your own Realm, then do the verification on your realm against your dynamic truststore. -Original Message-

Re: How to set up tomcat and truststore

2009-11-11 Thread Luciana Moreira Sa de Souza Signed by - PrivaSphere AG
Hi Jorge, thx for your quick reply. Maybe I did not explain my problem well enough, so let me elaborate it a bit more. In our platform clients can upload their self-signed certificates to allow them to login to our platform. If we add all client certificates to the static truststore file

Tomcat: two context path for one webapp

2009-11-11 Thread AlbundySzabolcs
Hi, I have been trying to solve a problem, but I have not found any good solution yet. The problem is: I have a web app and this web app is deployed to the $TOMCAT_HOME/webapps/XXX directory. I can reach that on the http://localhost:8080/XXX address BUT, I would like to reach the web app on the

Re: tomcat: bandwidth limiter / transfer rate limit ?

2009-11-11 Thread pieroxy
There is no reason it would hurt performance (and why are you mentioning sleeping threads?). In any case, you need to count the number of bytes transferred, and the filter would do just that. Then you probably need to persists this information along with the logged in user somewhere. These tasks

Re: Tomcat: two context path for one webapp

2009-11-11 Thread Donn Aiken
By any chance, do you have an Apache httpd server in front of this tomcat instance? The first solution that comes to my mind is using mod_rewrite with some rewrite rules on the httpd server so that the web browser client sees http://localhost:8080/YYY but it is really http://localhost:8080/XXX

Re: tomcat: bandwidth limiter / transfer rate limit ?

2009-11-11 Thread Cae Fernandes
Well, It's not about counting the bytes, but making the connection slower. Like, if I would output only a certain amount of bytes per second, i'd have to output them and make the thread sleep for a certain amount of miliseconds.That's why I mentiojned sleeping threads. On Wed, Nov 11, 2009 at

RE: tomcat: bandwidth limiter / transfer rate limit ?

2009-11-11 Thread George Sexton
-Original Message- From: Cae Fernandes [mailto:rag...@gmail.com] Sent: Wednesday, November 11, 2009 10:38 AM To: Tomcat Users List Subject: Re: tomcat: bandwidth limiter / transfer rate limit ? Well, It's not about counting the bytes, but making the connection slower. Like,

Re: tomcat: bandwidth limiter / transfer rate limit ?

2009-11-11 Thread André Warnier
Cae Fernandes wrote: Well, It's not about counting the bytes, but making the connection slower. Like, if I would output only a certain amount of bytes per second, i'd have to output them and make the thread sleep for a certain amount of miliseconds.That's why I mentiojned sleeping threads.

32-bit service on 64-bit windows?

2009-11-11 Thread David kerber
Can I install a 32-bit jvm and create a tc 5.5.28 service on win 2008 64-bit server? Or do I need a 64-bit jvm to do that? Or do I need TC 6.0.x? If I need tc6, which jvm is needed? Or will either work? My app doesn't stretch the memory limits of the 32-bit, let alone needing 64-bit

RE: 32-bit service on 64-bit windows?

2009-11-11 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: 32-bit service on 64-bit windows? Can I install a 32-bit jvm and create a tc 5.5.28 service on win 2008 64-bit server? Yes. The mode of the service wrapper must match the mode of the JVM to be used, not the mode of the OS. Note

RE: Tomcat: two context path for one webapp

2009-11-11 Thread Caldarale, Charles R
From: AlbundySzabolcs [mailto:albundyalbu...@freemail.hu] Subject: Tomcat: two context path for one webapp I have a web app and this web app is deployed to the $TOMCAT_HOME/webapps/XXX directory. I can reach that on the http://localhost:8080/XXX address BUT, I would like to reach the web

Token Security

2009-11-11 Thread John Morrison
Hi, I've been asked to put some security in place for a website, at the moment there are two requirements with a possible extension; 1) The referer must be XXX (configurable) 2) There must be a token passed either GET or POST in the URL which matches some internally generated code. The possible

Re: 32-bit service on 64-bit windows?

2009-11-11 Thread André Warnier
David kerber wrote: Can I install a 32-bit jvm and create a tc 5.5.28 service on win 2008 64-bit server? Or do I need a 64-bit jvm to do that? Or do I need TC 6.0.x? If I need tc6, which jvm is needed? Or will either work? My app doesn't stretch the memory limits of the 32-bit, let alone

Re: 32-bit service on 64-bit windows?

2009-11-11 Thread André Warnier
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: 32-bit service on 64-bit windows? Can I install a 32-bit jvm and create a tc 5.5.28 service on win 2008 64-bit server? Yes. The mode of the service wrapper must match the mode of the JVM to be used, not

Re: 32-bit service on 64-bit windows?

2009-11-11 Thread David kerber
André Warnier wrote: Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: 32-bit service on 64-bit windows? Can I install a 32-bit jvm and create a tc 5.5.28 service on win 2008 64-bit server? Yes. The mode of the service wrapper must match the mode of the

Re: 32-bit service on 64-bit windows?

2009-11-11 Thread André Warnier
David kerber wrote: André Warnier wrote: Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: 32-bit service on 64-bit windows? Can I install a 32-bit jvm and create a tc 5.5.28 service on win 2008 64-bit server? Yes. The mode of the service wrapper must

Error - Unable to open the service 'Tomcat6' on Windows 2003

2009-11-11 Thread bhavik shah
Hi, I have installed the Tomcat 6.0.20 on windows 2003 server. Which runs as local system account. Tomcat services run fine. Different user group login to that windows server for different purpose via Remote Desktop. If a user who is not administrator on the box login via Remote Desktop - The

RE: 32-bit service on 64-bit windows?

2009-11-11 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: 32-bit service on 64-bit windows? So, is it true, can one run 32-bit programs on 64-bit Windows ? Yes, you've always been able to run 32-bit programs on x86-64 versions of Windows. (The older and deservedly maligned IA64 versions of

Re: 32-bit service on 64-bit windows?

2009-11-11 Thread Mladen Turk
On 11/11/09 20:27, André Warnier wrote: David kerber wrote: - 32-bit .exe programs seem not to run under 64-bit Windows, and vice-versa 64-bit .exe programs not to run under 32-bit Windows. Not true. Like Charles said, tomcat6.exe must match the JVM Even more tomcat6w.exe is always 32 bit

Re: [OT] ConnectionPool question

2009-11-11 Thread Josh Gooding
Chris, I AM going to use Elli's suggestion. It's going to take some time, but I don't have to worry, once it's done, it'll be done correctly. Not only did I get yelled at for having the audacity to write up procedures for the developers on my team (assuming I ever get a another team), but I

RE: [OT] ConnectionPool question

2009-11-11 Thread Caldarale, Charles R
From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Re: [OT] ConnectionPool question Not only did I get yelled at for having the audacity to write up procedures for the developers on my team But we've always done it that way... A long habit of not thinking a thing wrong, gives it a

Re: [OT] ConnectionPool question

2009-11-11 Thread Josh Gooding
Yup, No wonder my shop is in so much trouble. No procedures, no brainstorming, no project management, no best practices, just a shoot from the hip, Git-R-Done attitude. I liked that so much it's now hanging in my cube :) - Josh On Wed, Nov 11, 2009 at 3:33 PM, Caldarale, Charles R

RE: [OT] ConnectionPool question

2009-11-11 Thread Propes, Barry L
That's good stuff, Chuck - and sadly, so prevalent among many places as the thought process. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, November 11, 2009 2:34 PM To: Tomcat Users List Subject: RE: [OT] ConnectionPool question

Re: tomcat: bandwidth limiter / transfer rate limit ?

2009-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pieroxy, On 11/11/2009 12:04 PM, pieroxy wrote: There is no reason it would hurt performance (and why are you mentioning sleeping threads?). Well, if bytes are available for sending faster than the bandwidth-limiter is willing to go, then.. you

Re: tomcat: bandwidth limiter / transfer rate limit ?

2009-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 11/11/2009 1:43 PM, André Warnier wrote: Cae Fernandes wrote: Well, It's not about counting the bytes, but making the connection slower. Like, if I would output only a certain amount of bytes per second, i'd have to output them and

Re: remote debug

2009-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 11/11/2009 9:52 AM, maven apache wrote: So I start to config remot debug in tomcat . How do you start Tomcat? Using bin\startup.bat? After modify the catalina.bat Okay, you are using bin\startup.bat, then? You ought to

Re: Token Security

2009-11-11 Thread Mark Thomas
John Morrison wrote: Hi, I've been asked to put some security in place for a website, at the moment there are two requirements with a possible extension; 1) The referer must be XXX (configurable) 2) There must be a token passed either GET or POST in the URL which matches some internally

Re: A question about mod_jk 1.2.28 configuration

2009-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 11/11/2009 9:45 AM, thomas2004 wrote: 20-40 minutes is an unreasonable amount of time to wait for an HTTP request to complete. I recommend changing your architecture so that HTTP requests don't have to take so long. Surely is a

Re: tomcat 5.5.25 - Multiple Connectors and performance lost

2009-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simão, On 11/11/2009 6:42 AM, Simão Fontes wrote: The 2 applications being used serve different purposes, one presents a terms search in a index, the other application is meant to show archived pages, similar to what happens in internet archive

Re: Token Security

2009-11-11 Thread John Morrison
On Wed, November 11, 2009 9:51 pm, Mark Thomas wrote: John Morrison wrote: Hi, I've been asked to put some security in place for a website, at the moment there are two requirements with a possible extension; 1) The referer must be XXX (configurable) 2) There must be a token passed either

Re: Secure login only, not rest of app

2009-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, On 11/11/2009 4:23 AM, Robert Denison wrote: Thanks everyone for your help, I'll take a look at this and then let everyone know how I get on. Christopher, thanks for your patient reply, sorry I missed your earlier post, I guess my

Re: A question about mod_jk 1.2.28 configuration

2009-11-11 Thread Rainer Jung
On 11.11.2009 22:53, Christopher Schultz wrote: Thomas, On 11/11/2009 9:45 AM, thomas2004 wrote: 20-40 minutes is an unreasonable amount of time to wait for an HTTP request to complete. I recommend changing your architecture so that HTTP requests don't have to take so long. Surely is a

Re: Token Security

2009-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 11/11/2009 2:11 PM, John Morrison wrote: 1) The referer must be XXX (configurable) 2) There must be a token passed either GET or POST in the URL which matches some internally generated code. I agree with Mark: a relatively simple Filter

Re: Token Security

2009-11-11 Thread John Morrison
Hi Christopher, On Wed, November 11, 2009 10:07 pm, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 11/11/2009 2:11 PM, John Morrison wrote: 1) The referer must be XXX (configurable) 2) There must be a token passed either GET or POST in the URL which

AprHttp11 Connector - unable to locate certificates

2009-11-11 Thread /U
I am unable to get APR connector working. I have build Apr, configured the conenctor, generated certificates, updated the environment (LD_LIBRARY_PATH) and it cannot find the certificates when an authentication is required. I have supplied all the relevant details below. I would appreciate any

Re: remote debug

2009-11-11 Thread maven apache
2009/11/12 Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 11/11/2009 9:52 AM, maven apache wrote: So I start to config remot debug in tomcat . How do you start Tomcat? Using bin\startup.bat? After modify the

Re: How to set up tomcat and truststore

2009-11-11 Thread Bill Barker
Luciana Moreira Sa de Souza Signed by - PrivaSphere AG s...@privasphere.com wrote in message news:4afaead4.30...@privasphere.com... Hi Jorge, thx for your quick reply. Maybe I did not explain my problem well enough, so let me elaborate it a bit more. In our platform clients can upload

Re: [OT] WebappClassLoader and undeploy

2009-11-11 Thread Elli Albek
Tomcat 5.5 version + log message when executed: /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to

Tomcat 6 encoding issue

2009-11-11 Thread pramodpm
We are facing an encoding issue in apache-tomcat-6.0.20. This is working in tomcat 5.5.23. We are trying to make a get request to external site. The page contains some utf-8 characters. When we access the page from the application we are getting the following error. Can you please help us to

Re: [OT] WebappClassLoader and undeploy

2009-11-11 Thread Elli Albek
Actually Mark can you take a quick look at the class I sent and see if it makes sense. I swapped juli with commons logging (which is in bin) but now I am not sure this is necessary, this library may already be loaded regardless of this filter. E

Re: Tomcat 6 encoding issue

2009-11-11 Thread Elli Albek
Which library are you using to get the external page? java.net? HttpClient? What do you do with the page that you download? It looks from the exception that you are writing it to the servlet IO, is that the case? Are both of your tomcats running on the same JVM version? E On Wed, Nov 11, 2009