Re: AJP13 Connector and JKOptions

2009-02-19 Thread André Warnier
Pete Helgren wrote: What do the URL's look like? Here is an example. If I right click and get the properties on the missing image, I see this (well I'd add a more real looking URL but the this mailing list has rejected my last 9 attempts as spam...): [...] Hi again. I haven't looked into

Re: Apache/mod_jk serves random files from tomcat

2009-02-19 Thread Yuval Perlov
Just the swapping responses has me concerned. Thank you so much for the rest of your responses we will put them to good use once we give up on AJP completely. Yuval On Feb 18, 2009, at 8:45 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yuval, On 2/17/2009

restrict myapps under webapps to localhost

2009-02-19 Thread Kaushal Shriyan
Hi I am using tomcat-5.0.27-r6,Sun JDK 1.5.0.12 on gentoo OS I have a clarification regarding restricting webapps/myapps to localhost I have created myapps.xml under /etc/tomcat5/Catalina/localhost/myapps.xml myapps.xml contains

Re: Tomcat vs deflate

2009-02-19 Thread Gabor 'Morc' KORMOS
Hi Chris, I wanted to reply yesterday but the Tomcat mailing list server deemed my office mail server as a spammer server and I couldn't reply. I checked the code and unfortunately you have to modify the connector code too because the filters are added in there manually not read from a

When will tomcat 5.5.25 spawn a new process

2009-02-19 Thread Gunnar.Bostrom
Hi, When will Tomcat 5.5.25 spawn a new process on a Solaris 10 server? I mean a normal process and not a light weight process. Thanks /Gunnar - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: When will tomcat 5.5.25 spawn a new process

2009-02-19 Thread Mark Thomas
gunnar.bost...@tieto.com wrote: Hi, When will Tomcat 5.5.25 spawn a new process on a Solaris 10 server? I mean a normal process and not a light weight process. Whenever there is a call to Runtime.exec() The only ones I am aware of are: - the CGI servlet - the SSI servlet if you use cmd Mark

Re: Apache Tom Cat in a VM as VMWARE or Red Hat Virtualization

2009-02-19 Thread Jason Viloria
On Wed, Feb 18, 2009 at 9:38 PM, János Löbb janos.l...@yale.edu wrote: On Feb 18, 2009, at 3:24 PM, Alan Chaney wrote: I agree with Jorge - I run several Tomcats under VMware for both production and development. However it is worth noting that if you use the appropriate vmware tools for

SV: When will tomcat 5.5.25 spawn a new process

2009-02-19 Thread Gunnar.Bostrom
Hi, We use CGI to spawn Perl processes and I can see them start up and disappear. But I'm seeing what's look like ordinary tomcat processes which don't uses any cpu. Thanks /Gunnar -Ursprungligt meddelande- Från: Mark Thomas [mailto:ma...@apache.org] Skickat: den 19 februari 2009

convert date from Feb 18, 2009 8:56:27 PM to 2009-02-18 20:56:27

2009-02-19 Thread PoWah Wong
The /usr/tomcat/logs/catalina.out file has these entries: Feb 18, 2009 8:56:27 PM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-8443 Feb 18, 2009 8:56:27 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 2377 ms How to convert date

Re: SV: When will tomcat 5.5.25 spawn a new process

2009-02-19 Thread Mark Thomas
gunnar.bost...@tieto.com wrote: Hi, We use CGI to spawn Perl processes and I can see them start up and disappear. But I'm seeing what's look like ordinary tomcat processes which don't uses any cpu. Thanks /Gunnar Failed starts? Instances that haven't shutdown properly. What happens if you

Get client's certificates

2009-02-19 Thread Luis Pascual Forner
Hi, I'm using Tomcat with SSL and authentication with client certificates. When I take the certificate with request.getAttribute( javax.servlet.request.X509Certificate), I have the correct certificate, but if I take it after a few minutes, I have null (probably, the SSL session is expired).

Cannot find workers

2009-02-19 Thread Wesley Schwengle
Hello to all, I have a small issue with Apache (2.2.8) and mod_jk (1.2.27). I moved some jkmount statements from my mod_jk.conf to the virtualhost section in Apache and it doesn't work as expected. The full log can be seen here: http://pb.opperschaap.net/117 The problem is this error: Could

