Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-21 Thread André Warnier
Bill Barker wrote: ... Which gives a third option to the OP, which is to use the useIPVHosts=true option on the Connector ... /, and only configure Host .../s for the ones that he wants to allow to connect (and the default Host just returns 404 to every request). Yes, that possibility was

Re: Errors in session replication and very high server load

2009-12-21 Thread Mohamedin
Thanks for the reply. I have tried to figure out why the load is high but I couldn't. Any hints? Thanks, Mohamed Mohamedin - Original Message - From: Filip Hanik - Dev Lists devli...@hanik.com To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, December 20, 2009 3:56 PM

Re: submitting more patches

2009-12-21 Thread Mark Thomas
On 20/12/2009 20:24, André Warnier wrote: snip/ It did not however seem to generate anything for the new files, so I filed these separately, one per bug. Many thanks. For future reference if you right click on the new file and select TortoiseSVN Add... the new files will also be included in

Www-authenticate ...

2009-12-21 Thread insi
Hi, My tomcat server is sending www-authenticate (digest) header but the header doesn't contain the algorithm field, which one is choosen by default? How do I specify it to use particular algorithm (sha1/md5)? -- View this message in context:

Re: Www-authenticate ...

2009-12-21 Thread André Warnier
insi wrote: Hi, My tomcat server is sending www-authenticate (digest) header but the header doesn't contain the algorithm field, which one is choosen by default? MD5 How do I specify it to use particular algorithm (sha1/md5)? In short, you can't. See HTTP 2616 and 2617. Theoretically, you

AW: Re: Ignore http header if-modified-since

2009-12-21 Thread Abid Hussain
Thanks a lot. I logged all header modifications using a filter and found the root cause. It is a class called AbstractResourceProcessor from the Apache Shale framework. When requesting a resource which is actually located inside a jar, it sets the last-modified header using

Tomcat 6 Log Tomcat output to file

2009-12-21 Thread Richard Sayre
I usually install Tomcat as a Service under windows which causes all Tomcat output to go to stdout.log. I am in a situation where I can not do this. I have to start Tomcat from the command line. When I do all of Tomcats output is logged to the console. How do I manually configure Tomcat so the

Re: Tomcat 6 Log Tomcat output to file

2009-12-21 Thread André Warnier
Richard Sayre wrote: I usually install Tomcat as a Service under windows which causes all Tomcat output to go to stdout.log. I am in a situation where I can not do this. I have to start Tomcat from the command line. When I do all of Tomcats output is logged to the console. How do I manually

Re: Http session lost b/w struts actions on Linux but not in Win

2009-12-21 Thread Johan Thorselius
Thanks, but the folder permissions where already like drwxr-xr-x Johan 2009/12/17 Martin Gainty mgai...@hotmail.com sounds like a permissions error on the work folders /tomcat/apache-tomcat-6.0.18/work fu...@127.0.0.1 /tomcat/apache-tomcat-6.0.18/work $ ls -al total 0 drwx--+ 3

Re: Tomcat 6 Log Tomcat output to file

2009-12-21 Thread Richard Sayre
No this only writes the following: Using CATALINA_BASE: D:\liferay\tomcat-6.0.18 Using CATALINA_HOME: D:\liferay\tomcat-6.0.18 Using CATALINA_TMPDIR: D:\liferay\tomcat-6.0.18\temp Using JRE_HOME:D:\liferay\tomcat-6.0.18/jre1.5.0_17/win Then it spawns a new window for Tomcat output.

tomcat 6 Mirth

