That sounds like you looked at ps or similar output, not a thread dump. Take
an actual JVM thread dump and see where the worker threads are during the
busy periods.
Wrong, to identify the thread in question I looked with Sysinternals Process
Explorer which thread ID caused the 100% CPU.
Adrián Córdoba wrote:
Well...
1- I delete the Directory section from httpd.conf file.
2- I add JkMount /Andromeda worker1 to the virtual host.
3- I add dynamic content to index.jsp page
So I proved the content is served by Tomcat. But I have the same problem: I
cannot view the content of
Oh my, I got confused now :)
So, if we dont need JDK; why cannt I start the server w/o having specified
exactly a path to JDK. With only JRE_HOME specified it doesnt start.
So, is it only good to have JDK_HOME, or it is a must ?
--- Konstantin Kolinko knst.koli...@gmail.com schrieb am Do,
2011/7/22 Bobi St temporaryb...@yahoo.de:
Oh my, I got confused now :)
So, if we dont need JDK; why cannt I start the server w/o having specified
exactly a path to JDK. With only JRE_HOME specified it doesnt start.
Probably you are doing something wrong.
Google for smart questions.
Best
:)
Well, whats wrong, not to specify JDK_HOME if its not needed ?!?
or whats wrong in specifying JRE_HOME to jre6 ?!?
--- Konstantin Kolinko knst.koli...@gmail.com schrieb am Fr, 22.7.2011:
Von: Konstantin Kolinko knst.koli...@gmail.com
Betreff: Re: Tomcat 7: Why is JDK needed ?
An: Tomcat Users
Sorry for the late reply. I took a break from this for a day or so.
I can confirm that Tomcat handles .jsp pages correctly -
http://www.douglasmcgregor.co.uk:8080/examples works fine.
However, when I try http://www.douglasmcgregor.co.uk:8080/HelloWorld.jsp I
get HTTP Status 404 from Tomcat.
Bobi,
What Konstantin is suggesting, is if you want to get your question
answered, you *really* need to describe your problem in detail.
Which OS, JRE and Tomcat version are you using, which Tomcat
distribution (installer or .zip), how are your environment variables
set, how do you try to
Hi.
No time now to look at it in detail, but I spotted something in your earlier
post :
#example uriworkermap.properties fragment
/examples/*=worker1
.jsp=worker1
It should be :
*.jsp=worker1
according to :
http://tomcat.apache.org/connectors-doc/reference/uriworkermap.html
section URI
I spotted that myself and fixed it, but it's still the same result.
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: 22 July 2011 12:27
To: Tomcat Users List
Subject: Re: Tomcat 7, isapi_redirect, IIS 7 - blank page
Hi.
No time now to look at it in detail, but I
On 07/22/2011 12:42 PM, Douglas McGregor wrote:
Sorry for the late reply. I took a break from this for a day or so.
I can confirm that Tomcat handles .jsp pages correctly -
http://www.douglasmcgregor.co.uk:8080/examples works fine.
However, when I try
Hallo,
sorry, I thought the settings I was asking for, are valid for all OS.
So, I'm talking about Tomcat 7. According to some description, it doesn't need
JDK anymore. For this reason under Windows (7) I didn't set it at the beginning
(neither did I install it), so the error came: no JDK nor
Igor:
mod_jk log file is configured, but nothing relevant is loged.
Thank you.
--
[Adrián Córdoba]
2011/7/21 Igor Cicimov icici...@gmail.com
Configure a mod_jk log file and see whats going on there
On Jul 22, 2011 10:37 AM, Adrián Córdoba adr.cord...@gmail.com wrote:
Well...
1- I
André:
1- So how come the requests are made to the host localhost ?
I think this is so, because VirtualHost *:80.
2- Is this the one and only VirtualHost in Apache ?
This is the only virtual host.
Best regards
--
[Adrián Córdoba]
2011/7/22 André Warnier a...@ice-sa.com
Adrián Córdoba
Douglas McGregor wrote:
Sorry for the late reply. I took a break from this for a day or so.
I can confirm that Tomcat handles .jsp pages correctly -
http://www.douglasmcgregor.co.uk:8080/examples works fine.
However, when I try http://www.douglasmcgregor.co.uk:8080/HelloWorld.jsp I
get HTTP
Adrián Córdoba wrote:
André:
1- So how come the requests are made to the host localhost ?
I think this is so, because VirtualHost *:80.
2- Is this the one and only VirtualHost in Apache ?
This is the only virtual host.
How do you enter a URL in the browser, to access this ?
(paste an
Darius D. wrote:
Does Tomcat APR really needs pollTime set so low by default? I thought
timeout is meant for some sort of book keeping, where is all connections
in FD set are idle, no events come for timeout period - you force
timeout and do bookkeeping - on a busy system you will get
André:
This is in my URL bar of Chrome or Firefox:
http://localhost/Andromeda
Thank you.
--
[Adrián Córdoba]
2011/7/22 André Warnier a...@ice-sa.com
Adrián Córdoba wrote:
André:
1- So how come the requests are made to the host localhost ?
I think this is so, because
2011/7/22 Bobi St temporaryb...@yahoo.de:
sorry, I thought the settings I was asking for, are valid for all OS.
So, I'm talking about Tomcat 7. According to some description, it doesn't
need JDK anymore. For this reason under Windows (7) I didn't set it at the
beginning (neither did I
I have experienced similar issues to the OP in the past, and just tried
again now and still hit them. I can't bear to watch this thread amble along
any longer, so I will try to rephrase the question for the OP as he seems
unwilling or unable to do so
Windows 7
Tomcat 7.0.19
java -version
java
On 22/07/2011 14:06, chris derham wrote:
I have experienced similar issues to the OP in the past, and just tried
again now and still hit them. I can't bear to watch this thread amble along
any longer, so I will try to rephrase the question for the OP as he seems
unwilling or unable to do so
Bobi,
You are doing something wrong, but your sparse explanations make it
difficult to determine what.
Here is example how to run Tomcat just with JRE:
C:\apps\apache-tomcat-7.0.11\binset JRE_HOME=
C:\apps\apache-tomcat-7.0.11\binset JAVA_HOME=
Adrián Córdoba wrote:
André:
This is in my URL bar of Chrome or Firefox:
http://localhost/Andromeda
Ok. That, *and* the fact that you have a single VirtualHost, explains why it works, and
explains the log entries.
But it works *only* because you have a single VirtualHost, and in Apache
Ok.
Thank you.
--
[Adrián Córdoba]
2011/7/22 André Warnier a...@ice-sa.com
Adrián Córdoba wrote:
André:
This is in my URL bar of Chrome or Firefox:
http://localhost/Andromeda
Ok. That, *and* the fact that you have a single VirtualHost, explains why
it works, and explains the log
Before I copy and paste any configs (such as httpd.conf and httpd-ssl.conf),
let me throw this out there and see if you guys can at least point me in the
right direction.
Environment
===
Apache 2.2.19, installed with mod_jk (latest connector) and mod_ssl (enabled
with Apache's
If I type http://localhost;, I get the expected It works! Apache page.
Cool.
Apache works on port 80
If I type https://localhost;, I get the expected It works! Apache page.
Cool.
Apache works on port 443
If I type http://localhost/myWebApp;, I get the expected result of my web
app
Is there anyone on the list who can help me unsubscribe?
I have clicked on the web site and received an email but when I reply as per
instructions it cannot be delivered.
_
From: Microsoft Outlook
Sent: Thursday, July 21, 2011 4:26 PM
To: Mikie
Spam protection does not like your email.
1. Send it in plain text, not HTML
2. Include some text in it! Empty messages are rejected.
3. If nothing helps - send your question to List owner address: as
specified on the mailing lists page.
Best regards,
Konstantin Kolinko
2011/7/22 Mikie
On 22/07/2011 15:54, Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2 wrote:
If I type https://localhost/myWebApp;, I get an unexpected 404
error: Not Found. The requested URL /myWebApp was not found on this
server. NOT COOL!
At a guess, you have forgotten that mod_jk config is *per virtual host*
Hello,
First of all, I'm new to tomcat and somewhat to java, but I got a question
that I couldn't find answer to it.
So, I'm currently running my war on tomcat7/Servlet3/jdk1.6.
My war basically has (among plain classes) a Servlet for requests and a
WebListener (ServletContextListener) for
I saw something strange on one of my virtual hosts on tomcat 6. Not
even sure whether it is virtual host/ TC specific.
There are only two files index.html and file2.html in this host. The
content of file2 is irrelevant. index.html has two different links to
file2.html:
a
Hi,
I am in charge of running a Apache-2, Tomcat-7, Ubuntu-10.04 set up
for which we have to be PCI Compliant. We recently upgraded to
Apache-2.2.17 and Tomcat-7.0.8 (from Apache-2.0.x and Tomcat 5.0.28)
in order to comply with the requirements of the PCI Compliance checks
and ironed out any
On 22/07/2011 17:22, Dennis de Champeaux wrote:
Hence the question(s):
URL/URI semantics allow both links to succeed?
If not, TC6 is willing to go the extra mile?
TC (6.0.32) is wacko?
Nope. You have a broken configuration and you are getting double deployment.
Mark
Just to clarify, by upgrade I don't mean upgrade in place or
something like that; it was a completely new install separate from the
previous version.
7.0.19 and 7.0.16 use the same version of the tomcat native apparently
so I guess it couldn't be some incompatibility with the apr libraries
I have
That was it, Mark. It's all good now!
You da man! :-)
Jonathan
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Friday, July 22, 2011 11:59 AM
To: Tomcat Users List
Subject: Re: Web app running on http, not on https
On 22/07/2011 15:54, Leffingwell, Jonathan R
Tomcat information:
apache-tomcat-7.0.14
Windows 7
(See attached file: web.xml)(See attached file: catalina.policy)(See
attached file: catalina.properties)(See attached file: context.xml)(See
attached file: logging.properties)(See attached file: server.xml)(See
attached file:
Just wanted to share the good news.
I've finally got it working!!
What worked was adding a virtual host to server.xml and adding a context
path like so:
Host name=www.douglasmcgregor.co.uk appBase=webapps unpackWARs=true
autoDeploy=true
Aliasdouglasmcgregor.co.uk/Alias
On 07/22/2011 08:18 PM, Douglas McGregor wrote:
Just wanted to share the good news.
I've finally got it working!!
It's such a relief!
I bet it is, after so many months ;)
Cheers
--
^TM
-
To unsubscribe, e-mail:
On 22/07/2011 17:26, Ian Marsh wrote:
Hi,
I am in charge of running a Apache-2, Tomcat-7, Ubuntu-10.04 set up
for which we have to be PCI Compliant. We recently upgraded to
Apache-2.2.17 and Tomcat-7.0.8 (from Apache-2.0.x and Tomcat 5.0.28)
in order to comply with the requirements of the
2011/7/22 David Bernard david.bern...@intact.net:
\ Tomcat information:
apache-tomcat-7.0.14
Windows 7
(See attached file: web.xml)(See attached file: catalina.policy)(See
attached file: catalina.properties)(See attached file: context.xml)(See
attached file: logging.properties)(See attached
2011/7/22 Mihai Caraman caraman.mi...@gmail.com:
The final behavior that I'm looking for is to have a servlet that is ran by
tomcat, but at the same time, have access to static objects in the class
that is now used as a Listener. This is needed for repetitive testing
without having to wait
My personal advice with the Oracle driver is to put it at the server level, not
at the webapp level.
For instance if you use the query timeouts, oracle JDBC spawns a Thread to
handle the timeouts, and there is no way to properly stop this thread so tomcat
will continue complaining about leaking
Can someone else explain what is going on ?
Home page: rs6.risingnet.net/~ddcc
Health Info Anytime for Everyone: www.HealthCheck4Me.info
Exercise for the Mind:
On 22/07/2011 20:17, Mark Thomas wrote:
On 22/07/2011 17:26, Ian Marsh wrote:
It seems that the character arrays [C, java.lang.String and
javax.servlet.jsp.tagext.TagAttributeInfo entries are considerably
higher in Tomcat-7.0.10 than in Tomcat-7.0.8 and I am wondering if
this could lead to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bobi,
On 7/22/2011 8:15 AM, Bobi St wrote:
sorry, I thought the settings I was asking for, are valid for all
OS.
Sometimes, yes. But if you had told us everything up front, if would
have been one question and one answer. You would have had your
On 22/07/2011 20:17, Mark Thomas wrote:
On 22/07/2011 17:26, Ian Marsh wrote:
Hi,
I am in charge of running a Apache-2, Tomcat-7, Ubuntu-10.04 set up
for which we have to be PCI Compliant. We recently upgraded to
Apache-2.2.17 and Tomcat-7.0.8 (from Apache-2.0.x and Tomcat 5.0.28)
in order
On 22/07/2011 22:03, Dennis de Champeaux wrote:
Can someone else explain what is going on ?
You have a broken configuration and you are getting double deployment.
p
This is the 2nd response with
You have a broken configuration.
Why are you guys not explaining what is broken?
I cannot read your mind/ Telepathy does not work here yet.
BTW I did do plenty of research on this topic
Your SNOTTYness is not appreciated ...
Actually
You haven't given enough information to tell you any more detail. Post
the rest of your configuration files. At a guess, you've got the same
app deploying as ROOT and where you want it to be. But you definitely
have it deploying twice.
D
On 7/22/2011 6:22 PM, Dennis de Champeaux wrote:
Hello,
in somecases, Tomcat dosn't allow output of an error page for too many active
sessions.
Reproduction:
1) Configure Tomcat 6 or 7 example application to allow maxActiveSessions=1
only (e.g. adding /examples/META-INF/context.xml#SimpeSessionManager...)
2) Visit
On 22/07/2011 23:22, Dennis de Champeaux wrote:
This is the 2nd response with
You have a broken configuration.
Why are you guys not explaining what is broken?
Because if you take the attitude you did in your initial post (the
question TC (6.0.33) is wacko? in particular)
hi,
my tomcat version 7.0.16 ;
I put this simple html on tomcat webapps ROOT directory.
!doctype html
html
head
title New Document /title
meta http-equiv=content-type content=text/html; charset=UTF-8
/head
body
hello world!
/body
/html
when request the file from browser ,the http
hi,
my tomcat version 7.0.16 ;
I put this simple html on tomcat webapps ROOT directory.
!doctype html
html
head
title New Document /title
meta http-equiv=content-type content=text/html; charset=UTF-8
/head
body
hello world!
/body
/html
when request the file from browser ,the http
- Original Message -
From: Dennis de Champeaux atlantisic...@yahoo.com
To: Tomcat Users List users@tomcat.apache.org
Cc:
Sent: Friday, July 22, 2011 3:22 PM
Subject: Re: URL/ URI/ TC(?) puzzle -- wrong non-error?
T his is the 2nd response with
You have a
53 matches
Mail list logo