Re: Problem building application with tomcat 7 on windows 7

2011-05-09 Thread Konstantin Kolinko
2011/5/10 Caldarale, Charles R : >> From: barry kimelman [mailto:barryk_tom...@hotmail.com] >> Subject: Problem building application with tomcat 7 on windows 7 > >> BUILD FAILED >> C:\barry\hockey3\build.xml:374: java.io.FileNotFoundException: >> http://localhost:8080/manager/deploypath=%2Fhockey3&

Re: Tomcat6

2011-05-09 Thread Felix Schumacher
Hi Micka, On Sun, 8 May 2011 20:44:01 +0200, Micka wrote: Thanks for your answer, I just removed the "tomcat-dbcp.jar" that was on my web app librairies. But I still have the same problem as before ! Which is : May 8, 2011 8:39:40 PM org.apache.catalina.core.AprLifecycleListener init INFO

tomcat 7: common.loader property in catalina.properties does not take ANT style variable

2011-05-09 Thread Yongqin Xu
The default common.loader property has${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jarI added my own entries like ${oracle.home}/lib/*.jar, and set $JAVA_OPTS=-Doracle.home=/usr/local/oracle, then start tomcat 7 and stop tomcat 7, the stop complai

RE: Problem building application with tomcat 7 on windows 7

2011-05-09 Thread Caldarale, Charles R
> From: barry kimelman [mailto:barryk_tom...@hotmail.com] > Subject: Problem building application with tomcat 7 on windows 7 > BUILD FAILED > C:\barry\hockey3\build.xml:374: java.io.FileNotFoundException: > http://localhost:8080/manager/deploypath=%2Fhockey3&; > war=file%3A%2F%2FC%3A%5Cbarry%5Cho

RE: What the packages needed to install tomcat5 core using yum in Fedora 14

2011-05-09 Thread Caldarale, Charles R
> From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com] > Subject: What the packages needed to install tomcat5 core using yum in Fedora > 14 > What the packages needed to install tomcat5 core using yum None (other than a real JVM); simply download a real Tomcat from tomcat.apache.org.

What the packages needed to install tomcat5 core using yum in Fedora 14

2011-05-09 Thread Varuna Seneviratna
What the packages needed to install tomcat5 core using yum [Code:] yum search tomcat5 Loaded plugins: langpacks, presto, refresh-packagekit Adding en_GB to language list === Matched: tomcat5 === jakarta-commons-collections-tomcat5.i686 :

Problem building application with tomcat 7 on windows 7

2011-05-09 Thread barry kimelman
My system is a laptop running windows 7 professional 64 bit. I downloaded tomcat 7.0.12 64 bit version for windows 7. After installation I tried several of the sample servlets and jsps. All the tests worked as expected. When I attempt to build my application which used to build and run with n

Re: Semicolon URI encoding and RFC

2011-05-09 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Semicolon URI encoding and RFC The "site" (or hostname) part of the URL is submitted to a different encoding than the path part (/pathąčęė). The path part must be URL- encoded, but for the hostname part, wha

RE: Semicolon URI encoding and RFC

2011-05-09 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Semicolon URI encoding and RFC > The "site" (or hostname) part of the URL is submitted to a different > encoding than the path part (/pathąčęė). The path part must be URL- > encoded, but for the hostname part, what is used is "punyco

Re: Semicolon URI encoding and RFC

2011-05-09 Thread André Warnier
Konstantin Kolinko wrote: .. 2011/5/9 André Warnier : (like a space encoded as a "+", and a "+" encoded as %xy), Andre, one small correction: It sometimes causes confusion, but encoding of space as '+' works only in the query part of the URL. The unambiguous way to encode a space regardless o

Re: Semicolon URI encoding and RFC

2011-05-09 Thread Konstantin Kolinko
2011/5/9 Mindaugas Žakšauskas : > On Mon, May 9, 2011 at 2:03 PM, Konstantin Kolinko > wrote: > <..> >> If ";" is part of the actual path, it must be escaped. >> >> If ";" starts a "path parameter" it must be unescaped. One well-known >> example is ";jsessionid" path parameter. > > Thanks for your

Re: High Availability in Tomcat?

2011-05-09 Thread Brian Braun
Hi Mark, Thanks a lot for your response. I will certaily start using the parallel deployment immediately, that seems to be easy and will solve the issue about deploying new WARs frequently. Then I will implement a load balancer, in order to have two separate Tomcat instances, that will solve more

Re: Semicolon URI encoding and RFC

2011-05-09 Thread André Warnier
Hi. This whole question is a pain in the a.. , and I personally do not understand how a million marketing people can be talking of "web 2.0" and "web 3.0", but not have been able to come out with HTTP 2.0 where URLs (and everything else) would be by default Unicode/UTF-8 instead of ASCII and/o

Re: High Availability in Tomcat?

2011-05-09 Thread Mark Thomas
On 09/05/2011 14:45, Brian Braun wrote: > Hey, that is great! I had never noticed that new feature! But the > documentation is so scarse, it hardly explains what is it about. But I think > that will solve my redeployment issue :-) > > But I still need to think about hig availabilty when Tomcat i

Re: High Availability in Tomcat?

2011-05-09 Thread Brian Braun
Hey, that is great! I had never noticed that new feature! But the documentation is so scarse, it hardly explains what is it about. But I think that will solve my redeployment issue :-) But I still need to think about hig availabilty when Tomcat itself crashes, or when I restart it. I guess I nee

Re: High Availability in Tomcat?

2011-05-09 Thread Brian Braun
Hi Leon, My budget is scarse, so I definitely should go for a soft balancer. And certainly I see now that a balancer is the way I need to go. My app will be an IP address geolocator, so my clients wont be humans with browsers, but systems with HTTP components. So is it not going to be sessions/coo

Re: Semicolon URI encoding and RFC

2011-05-09 Thread Mindaugas Žakšauskas
On Mon, May 9, 2011 at 2:03 PM, Konstantin Kolinko wrote: <..> > If ";" is part of the actual path, it must be escaped. > > If ";" starts a "path parameter" it must be unescaped. One well-known > example is ";jsessionid" path parameter. Thanks for your answer. Is this rule is just "de facto" rule

Re: Semicolon URI encoding and RFC

2011-05-09 Thread Konstantin Kolinko
2011/5/9 Mindaugas Žakšauskas : > Hi, > > I was trying to read RFCs 3986 and 2396 to understand some subtleties > about URI encoding. > > In particular I am interested about whether semicolon (;) needs to be > percent escaped as, e.g. http://site/some;path VS > http://site/some%3Bpath when outputti

Re: High Availability in Tomcat?

2011-05-09 Thread gustavo . avitabile
DNS update times are too long to trust on them If you want to have two installations, and direct users to the one is working, you might have one IP address for the machine that is in service at a given time, and switch that address between the two machines as appropriate, NOT changing the DNS,

Re: High Availability in Tomcat?

2011-05-09 Thread Konstantin Kolinko
2011/5/9 Brian Braun : > republishing the app > will make it unavailable for at least 10 seconds while I do it. Take a look at the Parallel Deployment feature in Tomcat 7 http://tomcat.apache.org/tomcat-7.0-doc/config/context.html Best regards, Konstantin Kolinko

Re: mod_jk Loadbalancer for 2 different tomcat Installations

2011-05-09 Thread Felix Schumacher
Hello Alexander, On Mon, 9 May 2011 11:48:54 +0200, Alexander Diedler wrote: Hello, I have a question about the configuration of loadbalancer with mod_jk for Apache 2.2. We have 2 physical servers. Both have 2 different Tomcat Installations. Tomcat 6.0.26 and 6.0.32. We make worker1 and worker2

Re: AW: HowTo place Manager-App

2011-05-09 Thread Mark Thomas
On 09/05/2011 12:21, Alexander Diedler wrote: > Hello, > Ok, so I have to place the context.xml in the conf-Base. But how I can use > Valves, like Remote Adress filter to grant access to the Manager app only > from localhost, 127.0.0.1 and IPs inside from corporate network? As per the docs, Valves

AW: HowTo place Manager-App

2011-05-09 Thread Alexander Diedler
Hello, Ok, so I have to place the context.xml in the conf-Base. But how I can use Valves, like Remote Adress filter to grant access to the Manager app only from localhost, 127.0.0.1 and IPs inside from corporate network? Greetings Alexander -Ursprüngliche Nachricht- Von: Thomas Freitag [

Semicolon URI encoding and RFC

2011-05-09 Thread Mindaugas Žakšauskas
Hi, I was trying to read RFCs 3986 and 2396 to understand some subtleties about URI encoding. In particular I am interested about whether semicolon (;) needs to be percent escaped as, e.g. http://site/some;path VS http://site/some%3Bpath when outputting e.g. HTML href element. Just for interest,

Re: High Availability in Tomcat?

2011-05-09 Thread Leon Rosenberg
Hello, well, you provided not that many infos, but the usual way of doing this is to put multiple standalone tomcat instances behind a soft- or hardware loadbalancer (whatever your budget allows) and to make the app stateless, with cookie stickiness and failover. However, this will probably not ma

mod_jk Loadbalancer for 2 different tomcat Installations

2011-05-09 Thread Alexander Diedler
Hello, I have a question about the configuration of loadbalancer with mod_jk for Apache 2.2. We have 2 physical servers. Both have 2 different Tomcat Installations. Tomcat 6.0.26 and 6.0.32. We make worker1 and worker2 for both servers Tomcat 6.0.26 (Serverport 8010) and define a loadbalancer