pramodpm wrote:
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.
No. The page probably contains Unicode characters, all encoded in the
UTF-8 encoding.
i want to close a connection if i don't get response back in specific time
(let say in 30 sec) . is there any setting in tomcat for this purpose.
please need an urgent help
Thanks in advance.
-Vichi
--
View this message in context:
vichi wrote:
i want to close a connection if i don't get response back in specific time
(let say in 30 sec) . is there any setting in tomcat for this purpose.
please need an urgent help
It might help if you explained what connection, to what.
And as long as you are doing that, some information
We are getting following error:
java.io.CharConversionException: Not an ISO 8859-1 character: EFBF83.
It is not just 83. Sorry I missed those last time.
We are working with java6. If I use tomcat 5.5.23 it is working... But we
would like to use the tomcat 6.
awarnier wrote:
pramodpm
Hello to everyone,
I'm trying to install the windows distribution (version 6.0.20) on a
windows 2003 server 64 bit machine.
I've installed with no problems even if I didn't find a version of
tomcat which explicitly states which is for 64 bit machines.
The problem that I'm having is that when I
i want to close a connection if i don't get response back in specific time
(let say in 30 sec) . is there any setting in tomcat for this purpose.
Test case: I deployed a servlet in my stand alone tomcat. that servlet has
thread.sleep(5) code in it. i want that if a user send a request and
2009/11/12 pramodpm pramod_me...@satyam.com:
We are getting following error:
java.io.CharConversionException: Not an ISO 8859-1 character: EFBF83.
It is not just 83. Sorry I missed those last time.
We are working with java6. If I use tomcat 5.5.23 it is working... But we
would like to use
Thanks for the help Christopher, I'm going to try and use your option to
bind things to the 127.0.0.1 in order to have a safe number of threads.
If anyone has other ideas I'm willing to try.
When I try this option I'm going to feedback to the mail list so the
answer is registered.
Thanks
Konstantin Kolinko wrote:
2009/11/12 pramodpm pramod_me...@satyam.com:
We are getting following error:
java.io.CharConversionException: Not an ISO 8859-1 character: EFBF83.
It is not just 83. Sorry I missed those last time.
We are working with java6. If I use tomcat 5.5.23 it is working...
Thomas can open an issue in Bugzilla, which helps us not forgetting it.
Topic: Socker read returns EAGAIN during long wait.
Regards,
Rainer
Where is 'Bugzilla'?
--
View this message in context:
Here are some timeout settings
http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html.
Can I ask, what brings you to such requirements. I consider it for
little bit unusual. So what is your case originally? If you tell us,
maybe another solution could be take.
Martin
2009/11/12
You can try forcing the JVM to start with UTF 8 using a JVM parameter.
-Dfile.encoding=UTF-8
Where you put it depends on how you start tomcat, I think JAVA_OPTS will do it.
This is quick and may work. You can also try to force the servlet
output stream to be in the encoding that you want from
John,
Just curious, but have you looked into existing token-based security mechanisms
such as LTPA (if you're predominantly an IBM shop) or SAML?
-Original Message-
From: John Morrison [mailto:morr...@gmail.com]
Sent: Wednesday, November 11, 2009 1:12 PM
To: users@tomcat.apache.org
Correct, at the moment there is no requirement to actually authenticate
the user. However, I've been told to ensure that, if the client wishes
(and pays) that the solution could be expanded to do so.
I may have missed something, but are you simply trying to ensure secondary
requests to web
thanks Martin for valuable help. In my project i m using embedded tomcat
server 5.5.23 and with http connector . my project is a middle ware
product. so using my product a customer can create his application. since my
product use embedded tomcat server so if a user send any request it comes
to
From: thomas2004 [mailto:thomas200...@yahoo.de]
Subject: Re: A question about mod_jk 1.2.28 configuration
Where is 'Bugzilla'?
Try the link from the Tomcat home page, cleverly hidden under the name Bug
Database.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
From: vichi [mailto:vichi...@gmail.com]
Subject: Re: Connection Timeout
does closing a connection will free http thread?
No; the thread does not return to the pool until the webapp logic is completed.
You'll need to have the webapp monitor itself.
- Chuck
THIS COMMUNICATION MAY CONTAIN
On Thu, November 12, 2009 1:49 pm, Joseph Morgan wrote:
Correct, at the moment there is no requirement to actually authenticate
the user. However, I've been told to ensure that, if the client wishes
(and pays) that the solution could be expanded to do so.
I may have missed something, but are
On Thu, November 12, 2009 1:49 pm, Joseph Morgan wrote:
Correct, at the moment there is no requirement to actually authenticate
the user. However, I've been told to ensure that, if the client wishes
(and pays) that the solution could be expanded to do so.
I may have missed something, but are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
On 11/11/2009 5:01 PM, John Morrison wrote:
I've not come across filters before - I'll look into them in more depth at
work tomorrow, however could you expound upon how you would envisage it
working?
The filter simply checks your
On Thu, November 12, 2009 1:33 pm, Joseph Morgan wrote:
John,
Just curious, but have you looked into existing token-based security
mechanisms such as LTPA (if you're predominantly an IBM shop) or SAML?
Hi Joseph
I haven't to be honest; this isn't a java shop. MS is 99% of what we use
but a
From: Sergio Arrighi [mailto:sergio.arri...@iminholding.com]
Subject: Installing Tomcat on Windows 2003 Server 64 bit
I'm trying to install the windows distribution (version 6.0.20) on a
windows 2003 server 64 bit machine.
If you're using a 64-bit JVM, replace the tomcat6.exe program in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
On 11/11/2009 5:29 PM, John Morrison wrote:
Correct, at the moment there is no requirement to actually authenticate
the user. However, I've been told to ensure that, if the client wishes
(and pays) that the solution could be expanded to do
And let me guess... the day a costly security breach occurs, they'll be
escorting you out???
-Original Message-
From: John Morrison [mailto:morr...@gmail.com]
Sent: Thursday, November 12, 2009 8:18 AM
To: users@tomcat.apache.org
Subject: RE: Token Security
On Thu, November 12, 2009
From: /U [mailto:uma...@comcast.net]
Subject: AprHttp11 Connector - unable to locate certificates
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream
(HttpsURLConnectionImpl.java:234)
at
org.jasig.cas.client.validation.AbstractCasProtocolUrlBasedTicketValidator.
SAML doesn't require JAVA, and is XML (a place where MS is strong)... but since
it is XML, can be handled well by Java
-Original Message-
From: John Morrison [mailto:morr...@gmail.com]
Sent: Thursday, November 12, 2009 8:18 AM
To: users@tomcat.apache.org
Subject: RE: Token Security
On
Nope. I've made it clear (and I've the email trail to prove) that I'm
doing this this way solely at the order of the powers that be.
On Thu, November 12, 2009 2:31 pm, Joseph Morgan wrote:
And let me guess... the day a costly security breach occurs, they'll be
escorting you out???
Thanks guys, I've got what I needed working. Most appreciated.
Regards,
John.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Ahh Mr. Morrison... you disappoint me! After the trial and as they're
walking you out, they'll be so nicely explaining to you how you should've
done more to protect the interests of the company
-Original Message-
From: John Morrison [mailto:morr...@gmail.com]
Sent: Thursday,
I am experiencing an odd issue using AJP13 to connect Apache up to Tomcat.
I've gotten it all setup and working for small pages, but I have a use case
where Tomcat serves a very large page 300KB. In this particular case, the
page does not load completely. Sections of the html are duplicated, and
Did I just hear... D--- the torpedos!
-Original Message-
From: John Morrison [mailto:morr...@gmail.com]
Sent: Thursday, November 12, 2009 9:04 AM
To: users@tomcat.apache.org
Subject: RE: Token Security
Thanks guys, I've got what I needed working. Most appreciated.
Regards,
John.
I change the workers.properties now as follow to make the things simple:
worker.worker_portfolio_son1.connection_pool_timeout=600
worker.worker_portfolio_son1.socket_keepalive=True
worker.worker_portfolio_son1.lbfactor=1
worker.worker_portfolio_son1.type=ajp13
The product manager has said do it that way
His boss has said do it that way
My boss's boss has said do it that way
And I've got the emails to prove it ;)
On Thu, November 12, 2009 3:08 pm, Joseph Morgan wrote:
Did I just hear... D--- the torpedos!
-Original Message-
From: John
log-message in mod_jk.log Continue:
[code]
[Thu Nov 12 16:08:15 2009] [9280:2537062720] [debug]
wc_maintain::jk_worker.c (339): Maintaining worker worker_portfolio_son1
[Thu Nov 12 16:08:15 2009] [9280:2537062720] [debug]
ajp_reset_endpoint::jk_ajp_common.c (743): (worker_portfolio_son1)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Simão,
On 11/12/2009 5:19 AM, Simão Fontes wrote:
Thanks for the help Christopher, I'm going to try and use your option to
bind things to the 127.0.0.1 in order to have a safe number of threads.
Yeah, I think that's a good idea (it was mine, after
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas,
On 11/12/2009 10:12 AM, thomas2004 wrote:
I issue a request from the client (browser) to the to generate the report.
On Jboss-log I can watch as follow:
2009-11-12 15:50:24,094 INFO [STDOUT] - 1. Get data -
2009-11-12
Another thought, the application works fine if I go to Tomcat directly via
port 8080.
--
View this message in context:
http://old.nabble.com/Apache-Tomcat-Connector-%28AJP13%29-is-corrupting-html-content-tp26320290p26320720.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
On 11/11/2009 8:33 PM, maven apache wrote:
Thanks for your attention.
Actually I did not modify the catalina.bat directly , I create a new bat
named debug.bat in the same directory, the content of the debug.bat is :
From: ndunn1979 [mailto:ndunn...@earthlink.net]
Subject: Apache Tomcat Connector (AJP13) is corrupting html content
I'm using Apache 2.2 with Tomcat 5.5 on a Windows XP box.
Exact httpd version?
Exact Tomcat version?
Exact mod_jk version?
JRE version?
- Chuck
THIS COMMUNICATION MAY
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
On 11/12/2009 10:07 AM, ndunn1979 wrote:
I am experiencing an odd issue using AJP13 to connect Apache up to Tomcat.
Which version of mod_jk are you using?
Where did you get your mod_jk binary?
What JVM are you using?
-
ndunn1979 wrote:
I am experiencing an odd issue using AJP13 to connect Apache up to Tomcat.
I've gotten it all setup and working for small pages, but I have a use case
where Tomcat serves a very large page 300KB.
...
Just so that you would not think that this is a common issue : I have a
thomas2004 wrote:
...
I cannot tell you what's wrong, but I can tell you that the log you show
below, shows that the JBoss response is a HTML document, not a PDF.
So maybe you have to revise some of your assumptions.
...
00 00 FF 00 00 00 00 00 00 00 00 00 - 0...
[Thu Nov 12
1) can any one elaborate me the functionality of methods
setServerSoTimeout(int ) and setSoTimeout(int ) of
org.apache.coyote.http11.Http11BaseProtocol class.
2) if i set setSoTimeout(2000 ) then will socket be closed after 2000
milliseconds.
I am using Tomcat 5.5.23 src for my embedded tomcat
thomas2004 wrote:
log-message in mod_jk.log Continue:
But it's still a HTML response, not a PDF.
[code]
[Thu Nov 12 16:08:15 2009] [9280:2537062720] [debug]
wc_maintain::jk_worker.c (339): Maintaining worker worker_portfolio_son1
[Thu Nov 12 16:08:15 2009] [9280:2537062720] [debug]
Hi,
I've been having a problem with the creation of these two files inside the
folder apache home/conf/Catalina/localhost/
I have a problem that may be rare, but it made tomcat to produce 52GB of
logging.
The files were created but there was no content, so every time tomcat tried
to read this
If I have a servlet which fails during init() for whatever reason -
the example below takes a null pointer
public class MyServlet extends HttpServlet
{
private static final long serialVersionUID = 7997991143724219371L;
@Override
public void destroy()
{
Apache HTTP Server/2.2.14
mod_jk/1.2.28
jdk 1.6.0_07-b06
Apache Tomcat/5.5.26
I got the binary for mod_jk from a mirror on the tomcat connectors download
page. The exact filename was
mirror/win32/jk-1.2.28/mod_jk-1.2.28-httpd-2.2.3.so
--
View this message in context:
vichi wrote:
1) can any one elaborate me the functionality of methods
setServerSoTimeout(int ) and setSoTimeout(int ) of
org.apache.coyote.http11.Http11BaseProtocol class.
2) if i set setSoTimeout(2000 ) then will socket be closed after 2000
milliseconds.
It depends. Timeouts only apply
Dan,
Pardon my advice, but... this sounds like a programming/config/illegal
state error that shouldn't make it to production.
Of course, you could simply add instrumentation to the system to detect
that this servlet didn't do its thing, and route every request to a
holding page.
Joe
Hey Mark, many many thanks for your crystal clear clarification for
setSoTimeout(int ). is same concept applies for setServerSoTimeout(int ) or
it there for some other purpose.
thanks,
-Vichi
Mark Thomas wrote:
vichi wrote:
1) can any one elaborate me the functionality of methods
I'll tell you what, if you can tell me how to prevent my users (who
have full control over the application / installation / hardware where
this is running) from being able to shoot themselves in the foot and
do something that causes my app to fail - I'll buy you a case of beer
and not worry about
Hi,
I am using Tomcat 6.0.20 and JDK 1.6. I am trying to find out if there is a
way to set cookie domain (to .mycompany.com) and cookie parameter name (from
jsessionid to abcjsessionid).
I created a setenv.bat with the following line to set the system property
for changing session cookie name
From a spec perspective, you're only guaranteed that the specific
servlet that throws an exception from its init method will be taken
out of service, not the entire app. One possibility might be to do the
system checks in a ServletContextListener and then have a Filter
operate on every request,
Dan Armbrust wrote:
I'll tell you what, if you can tell me how to prevent my users (who
have full control over the application / installation / hardware where
this is running) from being able to shoot themselves in the foot and
do something that causes my app to fail - I'll buy you a case of
I'll one up it to make it trivial ...
// put this in a filter mapped to everything
doFilter(...) {
if (servletContext.getAttribute(initFailed)) {
response.sendError(503);
return;
}
chain.doFilter(request,response);
}
// and put this in any servlet or listerer
} catch(Throwable e)
On 12.11.2009 16:07, ndunn1979 wrote:
I am experiencing an odd issue using AJP13 to connect Apache up to Tomcat.
I've gotten it all setup and working for small pages, but I have a use case
where Tomcat serves a very large page 300KB. In this particular case, the
page does not load
Thanks for all the tips. I'll have to put something together with a filter.
Just wanted to make sure there wasn't an easier way that I was missing.
Dan
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For
OK... now you're asking for miracles! You need to write
us...@miracleworkers.com har de har!
-Original Message-
From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
Sent: Thursday, November 12, 2009 12:08 PM
To: Tomcat Users List
Subject: Re: How to cancel a servlet startup?
I'm webfacing some 5250 applications utilizing WDSC 7.0 and when I attempt
to test a project, the Apache web server throws the Java exception:
java.lang.NoClassDefFoundError: org/apache/xerces/parsers/DOMParser
i believe it is a classpath issue, but i'm not sure where to modify that for
the test
see http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
for classpath guidelance, and section
XML Parsers and J2SE 1.4
Martin
2009/11/12 John McCleskey jmccleske...@gmail.com:
I'm webfacing some 5250 applications utilizing WDSC 7.0 and when I attempt
to test a project, the Apache
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vijay,
On 11/12/2009 1:24 PM, Vijay Narayanan wrote:
However, I am not able to figure out how to set the domain name to a custom
value (e.g. .mycompany.com).
A quick look through the 6.0.20 source code seems to indicate that
Tomcat does not set
Hi,
I sent this message to the tomcat dev mailing list a couple weeks ago and
received no response. So perhaps that was the wrong list. Can a tomcat
committer take a look at my message and reply, please?
Cheers,
Michael
-- Forwarded message --
Date: Wed, 28 Oct 2009
Rainer Jung-3 wrote:
Does it happen every time for that page? Or is it at least easily
reproducible for you? Does the load not completely always stop at the
same position? If yes, which byte offset?
Thos questions help us decide, how easily we will be able to attack the
prpblem.
The
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dan,
On 11/12/2009 11:47 AM, Dan Armbrust wrote:
How can I make tomcat cancel the deployment of the entire war file
that this servlet was distributed with?
By the time the servlets are started, the context (webapp) has already
started up, though
On 12.11.2009 23:35, ndunn1979 wrote:
Rainer Jung-3 wrote:
Does it happen every time for that page? Or is it at least easily
reproducible for you? Does the load not completely always stop at the
same position? If yes, which byte offset?
Thos questions help us decide, how easily we will
Are you sure it says Tomcat6 and not Tomcat6w?
Here is what's probably happening:
Windows is trying to launch the Tomcat6w.exe (aka the Tomcat Monitor
system tray object) because it's in the Run section of the registry.
Since this tool allows changes to the registry, Windows probably
requires
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
Subject: RE: Error - Unable to open the service 'Tomcat6' on Windows
2003
Are you sure it says Tomcat6 and not Tomcat6w?
The message should say Tomcat6 - that's the name of the service that the
unprivileged tomcat6w.exe program is
Thanks a lot for these suggestions Chris. We are not using single sign-on. I
will explore the Valve option you have suggested.
thanks!
Vijay
On Thu, Nov 12, 2009 at 5:24 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vijay,
On
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rainer,
On 11/12/2009 6:10 PM, Rainer Jung wrote:
The 8184 refers to the AJP default max packet size of 8KB minus some
protocol overhead. So if a bug response is send, you will see lots of
thosse 8184, which are simply fully sized AJP packets.
2009/11/12 Christopher Schultz ch...@christopherschultz.net
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
On 11/11/2009 8:33 PM, maven apache wrote:
Thanks for your attention.
Actually I did not modify the catalina.bat directly , I create a new bat
named
Hi Guys,
I am using tomcat v6 (binary distribution), tomcat working fine here I would
like to find tomcat service name, When I try to find through taskmanager it
will not showing anything related to tomcat but it showing only java.exe,
please let me know how to find corresponding tomcat service
The Content-Type is text/html. What does the content actually look like?
Is it an error message or something?
If the browser is showing nothing, you may want to use an HTTP protocol
sniffer to see what the content is (although mod_jk appears to be
dumping the full data into the log file, so you
72 matches
Mail list logo