SV: SV: When will tomcat 5.5.25 spawn a new process

2009-02-19 Thread Gunnar.Bostrom
Hi Mark, I tried kill -3 on the pids but did not get any output. We use jsvc to start tomcat so we can run on port 443 without being root. When started I see the expected 2 processes. One day we started tomcat around 10 pm and the first extra process started around 9 am next day. I don't think

Re: mod_jk

2009-02-19 Thread Rainer Jung
On 18.02.2009 01:40, Mohit Anchlia wrote: Is there a way to verify if mod_jk is load balancing properly among given live servers As pointed out by others, you can use the status worker. You can also add access logs to the backends, and check, how much traffic each of those accumulates.

Re: AJP13 Connector and JKOptions

2009-02-19 Thread Rainer Jung
On 19.02.2009 05:35, Pete Helgren wrote: What do the URL's look like? Here is an example. If I right click and get the properties on the missing image, I see this (well I'd add a more real looking URL but the this mailing list has rejected my last 9 attempts as spam...):

RE: restrict myapps under webapps to localhost

2009-02-19 Thread Caldarale, Charles R
From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com] Subject: restrict myapps under webapps to localhost I am using tomcat-5.0.27-r6 Please try to reproduce your problem on a supported Tomcat level; 5.0.x was deprecated quite some time ago. (Also, there never was a real Tomcat with a

Re: AJP13 Connector and JKOptions

2009-02-19 Thread Pete Helgren
It is a placeholder. Unfortunately, every time I paste a link in an email and send it to the list I get it returned as undeliverable by the Apache List Software as spam. I get it back with this: There was a SMTP communication problem with the recipient's email server. Please contact

Re: mod_jk pool/thread/configure questions

2009-02-19 Thread Rainer Jung
On 18.02.2009 19:14, Anthony J. Biacco wrote: 1. I'm running with ThreadsPerChild at 25 and MaxClients at 500. So, I understand this to mean my connection pool minimum size will be a total of 13. (25+1/2). Yes, per Apache httpd process! And then that this will be divided between my 4 tomcat

RE: Cannot find workers

2009-02-19 Thread Martin Gainty
Goddag Wesley here is my list from %TOMCAT_HOME%/conf/workers.properties # Add 'inprocess' if you want JNI connector worker.list=ajp12, ajp13 #-- DEFAULT ajp13 WORKER DEFINITION -- #- #

Re: AJP13 Connector and JKOptions

2009-02-19 Thread Rainer Jung
On 19.02.2009 15:24, Pete Helgren wrote: It does resolve to h t t p : // w w w . a c o r r e c t d o m a i n n a m e . c o m /images/bg_hdr_logo.gif I would post the real link if the firewall allowed 8080 traffic through because then you could see the difference between the 'domain

Re: Fatal error: Cleaner terminated abnormally

2009-02-19 Thread Taylan Develioglu
We're trying a workaround now. By trapping the exit call using security manager we hope to prevent Tomcat from closing down on a cleaner termination. Not sure what the side effects would be to keep running after a cleaner terminates (any idea). Keeping fingers crossed. I forgot to say thanks

Re: AJP13 Connector and JKOptions

2009-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pete, On 2/18/2009 11:35 PM, Pete Helgren wrote: What do the URL's look like? Here is an example. If I right click and get the properties on the missing image, I see this (well I'd add a more real looking URL but the this mailing list has

Re: AJP13 Connector and JKOptions

2009-02-19 Thread Pete Helgren
Thanks Rainer. I have thought about both server name and port issues and I can't see where they might be part of the problem. I may try on my own development PC to see if I can replicate the issue. On the host server a localhost/MyApp generates the same broken link/image issue as the full

Re: [OT] Apache Tom Cat in a VM as VMWARE or Red Hat Virtualization

2009-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 2/19/2009 8:01 AM, Jason Viloria wrote: I admin a fairly large deployment of tomcats on vmware server and now have started to move to xen Isn't xen basically dead? Or have rumors about its demise been greatly exaggerated? I thought

RE: Fatal error: Cleaner terminated abnormally

2009-02-19 Thread Caldarale, Charles R
From: Taylan Develioglu [mailto:tdevelio...@ebuddy.com] Subject: Re: Fatal error: Cleaner terminated abnormally By trapping the exit call using security manager we hope to prevent Tomcat from closing down on a cleaner termination. This is not likely to work, since the Cleaner is running this

Re: Tomcat vs deflate

2009-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Morc, On 2/19/2009 7:13 AM, Gabor 'Morc' KORMOS wrote: I checked the code and unfortunately you have to modify the connector code too Yeah, it looks a bit hard-coded. As most of the folks on the list would say: patches are always welcome. If

Re: convert date from Feb 18, 2009 8:56:27 PM to 2009-02-18 20:56:27

2009-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 PoWah, On 2/19/2009 8:14 AM, PoWah Wong wrote: The /usr/tomcat/logs/catalina.out file has these entries: Feb 18, 2009 8:56:27 PM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-8443 Feb 18, 2009 8:56:27 PM

Clustering probleme

2009-02-19 Thread Stephane DUCAS
Hello I've tryed vertical clustered tomcat installation (two instances) but I have an issue when configuraiong it with: ClusterListener className=org.apache.catalina.ha.session.ClusterSessionListener/ When I comment out this line I have no problem but session is not recovered when one node

Re: SV: SV: When will tomcat 5.5.25 spawn a new process

2009-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gunnar, On 2/19/2009 8:42 AM, gunnar.bost...@tieto.com wrote: I tried kill -3 on the pids but did not get any output. Note that stdout is usually written to catalina.out. Check there for a thread dump. We use jsvc to start tomcat so we can run on

Refereing to a Container Attribute in a Nested Container

2009-02-19 Thread John Shilling
In particular, in my Context element I would like to create a Parameter element where the value of the value attribute is the appBase attribute of the Host element containing this Context. Is there any symbolic naming scheme such as the one used by Ant? CIO SciHealth 2700 Northeast

Re: Cannot find workers

2009-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Wow, that's a confusing workers.properties file. You load-balance one worker and still use it separately... and then never define the second of the two load-balances workers? The load-balancer isn't even enabled. - -chris On 2/19/2009 9:31

Re: Cannot find workers

2009-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wesley, On 2/19/2009 8:37 AM, Wesley Schwengle wrote: I moved some jkmount statements from my mod_jk.conf to the virtualhost section in Apache and it doesn't work as expected. What does it do, and what did you expect? Where does mod_jk.config

Re: Tomcat vs deflate

2009-02-19 Thread Gabor 'Morc' KORMOS
Well, I may do the patch just to help the community, but don't hold your breath ;) Adobe is strange about features especially as gzip uses the same deflate method as zlib, but within a different container so the gzip ActionScript is actually stripping off a few bytes of the binary data and

Re: Fatal error: Cleaner terminated abnormally

2009-02-19 Thread Taylan Develioglu
This is bad news, but it was a longshot to begin with. I submitted a bug report which is under review now. and apologies for the name mixup. Chuck is obviously a much prettier name :) Caldarale, Charles R wrote: From: Taylan Develioglu [mailto:tdevelio...@ebuddy.com] Subject: Re: Fatal