2009-12-21 Thread Hector Muñoz
Hi all! I am trying install Mirth Connect [1] under Tomcat 6.20. I dont know how can i do it but I know it is possible. Do any of you have any experience in this topic? If you do, can you help me? I need some tutorial or something similar :( Thanks! Regards. [1]

App runs in Tomcat, but without images.

2009-12-21 Thread Clay McCoy
I'm running my app on embedded Tomcat. My startup script and information is here: http://gist.github.com/259737 I almost have it working. I just can't see any images. There are no errors, and I can't find any info elsewhere online. Any idea what I should look at? Thanks.

Re: Tomcat 6 Log Tomcat output to file

2009-12-21 Thread André Warnier
Richard Sayre wrote: No this only writes the following: Using CATALINA_BASE: D:\liferay\tomcat-6.0.18 Using CATALINA_HOME: D:\liferay\tomcat-6.0.18 Using CATALINA_TMPDIR: D:\liferay\tomcat-6.0.18\temp Using JRE_HOME:D:\liferay\tomcat-6.0.18/jre1.5.0_17/win Then it spawns a new

Re: App runs in Tomcat, but without images.

2009-12-21 Thread André Warnier
Clay McCoy wrote: I'm running my app on embedded Tomcat. My startup script and information is here: http://gist.github.com/259737 I almost have it working. I just can't see any images. There are no errors, and I can't find any info elsewhere online. Any idea what I should look at?

Re: App runs in Tomcat, but without images.

2009-12-21 Thread Pid
On 21/12/2009 16:26, Clay McCoy wrote: I'm running my app on embedded Tomcat. My startup script and information is here: http://gist.github.com/259737 I almost have it working. I just can't see any images. There are no errors, and I can't find any info elsewhere online. Any idea what I

Re: tomcat 6 Mirth

2009-12-21 Thread André Warnier
Hector Muñoz wrote: Hi all! I am trying install Mirth Connect [1] under Tomcat 6.20. I dont know how can i do it but I know it is possible. Do any of you have any experience in this topic? If you do, can you help me? I need some tutorial or something similar :( Thanks! Regards. [1]

Re: Tomcat 6 Log Tomcat output to file

2009-12-21 Thread Richard Sayre
the logfile still only logs the Using messages that I posted earlier. I tried adding outTest.txt at the bottom of Catalina.bat after each of the commands that start tomcat. The output is still logging to the console window. I tried removing the 'start' prefix from %_EXECJAVA%. In DOS start

Cookie Issue in Tomcat 6.0.20

2009-12-21 Thread Sundar Ramalingam
I am seeing problem in my login logic in tomcat 6.0.20 which was working fine tomcat 5.5.*. The logic reads cookie and based on that authenticates user. This cookie is set by my company's enterprise site. For Example in the below cookie *testUser* is the login name. We need to parse and get the

Re: Cookie Issue in Tomcat 6.0.20

2009-12-21 Thread Mark Thomas
On 21/12/2009 17:55, Sundar Ramalingam wrote: I am seeing problem in my login logic in tomcat 6.0.20 which was working fine tomcat 5.5.*. The logic reads cookie and based on that authenticates user. This cookie is set by my company's enterprise site. For Example in the below cookie

Question about Tomcat 6.020 appBase Vs autoDeploy?

2009-12-21 Thread Pascal Vachon
Hi, I'm new to Tomcat, but I managed to install Tomcat 6.020 which I use on a development server (production server will come soon). I have three development environments on this server, which are DEV, TEST and STAGE. Here's what my directory looks like: \Tomcat 6.0\webapps\WebAppMan\dev

Re: Question about Tomcat 6.020 appBase Vs autoDeploy?

2009-12-21 Thread Mark Thomas
On 21/12/2009 18:50, Pascal Vachon wrote: Is there a way to keep my logic in place... and still satisfy the developers demand (be able to deploy applications themselves using a .WAR file)? Again, I'm new to Tomcat, so sorry if this looks like a weird question. You can use virtual hosting.

Re: Question about Tomcat 6.020 appBase Vs autoDeploy?

2009-12-21 Thread Pascal Vachon
Thanks for your quick answer... but doesn't that require a different DNS host name for my three development environments? (ex: xwebapp-man-mobile-dev, xwebapp-man-mobile-test, xwebapp-man-mobile-stage). Engine name=Catalina defaultHost=ren Host name=renappBase=renapps/ Host

Re: Question about Tomcat 6.020 appBase Vs autoDeploy?

2009-12-21 Thread Mark Thomas
On 21/12/2009 19:08, Pascal Vachon wrote: Thanks for your quick answer... but doesn't that require a different DNS host name for my three development environments? Yes. Like I mentionned in my question, I would like to use the same DNS host name for my three development environments...

Re: Using RemoteAddressValve with an Apache mod_proxy_balancer

2009-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 12/19/2009 4:22 PM, Mark Thomas wrote: On 19/12/2009 10:45, André Warnier wrote: If this is too vast as a question, just let me know and point me where to get started maybe ? Not at all, although this is heading off topic. I'd start

Re: AW: Re: Ignore http header if-modified-since

2009-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abid, On 12/21/2009 8:54 AM, Abid Hussain wrote: [The cause was] a class called AbstractResourceProcessor from the Apache Shale framework. When requesting a resource which is actually located inside a jar, it sets the last-modified header

Re: Tomcat 6 Log Tomcat output to file

2009-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard, On 12/21/2009 9:56 AM, Richard Sayre wrote: I usually install Tomcat as a Service under windows which causes all Tomcat output to go to stdout.log. I am in a situation where I can not do this. I have to start Tomcat from the command

j_security_check not working with flash

2009-12-21 Thread vpapado
Hello, I have a problem authenticating my users with j_security_check interworking with a flash on my login.jsp page. Here is how things go: I use j_security_check method to authenticate my users. As a result, I have assigned a login.jsp page where I have a login form and at the top of the

Re: j_security_check not working with flash

2009-12-21 Thread anthonyvierra
Try resetting your browser, meaning fully close it, or try from a different browser. Same result? I sometimes get the exact same (/./j_security_check) is not available. when i have had my browser open on the doc for while and re-authenticate. Same thing happens on my cisco call manager when i

Re: j_security_check not working with flash

2009-12-21 Thread vpapado
Hello, Thank you for fast reply. I try everything. Open in different browser, etc. But the whole login procedure seems to result to error from Tomcat when I have my flash on the login.jsp page. When I remove this flash everything seems to work OK. Is there a possibility that j_security_check

Servlets in web-inf/lib

2009-12-21 Thread Clay McCoy
I have some servlets that are in jars in web-inf/lib and Tomcat does not see them. I know that it is typical to have servlets in web-inf/classes, but it is an existing application. Is there a way to get Tomcat to use these Servlets without moving them to web-inf/classes? They are mapped in

Re: Servlets in web-inf/lib

2009-12-21 Thread David Smith
1. It's WEB-INF, not web-inf. Case matters. 2. If the classes are in .jar files, yes. Otherwise they will have to be in WEB-INF/classes --David Clay McCoy wrote: I have some servlets that are in jars in web-inf/lib and Tomcat does not see them. I know that it is typical to have servlets

TomCat 6 performance issues

2009-12-21 Thread DOrlov
Hello. I have TomCat server on production and have from 80 up to 400 requests per second. In server.xml I have next connector description: Connector port=80 maxThreads=200 acceptCount=100 minSpareThreads=5 maxSpareThreads=75

Re: TomCat 6 performance issues

2009-12-21 Thread Zacheusz Siedlecki
This could be problem with memmory and GC. Please show your jvm memmory settings. Regards, Zacheusz On Tue, Dec 22, 2009 at 6:36 AM, DOrlov dor...@redaril.com wrote: Hello. I have TomCat server on production and have from 80 up to 400 requests per second. In

Re: TomCat 6 performance issues

2009-12-21 Thread DOrlov
Zacheusz Siedlecki-2 wrote: This could be problem with memmory and GC. Please show your jvm memmory settings. Regards, Zacheusz Thank you for reply, I use next memory and GC settings: -Xms1024m -Xmx6144m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC

Tomcat shutdown automaticly after randomaly period of time

2009-12-21 Thread Tomcat1
hi, i have Tomcat 6.0.20. i config server.xml to work with SSL. the problem is that Tomcat shutdown after randomaly period of time and doesnt restart again. in server.xml i config: !--Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443

Re: Tomcat shutdown automaticly after randomaly period of time

2009-12-21 Thread Zacheusz Siedlecki
I think it happens when another process else uses port 8443 : java.net.BindException: Address already in usenull:8443 Regards, Zacheusz On Tue, Dec 22, 2009 at 7:18 AM, Tomcat1 z...@amdocs.com wrote: hi, i have Tomcat 6.0.20. i config