Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread Pfeifer Jan
Thank you for reply. I've checked that link several times already. I have not problem with code itself. It works. Resp. it works everywhere except my computer now. I am looking for a reason why after almost a year it stopped work properly. Which configuration file I missed. I have tested

Re: jvmRoute usage

2009-10-23 Thread Tsirkin Evgeny
But the jvmRoute is optional if i don't care about stickyness,right? Now looking again into docs i think it is there : _ If you want to use session stickiness _, you must set different jvmRoute attributes in the Engine element in Tomcat's server.xml. Furthermore the names of the workers which

How can I prevent Quartz multiple execution after tomcat restart

2009-10-23 Thread zlzc2000
hallo, we have problem with Quartz and Tomcat. Im using tomcat 5.5 i using 'localhost' to deploy a Spring project on server. after deploy run Quartz the job once time. this is right. but after restart tomcat, execute the same jobs twice at the same time. (project new deploy then no problem, only

Re: How can I prevent Quartz multiple execution after tomcat restart

2009-10-23 Thread Pid
On 23/10/2009 08:28, zlzc2000 wrote: hallo, we have problem with Quartz and Tomcat. Im using tomcat 5.5 i using 'localhost' to deploy a Spring project on server. after deploy run Quartz the job once time. this is right. but after restart tomcat, execute the same jobs twice at the same time.

Re: How to know when tomcat is ready to serve request

2009-10-23 Thread Elli Albek
Notice that server life cycle listeners normally work in the server context, and not in a war file class loader. This may cause some problems for code in the war file accessing the objects that were created by the listener. Something else that you should consider in tomcat 5.x versions is the

Re: How can I prevent Quartz multiple execution after tomcat restart

2009-10-23 Thread Elli Albek
Where is your spring configuration file? Is it inside the war file? When you have two hosts, do you have the war file in both? If this is he case you may deploy the entire war file twice. Generally a deployed war file can run only in one host. If you run it in two hosts, you are deploying the

log4j files get emptied when restarting tomcat?

2009-10-23 Thread Michael
I am currently experiencing some strange behavior with log4j. Sometimes when I restart Tomcat the day's log files are emptied, i.e. starts with the messages coming from the restart. That happens just about every 5th time I restart. OS is Debian on a virtual server, for restart I am doing

How to use Includes in CSS files

2009-10-23 Thread rowlando
Hi there, For maintenance purposes I want to keep stylesheets in separate files. However, when served, they should be concatenated together as a single file. Simply, I have a file called global.css with the following: %@ include file=../global/i_base.css % %@ include file=../global/i_header.css

Re: How can I prevent Quartz multiple execution after tomcat restart

2009-10-23 Thread Pid
On 23/10/2009 10:00, Elli Albek wrote: Where is your spring configuration file? Is it inside the war file? When you have two hosts, do you have the war file in both? If this is he case you may deploy the entire war file twice. Generally a deployed war file can run only in one host. If you run

RE: MISC; Tomcat Cluster Sesssion ID changing after one Node Failure

2009-10-23 Thread Imad Hachem
Dear Mikel, Thanks for your Reply. Actually I am not using the below tags you have mentioned, but I have the below tag: ClusterListener className=org.apache.catalina.cluster.session.ClusterSessionListener/ Could be the Problem? If No, note that at each Node failover, I am getting the below

Re: Caching flash files

2009-10-23 Thread Mark Thomas
ramzi khlil wrote: Hi All, I need to set tomcat to allways send a new copy of the flash file on the server and not send a cached copy. I set cachingAllowed to false but the probleme still persist. I heard about setting web filter, anyone has an idea on how to do that ? Take a look at the

Re: Default SSL ciphers supported by Tomcat 6

2009-10-23 Thread Mark Thomas
uma...@comcast.net wrote: Yes I saw that statement in the document. I was hoping someone here could tell me identify the default ciphers used by JDK6 (which is what I use under Tomcat6). This info seems basic enough; but I am unable to find it. Hmm. It doesn't seem that you looked that

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread Mark Thomas
Pfeifer Jan wrote: Thank you for reply. I've checked that link several times already. I have not problem with code itself. It works. I disagree. I can see a whole bunch of things wrong with that code. Does the sample JSP in the FAQ work? If not, you have some system config issues to

File /customTagLibs not found

2009-10-23 Thread Joseph Morgan
Sorry for the repeat... I originally sent this before my subscription was confirmed and didn't catch the replies... I have an interesting situation where I have configured all my common taglibs (jstl, etc) within Tomcat's conf/web.xml. We are now incorporating a custom tag library and added

Re: File /customTagLibs not found

2009-10-23 Thread Mark Thomas
Joseph Morgan wrote: Any ideas? Tomcat version? Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: File /customTagLibs not found

2009-10-23 Thread Joseph Morgan
Tomcat 6 (currently on Windows for Dev, production is Linux) -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, October 23, 2009 7:06 AM To: Tomcat Users List Subject: Re: File /customTagLibs not found Joseph Morgan wrote: Any ideas? Tomcat version? Mark

Re: MISC; Tomcat Cluster Sesssion ID changing after one Node Failure

2009-10-23 Thread Mikel Ibiricu
No, this listener is called even if you don't explicitly call it, except in case you use another ClusterListener. What do you mean with The Session ID is changin? What part of the jsessionid is changing? Could you paste your cluster configuration section on your server.xml? 2009/10/23 Imad

Re: Caching flash files

2009-10-23 Thread ramzi khlil
Hi Mark, I cleared my browser's cache but this does'nt work also. I will take a look at the headers. Ramzi On Fri, Oct 23, 2009 at 7:41 AM, Mark Thomas ma...@apache.org wrote: ramzi khlil wrote: Hi All, I need to set tomcat to allways send a new copy of the flash file on the server

RE: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-23 Thread Caldarale, Charles R
From: Elli Albek [mailto:e...@sustainlane.com] Subject: Re: How can I prevent Quartz multiple execution after tomcatrestart If all you need is multiple domains mapped to the same application, try replacing Host name=localhost ../Host Host name=XXX.com../Host With: Host

SocketException: No buffer space available (in Windows)

2009-10-23 Thread Miriam Pena
Hi, I have an application running in Apache Tomcat 6.0.18 server (Windows 2003 Service Pack 2). The application has both incoming HTTP connections and periodically connects to another application over TCP. After about 30 hours of runtime, I see the following problem when the application tries to

SQL driver bug ????

2009-10-23 Thread kumaresh P N
Hi, lately was seeing https threads waiting on org.apache.tomcat.dbcp.pool.impl.genericobjectpool ... and all those threads are in service state. Stage Time B Sent B Recv Client VHost Request S 22714053 ms 0 KB 0 KB 1.1.1.11 1.1.1.226 POST /axis/services/hs HTTP/1.0 S 28733214 ms 0 KB 0 KB

Re: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-23 Thread André Warnier
Caldarale, Charles R wrote: From: Elli Albek [mailto:e...@sustainlane.com] Subject: Re: How can I prevent Quartz multiple execution after tomcatrestart If all you need is multiple domains mapped to the same application, try replacing Host name=localhost ../Host Host name=XXX.com../Host

RE: MISC; Tomcat Cluster Sesssion ID changing after one Node Failure

2009-10-23 Thread Imad Hachem
Dear Mikel, Session id (session.getId()) is as the below FORMAT if I am connected to the 1st Tomcat node: For ex: session.getId() = 0B187109595EBEA79772416BFAE43F77.tomcat1 After stopping/shutdown of the 1st Tomcat Node, then I should get the same session id but instead of the tomcat1 node the

Re: SocketException: No buffer space available (in Windows)

2009-10-23 Thread André Warnier
Miriam Pena wrote: Hi, I have an application running in Apache Tomcat 6.0.18 server (Windows 2003 Service Pack 2). The application has both incoming HTTP connections and periodically connects to another application over TCP. After about 30 hours of runtime, I see the following problem when the

Re: SocketException: No buffer space available (in Windows)

2009-10-23 Thread Peter Crowther
2009/10/23 Miriam Pena miriamp...@gmail.com After about 30 hours of runtime, I see the following problem when the application tries to open a TCP socket: java.net.SocketException: No buffer space available (maximum connections reached?): connect at

Re: SQL driver bug ????

2009-10-23 Thread Peter Crowther
2009/10/23 kumaresh P N pnkumar...@gmail.com Is there a known bug / problems /issues with the SQL driver used in Tomcat Apache 6.0.16 ?? To my knowledge, no database driver for any database is distributed with any version of Tomcat. The driver was presumably distributed with the webapp

Re: Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread Pfeifer Jan
quot;That JSP should work on any clean Tomcat installation. quot;It doesn't workquot; isn't very informative. We need details.quot; There realy is not much more to say. quot;it worked, now it does notquot;. I also use myeclipse IDE. I disabled it,reinstalled tomcat, tried it and quot;it does

RE: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-23 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: RE: How can I prevent Quartz multiple execution after tomcatrestart Note that if you have only one Host, Alias elements are completely superfluous. But maybe still useful, from a documentation point of view. ;-) Better handled by

