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

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 is

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 tag look like? > Vista supports IPv6 &

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 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/ configuration q

RE: How to Connect Remotely?

2009-10-23 Thread Jeffrey Janner
What Version of Tomcat? Are you running native/APR? What does your 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 3:34 PM To:

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

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 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 network or anywhe

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 c

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

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

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 wrote: > >> For maintenance purposes I want to keep stylesheets in separate files. >> However, when served, they should be concatenated together as a

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

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 max_packet_

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: catalina.out file

2009-10-23 Thread Kaushal Shriyan
On Fri, Oct 23, 2009 at 11:23 PM, Caldarale, Charles R 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 directly use cata

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

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 redir

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

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

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: users-h...@tomcat.

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 br

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)

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 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 , elements are completely superfluous. But maybe still useful, from

Re: POST request encoding - Tomcat/JVM configuration?

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

Re: How to use Includes in CSS files

2009-10-23 Thread Hassan Schroeder
On Fri, Oct 23, 2009 at 3:50 AM, rowlando 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 file="../global/i_

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 , elements are completely superfluous. But maybe still useful, from a documentation point of view. ;-) Bette

Re: POST request encoding - Tomcat/JVM configuration?

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

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 AM

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 MA

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 , elements are > > completely superfluous. > But maybe still useful, from a documentation point of view. ;-) Better handled by co

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

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

Re: SQL driver bug ????

2009-10-23 Thread Peter Crowther
2009/10/23 kumaresh P N > 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 you are running ins

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

2009-10-23 Thread Peter Crowther
2009/10/23 Miriam Pena > 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 java.net.PlainSocketImpl.socketConnect(Native Meth

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

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 ... ... With: XXX.com ... Note that if you have only one

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

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

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread Mark Thomas
Pfeifer Jan wrote: > > I can see no functional difference between that sample and my code. I tried > it ,also with no success. That JSP should work on any clean Tomcat installation. "It doesn't work" isn't very informative. We need details. Looking back at your original report, the issue may be

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

2009-10-23 Thread Pfeifer Jan
I can see no functional difference between that sample and my code. I tried it ,also with no success. If you see some flaws in my original sample please tell me. There are always new things to learn. There is certainly some config issue. But where? I have also tried to set up charecter-encod

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 > > ... > ... > > With: > > XXX.com > ... Note that if you have only one ,

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

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 H

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

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 th

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

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

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: Could be the Problem? If No, note that at each Node failover, I am getting the below error in Tomcat Catalina.log: INFO: Deploying web application archive LoadBalanceTest.

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

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_heade

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 /etc/init

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 en

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 sh

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

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