>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
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
2009/11/12 Christopher Schultz
> -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 d
-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. A
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,
>
> 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
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 A
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
-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
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.
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 11:53:
-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 t
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 :
> I'm webfacing some 5250 applications utilizing WDSC 7.0 and when I attempt
> to test a project, the Apache web server throws the
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 w
> From: Goldsmith, Neil J. (Neil) [mailto:ne...@avaya.com]
> Subject: Memory, handles and threads increasing in Tomcat 5.5
>
> We are using perf mon to keep an eye on various counters in Tomcat.
Probably a waste of time. Use a Java profiler to see what's really going on.
> We find after about 8
If you say load is constant, seems to me that threads are stuck for
some reason and tomcat create chunk of another. Thread dumps can
provide answer to what are stucked threads waiting for.
Thread dumps can be taken for example with jconsole, which is part of jdk.
Martin
2009/11/12 Goldsmith, N
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?
Dan... Similar to what they are saying, but why don't you have a system
script that will shut down that particular app if the startup fails...
that is. When the startup fails, have it fire off the system script
that shuts down the context?
Or, does it fail so catastrophically that you have no c
We are using Tomcat 5.5 to run high load through our servlets for about
24 hours. The tests run a constant load and repeat the same set of
tests over and over. We are using perf mon to keep an eye on various
counters in Tomcat.
We find after about 8 hours, we see this huge jump in thread coun
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 additiona
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 compl
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)
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 o
>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, in
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 (bas
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 t
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
>> se
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
-Orig
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
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
"/win32/jk-1.2.28/mod_jk-1.2.28-httpd-2.2.3.so"
--
View this message in context:
http://old.nabble.com/Apache-
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()
{
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 s
Hi,
I've been having a problem with the creation of these two files inside the
folder /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 file it threw a
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]
ajp_reset
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 15:50
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
coup
-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?
- -chr
> 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
-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 :
> ---
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
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 15:56
-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, afte
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) resettin
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
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
worker.worker_portfolio_son1.port=80
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 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
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
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
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???
>
> -Or
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 T
> 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.
> retr
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 1:33
-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 d
> 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
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
-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 requirem
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
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
> 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 CONT
> 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 P
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
>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 pa
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
Subj
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 your
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 vich
> 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:
http://old.nabble.com/A-question-about-mod_jk-1.2.28-configuration-tp2626406
Konstantin Kolinko wrote:
2009/11/12 pramodpm :
We are getting following error:
java.io.CharConversionException: Not an ISO 8859-1 character: <83>.
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 t
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 for
2009/11/12 pramodpm :
>
> We are getting following error:
> java.io.CharConversionException: Not an ISO 8859-1 character: <83>.
> 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.
>
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 h
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
We are getting following error:
java.io.CharConversionException: Not an ISO 8859-1 character: <83>.
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 wrot
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
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:
http://old.nabble.com/connection-Timeout-tp26315070p26315070.ht
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. W
76 matches
Mail list logo