Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Mon Cab
Given the results below it looks like this is not a daylight savings time issue. In fact its extremely odd behavior. Both Tomcat and the OS have the correct time, and yet when Tomcat compiles the JSP, the java and class files in the work directory have a create / modified time-stamp exactly 1

Regarding BUsy Thread in TOmcat 4

2009-08-13 Thread sunil chandran
Hello all, I am getting an error daily in tomcat 4.1.24 version. SEVERE: All threads are busy, waiting. Please increase maxthreads or check the servlet status 75 75.Stopping service tomcat-standalone Please help me out why this erro is happeningMy tomcat service stops every night because of this

Re: Tomcat over AJP with Apache in front SSL Issues

2009-08-13 Thread matt617
I am using Apaches MOD SSL to do the certificate enforcement. It then uses the mod proxy to push the certificate info over AJP to my tomcat instance. tomcat does not have SSL enables at the container level but my application seems to pick up the certificate info jsut fine this way... yes i mean

File view in tomcat

2009-08-13 Thread praveen83
Hi folks, I have some files in the one of the web application (say sample) but these files can be opened from other system without any authentication. example: http://192.168.100.1:8080/sample/MEL2/IC/2008/APR/MEL2_IC_2008_APR_EMP12301.pdf. so please any guide me how over come these problem as

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Mon Cab
Fedora Core release 4 (Stentz) Java 1.4.2 I ran the code in the article you sent to get the JVM time, and the JVM is giving the correct time... ie. same as the OS gives when I type the date command. - Original Message From: Andre-John Mas To: Tomcat Users List Sent: Thursday, A

RE: Listener Start Error

2009-08-13 Thread Mohamed Shah
Actually I am using Liferay portal Bundled with tomcat. So is the confusion. Anyway I will get the latest one from them(liferay). Thanks. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, August 13, 2009 6:40 PM To: Tomcat Users List Su

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Andre-John Mas
On 14-Aug-2009, at 00:09, Andre-John Mas wrote: On 13-Aug-2009, at 23:59, Mon Cab wrote: Sorry forgot to answer your other questions. I'm using Fedora, and timezone is PDT. Pacific. Which Fedora version? Also what version of Java? I am wondering whether there is a daylight saving iss

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Andre-John Mas
On 13-Aug-2009, at 23:59, Mon Cab wrote: Sorry forgot to answer your other questions. I'm using Fedora, and timezone is PDT. Pacific. Which Fedora version? Also what version of Java? I am wondering whether there is a daylight saving issue. Maybe there is something in this article of r

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Mon Cab
I'm using Fedora, and timezone is PDT. Pacific. - Original Message From: Andre-John Mas To: Tomcat Users List Sent: Thursday, August 13, 2009 9:01:34 PM Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's On 13-Aug-2009, at 23:55, Mon Cab wrote: > > That's what I

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Andre-John Mas
On 13-Aug-2009, at 23:55, Mon Cab wrote: That's what I thought. However if I edit and reload a file at 20:00, and check the system time with date command I get 20:00 as the system time. And yet the compiled Java and Class files are timestamped 21:00 What operating system and version are

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Mon Cab
Sorry forgot to answer your other questions. I'm using Fedora, and timezone is PDT. Pacific. - Original Message From: Mon Cab To: Tomcat Users List Sent: Thursday, August 13, 2009 8:55:43 PM Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's That's what I thoug

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Mon Cab
That's what I thought. However if I edit and reload a file at 20:00, and check the system time with date command I get 20:00 as the system time. And yet the compiled Java and Class files are timestamped 21:00 - Original Message From: Andre-John Mas To: Tomcat Users List Sent

Re: Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Andre-John Mas
The time stamp on the file is given by your OS. What operating system and version are you using? Also, what time zone are you in? André-John On 13-Aug-2009, at 23:38, Mon Cab wrote: When I edit a JSP, tomcat is compiling the JSP (both java and class files) in the work directory with a ti

Tomcat writing the wrong timestamp on compiled JSP's

2009-08-13 Thread Mon Cab
When I edit a JSP, tomcat is compiling the JSP (both java and class files) in the work directory with a timestamp exactly 1 hour greater than the current time. Eg. If I edit a jsp (after emptying the work directory), at 20:00, and then load the page from a client, class and java files will

Re: swallowOutput not working properly?