Re: AJP13 Connector and JKOptions

2009-02-19 Thread André Warnier
Pete Helgren wrote: [...] Pete, I really think you should re-read my previous answer. I did a quick check on the page you indicated, using Firefox and it's LiveHttpHeaders add-on, and the result in summary is : The first link to the page, ending in /ASAAP , works fine. But subsequently,

Re: Refereing to a Container Attribute in a Nested Container

2009-02-19 Thread André Warnier
John Shilling wrote: In particular, in my Context element I would like to create a Parameter element where the value of the value attribute is the appBase attribute of the Host element containing this Context. Can you kind of unwind that sentence, or provide an example, so that we mere mortals

Re: [OT] Apache Tom Cat in a VM as VMWARE or Red Hat Virtualization

2009-02-19 Thread Alan Chaney
Christopher Schultz wrote: Isn't xen basically dead? Or have rumors about its demise been greatly exaggerated? I thought everyone was moving to kvm. Tell that to Citrix? They made revenues of about $620M last year almost entirely based on Xen technology. Still only a fraction of VMWare's

Tomcat committers speaking at ApacheCon EU

2009-02-19 Thread Mark Thomas
Folks, For those of you that haven't looked at http://www.eu.apachecon.com/c/aceu2009 yet, the following Tomcat committers will be speaking at ApacheCon. Mark Thomas (ma...@a.o): - Everything Tomcat - 2 day training course - Securing Tomcat for your Environment - Becoming a Tomcat super user