RE: File /customTagLibs not found

2009-10-23 Thread Caldarale, Charles R
From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Subject: RE: File /customTagLibs not found Tomcat 6 (currently on Windows for Dev, production is Linux) Tomcat 6.0.what? Precision counts. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

Re: Caching flash files

2009-10-23 Thread ramzi khlil
Hi, Here is more information I got. My flash file is reading an xml file. when I update the xml file the flash doesn't load the updated version. So, if I display the xml file in the browser (http://localhost/news.xml) then the flash load the updated version. Ramzi On Fri, Oct 23, 2009 at 8:51

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread André Warnier
Pfeifer Jan wrote: quot;That JSP should work on any clean Tomcat installation. quot;It doesn't workquot; isn't very informative. We need details.quot; There realy is not much more to say. quot;it worked, now it does notquot;. I also use myeclipse IDE. I disabled it,reinstalled tomcat, tried it

Re: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-23 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: RE: How can I prevent Quartz multiple execution after tomcatrestart Note that if you have only one Host, Alias elements are completely superfluous. But maybe still useful, from a documentation point of view.

Re: How to use Includes in CSS files

2009-10-23 Thread Hassan Schroeder
On Fri, Oct 23, 2009 at 3:50 AM, rowlando n...@rowlando.com wrote: For maintenance purposes I want to keep stylesheets in separate files. However, when served, they should be concatenated together as a single file. Simply, I have a file called global.css with the following: %@ include

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread Pid
On 23/10/2009 15:21, André Warnier wrote: Pfeifer Jan wrote: quot;That JSP should work on any clean Tomcat installation. quot;It doesn't workquot; isn't very informative. We need details.quot; There realy is not much more to say. quot;it worked, now it does notquot;. I also use myeclipse IDE. I