2009-08-13 Thread Eric B.
"Filip Hanik - Dev Lists" wrote in message news:4a849e55.1030...@hanik.com... > On 08/13/2009 02:09 PM, Eric B. wrote: >> "Filip Hanik - Dev Lists" wrote in message >> news:4a84706e.2040...@hanik.com... >> >>> Tomcat doesn't use log4j in v6 in its standard distribution. You have to >>> build an

Re: questions on tomcat cluster

2009-08-13 Thread TianJing
hi, the patch you send to me is helpfull and it works now,thanks for your help! 2009/8/14 Filip Hanik - Dev Lists > I'm not sure what youre pointing at here, what is not working? > > Filip > > > On 08/10/2009 09:48 PM, TianJing wrote: > >> i use the patch you send to me, it is much better than

Re: Tomcat questions

2009-08-13 Thread hruesga
No, BMC has no idea regarding why tomcat behaves like this way, actually they only support BMC Applications does not give any reference from other apps (including webservers) Pid-6 wrote: > > On 13/08/2009 20:42, hruesga wrote: >> >> Listers: >> >> We have some issues with one application publis

Re: NIO vs APR vs JIO connectors?

2009-08-13 Thread Filip Hanik - Dev Lists
On 08/13/2009 09:39 AM, Eric B. wrote: Hi, I've been trying to read all the threads relating to which connector is "best" to use HTTP (no SSL). I am planning to use Pound as an HTTP load balancer in front of Tomcat as I have no need for all the bells and whistles that Apache provides and Pound

Re: swallowOutput not working properly?

2009-08-13 Thread Filip Hanik - Dev Lists
On 08/13/2009 02:09 PM, Eric B. wrote: "Filip Hanik - Dev Lists" wrote in message news:4a84706e.2040...@hanik.com... Tomcat doesn't use log4j in v6 in its standard distribution. You have to build an adapter for that I don't understand at all. Can you please clarify? All I am tryin

Re: questions on tomcat cluster

2009-08-13 Thread Filip Hanik - Dev Lists
I'm not sure what youre pointing at here, what is not working? Filip On 08/10/2009 09:48 PM, TianJing wrote: i use the patch you send to me, it is much better than before,but it still have some problems: i must refresh the page and it could works for a few minute,then the session has gone.i ne

Re: caching query

2009-08-13 Thread André Warnier
vik111 wrote: Hi. I am developing a website where on the homepage there will be 50+ images displayed, hence performance of my app is imperative. I have read about browser caching and was wondering is there any configuration required to enable this in tomcat 6? Also part of my app is form authe

caching query

2009-08-13 Thread vik111
Hi. I am developing a website where on the homepage there will be 50+ images displayed, hence performance of my app is imperative. I have read about browser caching and was wondering is there any configuration required to enable this in tomcat 6? Also part of my app is form authenticated and I

RE: slight problem with Tomcat and Httpd working together.

2009-08-13 Thread Caldarale, Charles R
> From: Josh Gooding [mailto:josh.good...@gmail.com] > Subject: Re: slight problem with Tomcat and Httpd working together. > > *Wait a sec, illegal as in (will throw an exception) or just bad > practice? Illegal in that predictable behavior cannot be guaranteed. Tomcat is pretty good about ignor

Re: swallowOutput not working properly?

2009-08-13 Thread Eric B.
Hi Martin, > 3 main items for Log4J are##CONSOLE# A1 uses > PatternLayout.log4j.appender.A1.layout=org.apache.log4j.PatternLayoutlog4j.appender.A1.layout.ConversionPattern=%-4r > > [%t] %-5p %c %x - %m%n# A1 is set to be a > Appender.log4j.appender.A1=org.apache.log4j.ConsoleAppender# Set

RE: avoiding ssl vulnerabilities in tomcat

2009-08-13 Thread George Sexton
Andre, Another good reference for this kind of situation is: How To Ask Questions The Smart Way by Eric Raymond http://catb.org/~esr/faqs/smart-questions.html Sunil, You're asking people on the list to do your homework for you. Specifically, telling you how to do the upgrade. You need to figur

Re: slight problem with Tomcat and Httpd working together.

2009-08-13 Thread Josh Gooding
> I understand what the appBase is > > Perhaps you don't; the appBase attribute of a is the /default/ > deployment directory for its webapps; individual webapps are typically > located *under* the appBase directory. > > > I don't understand why the docBase and appBase cannot be the > > same declar

Re: swallowOutput not working properly?