Re: convert date from Feb 18, 2009 8:56:27 PM to 2009-02-18 20:56:27

2009-02-19 Thread PoWah Wong
--- On Thu, 2/19/09, Christopher Schultz ch...@christopherschultz.net wrote: From: Christopher Schultz ch...@christopherschultz.net Subject: Re: convert date from Feb 18, 2009 8:56:27 PM to 2009-02-18 20:56:27 To: Tomcat Users List users@tomcat.apache.org Received: Thursday, February 19,

RE: [OT] Apache Tom Cat in a VM as VMWARE or Red Hat Virtualization

2009-02-19 Thread Martin Gainty
not a VMWare expert but I found there is a significant boost in Networking connectivity with NAT over Host only ..(please email offline as this is O/T for Tomcat..) Thanks Martin __ Disclaimer and confidentiality note Everything in this e-mail and

Re: Cannot find workers

2009-02-19 Thread Wesley Schwengle
On 19.02.09 16:36 Christopher Schultz wrote: On 2/19/2009 8:37 AM, Wesley Schwengle wrote: I moved some jkmount statements from my mod_jk.conf to the virtualhost section in Apache and it doesn't work as expected. What does it do, and what did you expect? It doesn't work, while the previous

Re: Cannot find workers

2009-02-19 Thread André Warnier
Wesley Schwengle wrote: On 19.02.09 16:36 Christopher Schultz wrote: On 2/19/2009 8:37 AM, Wesley Schwengle wrote: I moved some jkmount statements from my mod_jk.conf to the virtualhost section in Apache and it doesn't work as expected. What does it do, and what did you expect? It doesn't

Re: AJP13 Connector and JKOptions

2009-02-19 Thread Pete Helgren
Thanks Andre. And, I DID carefully read your original post and I had some inkling that the problem had to do with context vs the JKMount directive. I had concluded that Apache had difficulty serving the images and I figured that the JKMount reference somehow was in the middle of it.

Re: Cannot find workers

2009-02-19 Thread János Löbb
On Feb 19, 2009, at 12:09 PM, Wesley Schwengle wrote: On 19.02.09 16:36 Christopher Schultz wrote: On 2/19/2009 8:37 AM, Wesley Schwengle wrote: I moved some jkmount statements from my mod_jk.conf to the virtualhost section in Apache and it doesn't work as expected. What does it do, and

RE: Refereing to a Container Attribute in a Nested Container

2009-02-19 Thread John Shilling
I am setting up Virtual Hosts. In my server.xml I have entries like Server ... Service ... Engine... ... Host name=sample1 appBase=SampleApps1 unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false/ Host name=sample2

RE: convert date from Feb 18, 2009 8:56:27 PM to 2009-02-18 20:56:27

2009-02-19 Thread Martin Gainty
Wong- SimpleDateFormat is not a attribute in java.util.logging.ConsoleHandler http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/ConsoleHandler.html but org.apache.commons.logging.impl.SimpleLog contains the datetime attributes you seek org.apache.commons.logging.simplelog.showdatetime

RE: Refereing to a Container Attribute in a Nested Container

2009-02-19 Thread Caldarale, Charles R
From: John Shilling [mailto:jshill...@scihealth.com] Subject: RE: Refereing to a Container Attribute in a Nested Container Each virtual host has a root.xml That better be ROOT.xml, not root.xml, if you want Tomcat to treat it as the default webapp for the Host; case matters. Context

RE: mod_jk pool/thread/configure questions

2009-02-19 Thread Anthony J. Biacco
Thanx for all that. Responses below. the max of 400 and stay there until tomcat is restarted. Is there a way to resolve this? And more importantly, should I resolve it? Is there any major memory/CPU inplications to it keeping its threads at the max? Do a thread dump kill -QUIT. It goes to

Re: Record and simulate a web app

2009-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 2/18/2009 5:35 PM, Christopher Schultz wrote: This is interesting enough that I might try to do it myself ;) Okay, I finally got the request recorder written. A single top-level class with 561 lines of source, imports, whitespace and

RE: mod_jk pool/thread/configure questions

2009-02-19 Thread Caldarale, Charles R
From: Rainer Jung [mailto:rainer.j...@kippdata.de] Subject: Re: mod_jk pool/thread/configure questions Try maxSpareThreads and minSpareThreads. Do those still work without an Executor? There are no get/set methods for those attributes in AjpProtocol.java in 6.0.18. - Chuck THIS

Re: convert date from Feb 18, 2009 8:56:27 PM to 2009-02-18 20:56:27

2009-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 PoWah, On 2/19/2009 11:51 AM, PoWah Wong wrote: I tried the following two values for the file /usr/tomcat/conf/logging.properties, restarting tomcat does not fix the date format problem. 1. ... java.util.logging.ConsoleHandler.formatter =

Re: Refereing to a Container Attribute in a Nested Container

2009-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, To add to Chuck's comments... On 2/19/2009 12:47 PM, John Shilling wrote: Host name=sample1 appBase=SampleApps1 unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false/ Host

Re: AJP13 Connector and JKOptions

2009-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pete, On 2/19/2009 12:31 PM, Pete Helgren wrote: My servlet uses templates that are relative to the webapps/context folder. I don't tell the template anything more than this: td valign=top class=body12img src=images/bg_hdr_logo.gif

RE: Refereing to a Container Attribute in a Nested Container

2009-02-19 Thread John Shilling
I am setting this up so that each virtual host shares the same document base (i.e., it is the same application in different contexts). No, you're not. You have two different appBase attributes set. If they contain the same applications then great; but you're not sharing a document base.

help in deploying a war file

2009-02-19 Thread Isaac Oren
  I am trying to use Tomcat (5.5) on Windows to deploy the drool brms war file.   I am using the Tomcat Manager simple (last) option to deploy the war file, the response to the deploy actions is OK. And indeed a proper directory is created under the webapp directory.   Nevertheless, the

RE: help in deploying a war file

2009-02-19 Thread Caldarale, Charles R
From: Isaac Oren [mailto:isaaco...@yahoo.com] Subject: help in deploying a war file FAIL - Application at context path /drools-jbrms could not be started What's in the Tomcat logs? What exact version of Tomcat are you using? What JRE/JDK are you using? What platform are you running Tomcat

RE: help in deploying a war file

2009-02-19 Thread Isaac Oren
  Thanks Chuck, got some hint on missing components.. If it doesn't work I'll let you know.. Thanks, Isaac. --- On Thu, 2/19/09, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Caldarale, Charles R chuck.caldar...@unisys.com Subject: RE: help in deploying a war file To: Tomcat

Re: AJP13 Connector and JKOptions

2009-02-19 Thread Pete Helgren
Chris, Thanks I'll that that to heart and dig deeper into the application structure itself when I get the opportunity. I use Freemarker (and a smaller framework called niggle) as my servlet template engine and the only other thing I reference is a resource base in the servlet context like

Re: nio connector configuration

2009-02-19 Thread Peter Warren
Sorry to bump this thread. I'm willing to pay for some assistance if anyone's interested in helping. I'm trying to figure out 2 problems when running my system under a light-moderate load test: 1) why do my comet timeout events not get generated on time (supposed to be every 50 seconds,

Re: convert date from Feb 18, 2009 8:56:27 PM to 2009-02-18 20:56:27