Re: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-23 Thread Pid
On 23/10/2009 15:25, André Warnier wrote: Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: RE: How can I prevent Quartz multiple execution after tomcatrestart Note that if you have only one Host, Alias elements are completely superfluous. But maybe still

Re: How to use Includes in CSS files

2009-10-23 Thread Pid
On 23/10/2009 11:50, rowlando wrote: Hi there, For maintenance purposes I want to keep stylesheets in separate files. However, when served, they should be concatenated together as a single file. Why? - Why do this with a JSP/Servlet? - Why not concatenate it into a single CSS file at build

Re: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-23 Thread Mark Thomas
Pid wrote: On 23/10/2009 15:25, André Warnier wrote: Well, let's get to the bottom of this. When Tomcat gets a request, does it : 1) figure immediately that it has only one Host, and thus not even look at the Host: header, and respond with the one and only default Host ? or 2) first look at

Re: How to use Includes in CSS files

2009-10-23 Thread rowlando
Pid Ster wrote: On 23/10/2009 11:50, rowlando wrote: Why? - Why do this with a JSP/Servlet? - Why not concatenate it into a single CSS file at build time, prior to deployment? - Why not use the CSS import directive? Serving it via a servlet risks preventing the browser from

catalina.out file

2009-10-23 Thread Kaushal Shriyan
Hi, can i change catalina.out to catalina.log or something else. if its possible how is it done ? Thanks, Kaushal - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

RE: File /customTagLibs not found

2009-10-23 Thread Joseph Morgan
Tomcat version 6.0.20 -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, October 23, 2009 9:04 AM To: Tomcat Users List Subject: RE: File /customTagLibs not found From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Subject: RE: File

Re: mod_jk Client SSL Certificates

2009-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I'm following up because I was able to get the following working. In case anyone else wants to get this all working, the information is all in (roughly) one place. 1. Apache httpd terminates SSL 2. Apache httpd performs client certificate

Re: mod_jk Client SSL Certificates

2009-10-23 Thread Rainer Jung
Thanks for the comprehensive instructions, very useful. Keep in mind the 8KB limit for the AJP header packet. Especially in case you sometime switch to a longer certificate chain, then you might run into it (and will be able to fix it with max_packet_size). Regards, Rainer On 23.10.2009 18:36,

RE: catalina.out file

2009-10-23 Thread Caldarale, Charles R
From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com] Subject: catalina.out file can i change catalina.out to catalina.log or something else. if its possible how is it done ? Tomcat itself does not directly use catalina.out. Look at the catalina.sh startup script: you'll see a redirect

Re: How to know when tomcat is ready to serve request

2009-10-23 Thread Anup K Ram
Looks like the Server Life Cycle Listener will not work for the scenario I am looking for. On Fri, Oct 23, 2009 at 1:47 AM, Elli Albek e...@sustainlane.com wrote: Notice that server life cycle listeners normally work in the server context, and not in a war file class loader. This may cause

Re: catalina.out file

2009-10-23 Thread Kaushal Shriyan
On Fri, Oct 23, 2009 at 11:23 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com] Subject: catalina.out file can i change catalina.out to catalina.log or something else. if its possible how is it done ? Tomcat itself does not

Re: DBCP woes (running out of cursors).

2009-10-23 Thread Bill Davidson
I already got a response to the ehancement request. Apparently the documentation will be changed to this: Make sure your connection has some resources left for the other statements. Pooling PreparedStatements may keep their cursors open in the database, causing a connection to run out

Re: mod_jk Client SSL Certificates

2009-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 10/23/2009 1:36 PM, Rainer Jung wrote: Keep in mind the 8KB limit for the AJP header packet. Especially in case you sometime switch to a longer certificate chain, then you might run into it (and will be able to fix it with

Re: mod_jk Client SSL Certificates

2009-10-23 Thread Rainer Jung
On 23.10.2009 20:49, Christopher Schultz wrote: Rainer, On 10/23/2009 1:36 PM, Rainer Jung wrote: Keep in mind the 8KB limit for the AJP header packet. Especially in case you sometime switch to a longer certificate chain, then you might run into it (and will be able to fix it with

Re: How to use Includes in CSS files

2009-10-23 Thread Curtis Garman
Why does it all need to be the same physical file? I would use the css import statement to import your global.css as shown below and then link the global.css file to your pages (as you mentioned)...this will give you ability to seperate your css but avoid the bother with the jsp includes. @import

Re: How to use Includes in CSS files

2009-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, On 10/23/2009 10:31 AM, Hassan Schroeder wrote: On Fri, Oct 23, 2009 at 3:50 AM, rowlando n...@rowlando.com wrote: For maintenance purposes I want to keep stylesheets in separate files. However, when served, they should be concatenated

Re: SQL driver bug ????

2009-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kumaresh, On 10/23/2009 9:24 AM, kumaresh P N wrote: lately was seeing https threads waiting on org.apache.tomcat.dbcp.pool.impl.genericobjectpool ... and all those threads are in service state. Stage Time B Sent B Recv Client VHost Request S

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/23/2009 10:21 AM, André Warnier wrote: Pfeifer Jan wrote: I don't know if this affects only my mail reader, but your messages to the list, for me, are almost impossible to read because of the apparent profusion of html escapes in

Re: How to use Includes in CSS files

2009-10-23 Thread rowlando
I'm a front-end developer rather than a back-end dev so this might explain my silly questions. 80% of the end-user response time is spent on the front-end, so says the YUI performance blog. Anything that can be done on the front-end to aid better performance is simply good practice. The reason

How to Connect Remotely?

2009-10-23 Thread maximf83
Guys i have tomcat on a computer i'm using as a server , i can connect to the tomcat localy on the computer, but when i try to connect to the server from other places , from the network or anywhere else i'm unable to do that. The port 8080 is open on the router and is redirected to the ip of the

Re: How to Connect Remotely?

2009-10-23 Thread ramzi khlil
Did you disable the firewall of windows ? On Fri, Oct 23, 2009 at 4:34 PM, maximf83 maxim...@gmail.com wrote: Guys i have tomcat on a computer i'm using as a server , i can connect to the tomcat localy on the computer, but when i try to connect to the server from other places , from the

RE: filter-mapping syntax question

2009-10-23 Thread Jeffrey Janner
Thanks. Since I'm running Tomcat 5.5.x I guess I'm stuck witht he one at a time route right now. But your answer was exactly what I needed to see/know. -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Thursday, October 22, 2009 6:54 PM To: Tomcat Users

Re: How can I prevent Quartz multiple execution after tomcatrestart

2009-10-23 Thread André Warnier
Mark Thomas wrote: Pid wrote: On 23/10/2009 15:25, André Warnier wrote: Well, let's get to the bottom of this. When Tomcat gets a request, does it : 1) figure immediately that it has only one Host, and thus not even look at the Host: header, and respond with the one and only default Host ? or

Re: catalina.out file

2009-10-23 Thread André Warnier
Kaushal Shriyan wrote: Hi, can i change catalina.out to catalina.log or something else. if its possible how is it done ? You are not telling us much to enable us to guess, but trying anyway, you should have a look at the script that starts tomcat on your system, like /etc/init.d/tomcat.

RE: How to Connect Remotely?

2009-10-23 Thread Jeffrey Janner
What Version of Tomcat? Are you running native/APR? What does your Connector tag look like? Vista supports IPv6 IPv4 by default, what is Tomcat listening on? Jeff (see Chuck, I'm learning) -Original Message- From: maximf83 [mailto:maxim...@gmail.com] Sent: Friday, October 23, 2009

Re: How to Connect Remotely?

2009-10-23 Thread André Warnier
Jeffrey Janner wrote: What Version of Tomcat? Are you running native/APR? What does your Connector tag look like? Vista supports IPv6 IPv4 by default, what is Tomcat listening on? Jeff (see Chuck, I'm learning) Well, not quite yet. ;-) Part of the art is also asking the /appropriate/

RE: How to Connect Remotely?

2009-10-23 Thread maximf83
Jeez, the firewall was the problem, i shut it off and it works fine, i was sure that 8080 is open by default, i guess i was wrong, thanx for the attempt guys! Jeffrey Janner wrote: What Version of Tomcat? Are you running native/APR? What does your Connector tag look like? Vista supports

Tomcat6 - porting resin JSP app - does not exist or is not a readable directory

2009-10-23 Thread Pete McNeil
Hi folks and thanks in advance. I know this has been asked before-- I've been searching and reading and haven't found a solution somehow. I have a JSP based site that I've been hosting on resin. I want to port it to a new server running tomcat6. I have a fresh install of tomcat6. My goal

Tomcat 5.5.17 RMI MalformedURLException when installed in dir with Spaces

2009-10-23 Thread Vikas Sharma
Hi, I am seeing the famous MalformedURLException issue when my tomcat is installed in the dir with Spaces. I am using Spring RMI. I see this issue in Tomcat version 5.5.17 and Not 5.5.20 onwards. I don't have option to upgrade to 5.5.20, I am looking for a patch. I looked at the change log -