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 a
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 r
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
---
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
"Luciana Moreira Sa de Souza Signed by - PrivaSphere AG"
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 their self-sign
2009/11/12 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
>
>
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 in
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 w
-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 Filte
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.
>
>
-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 g
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 toke
-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
-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
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 inte
-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 t
-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 outpu
-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 .
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
> Fr
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 <
chuck.ca
> 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, giv
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
told
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
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
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
user
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 mat
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 JV
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 the
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
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
> 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
> 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. Not
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 memory
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.
Yes
> -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
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 3:0
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
DJ
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
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 h
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 as
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-
Fro
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, i
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 modu
>
>
> 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-weba
> 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:
http://old.nabble.com/A-question-about-mod_jk-1.2.28-c
>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 chan
-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 sho
> 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]
On 11/11/2009 13:23, maven apache wrote:
2009/11/11 Christopher Schultz 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 sorry to ask this problem a
2009/11/11 Christopher Schultz
> -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 pages,also I go to th
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 wrote:
> Using a filter, it should be fairly easy to w
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 f
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 fir
Using a filter, it should be fairly easy to write something like that.
2009/11/11 Christopher Schultz
> -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 "core" sort
> of
> > d
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:
> --
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 appli
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
> ser
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.
org.apa
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 t
> 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)
> ftc.budget.servlet.BudgetJspPage.service(
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
61 matches
Mail list logo