Re: how to enable management agent on a process

2009-05-10 Thread Anamika raj

The link which you gave me i have gone through it before ...but i am not
getting how to set 

com.sun.management.jmxremote in the system property. 
  
as it is written in the given link-

To enable the JMX agent for local access, set this system property when you
start the JVM or Java application:

com.sun.management.jmxremote 

I am not getting how to do it.
please help me
thanx




awarnier wrote:
> 
> Anamika raj wrote:
>> i am configuring a server to monitor it with jconsole locally.when i m
>> starting the jconsole PID is showing for that server in the jconsole(for
>> local monitoring) but it is giving me message that "management agent is
>> not
>> enables on that process.
>> 
>> how to enable the management agent for that process or tell me for any
>> process in simple,step by step.
>> 
>> i didnt do any configuration to monitor that server with Jconsole,do i
>> need
>> to do anything to configure any server with jconsole?
>> I want to know if i want to monitor any server what configuration I have
>> to
>> do. 
>> 
> Read :
> http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html
> 
> Example jvm settings for starting Tomcat to allow jconsole monitoring (! 
> with no security !) :
> 
> -Dcom.sun.management.jmxremote.port=8200 
> -Dcom.sun.management.jmxremote.ssl=false 
> -Dcom.sun.management.jmxremote.authenticate=false
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-enable-management-agent-on-a-process-tp23473452p23477236.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat 5.5.27 404 for JSP's in a particular derectory

2009-05-10 Thread Mackstar



Konstantin Kolinko wrote:
> 
> 
> 
> 2) Do not use the Invoker servlet. It is a hole you won't be able to patch
> See
> http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q2
> http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q3
> 
> 

I disabled the invoker servlet and could then use the directory, I have to
re-arrange a bunch of servlets now to get them working!

Thanks for your help

Richard 
-- 
View this message in context: 
http://www.nabble.com/Tomcat-5.5.27-404-for-JSP%27s-in-a-particular-derectory-tp23475510p23476295.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat 5.5.27 404 for JSP's in a particular derectory

2009-05-10 Thread Caldarale, Charles R
> From: Mackstar [mailto:richard.macks...@gmail.com]
> Subject: Re: Tomcat 5.5.27 404 for JSP's in a particular derectory
> 
> 1. The shuppin directory is a subdirectory which is inside a ROOT
> application directory, it has other sibling directories which are
> working correctly.

They may appear to work correctly, but that's probably just an accident.  Each 
webapp should be directly under the  appBase (by default, that's Tomcat's 
webapps directory).  Placing a directory under webapps/ROOT makes it part of 
the default webapp rather than being its own webapp.

Sounds like your directory setup is incorrect, as well might be other config 
settings.  What  elements have you specified?  Where are they located? 
 What's in the individual webapp WEB-INF/web.xml files?

> 2. OK I get your point on using the invoker, do you think if I remove
> the usage of the invoker then my problem may resolve itself?

No, that won't fix it, but you should avoid the invoker servlet at all costs; 
it's highly unfortunate that it's even still available.  You will need to 
supply servlet mappings in each webapp's WEB-INF/web.xml file to replace the 
invoker servlet.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.



Re: Tomcat 5.5.27 404 for JSP's in a particular derectory

2009-05-10 Thread Mackstar

Thanks for your reply,

just to get back to you.. 

1. The shuppin directory is a subdirectory which is inside a ROOT
application directory, it has other sibling directories which are working
correctly.

2. OK I get your point on using the invoker, do you think if I remove the
usage of the invoker then my problem may resolve itself?

Much appreciated

Richard


 