2009-08-13 Thread Eric B.
"Filip Hanik - Dev Lists" wrote in message news:4a84706e.2040...@hanik.com... > Tomcat doesn't use log4j in v6 in its standard distribution. You have to > build an adapter for that I don't understand at all. Can you please clarify? All I am trying to accomplish is have the stdout from my web

Re: Tomcat questions

2009-08-13 Thread Pid
On 13/08/2009 20:42, hruesga wrote: Listers: We have some issues with one application published over Tomcat 5.5.15 during our troubleshooting we had seen the next errors / messages, and we like to know more about them: I can't find 5.5.15 in the archives, but 5.5.16 seems to be dated 16th Ma

Re: swallowOutput not working properly?

2009-08-13 Thread Filip Hanik - Dev Lists
Tomcat doesn't use log4j in v6 in its standard distribution. You have to build an adapter for that Filip On 08/13/2009 12:49 PM, Eric B. wrote: Hi, I'm trying to get Tomcat to log the output each context individually in its own log file. I tried using the swallowOutput in my object definiti

Re: swallowOutput not working properly?

2009-08-13 Thread Eric B.
"Eric B." wrote in message news:h61n91$r1...@ger.gmane.org... > I tried using the swallowOutput in my object definition, but am > getting some really weird results from it. My webapp uses log4j to do its > logging with its own log4j.xml file within the webapp, and all log4j's > output is > de

Tomcat questions

2009-08-13 Thread hruesga
Listers: We have some issues with one application published over Tomcat 5.5.15 during our troubleshooting we had seen the next errors / messages, and we like to know more about them: - We have reached the max number proxies in the pool; wait for one to become available for thread Tid_84 for serv

RE: SSLHandshakeException

2009-08-13 Thread Caldarale, Charles R
> From: Burton, Tom F (DOR) [mailto:tom.bur...@alaska.gov] > Subject: RE: SSLHandshakeException > > I've tried importing them to the /opt/tomcat/CustomKeystore, > but I'm beginning to think that that Store might only be used > by tomcat when it is the "server" in a secure connection instead > of t

RE: SSLHandshakeException

2009-08-13 Thread Burton, Tom F (DOR)
I found that link yesterday. I looked it over but instead tried to follow the instructions I found here: http://www.java-samples.com/showtutorial.php?tutorialid=210 instead. My Tomcat has a custom keystore, /opt/tomcat/CustomKeystore. Also I tried to run the InstallCerts program this morning

swallowOutput not working properly?

2009-08-13 Thread Eric B.
Hi, I'm trying to get Tomcat to log the output each context individually in its own log file. I tried using the swallowOutput in my object definition, but am getting some really weird results from it. My webapp uses log4j to do its logging with its own log4j.xml file within the webapp, and all

stripes framework and Tomcat with security manager

2009-08-13 Thread JiangHongTiao
Hi, i'm trying to write a web page with the Stripes framework. Everything works fine when the Tomcat is running without the security manager. But when I turn on the security manager, my application throws an error: HTTP Status 404 - type Status report message description The requested resource (

Re: Log4j vs JULI configuration discrepancy

2009-08-13 Thread Eric B.
"Eric B." wrote in message news:h5um4f$jh...@ger.gmane.org... > "Mark Thomas" wrote in message > news:4a7c9110.50...@apache.org... >> Eric B. wrote: >>> Is there a workaround for this, or just one of those things that you >>> have to >>> learn to live with? >> >> In catalina.properties, modify

Re: Need some SSL Config help.

2009-08-13 Thread Josh Gooding
Ah, I am semi starting to understand now. I was able to use openssl to convert my pfx to a pem file which is part of the battle. From what I have read in the docs, I needed a .crt file as well, which I used the .txt file that the hosting co provided to me. It's nothing but a plain text PGP signa

RE: SSL Using IP Addresses

2009-08-13 Thread Martin Gainty
no problem the SSH handshake needs to happen before the HTTPConnection goes live so if you use 127.0.0.1 or 0.0.0.0 as host in the cert you'll want to use that same IP for virtual-server host (or hosts) attribute asadmin>stop-domain make necessary edits to domain.xml asadmin>start-domain Marti

RE: Tomcat 6 shutdown hangs server when using JDK 6.0_15

2009-08-13 Thread Dan Denton
Upgrading the system from kernel release 2.6.9-5 (ancient, I know) to release 89 seems to have resolved the problem. As of now, no server hangs when tomcat is restarted. Thanks for the suggestion Juha... -Original Message- From: Dan Denton [mailto:dden...@remitpro.com] Sent: Wednesday,

