Re: FW: General / Special cause under which TOMCAT Crash been noticed

2010-04-29 Thread Bob Hall
Karthik, --- On Thu, 4/29/10 at 11:02 PM, Karthik Nanjangude wrote: > > This is in referral to one of the form topics raised some > day's ago > > For JVM  to restart Tomcat in 1 case  when > OnOutOfMemoryError > > was raised > > URL http://marc.info/?l=tomcat-user&m=127119151302985&w=2 > >

FW: General / Special cause under which TOMCAT Crash been noticed

2010-04-29 Thread Karthik Nanjangude
Hi >> for General / Special cause under which TOMCAT Crash been noticed ? This is in referral to one of the form topics raised some day's ago For JVM to restart Tomcat in 1 case when OnOutOfMemoryError was raised URL http://marc.info/?l=tomcat-user&m=127119151302985&w=2 Refers to -XX:OnOu

Re: How to force session replication per request in a Tomcat 6 cluster

2010-04-29 Thread Kevin Jansz
Out of curiosity I tried the SimpleTcpReplicationManager with the useDirtyFlag="false" and it definitely does not work 30/04/2010 10:12:37 AM org.apache.catalina.ha.tcp.SimpleTcpCluster createManager SEVERE: Unable to clone cluster manager, defaulting to org.apache.catalina.ha.session.

Re: FAQ: Tomcat 6 Java Version Requirements

2010-04-29 Thread Len Popp
On Thu, Apr 29, 2010 at 18:02, Konstantin Kolinko wrote: > Requiring to read documentation before running a product is "unfair" ? >  All the files that you have to read first do contain that > information.  Maybe we can adjust some wording and some headers to be > more clear, though. One good thi

Re: FAQ: Tomcat 6 Java Version Requirements

2010-04-29 Thread Pid
On 29/04/2010 22:54, Christopher Schultz wrote: > André, > > On 4/29/2010 5:20 PM, André Warnier wrote: >> Suggestion : in the little table at the top of the "which version?" >> page, add a column with the minimum Java version required. > > +1 see previous for my +1. p >> That seems to me the

Re: FAQ: Tomcat 6 Java Version Requirements

2010-04-29 Thread Konstantin Kolinko
2010/4/30 André Warnier : > Konstantin Kolinko wrote: >> >> 2010/4/29 Christopher Schultz : >>> >>> I was just looking on the TC site to see what minimum Java version is >>> required for TC 6. I just assumed that it would be there because, >>> whenever that question is asked on the list, a snippy r

Re: FAQ: Tomcat 6 Java Version Requirements

2010-04-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/29/2010 5:20 PM, André Warnier wrote: > Suggestion : in the little table at the top of the "which version?" > page, add a column with the minimum Java version required. +1 > That seems to me the most "natural" place. > Putting it in a fi

Re: Tomcat 6 error compiling JSPs with nested @include directives

2010-04-29 Thread Pid
On 29/04/2010 21:33, Konstantin Kolinko wrote: > 2010/4/29 Nuno Faria : >> Strange thing. This is a fresh install of a 6.0.26 and I had created >> the example from scratch. >> But I did as you suggested and cleaned my work folder and now it compiles!? >> >> The names I used where slightly different

Re: FAQ: Tomcat 6 Java Version Requirements

2010-04-29 Thread André Warnier
Konstantin Kolinko wrote: 2010/4/29 Christopher Schultz : I was just looking on the TC site to see what minimum Java version is required for TC 6. I just assumed that it would be there because, whenever that question is asked on the list, a snippy response usually follows it. I know of the fol

Re: Tomcat 6 error compiling JSPs with nested @include directives

2010-04-29 Thread Konstantin Kolinko
2010/4/29 Nuno Faria : > Strange thing. This is a fresh install of a 6.0.26 and I had created > the example from scratch. > But I did as you suggested and cleaned my work folder and now it compiles!? > > The names I used where slightly different but I reverted to mine to > check it back. > I attach

RE: should I serialize?

2010-04-29 Thread Caldarale, Charles R
> From: Yucca Nel [mailto:yucca...@live.co.za] > Subject: should I serialize? > > In my first appliaction that would like to go live, II would like to > know if my webapp needs serialization as I plan to have everything in a > single war an deployed on tomcat with hosting provider. In a non-clust

Re: FAQ: Tomcat 6 Java Version Requirements

2010-04-29 Thread Konstantin Kolinko
2010/4/29 Christopher Schultz : > I was just looking on the TC site to see what minimum Java version is > required for TC 6. I just assumed that it would be there because, > whenever that question is asked on the list, a snippy response usually > follows it. I know of the following places where it

RE: Problem with starting tomcat5

2010-04-29 Thread Caldarale, Charles R
> From: Petr Hracek [mailto:phrac...@gmail.com] > Subject: Re: Problem with starting tomcat5 > > Could please explain me more detailly what do you mean with the > sentence about servlets? Just that having the configuration right is only part of insuring that your servlets will execute properly.

should I serialize?

2010-04-29 Thread Yucca Nel
In my first appliaction that would like to go live, II would like to know if my webapp needs serialization as I plan to have everything in a single war an deployed on tomcat with hosting provider. This does not sound like a case where objects will be serialized there will however be a RDBMS.

Re: Problem with starting tomcat5

2010-04-29 Thread Petr Hracek
Could please explain me more detailly what do you mean with the sentence about servlets? I am user with tomcat and beginner with servlets Thank you in advance Best Regards Petr Hracek 2010/4/29 Caldarale, Charles R > > From: Petr Hracek [mailto:phrac...@gmail.com] > > Subject: Re: Problem with

RE: Adding or Mount a Sub-Context or Archive to a Path

2010-04-29 Thread Jon Kristensen
On Thu, 2010-04-29 at 10:49 -0500, Caldarale, Charles R wrote: > > From: Jon Kristensen [mailto:i...@jonkristensen.com] > > Subject: RE: Adding or Mount a Sub-Context or Archive to a Path > > > > > > I'm forwarding all requests from Apache to Tomcat. > > > > > I have other pages requiring httpd. >

Re: General / Special cause under which TOMCAT Crash been noticed

2010-04-29 Thread David kerber
On 4/29/2010 1:05 PM, Gregor Schneider wrote: Karthik, AFAIK there is no study telling the likeliness of any web- / application-server to crash. If there wer such a study, you'd have to specify a 'lot' of possible crash-scenarioes - startung at misbehaviour of admins, ddos, bad webapps etc. Ma

RE: General / Special cause under which TOMCAT Crash been noticed

2010-04-29 Thread Martin Gainty
it appears an "unknown entity" has distorted the space-time continuim Martin Gainty __ standard caveats apply > Date: Thu, 29 Apr 2010 17:57:42 +0100 > From: p...@pidster.com > To: users@tomcat.apache.org > Subject: Re: General / Special cause und

Re: General / Special cause under which TOMCAT Crash been noticed

2010-04-29 Thread Gregor Schneider
Karthik, AFAIK there is no study telling the likeliness of any web- / application-server to crash. If there wer such a study, you'd have to specify a 'lot' of possible crash-scenarioes - startung at misbehaviour of admins, ddos, bad webapps etc. Make sure you have some solutions ready in case of

Re: General / Special cause under which TOMCAT Crash been noticed

2010-04-29 Thread Pid
On 29/04/2010 17:53, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: General / Special cause under which TOMCAT Crash been >> noticed >> >> I've always noticed that Tomcat has crashed after Tomcat has crashed. > > You mean you haven't

Re: FAQ: Tomcat 6 Java Version Requirements

2010-04-29 Thread Pid
On 29/04/2010 17:46, Christopher Schultz wrote: > All, > > I was just looking on the TC site to see what minimum Java version is > required for TC 6. I just assumed that it would be there because, > whenever that question is asked on the list, a snippy response usually > follows it. > > It's kind