Konstantin Kolinko wrote:
> 
> 2009/5/11 Mackstar :
>>
>> I have an app which is currently working fine under jetty and I have set
>> up
>> tomcat to be a replacement container (part of my clients requirements).
>>
>> All seems to work apart from the JSP's (and any other html file) in one
>> directory for which I get 404's. If I change the directory's name it
>> works.
>> Example the dir name is called shuppin if I change the dir name to
>> shuppin1
>> I have no problems.
>>
>> I don't know what the problem is but fact that I have a classes dir
>> called
>> shuppin may also be causing problems?
>>
>> I will upload the web.xml and server.xml
>> (the classes seem to work correctly when called from other dirs)
>>
>> I have also once cleared the work/Catalina dir to get rid of any caching.
>>
>> I also get the following error in my logs
>>
>> java.io.FileNotFoundException:
>> /var/www/java/tomcat/work/Catalina/auction.provide-cars.com/shuppin/SESSIONS.ser
>> (No such file or directory)
>> http://www.nabble.com/file/p23475510/server.xml
>> server.xml  http://www.nabble.com/file/p23475510/web.xml web.xml
>>
>> Any help is appreciatted.
>>
> 
> 1) Is "shupping" a web application, or just a subdirectory in it?
> 
> Note, that all subdirectories in appBase are separate independent web
> applications, and the root web application in Tomcat should be named
> "ROOT" (in uppercase),
> 
> 2) Do not use the Invoker servlet. It is a hole you won't be able to patch
> See
> http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q2
> http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q3
> 
> Best regards,
> Konstantin Kolinko
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-5.5.27-404-for-JSP%27s-in-a-particular-derectory-tp23475510p23476193.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat 5.5.27 404 for JSP's in a particular derectory

2009-05-10 Thread Konstantin Kolinko
2009/5/11 Mackstar :
>
> I have an app which is currently working fine under jetty and I have set up
> tomcat to be a replacement container (part of my clients requirements).
>
> All seems to work apart from the JSP's (and any other html file) in one
> directory for which I get 404's. If I change the directory's name it works.
> Example the dir name is called shuppin if I change the dir name to shuppin1
> I have no problems.
>
> I don't know what the problem is but fact that I have a classes dir called
> shuppin may also be causing problems?
>
> I will upload the web.xml and server.xml
> (the classes seem to work correctly when called from other dirs)
>
> I have also once cleared the work/Catalina dir to get rid of any caching.
>
> I also get the following error in my logs
>
> java.io.FileNotFoundException:
> /var/www/java/tomcat/work/Catalina/auction.provide-cars.com/shuppin/SESSIONS.ser
> (No such file or directory) http://www.nabble.com/file/p23475510/server.xml
> server.xml  http://www.nabble.com/file/p23475510/web.xml web.xml
>
> Any help is appreciatted.
>

1) Is "shupping" a web application, or just a subdirectory in it?

Note, that all subdirectories in appBase are separate independent web
applications, and the root web application in Tomcat should be named
"ROOT" (in uppercase),

2) Do not use the Invoker servlet. It is a hole you won't be able to patch
See
http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q2
http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q3

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat 5.5.27 404 for JSP's in a particular derectory

2009-05-10 Thread Mackstar

I have an app which is currently working fine under jetty and I have set up
tomcat to be a replacement container (part of my clients requirements).

All seems to work apart from the JSP's (and any other html file) in one
directory for which I get 404's. If I change the directory's name it works.
Example the dir name is called shuppin if I change the dir name to shuppin1
I have no problems.

I don't know what the problem is but fact that I have a classes dir called
shuppin may also be causing problems?

I will upload the web.xml and server.xml
(the classes seem to work correctly when called from other dirs)

I have also once cleared the work/Catalina dir to get rid of any caching.

I also get the following error in my logs

java.io.FileNotFoundException:
/var/www/java/tomcat/work/Catalina/auction.provide-cars.com/shuppin/SESSIONS.ser
(No such file or directory) http://www.nabble.com/file/p23475510/server.xml
server.xml  http://www.nabble.com/file/p23475510/web.xml web.xml 

Any help is appreciatted.

Richard
-- 
View this message in context: 
http://www.nabble.com/Tomcat-5.5.27-404-for-JSP%27s-in-a-particular-derectory-tp23475510p23475510.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: how to enable management agent on a process

2009-05-10 Thread André Warnier

Anamika raj wrote:

i am configuring a server to monitor it with jconsole locally.when i m
starting the jconsole PID is showing for that server in the jconsole(for
local monitoring) but it is giving me message that "management agent is not
enables on that process.

how to enable the management agent for that process or tell me for any
process in simple,step by step.

i didnt do any configuration to monitor that server with Jconsole,do i need
to do anything to configure any server with jconsole?
I want to know if i want to monitor any server what configuration I have to
do. 


Read :
http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html

Example jvm settings for starting Tomcat to allow jconsole monitoring (! 
with no security !) :


-Dcom.sun.management.jmxremote.port=8200 
-Dcom.sun.management.jmxremote.ssl=false 
-Dcom.sun.management.jmxremote.authenticate=false


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



how to enable management agent on a process

2009-05-10 Thread Anamika raj