Re: SSL Using IP Addresses

2009-08-13 Thread Jeff Sexton
Hello - We do not have permission to create a hosts file entry (that was my first idea). We also do not need both IP address and host name to work at the same time, just the IP address. Our problem seems to be that the Tomcat client wants to find a certificate by hostname, even when the URL requ

Re: avoiding ssl vulnerabilities in tomcat

2009-08-13 Thread André Warnier
sunil, please read this : http://slash7.com/pages/vampires - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: NIO vs APR vs JIO connectors?

2009-08-13 Thread Mark Thomas
Eric B. wrote: > Hi, > > I've been trying to read all the threads relating to which connector is > "best" to use HTTP (no SSL). I am planning to use Pound as an HTTP load > balancer in front of Tomcat as I have no need for all the bells and whistles > that Apache provides and Pound is fast an

Re: SSL Using IP Addresses

2009-08-13 Thread Ognjen Blagojevic
Jeff Sexton wrote: We have a situation where we need to call a SOAP service in a Glassfish server via HTTPS from a servlet in Tomcat. We extract a self-signed certificate from Glassfish and imported it on the Tomcat server. It all works in situations where we can use the fully-qualified host na

NIO vs APR vs JIO connectors?

2009-08-13 Thread Eric B.
Hi, I've been trying to read all the threads relating to which connector is "best" to use HTTP (no SSL). I am planning to use Pound as an HTTP load balancer in front of Tomcat as I have no need for all the bells and whistles that Apache provides and Pound is fast and light. >From what I've b

RE: Unable to access resources using initial context factory

2009-08-13 Thread Bas Vermeulen
I'm sorry. The Tomcat version I'm using is 6.0.14 . I've installed it as part of the Adobe lcds installation. JVM: Sun JRE 1.6.0_07 OS: Windows XP 5.1.2600 Best regards, Bas -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, August 13, 20

RE: Unable to access resources using initial context factory

2009-08-13 Thread Caldarale, Charles R
> From: Bas Vermeulen [mailto:bjvermeu...@gmail.com] > Subject: Unable to access resources using initial context factory > > The complete story is as follows: Hardly; you don't even tell us the Tomcat version you're using, let alone the JVM or OS. - Chuck THIS COMMUNICATION MAY CONTAIN CONFI

Unable to access resources using initial context factory

2009-08-13 Thread Bas Vermeulen
Dear all, In short: I'm having difficulties setting up an initial context factory to acces resources defined in context.xml . The complete story is as follows: I'm trying to let send messages from Adobe lcds to JMS. I'm running into jndi issues (I think) however. It says: INFO: [LCDS] [INFO] JMS

RE: increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Caldarale, Charles R
> From: Fred Janon [mailto:fja...@gmail.com] > Subject: Re: increasing JVM heap space in Tomcat 6.0 (Windows XP) > > I don't think the JRE download includes the server jvm anymore, As I recall, the 64-bit Windows JREs contain only the server JVM (feast or famine, it seems). - Chuck THIS COMM

SSL Using IP Addresses

2009-08-13 Thread Jeff Sexton
Hello - We have a situation where we need to call a SOAP service in a Glassfish server via HTTPS from a servlet in Tomcat. We extract a self-signed certificate from Glassfish and imported it on the Tomcat server. It all works in situations where we can use the fully-qualified host name in the re

Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Fred Janon
Yes, I always download the JDK and use the server jvm in there. I don't think the JRE download includes the server jvm anymore, at least not in the few I downloaded lately. Fred On Thu, Aug 13, 2009 at 22:08, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Fred Janon [mailto:

RE: increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Caldarale, Charles R
> From: Fred Janon [mailto:fja...@gmail.com] > Subject: Re: increasing JVM heap space in Tomcat 6.0 (Windows XP) > > Complementary question: what is the recommended JVM to use with Tomcat: > client/jvm.dll or server/jvm.dll? Server. Note that some of Sun's Windows JRE downloads do not include a

RE: Running an applet when tomcat starts