RE: General / Special cause under which TOMCAT Crash been noticed

2010-04-29 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: General / Special cause under which TOMCAT Crash been > noticed > > I've always noticed that Tomcat has crashed after Tomcat has crashed. You mean you haven't installed the quantum tunneling listener yet? - Chuck

RE: Tomcat 6 Java Version Requirements

2010-04-29 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: FAQ: Tomcat 6 Java Version Requirements > > I was just looking on the TC site to see what minimum Java version is > required for TC 6. It's in the RUNNING.txt file in the download: "Apache Tomcat 6.0 requires the Java 2

Re: General / Special cause under which TOMCAT Crash been noticed

2010-04-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karthik, On 4/29/2010 4:19 AM, Karthik Nanjangude wrote: > SPEC > > JDK1.5 > TOMCAT 6.0.26 > O/s : Windows 2000 ,Linux ( Red Hat ) / Unix ( HP ) > > Question : Is there any list of cases , categories with Comparable > Study for General / Special cau

FAQ: Tomcat 6 Java Version Requirements

2010-04-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I was just looking on the TC site to see what minimum Java version is required for TC 6. I just assumed that it would be there because, whenever that question is asked on the list, a snippy response usually follows it. It's kinda buried on the "

Re: Tomcat 6 error compiling JSPs with nested @include directives

2010-04-29 Thread Nuno Faria
This email contained a .zip file attachment. Raytheon does not allow email attachments that are considered likely to contain malicious code. For your protection this attachment has been removed. If this email is from an unknown source, please simply delete this email. If this email was expected

Re: Tomcat 6 error compiling JSPs with nested @include directives

2010-04-29 Thread Pid
On 29/04/2010 15:56, Nuno Faria wrote: > Hi. > > I recently migrated SO from XP + Tomcat 5.5 to Windows 7 64-bit + Tomcat > 6.0.26 > around my webapps got a compile error only in certain JSPs. > > Every JSP that have a @include directive to a JSP that has another > @include directive in its codi

RE: Adding or Mount a Sub-Context or Archive to a Path

2010-04-29 Thread Caldarale, Charles R
> From: Jon Kristensen [mailto:i...@jonkristensen.com] > Subject: RE: Adding or Mount a Sub-Context or Archive to a Path > > > > I'm forwarding all requests from Apache to Tomcat. > > > I have other pages requiring httpd. Please reconcile the above two statements. > What if I want to deploy othe

RE: Adding or Mount a Sub-Context or Archive to a Path

2010-04-29 Thread Jon Kristensen
On Thu, 2010-04-29 at 09:30 -0500, Caldarale, Charles R wrote: > > From: Jon Kristensen [mailto:i...@jonkristensen.com] > > Subject: Adding or Mount a Sub-Context or Archive to a Path > > > > I'm using Apache 2.2.9, Tomcat 6.0.26, and mod_jk. I'm forwarding all > > requests from Apache to Tomcat.

Re: mod_jk Apache2-->Tomcat6

