Httpd Configuration Clarification

2010-04-29 Thread Anisha Parveen -X (anparvee - Infosys at Cisco)
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 an url https://localhost:443/cns/ser/CTConfigService. The

getting servlet context in JSF?

2010-04-29 Thread Yucca Nel
Hello, is it possible to gain access to servletcontext from JSP using faces or servlet EL? I need to gain access to resources in WEB-INF and creating a servlet is too verbose if there is an existing mechanism to get resource using faces or servlet expression language. regards, Yucca

Re: Problem with starting tomcat5

2010-04-29 Thread Petr Hracek
Yes you are right bad configuration in web.xml. In the conf/Catalina/localhost/ is RepGen.xml and in web.xml file is /ReportRenderer. When I change them to /servlet/ReportRenderer no it's wokring. Best Regards Petr 2010/4/28 André Warnier a...@ice-sa.com Petr Hracek wrote: Hello *, thanks

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

2010-04-29 Thread Kevin Jansz
that's brilliant, thank you ... I have a bit more confidence in trying this out if the custom code is so minimal. It does look like all we require if it plugs into the default (delta?) manager from tomcat too that'd be great. I'll let you know how we get on ... I would be interested to know if

Httpd Configuration Issue

2010-04-29 Thread Anisha Parveen
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*http://hostname:443/cns/ser/CTConfigServicethrough the browser. However, the script running on the machine checks an url *

Re: getting servlet context in JSF?

2010-04-29 Thread Bob Hall
Yucca, --- On Wed, 4/28/10 at 11:34 PM, Yucca Nel yucca...@live.co.za wrote: Hello, is it possible to gain access to servletcontext  from JSP using faces or servlet EL? Yes. Using your subject line in a google search, third result:

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 probably

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 no

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 an url

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/CTConfigServicehttps://hostname/cns/ser/CTConfigService On Thu, Apr 29, 2010 at 12:54 PM, Pid p...@pidster.com wrote: On 29/04/2010 07:24, Anisha Parveen -X (anparvee - Infosys at Cisco) wrote: Hi, I am

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

Re: Problem with starting tomcat5

2010-04-29 Thread Petr Hracek
in the RepGen.xml file is: ?xml version='1.0' encoding='utf-8'? Context path=/RepGen docBase=/opt/repgen/servlet /Context and in web.xml I have: servlet-mapping servlet-nameReportRenderer/servlet-name url-pattern/servlet/ReportRenderer/url-pattern /servlet-mapping When I

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

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

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 {

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

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 stored

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

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

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 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 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

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

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: 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,

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,

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: ?xml version='1.0' encoding='utf-8'? Context path=/RepGen docBase=/opt/repgen/servlet Take out the path attribute; it's not allowed here. When I am calling URL:

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

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

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 bad

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 chuck.caldar...@unisys.com From: Petr Hracek [mailto:phrac...@gmail.com] Subject: Re:

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

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, as it

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: Host name=jon3d.org appBase=webapps unpackWARs=false autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context path=

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

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

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

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 gfo...@gmail.com 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

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 gfo...@gmail.com wrote:

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. Then

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 other sites

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 coding

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: 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 cause

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 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: 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 kinda

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 installed

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

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 under

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.

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. Please

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 chuck.caldar...@unisys.com From: Petr Hracek [mailto:phrac...@gmail.com]

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 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.

Re: FAQ: Tomcat 6 Java Version Requirements

2010-04-29 Thread Konstantin Kolinko
2010/4/29 Christopher Schultz ch...@christopherschultz.net: 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

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-clustered

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

2010-04-29 Thread Konstantin Kolinko
2010/4/29 Nuno Faria nuno.m.fa...@gmail.com: 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

Re: FAQ: Tomcat 6 Java Version Requirements

2010-04-29 Thread André Warnier
Konstantin Kolinko wrote: 2010/4/29 Christopher Schultz ch...@christopherschultz.net: 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

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 nuno.m.fa...@gmail.com: 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

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 file

Re: FAQ: Tomcat 6 Java Version Requirements

2010-04-29 Thread Konstantin Kolinko
2010/4/30 André Warnier a...@ice-sa.com: Konstantin Kolinko wrote: 2010/4/29 Christopher Schultz ch...@christopherschultz.net: 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

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 most natural

Re: FAQ: Tomcat 6 Java Version Requirements

2010-04-29 Thread Len Popp
On Thu, Apr 29, 2010 at 18:02, Konstantin Kolinko knst.koli...@gmail.com 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,

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 Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster Manager className=org.apache.catalina.ha.session.SimpleTcpReplicationManager