i am configuring a server to monitor it with jconsole locally.when i m
starting the jconsole PID is showing for that server in the jconsole(for
local monitoring) but it is giving me message that "management agent is not
enables on that process.

how to enable the management agent for that process or tell me for any
process in simple,step by step.

i didnt do any configuration to monitor that server with Jconsole,do i need
to do anything to configure any server with jconsole?
I want to know if i want to monitor any server what configuration I have to
do. 



Thanx

-- 
View this message in context: 
http://www.nabble.com/how-to-enable-management-agent-on-a-process-tp23473452p23473452.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Users@tomcat.apache.org

2009-05-10 Thread jeanfrancois . arcand




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Is it possible to move Tomcat logfiles?

2009-05-10 Thread Konstantin Kolinko
2009/5/10 johnrock :
>
> I am setting up a CentOS 5 server running tomcat and wanted to know whether
> the best practice is to leave the Tomcat logfiles in their default location:
>
> /usr/share/apache-tomcat-6.0.18/logs
>
> or whether I should place them in another directory like /var/log/tomcat.
>
> Is this possible, and/or preferred?
>
> I am new to Linux, but my understanding so far was that changing data like
> logfiles should not be under /usr/ but instead under /var/.  Is that a
> correct interpretation in this case?
>
> Thanks
> --

1. the log folder contains:
1) log output

By default java.util.logging (aka JULI) is used to write those logs,
though there is possibility to use log4j.

It is configured as described in
 http://tomcat.apache.org/tomcat-5.5-doc/logging.html

For JULI the configuration file is logging.properties

2) catalina.out, that is redirected stdout, strerr of
java process running the server

Look into the shell script that starts Tomcat. That is where the
redirection occurs.

2. I have configurations where log folder is stored in /var/log/... and the
log folder of Tomcat is simply a symbolic link to that location.

It works, and I think that would be one of the easiest ways to configure it.

3. If you are concerned about /usr vs. /var, you may want to pay attention
to the possibility of separating CATALINA_HOME and CATALINA_BASE

E.g., you may place conf, webapps, work etc. folders on /var, while bin,
common, server remain on /usr.

See RUNNING.txt in the distributive.


Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Sanity check: Multiple SSL virtual hosts

2009-05-10 Thread Mark Thomas
> From: "Caldarale, Charles R" 
> > From: Mark Thomas [mailto:ma...@apache.org]
> > Subject: Re: Sanity check: Multiple SSL virtual hosts
> > 
> > It should work. The only potential issue is that a request to
> > 123.123.123.111 can still access host2
> 
> Shouldn't there be  elements for the IP addresses for each  to 
> insure proper routing for accesses by IP address and not domain name?
> 

Correct - good catch (and more likely to be an issue).

As an aside, using multiple services would be another way to configure this. As 
would multiple Tomcat instances.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Is it possible to move Tomcat logfiles?

2009-05-10 Thread Mark Thomas
> From: johnrock 
> 
> I am setting up a CentOS 5 server running tomcat and wanted to know whether
> the best practice is to leave the Tomcat logfiles in their default location:
> 
> /usr/share/apache-tomcat-6.0.18/logs
> 
> or whether I should place them in another directory like /var/log/tomcat.
> 
> Is this possible, and/or preferred? 
> 
> I am new to Linux, but my understanding so far was that changing data like
> logfiles should not be under /usr/ but instead under /var/.  Is that a
> correct interpretation in this case?

It is entirely up to you. Tomcat can be configured either way. There are pros 
and cons of both approaches. Go with whatever you are most comfortable with.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Redirecting/proxying/forwarding webapp

2009-05-10 Thread Hassan Schroeder
On Sun, May 10, 2009 at 7:31 AM, Jeroen Kransen  wrote:
> Hello, is there a webapp that will redirect all incoming requests to
> another host/path? I have a Lenya instance running on one virtual
> host, and want another virtual host point to its live publication like
> this:
>
> jeroen.example.com/* > cms.example.com/jeroen/live/*
>
> Both virtual hosts run on the same Tomcat instance, so if there's a
> way to use some Tomcat internal mechanism to do the forwarding, that
> might give a performance benefit. Otherwise, a more generic
> redirecting webapp would be great.

1) why not just write your links to point where you want?

2) you can forward across webapps within a Host by setting the
crossContext attribute true, but not across Hosts

http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

3) if you *really* want to redirect: 

HTH,
-- 
Hassan Schroeder  hassan.schroe...@gmail.com

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Redirecting/proxying/forwarding webapp

2009-05-10 Thread Caldarale, Charles R
> From: Jeroen Kransen [mailto:jer...@kransen.nl]
> Subject: Redirecting/proxying/forwarding webapp
> 
> is there a webapp that will redirect all incoming requests to
> another host/path?

Take a look at this:
http://tuckey.org/urlrewrite/

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.




Redirecting/proxying/forwarding webapp

2009-05-10 Thread Jeroen Kransen
Hello, is there a webapp that will redirect all incoming requests to
another host/path? I have a Lenya instance running on one virtual
host, and want another virtual host point to its live publication like
this:

jeroen.example.com/* > cms.example.com/jeroen/live/*

Both virtual hosts run on the same Tomcat instance, so if there's a
way to use some Tomcat internal mechanism to do the forwarding, that
might give a performance benefit. Otherwise, a more generic
redirecting webapp would be great.

Thanks! Jeroen

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Configuration help with tomcat connectors

2009-05-10 Thread Dave Filchak

Caldarale, Charles R wrote:

From: Dave Filchak [mailto:sub...@zuka.net]
Subject: Re: Configuration help with tomcat connectors

If I set it up as localhost now, what is the impact if, 
in the future, I need to add other hosts?



One  must be the defaultHost, so its name is irrelevant other than it must match the 
defaultHost setting for the .  Requests that don't match other  names 
will be processed by the defaultHost, regardless of its name value.

  

Can you access the Tomcat examples and other webapps distributed
with Tomcat via port 8080?
  


You haven't answered the above question yet.

  



Well ... I am happily (but sheepishly) reporting that all seems to be 
functioning as it should. I say sheepishly as it all finally came down 
to spelling ;-(  I missed, with all that staring at the code and the 
error messages, the fact, as Charles pointed out, that I had spelled 
appBase as appbase  which are not the same in this case. Doh! 
Dumb but these things happen I guess.


There is a lot of information out there on how to do this but not all of 
it jives with each other so newcomers to Tomcat can become pretty 
confused. So, I say thank you to those who have helped be see the light, 
as it were. Both you Charles, and André have my thanks for taking time 
to help me out ;-)


Cheers

Dave

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Is it possible to move Tomcat logfiles?

2009-05-10 Thread Martin Gainty

John

have you had a chance to look at
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
you can specify using either Log4J Logger or the Juli logger

Log4j specifies the Log File to append to as
log4j.appender.R.File=${catalina.home}/logs/tomcat.log 

the juli log folder is specified by
1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs

HTH
Martin 
__ 
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung/Note de 
déni et de confidentialité
This message is confidential. If you should not be the intended receiver, then 
we ask politely to report. Each unauthorized forwarding or manufacturing of a 
copy is inadmissible. This message serves only for the exchange of information 
and has no legal binding effect. Due to the easy manipulation of emails we 
cannot take responsibility over the the contents.
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> Date: Sat, 9 May 2009 22:02:35 -0700
> From: johnpi...@yahoo.com
> To: users@tomcat.apache.org
> Subject: Is it possible to move Tomcat logfiles?
> 
> 
> I am setting up a CentOS 5 server running tomcat and wanted to know whether
> the best practice is to leave the Tomcat logfiles in their default location:
> 
> /usr/share/apache-tomcat-6.0.18/logs
> 
> or whether I should place them in another directory like /var/log/tomcat.
> 
> Is this possible, and/or preferred? 
> 
> I am new to Linux, but my understanding so far was that changing data like
> logfiles should not be under /usr/ but instead under /var/.  Is that a
> correct interpretation in this case?
> 
> Thanks
> -- 
> View this message in context: 
> http://www.nabble.com/Is-it-possible-to-move-Tomcat-logfiles--tp23467178p23467178.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

_
Windows Live™: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009

RE: Configuration help with tomcat connectors

2009-05-10 Thread Caldarale, Charles R
> From: Dave Filchak [mailto:sub...@zuka.net]
> Subject: Re: Configuration help with tomcat connectors
> 
> If I set it up as localhost now, what is the impact if, 
> in the future, I need to add other hosts?

One  must be the defaultHost, so its name is irrelevant other than it 
must match the defaultHost setting for the .  Requests that don't match 
other  names will be processed by the defaultHost, regardless of its name 
value.

> > Can you access the Tomcat examples and other webapps distributed
> > with Tomcat via port 8080?

You haven't answered the above question yet.

> I was having trouble getting the two servers to play nice while 
> both are on port 80, even though I put Tomcat on a different IP.

Post your modified server.xml using the different IP address.  You will need to 
specify the IP address in each  element in order to avoid the 
default of 0.0.0.0 (all IP addresses).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Configuration help with tomcat connectors

2009-05-10 Thread Caldarale, Charles R
> From: Dave Filchak [mailto:sub...@zuka.net]
> Subject: Re: Configuration help with tomcat connectors
> 
>unpackWARs="true" autoDeploy="true"
>   xmlValidation="false" xmlNamespaceAware="false">
> 

You have misspelled appBase - these are all case sensitive.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: IIS Redirect Issue

2009-05-10 Thread Rainer Jung
On 10.05.2009 12:43, Maze, Jeffrey S. wrote:
> It's running on IIS6 and Win2k3 Server.  I downloaded version .15
> through .28 and will try different versions and see if it still occurs.

If it is coming from the redirector, I would expect to see heavy
continuing log activity once you switch the log level of the redirector
to "trace".

It could also be a problem with the tcnative connector on the Tomcat
side in case you use it. If you use it, try removing tcnative and check
again.

You can also use Microsoft Process Explorer (aka Sysinternals) and
check, which thread uses the cpu, and then use the stack shown there and
more likely the thread in a Java thread dump via jstack, to see in which
code the thread loops.

Regards,

Rainer

> Thanks.. -Jeff
> 
> -Original Message-
> From: Mark Thomas [mailto:ma...@apache.org] 
> Sent: Saturday, May 09, 2009 2:52 PM
> To: Tomcat Users List
> Subject: Re: IIS Redirect Issue
> 
> Maze, Jeffrey S. wrote:
>> Hello,
>>  I'm new to the list.
>>  I'm having an issues with Tomcat.  I'm using version 1.2.28 of
>> the redirect, and I've tried Tomcat versions 6.0.18 and 5.5.27 and
> Java
>> versions 1.5u18 and 1.6u13.  No matter what Tomcat or Java version I
>> use, I have the same issues; redirect is the only thing in common.
>>  If I run the "Hello World!" example using localhost:8080, it
>> works fine.  I have the IIS redirect setup correctly because I can
>> remove the 8080, the page redirect correctly and I see the "Hello
>> World!".
>>  This is when something odd happens.  The tomcat5.exe service
>> goes into run-away; CPU usage showing 99% and the system slows WAY
> down.
>> I can hit all the other examples using port 8080 fine, but the instant
> I
>> try anything without port 8080, Tomcat goes haywire.
>>  Any ideas on where I should look to begin troubleshooting this
>> issue?
> 
> I'm guessing a bug in the isapi_redirect.dll Maybe try an older version?
> 
> Also, which OS and IIS version are you using?
> 
> Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: IIS Redirect Issue

2009-05-10 Thread Maze, Jeffrey S.
It's running on IIS6 and Win2k3 Server.  I downloaded version .15
through .28 and will try different versions and see if it still occurs.

Thanks.. -Jeff

-Original Message-
From: Mark Thomas [mailto:ma...@apache.org] 
Sent: Saturday, May 09, 2009 2:52 PM
To: Tomcat Users List
Subject: Re: IIS Redirect Issue

Maze, Jeffrey S. wrote:
> Hello,
>   I'm new to the list.
>   I'm having an issues with Tomcat.  I'm using version 1.2.28 of
> the redirect, and I've tried Tomcat versions 6.0.18 and 5.5.27 and
Java
> versions 1.5u18 and 1.6u13.  No matter what Tomcat or Java version I
> use, I have the same issues; redirect is the only thing in common.
>   If I run the "Hello World!" example using localhost:8080, it
> works fine.  I have the IIS redirect setup correctly because I can
> remove the 8080, the page redirect correctly and I see the "Hello
> World!".
>   This is when something odd happens.  The tomcat5.exe service
> goes into run-away; CPU usage showing 99% and the system slows WAY
down.
> I can hit all the other examples using port 8080 fine, but the instant
I
> try anything without port 8080, Tomcat goes haywire.
>   Any ideas on where I should look to begin troubleshooting this
> issue?

I'm guessing a bug in the isapi_redirect.dll Maybe try an older version?

Also, which OS and IIS version are you using?

Mark



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org