2010-04-29 Thread g f
Well thats embarrassing. Thanks alot! On Thu, Apr 29, 2010 at 10:28 AM, Paolo Santarsiero < paolo.santarsi...@gmail.com> wrote: > JkUnMount /*.html > Where is the worker or load balancer? Should be something like this: > JkUnMount /*.html worker1 > > On 29 April 2010 17:23, g f wrote: > > > Hell

Re: mod_jk Apache2-->Tomcat6

2010-04-29 Thread Paolo Santarsiero
JkUnMount /*.html Where is the worker or load balancer? Should be something like this: JkUnMount /*.html worker1 On 29 April 2010 17:23, g f wrote: > Hello all, > I am not entirely sure this is the correct list to post mod_jk questions > however the link from mod_jk did point to the the tomcat u

mod_jk Apache2-->Tomcat6

2010-04-29 Thread g f
Hello all, I am not entirely sure this is the correct list to post mod_jk questions however the link from mod_jk did point to the the tomcat users list. I am running a debian lenny box with: Apache2 Version: 2.2.9-10+lenny2 Tomcat6 Version: 6.0.24-4 mod_jkVersion: 1:1.2.28-2 I am able to get

Re: Tomcat 6 error compiling JSPs with nested @include directives

2010-04-29 Thread Konstantin Kolinko
2010/4/29 Nuno Faria : > I recently migrated SO from XP + Tomcat 5.5 to Windows 7 64-bit + Tomcat > 6.0.26 > around my webapps got a compile error only in certain JSPs. > There were bugs with includes about 6 month ago, like BZ 47318 [1], but all those should already be fixed in 6.0.24 and 6.0.26

Tomcat 6 error compiling JSPs with nested @include directives

2010-04-29 Thread Nuno Faria
Hi. I recently migrated SO from XP + Tomcat 5.5 to Windows 7 64-bit + Tomcat 6.0.26 around my webapps got a compile error only in certain JSPs. Every JSP that have a @include directive to a JSP that has another @include directive in its coding throws an error. It is as if Nested @includes are not

RE: Adding or Mount a Sub-Context or Archive to a Path

2010-04-29 Thread Caldarale, Charles R
> From: Jon Kristensen [mailto:i...@jonkristensen.com] > Subject: Adding or Mount a Sub-Context or Archive to a Path > > I'm using Apache 2.2.9, Tomcat 6.0.26, and mod_jk. I'm forwarding all > requests from Apache to Tomcat. Then why are you bothering with httpd? Remove it and simplify your life

Adding or Mount a Sub-Context or Archive to a Path

2010-04-29 Thread Jon Kristensen
Hello people! I'm using Apache 2.2.9, Tomcat 6.0.26, and mod_jk. I'm forwarding all requests from Apache to Tomcat. My Tomcat configuration looks like this: www.jon3d.org Now, I want to be able to attach (static) content from a WAR, or even better, a ZIP file, to a subdirector

RE: Problem with starting tomcat5

2010-04-29 Thread Caldarale, Charles R
> From: Petr Hracek [mailto:phrac...@gmail.com] > Subject: Re: Problem with starting tomcat5 > > http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Which says, among other things: "path "The value of this field must not be set except when statically defining a Context in server.xml, a

What's the significance of antiResourceLocking & antiJARLocking

2010-04-29 Thread govind naroji
Hi, I am working on a project where we'll be using Tomcat 6.0.20 for Development and production. I came across some issues related to hot deployment which requires one to set Context.antiResourceLocking to false in server.xml. I had some questions on antiResourceLocking and antiJARLocking. I hav

Re: Problem with starting tomcat5

2010-04-29 Thread Petr Hracek
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html I will delete them. Will the servlets work when I will delete path from the context file? Best Regards Petr 2010/4/29 Caldarale, Charles R > > From: Petr Hracek [mailto:phrac...@gmail.com] > > Subject: Re: Problem with starting tomcat5

RE: logging in multiple tomcat web applications

2010-04-29 Thread Caldarale, Charles R
> From: Jamie [mailto:ja...@stimulussoft.com] > Subject: Re: logging in multiple tomcat web applications > > I tried the catalina.base variable but as far as i can see it puts it > in Tomcat home dir not the webapp dir! As stated before, writing logs to a webapp's directory is *always* a really b

Re: Debugging PermGen problems

2010-04-29 Thread Ognjen Blagojevic
Caldarale, Charles R wrote: From: Ognjen Blagojevic [mailto:ogn...@etf.bg.ac.rs] Subject: Debugging PermGen problems Environment: Tomcat 6.0.14, Windows XP SP2. Before doing *anything* else, move up to the current level (6.0.26). Besides having numerous stability and security fixes beyond yo

Re: logging in multiple tomcat web applications

2010-04-29 Thread Jamie
I tried the catalina.base variable but as far as i can see it puts it in Tomcat home dir not the webapp dir! On 2010/04/29 12:34 PM, Pid wrote: On 29/04/2010 11:27, Jamie wrote: Hi There We use multiple web applications running inside Tomcat and need a painless way for each app to write t

RE: Problem with starting tomcat5

2010-04-29 Thread Caldarale, Charles R
> From: Petr Hracek [mailto:phrac...@gmail.com] > Subject: Re: Problem with starting tomcat5 > > in the RepGen.xml file is: > > Take out the path attribute; it's not allowed here. > When I am calling URL: /RepGen/servlet/ReportRenderer > then HTML page is shown correctly. Then why did you say

RE: logging in multiple tomcat web applications

2010-04-29 Thread Karthik Nanjangude
Hi My suggestion would be to point the logger (log4j.xml) to place the logs in "Tomcat / logs / abclog / folder" This would be safe and not be visible or it is readable by the world With regards karthik -Original Message- From: Jamie [mailto:ja...@stimulussoft.com] Sent: Thursday, A

Re: How to configure ProxyPassReverse for SSL redirect

2010-04-29 Thread Timo Meinen
Hi, Nick Kew from the httpd-users list pointed me to the final solution: The problem is, that the redirect is initiated through the Location header, which can be rewrited with mod_headers: Header edit Location ^([^/]*//[^/]*)?/spike/(.*)$ $1/$2 I think, mod_proxy should rewrite this header, to

Re: Httpd Configuration Clarification

2010-04-29 Thread David Smith
Adjust your script to check http://hostname:443/... An SSL cert is tied to a hostname and will probably fail due to certificate issues if you attempt to access via localhost. Some http script libraries can be rather draconian on this issue. --David On 4/29/2010 3:35 AM, Anisha Parveen wrote: >

Re: logging in multiple tomcat web applications

2010-04-29 Thread Jamie
If we do that, then it will be sitting in the webapp directory where if permissions are not set correctly, it is readable by the world. On 2010/04/29 01:47 PM, David kerber wrote: Just move the log folder up a level. On 4/29/2010 7:04 AM, Jamie wrote: Ok. We are not using Tomcat's web app de

Re: logging in multiple tomcat web applications

2010-04-29 Thread David kerber
Just move the log folder up a level. On 4/29/2010 7:04 AM, Jamie wrote: Ok. We are not using Tomcat's web app deploy feature at all. We manage the deployment of instances. Where then should all the configuration and log data go? I presume with Windows 7, they have protections storing the data i

Re: logging in multiple tomcat web applications

2010-04-29 Thread Jamie
Ok. We are not using Tomcat's web app deploy feature at all. We manage the deployment of instances. Where then should all the configuration and log data go? I presume with Windows 7, they have protections storing the data in the Program Files directory in any case. Should they go in user.home?

Re: logging in multiple tomcat web applications

2010-04-29 Thread Mark Thomas
On 29/04/2010 05:45, Jamie wrote: Aah.. Just what I was looking for.. Thanks! Is it bad to write logs inside WEB-INF? Generally, yes. When the application gets (un|re)deployed, the logs will get deleted. That isn't usually what you want. Mark ---

Re: logging in multiple tomcat web applications

2010-04-29 Thread Pid
On 29/04/2010 11:45, Jamie wrote: > > Aah.. Just what I was looking for.. Thanks! Is it bad to write logs > inside WEB-INF? Writing anything inside a deployed webapp isn't such a good idea. If it's undeployed, then *paf* all your content is gone. If the app got undeployed because of a problem (s

Re: logging in multiple tomcat web applications

2010-04-29 Thread Jamie
Aah.. Just what I was looking for.. Thanks! Is it bad to write logs inside WEB-INF? Jamie On 2010/04/29 12:34 PM, Pid wrote: On 29/04/2010 11:27, Jamie wrote: Hi There We use multiple web applications running inside Tomcat and need a painless way for each app to write to its own log fil

Re: logging in multiple tomcat web applications

2010-04-29 Thread Pid
On 29/04/2010 11:27, Jamie wrote: > Hi There > > We use multiple web applications running inside Tomcat and need a > painless way for each app to write to its own log file. > > In our scenario, each web application has its own log4j.xml file and the > corresponding log file for each instance is s

logging in multiple tomcat web applications

2010-04-29 Thread Jamie
Hi There We use multiple web applications running inside Tomcat and need a painless way for each app to write to its own log file. In our scenario, each web application has its own log4j.xml file and the corresponding log file for each instance is stored in a unique location for that applica

Re: tomcat 7.0.0 ServletContainerInitializer BUG

2010-04-29 Thread Pid
Yep. I don't think this is fixed yet. p On 29/04/2010 10:50, dl wrote: > I builder tomcat 7.0.0 from svn r939221 > below if my code: > > @MySomeAnn > public class MySomeClass{...} > > @HandlesTypes(MySomeAnn.class) > public class ModuleInitializer implements ServletContainerInitializer > {

Re: JAR files still locked after Context.stop()

2010-04-29 Thread Jamie
Hi Chuck I'll try... I think there is a JAR registration issue with Javamail. At least, I found an article on the Internet that talks about it. On 2010/04/27 10:52 PM, Caldarale, Charles R wrote: From: Jamie [mailto:ja...@stimulussoft.com] Subject: Re: JAR files still locked after Context.sto

tomcat 7.0.0 ServletContainerInitializer BUG

2010-04-29 Thread dl
I builder tomcat 7.0.0 from svn r939221 below if my code: @MySomeAnn public class MySomeClass{...} @HandlesTypes(MySomeAnn.class) public class ModuleInitializer implements ServletContainerInitializer { @Override public void onStartup(Set> classSet, ServletContext ctx) throws ServletE

Re: Problem with starting tomcat5

2010-04-29 Thread Petr Hracek
in the RepGen.xml file is: and in web.xml I have: ReportRenderer /servlet/ReportRenderer When I am calling URL: /RepGen/servlet/ReportRenderer then HTML page is shown correctly. If this is wrong why the page is shown? best regards Petr 2010/4/29 Pid > On 29/04/2010

General / Special cause under which TOMCAT Crash been noticed

2010-04-29 Thread Karthik Nanjangude
Hi SPEC JDK1.5 TOMCAT 6.0.26 O/s : Windows 2000 ,Linux ( Red Hat ) / Unix ( HP ) Question : Is there any list of cases , categories with Comparable Study for General / Special cause under which TOMCAT Crash been noticed ? I need this Info for Production server (24 X 7) strategy alertn

Re: Httpd Configuration Clarification

2010-04-29 Thread Anisha Parveen
Thank you for the response. That was a type error. https://hostname:443/cns/ser/CTConfigService On Thu, Apr 29, 2010 at 12:54 PM, Pid wrote: > On 29/04/2010 07:24, Anisha Parveen -X (anparvee - Infosys at Cisco) wrote: > > Hi, > > > > I am facing a prob

Re: Httpd Configuration Issue

2010-04-29 Thread Pid
On 29/04/2010 07:43, Anisha Parveen wrote: > Hi, > > I am facing a problem with my configuration. Problem basically is that I > am able to access the WebServices URL Say > > _http://hostname:443/cns/ser/CTConfigService_ through the browser. > > However, the script running on the machine checks a

Re: Problem with starting tomcat5

2010-04-29 Thread Pid
On 29/04/2010 07:34, Petr Hracek wrote: > Yes you are right bad configuration in web.xml. > In the conf/Catalina/localhost/ is RepGen.xml > and in web.xml file is /ReportRenderer. Then surely the correct URL to call is: /RegGen/ReportRenderer > When I change them to /servlet/ReportRenderer > n

Re: Httpd Configuration Clarification

2010-04-29 Thread Pid
On 29/04/2010 07:24, Anisha Parveen -X (anparvee - Infosys at Cisco) wrote: > Hi, > > I am facing a problem with my configuration. Problem basically is that I > am able to access the WebServices URL > Say http://hostname:443/cns/ser/CTConfigService through the browser. Your SSL config is probabl