2009-02-19 Thread PoWah Wong
--- On Thu, 2/19/09, Christopher Schultz ch...@christopherschultz.net wrote: From: Christopher Schultz ch...@christopherschultz.net Subject: Re: convert date from Feb 18, 2009 8:56:27 PM to 2009-02-18 20:56:27 To: Tomcat Users List users@tomcat.apache.org Received: Thursday, February 19,

RE: convert date from Feb 18, 2009 8:56:27 PM to 2009-02-18 20:56:27

2009-02-19 Thread PoWah Wong
--- On Thu, 2/19/09, Martin Gainty mgai...@hotmail.com wrote: From: Martin Gainty mgai...@hotmail.com Subject: RE: convert date from Feb 18, 2009 8:56:27 PM to 2009-02-18 20:56:27 To: Tomcat Users List users@tomcat.apache.org Received: Thursday, February 19, 2009, 12:51 PM Wong-

Re: apache tomcat connector header size

2009-02-19 Thread eric tse
Thanks Andre which Apache/Tomcat connector are you talking about ? isapi_redirect.dll (1.2.14.0) The official site is http://tomcat.apache.org/connectors-doc/ what versions of Apache, Tomcat, and the connector ? Proxy on IIS6 windows 2K3, tomcat backend (6.0.18) on solaris 10 on what

RE: help in deploying a war file

2009-02-19 Thread Isaac Oren
  Hi, I am using Tomcat 5.5 on windows..   here is a log after my last try:         Feb 19, 2009 8:55:43 PM org.apache.catalina.core.ApplicationContext log INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain:

RE: convert date from Feb 18, 2009 8:56:27 PM to 2009-02-18 20:56:27

2009-02-19 Thread Caldarale, Charles R
From: PoWah Wong [mailto:wong_po...@yahoo.ca] Subject: Re: convert date from Feb 18, 2009 8:56:27 PM to 2009-02-18 20:56:27 How to implement my own Formatter? The doc is here: http://java.sun.com/javase/6/docs/api/java/util/logging/package-summary.html Subclass java.util.logging.Formatter,

Re: AJP13 Connector and JKOptions

2009-02-19 Thread André Warnier
Pete Helgren wrote: Thanks Andre. And, I DID carefully read your original post and I had some inkling that the problem had to do with context vs the JKMount directive. I had concluded that Apache had difficulty serving the images and I figured that the JKMount reference somehow was in the

Re: Tribes

2009-02-19 Thread Filip Hanik - Dev Lists
that is cause *one* of my flaws as a developer is that I'm not very good at writing and maintaining docs there is a bit more here http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-channel.html the rest is in the code of the library, which isn't that big. if you have any specific questions

Re: Cannot find workers

2009-02-19 Thread Wesley Schwengle
On 19.02.09 14:37 Wesley Schwengle wrote: Could not find worker with name 'w_coinmi' in uri map post processing. workers.list=w_coinmi, w_testme The correct syntax is worker.list. The error is gone.. *bangs head against a wall* Cheers, Wesley -- Online Broadband BV, http://www.online.nl,

very slow class loading on initial JSP/servlet request after restart

2009-02-19 Thread Sam Hokin
I've been struggling with a very severe problem on one of my three Tomcat servers since late December. I'm completely stumped. I'm running 6.0.18 on all three servers, which are all running Fedora Core 9, all currently running Sun's JDK 1.6.0_12. The only difference is hardware. The server

Re: very slow class loading on initial JSP/servlet request after restart

2009-02-19 Thread André Warnier
Sam Hokin wrote: [...] Not being a Tomcat or Java specialist at all, but this being fairly late in the day, I am piqued by your nicely told story and just trying to imagine what could be the cause of the issue you describe. We Belgians, like Hercule Poirot, have a knack for such things.

Re: Clustering probleme

2009-02-19 Thread Filip Hanik - Dev Lists
It's a serialization error. One of the attributes in your session that was serialized on serverA, failed to deserialize on serverB Are you possible running different versions of the same class on the two servers? Filip Stephane DUCAS wrote: Hello I've tryed vertical clustered tomcat

Getting the tomcat server IP

2009-02-19 Thread Natalie Forood
Hello, Can you tell me how I can get the IP address of the interface that is running Tomcat? I can't use localhost, I need the IP of the physical interface. Thanks, Natalie

Re: nio connector configuration

2009-02-19 Thread Filip Hanik - Dev Lists
peter, if you post your test code packaged in such a way that who ever helps you doesn't have to reverse engineer your app to setup the test case and test it locally, then you most likely wont have to pay anyone to help you. The more effort you provide in providing information to the list,

Re: Getting the tomcat server IP

2009-02-19 Thread Natalie Forood
Thanka, but if I have multiple interfaces on the server, how do I know which interface to you from the ifconfig output? Natalie From: Steve ste...@up-south.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, February 19, 2009 4:36:43 PM

RE: Getting the tomcat server IP

2009-02-19 Thread Caldarale, Charles R
From: Natalie Forood [mailto:nfor...@yahoo.com] Subject: Re: Getting the tomcat server IP Thanka, but if I have multiple interfaces on the server, how do I know which interface to you from the ifconfig output? Not sure what you're asking for. Do you have a Tomcat that's already running,

Re: Getting the tomcat server IP

2009-02-19 Thread Natalie Forood
Sorry for not being clear. We install Tomcat along with our product on a Linux server. After it is running we want to find out the IP address that Tomcat is using. If the server has multiple Ethernet interfaces, we cannot determine which IP is the one that is used by Tomcat. For example,

RE: very slow class loading on initial JSP/servlet request after restart

2009-02-19 Thread Caldarale, Charles R
From: Sam Hokin [mailto:s...@ims.net] Subject: very slow class loading on initial JSP/servlet request after restart The server that's being a problem is a Dell PowerEdge 1950, quad dual core. Since I could never believe anything bad could be caused by chocolate (especially dark chocolate),

Re: Getting the tomcat server IP

2009-02-19 Thread Jordan Michaels
If it's a *nix server you could do a netstat and see what's listening to port 8080... Here's an example line from running the following command: netstat -ltpn tcp0 0 :::8080 :::* LISTEN 598/java ... which indicates that tomcat is listening to all

Re: Getting the tomcat server IP

2009-02-19 Thread steve rieger
I believe that tomcat will (unless specified otherwise) bind to all available ip addys -Original Message- From: Natalie Forood nfor...@yahoo.com Date: Thu, 19 Feb 2009 18:41:36 To: Tomcat Users Listusers@tomcat.apache.org Subject: Re: Getting the tomcat server IP

RE: Getting the tomcat server IP

2009-02-19 Thread Caldarale, Charles R
From: Natalie Forood [mailto:nfor...@yahoo.com] Subject: Re: Getting the tomcat server IP After it is running we want to find out the IP address that Tomcat is using. If the server has multiple Ethernet interfaces, we cannot determine which IP is the one that is used by Tomcat. It will

Re: AJP13 Connector and JKOptions

2009-02-19 Thread Pete Helgren
Thanks for your patience Andre. I appreciate your careful, step by step description. I tried a couple of things based on your information and a suggestion from Chris. I started by trying JKMount of /* to my worker and it did work, like I expected, but it also broke all the other apps that

Re: very slow class loading on initial JSP/servlet request after restart

2009-02-19 Thread Ron McNulty
Hi Sam You jar - does it include any JSP tag files written as JSP fragments? There are known issues in this area. The dependency management seems to get confused, resulting in lots of unnecessary compilation of the .tag files Regards Ron - Original Message - From: Sam Hokin

Re: Record and simulate a web app

2009-02-19 Thread Youssef Mohammed
Chris, Wow ! This is really cool. I can't wait seeing this. But wasn't it supposed to be request/response recorder not just request recorder ? Regards, Youssef On Thu, Feb 19, 2009 at 8:26 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE-

SV: SV: SV: When will tomcat 5.5.25 spawn a new process

2009-02-19 Thread Gunnar.Bostrom
Chris, You are right, I get the result of kill -3 in catalina.out. But I don't get any output from the daemon processes, but I do get it from the tomcat process that consumes cpu I think that the daemon processes runs java. ps -ef | grep tomcat serfapp 15158 19967 0 09:38:19 ? 0:00