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 use:8443 Regards, Zacheusz On Tue, Dec 22, 2009 at 7:18 AM, Tomcat1 wrote: > > hi, > i have Tomcat 6.0.20. i config server.xml to work with SS

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: the log i get is: Catalina.2009-12-21.log: Dec 21, 2009 3:13:45

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 -XX:+

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 wrote: > > Hello. > I have TomCat server on production and have from 80 up to 400 requests per > second. > > In server.xml I have

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: For application spesific we don't need to support keep alive and don't need to wait for huge requests. Main task is to serve responses as fast as we can.

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

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 the

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 type

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

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 page

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 l

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 u

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 st

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: 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). Like I mentionned in my question, I would like to use the same DNS host name

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

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

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

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

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] http:/

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 s

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

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

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] http://www.mirthcorp.com/pro

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.

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

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

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 java.text.SimpleDat

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 co

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: http://old.nabble.com/Www-authenticate-...-tp2687324

Re: submitting more patches

2009-12-21 Thread Mark Thomas
On 20/12/2009 20:24, André Warnier wrote: > 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 a

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" To: "Tomcat Users List" Sent: Sunday, December 20, 2009 3:56 PM Subject: Re: Errors in session replication a

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 , and only configure 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 kind of nagging at me s