2009-08-13 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Running an applet when tomcat starts > > Using my amazing powers of telepathy I shall guess the contents of your > modified shell script. Please wait for my next message... While you're at it, try to divine the OP's understanding (or lack ther

Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Fred Janon
Complementary question: what is the recommended JVM to use with Tomcat: client/jvm.dll or server/jvm.dll? Thanks Fred On Thu, Aug 13, 2009 at 21:56, Christoph Kukulies wrote: > jre_1.5.0_06/client/jvm.dll >

Re: Running an applet when tomcat starts

2009-08-13 Thread Pid
On 13/08/2009 13:12, Aditya R wrote: Hello, I'm trying to run a swing applet in a jar executable as soon as tomcat starts. I tried to put the following command inside startup.sh 'java -jar frontend2.jar'. I'm able to run the script by running the mentioned command from my own shell script

Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Pid
On 13/08/2009 14:56, Christoph Kukulies wrote: Caldarale, Charles R schrieb: From: Christoph Kukulies [mailto:k...@kukulies.org] Subject: increasing JVM heap space in Tomcat 6.0 (Windows XP) I tried to start the Tomcat6 service under Windows XP then manually giving it the start parameters -Xms6

Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Christoph Kukulies
Caldarale, Charles R schrieb: From: Christoph Kukulies [mailto:k...@kukulies.org] Subject: increasing JVM heap space in Tomcat 6.0 (Windows XP) I tried to start the Tomcat6 service under Windows XP then manually giving it the start parameters -Xms64m -Xmx1024m, but I'm still getting the error.

tomcat cluster security

2009-08-13 Thread Tsirkin Evgeny
Hi list! I am trying to setup a tomcat cluster with 2 members (2 different machines ). On each machine there is an apache & tomcat connected to it via mod_jk For whatever reason the session stickiness does not works well - this is the reason for cluster. As much as i understand setting cluster mea

Re: Tomcat 6 clustering and engine's defaulthost

2009-08-13 Thread Filip Hanik - Dev Lists
consider this, if you have how is the cluster supposed to map replication data from one tomcat instance to another if it doesn't use the host name? :) Filip On 08/13/2009 03:55 AM, Ossi wrote: On Wed, Aug 12, 2009 at 5:26 PM, Caldarale, Charles R< chuck.caldar...@unisys.com> wrote:

RE: increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Caldarale, Charles R
> From: Christoph Kukulies [mailto:k...@kukulies.org] > Subject: increasing JVM heap space in Tomcat 6.0 (Windows XP) > > I tried to start the Tomcat6 service under Windows XP then manually > giving it the start parameters > -Xms64m -Xmx1024m, but I'm still getting the error. What JVM version are

RE: Listener Start Error

2009-08-13 Thread Caldarale, Charles R
> From: Mohamed Shah [mailto:mohamed.s...@tecnotree.com] > Subject: RE: Listener Start Error > > Version: > Tomcat 6.0.5.1.2 No such animal; where did you get that information? If it is indeed some variation of Tomcat 6.0.5, you should immediately upgrade to 6.0.20, since there have been many,

Re: NullPointerException - org.apache.tomcat.util.http.MimeHeaders.clear(MimeHeaders.java:130)

2009-08-13 Thread Rastogi Nikhil
Hi Mark, Pardon me for the mistakes (this was my first ever post to any forum). The full stack trace is as follows: java.lang.NullPointerException at org.apache.tomcat.util.http.MimeHeaders.clear(MimeHeaders.java:130) at org.apache.coyote.Response.reset(Response.java:289)

RE: Tomcat 6 clustering and engine's defaulthost

2009-08-13 Thread Caldarale, Charles R
> From: Ossi [mailto:los...@gmail.com] > Subject: Re: Tomcat 6 clustering and engine's defaulthost > > > Problem occurred when we had in server 1: > jvmRoute="route1"> > and in server 2: > jvmRoute="route2"> Fragments of server.xml aren't helping; post the *complete* server.xml. > So,

RE: Why myApps classpath is tomcat/common

2009-08-13 Thread Caldarale, Charles R
> From: Lin Chun [mailto:franks1...@gmail.com] > Subject: Re: Why myApps classpath is tomcat/common > > I log the classpath by > > MyClass.class.getClassLoader().getResource("/") > Thread.currentThread().getContextClassLoader().getResource("") I see no logging here. You would likely be better o

Re: How to set Realm digest for base64 password

2009-08-13 Thread Mark Thomas
Lin Chun wrote: > hi, > I am using the JDBCRealm , but the password of user is not pure text, but > stored in base64 encoding > > Followd the doc, seems I have to set the digest , but I don't know which > digest and digestEncoding should I use? Sorry, that won't work. You'll need to write a custo

Re: NullPointerException - org.apache.tomcat.util.http.MimeHeaders.clear(MimeHeaders.java:130)

2009-08-13 Thread Mark Thomas
Rastogi Nikhil wrote: > I've implemented Axis2 Web Services in Tomcat 5.5.26 and at times of high > load (when there are several web service client requests coming in to > Tomcat), Tomcat starts throwing following NPE: Posting the same question to the dev and users list is poor list etiquette. If

Running an applet when tomcat starts

2009-08-13 Thread Aditya R
Hello, I'm trying to run a swing applet in a jar executable as soon as tomcat starts. I tried to put the following command inside startup.sh 'java -jar frontend2.jar'. I'm able to run the script by running the mentioned command from my own shell script file. But trying to run it inside start

Re: response header fields

2009-08-13 Thread Pid
On 13/08/2009 12:18, acastanheira2001 wrote: Hi, Can you tell me what response headers do I need to suppress in order to improve security? I'm sure it'll start a vigorous discussion if I say it, but IMHO there's not much of an improvement to security to be gained from hiding these headers.

Re: How do you handle 'rewrite queries' ?

2009-08-13 Thread Paul Taylor
Christopher Schultz wrote: If you're looking for URL rewriting in Java, you need go no further than http://tuckey.org/urlrewrite/ So I had a look at urlrewrite, when you first mentioned it I didnt realise you could plug it in as a filter, and it seems to be what I need I'm not sure you reall

Re: Clustering in Tomcat

2009-08-13 Thread Pid
On 13/08/2009 12:13, kiransarv wrote: tomcat version 6, apache 2.2 and i ama using rewritemap to connect to tomcat server ... and the rewritemap is using what, mod_proxy & mod_proxy_ajp or mod_proxy_http, I'd guess? mod_jk and mod_proxy can be configured to handle load balancing activities

response header fields

2009-08-13 Thread acastanheira2001
Hi, Can you tell me what response headers do I need to suppress in order to improve security? Response headers example: Server: Apache-Coyote x-powered-by: I think the above headers inform too much, so I will remove them. Am I paranoid, or is it a good practice? Thanks, André -- V

Re: Clustering in Tomcat

2009-08-13 Thread kiransarv
tomcat version 6, apache 2.2 and i ama using rewritemap to connect to tomcat server Pid-6 wrote: > > On 13/08/2009 11:17, kiransarv wrote: >> >> Hi all, >> >> I am using an apache server as a front end and redirecting all http >> requests >> to tomcat server at the back. I want to make my clust

increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Christoph Kukulies
I'm using the OpenCMS contentmanagement system under Tomcat 6.0. When I'm trying to use a file upload widget (http-upload) I'm getting a java heap error (OutOfMemory) from the OpenCMS servlet. I tried to start the Tomcat6 service under Windows XP then manually giving it the start parameters

Re: Tomcat 6 clustering and engine's defaulthost

2009-08-13 Thread Ossi
> Yes, it will be harmful. > How it is harmful? In my example the non-existing name (not in DNS nor hosts file) is matches the name attribute of the only Host element, so that is as manual instructs. And btw, we're using Apache httpd in front of Tomcat cluster, if that happens to matter in this c

Re: How to set Realm digest for base64 password

2009-08-13 Thread Lin Chun
sorry given little detail Tomcat 5.5 JVM 1.5 OS linux On Thu, Aug 13, 2009 at 12:21 PM, Pid wrote: > Tomcat version? > JVM version? > OS version? > > p > > > > On 13/08/2009 10:37, Lin Chun wrote: > >> hi, >> I am using the JDBCRealm , but the password of user is not pure text, but >> stored in

Re: Clustering in Tomcat

2009-08-13 Thread Pid
On 13/08/2009 11:17, kiransarv wrote: Hi all, I am using an apache server as a front end and redirecting all http requests to tomcat server at the back. I want to make my cluster highly available. I have set up HA at apache server level using heartbeat with the help of virtual. Now I also want

Re: Tomcat 6 clustering and engine's defaulthost

2009-08-13 Thread Pid
On 13/08/2009 10:55, Ossi wrote: On Wed, Aug 12, 2009 at 5:26 PM, Caldarale, Charles R< chuck.caldar...@unisys.com> wrote: From: Ossi [mailto:los...@gmail.com] Subject: Tomcat 6 clustering and engine's defaulthost Looks like if configuring a Tomcat 6 cluster Engine's and host's default host

Re: How to set Realm digest for base64 password

2009-08-13 Thread Pid
Tomcat version? JVM version? OS version? p On 13/08/2009 10:37, Lin Chun wrote: hi, I am using the JDBCRealm , but the password of user is not pure text, but stored in base64 encoding Followd the doc, seems I have to set the digest , but I don't know which digest and digestEncoding should I u

Clustering in Tomcat

2009-08-13 Thread kiransarv
Hi all, I am using an apache server as a front end and redirecting all http requests to tomcat server at the back. I want to make my cluster highly available. I have set up HA at apache server level using heartbeat with the help of virtual. Now I also want to make tomcat servers redundant and mak

Re: Tomcat 6 clustering and engine's defaulthost

2009-08-13 Thread Ossi
On Wed, Aug 12, 2009 at 5:26 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Ossi [mailto:los...@gmail.com] > > Subject: Tomcat 6 clustering and engine's defaulthost > > > > Looks like if configuring a Tomcat 6 cluster Engine's and host's > > default host must be "localhos

How to set Realm digest for base64 password

2009-08-13 Thread Lin Chun
hi, I am using the JDBCRealm , but the password of user is not pure text, but stored in base64 encoding Followd the doc, seems I have to set the digest , but I don't know which digest and digestEncoding should I use? that's what I do now -- -- --

RE: Listener Start Error

2009-08-13 Thread Mohamed Shah
Hi, Version: Jdk1.5 Windows xp sp2 Tomcat 6.0.5.1.2 -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Thursday, August 13, 2009 1:42 PM To: Tomcat Users List Subject: Re: Listener Start Error On 13/08/2009 09:00, Mohamed Shah wrote: > Hi, > > I am getting a Listener Start Er

LDAP Lotus Domino

2009-08-13 Thread Pavel Zelenka
Hi, I use tomcat's authentication against Lotus Domino LDAP server. Everything works fine. But problem occured when two persons with same name but different org. unit exist in Domino's Address Book. (John Doe/Prague/Company, John Doe/Berlin/Company) How to change the Realm parameters to be able

Re: Listener Start Error

2009-08-13 Thread Pid
On 13/08/2009 09:00, Mohamed Shah wrote: Hi, I am getting a Listener Start Error during deployment. This is the error in log. Aug 13, 2009 7:26:37 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 53316 ms Aug 13, 2009 7:27:37 AM org.apache.catalina.startup.HostConfig check

Re: avoiding ssl vulnerabilities in tomcat

2009-08-13 Thread Pid
On 13/08/2009 06:17, sunil chandran wrote: Hello all, As per Christopher response. 1. Upgrade to the latest version of 4.1.x, which is 4.1.40. This will provide the least headache because you will be staying on your current Tomcat version, just improving your patch level. Plan to upgr

Listener Start Error

2009-08-13 Thread Mohamed Shah
Hi, I am getting a Listener Start Error during deployment. This is the error in log. Aug 13, 2009 7:26:37 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 53316 ms Aug 13, 2009 7:27:37 AM org.apache.catalina.startup.HostConfig checkResources INFO: Undeploying context [/ViewA

Re: mod_jk, missing uri map

2009-08-13 Thread bazzaP
I came across the same error in my mod_jk.log file. It turned out not to be a problem with my mod_jk configuration though...I had set the transport-guarantee in web.xml to CONFIDENTIAL, but forgotten to configure the server certificate. I noticed you are also callling https:// . When I changed my

NullPointerException - org.apache.tomcat.util.http.MimeHeaders.clear(MimeHeaders.java:130)

2009-08-13 Thread Rastogi Nikhil
Hi, I've implemented Axis2 Web Services in Tomcat 5.5.26 and at times of high load (when there are several web service client requests coming in to Tomcat), Tomcat starts throwing following NPE: java.lang.NullPointerException at org.apache.tomcat.util.http.MimeHeaders.clear(MimeHeaders.j

Re: Why myApps classpath is tomcat/common

2009-08-13 Thread Lin Chun
hi, I log the classpath by MyClass.class.getClassLoader().getResource("/") Thread.currentThread().getContextClassLoader().getResource("") On Wed, Aug 12, 2009 at 6:51 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Lin Chun [mailto:franks1...@gmail.com] > > Subject: Re: