To have SetCookie in the Response

2002-04-12 Thread Lionel FARBOS
Hi, I configure my Tomcat 3.3.1 Final server with : SessionId cookiesFirst=true noCookies=false / and my servlet do HttpSession session = req.getSession( true ); but in my HTTP Response, I don't have the SetCookie parameter : HTTP/1.0 200 OK Content-Type: text/html Pragma: No-cache

Re: To have SetCookie in the Response

2002-04-15 Thread Lionel FARBOS
: -) Lionel FARBOS wrote: Hi, I configure my Tomcat 3.3.1 Final server with : SessionId cookiesFirst=true noCookies=false / and my servlet do HttpSession session = req.getSession( true ); but in my HTTP Response, I don't have the SetCookie parameter : HTTP/1.0 200 OK Content-Type: text/html Pragma

new Host without restarting Tomcat

2005-01-11 Thread Lionel Farbos
Hi all, I'd want to create and deploy new Virtual(s) Host(s) and Contexts without having to restart the entire Tomcat Server (4.1.31 or 5.0.28). This works if my Host(s) exist in server.xml when I start Tomcat (I follow http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html). BUT,

Re: new Host without restarting Tomcat

2005-01-12 Thread Lionel Farbos
So nobody knows how to deploy a new Host without the restart of Tomcat ? On Tue, 11 Jan 2005 16:05:06 +0100 Lionel Farbos [EMAIL PROTECTED] wrote: Hi all, I'd want to create and deploy new Virtual(s) Host(s) and Contexts without having to restart the entire Tomcat Server (4.1.31 or 5.0.28

Re: new Host without restarting Tomcat

2005-01-12 Thread Lionel Farbos
be read and loaded without a restart. So the answer is it can't be done at this point. To the best of my knowledge. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/architecture/startup/serverStartup.txt Section b4 Doug - Original Message - From: Lionel Farbos [EMAIL PROTECTED

Re: [ANN] Apache Jakarta Tomcat 5.5.7-alpha Released

2005-01-20 Thread Lionel Farbos
Question : What is the reference or stable version for servlet 2.4 ? Is it Tomcat 5.0.28 or Tomcat 5.5.4 ? I don't understand why you implement 2 versions (2 branches) for this servlet API ...? On Thu, 20 Jan 2005 15:31:28 +0100 Remy Maucherat [EMAIL PROTECTED] wrote: The Apache Jakarta

Re: [ANN] Apache Jakarta Tomcat 5.5.7-alpha Released

2005-01-21 Thread Lionel Farbos
On Thu, 20 Jan 2005 19:05:52 + Mark Thomas [EMAIL PROTECTED] wrote: Lionel Farbos wrote: Question : What is the reference or stable version for servlet 2.4 ? Is it Tomcat 5.0.28 or Tomcat 5.5.4 ? I don't understand why you implement 2 versions (2 branches) for this servlet API

stop context properly

2005-02-09 Thread Lionel Farbos
Hi all, I work with Tomcat 4.1.31, with the Manager, and I search how to stop a context without interrupting its running threads ? When I test a stop on my Context (/testServlet), I see a log like this : 2005-02-08 17:37:16 HTMLManager: stop: Stopping web application at '/testServlet'

Re: stop context properly

2005-02-10 Thread Lionel Farbos
No response, so nobody knows how to ?... Perhaps this feature doesn't exist in TC4.1?... Is this feature (stop context without interrupt running threads) available in TC5.0 or TC5.5 ? On Wed, 9 Feb 2005 19:36:50 +0100 Lionel Farbos [EMAIL PROTECTED] wrote: Hi all, I work with Tomcat

JK1.2.9 and dynamic change of properties

2005-02-24 Thread Lionel Farbos
Hi, A question for JK workers : I see in the JK 1.2.9 roadmap that a dynamic change of workers'properties will be possible at runtime. But, actually, when I do apache reload, the change is possible at runtime without loosing requests. No ? So, what is the innovation of this feature ?

Re: error-page directive

2005-03-01 Thread Lionel Farbos
Perhaps, try to put error-page BEFORE taglib... On Tue, 1 Mar 2005 10:07:49 +0100 Ian van der Neut [EMAIL PROTECTED] wrote: Hello all, I have a web.xml (attached) that works fine if I remove the error-page directive, but gives a Exception initializing TldLocationsCache: XML parsing error

Re: session load-balancing and clustering of tomcat

2005-03-01 Thread Lionel Farbos
1) In server.xml : - uncomment the AJP 1.3 Connector (on port 8009), - set the jvmRoute in each Engine example : Engine name=Standalone defaultHost=host1 debug=0 jvmRoute=t1_ajp13 2) then add the module mod_jk in apache with jk workers defined like this :

Re: session load-balancing and clustering of tomcat

2005-03-01 Thread Lionel Farbos
On Tue, 01 Mar 2005 17:55:15 +0100 Mladen Turk [EMAIL PROTECTED] wrote: Lionel Farbos wrote: 2) then add the module mod_jk in apache with jk workers defined like this : worker.list=t1_ajp13,t2_ajp13,loadbalancer This is not quite correct, although it will work. You should set

RequestDispatcher.forward: a bug?

2005-03-02 Thread Lionel Farbos
Hi, (I work on Tomcat 5.0.30). When my servlet (http://myVhost/proxy/testProxy) forward to another servlet : try { ServletContext ctx = getServletContext(); ctx = ctx.getContext(/myNewContext); RequestDispatcher dispatcher = ctx.getRequestDispatcher(/myNewServlet);

Re: RequestDispatcher.forward: a bug?

2005-03-02 Thread Lionel Farbos
Funk [EMAIL PROTECTED] wrote: getRequestDispatcher() will always return a servlet. (The default servlet) -Tim Lionel Farbos wrote: Hi, (I work on Tomcat 5.0.30). When my servlet (http://myVhost/proxy/testProxy) forward to another servlet : try { ServletContext ctx

Re: EJB

2005-03-02 Thread Lionel Farbos
On Wed, 2 Mar 2005 19:23:19 +0300 Bogomolov Sergey [EMAIL PROTECTED] wrote: Dear Friends, please tell me, whether server TomCat with EJB is able to work no : Tomcat is a servlet container. For EJBs, you can use full J2EE servers like JBoss, JOnAS, WebSphere, WebLogic, ...

Re: Equivalent of Resin run-at servlet configuration

2005-03-03 Thread Lionel Farbos
I think that what you want, with this feature, is a daemon (but not a servlet that respond to requests). So, Tomcat don't have to implement anything for this (it's not in its sphere of activities). I think that crons (eventually with httpclients), TimerTasks, ... are more usefull for this

Re: RequestDispatcher.forward: SOLVED

2005-03-03 Thread Lionel Farbos
an attribute present in my desired Context or ctx.getRealPath(/myNewServlet) is a Path valid for my desired Context On Wed, 2 Mar 2005 16:34:42 +0100 Lionel Farbos [EMAIL PROTECTED] wrote: Yes : it's my problem. ctx.getContext(/myNewContext) always return a Context (even if myNewContext

Re: Equivalent of Resin run-at servlet configuration

2005-03-04 Thread Lionel Farbos
I'm not a Tomcat developer, I'm an outside observer too, but I agree with Tim. If you want such a feature, I think you have to implement such a package, which could be an optional additional package for Tomcat (like the apache commons packages, ... or other), and, why not, available in a tomcat

Re: Trying to retrieve the ROOT context in Servlet.

2005-03-08 Thread Lionel Farbos
Hi Jeffrey, I use Tomcat 5.0.30 and, when I use getServletContext().getContext(/toto), if the Context toto doesn't exist, it returns the root context. On Mon, 7 Mar 2005 15:32:25 -0600 Jeffrey Lanham [EMAIL PROTECTED] wrote: I have been trying for days and tons of google searches and mail

Re: Trying to retrieve the ROOT context in Servlet.

2005-03-09 Thread Lionel Farbos
the root context? Isn't that a little insecure? Jeff -Original Message- From: Lionel Farbos [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 3:49 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Trying to retrieve the ROOT context in Servlet. Hi Jeffrey

stop context properly or in a forced way

2005-03-09 Thread Lionel Farbos
Hi all, When I want to upgrade my webapp, I want to stop my context without interrupting its running threads. But, for exploitation needs, I can want to force the stop of my context. For this 2 needs, Tomcat provide only one solution : within the manager, a force stop context. And they don't

Re: stop context properly or in a forced way

2005-03-09 Thread Lionel Farbos
it is not possible with Tomcat ? On Wed, 9 Mar 2005 10:59:57 +0100 Lionel Farbos [EMAIL PROTECTED] wrote: Hi all, When I want to upgrade my webapp, I want to stop my context without interrupting its running threads. But, for exploitation needs, I can want to force the stop of my context. For this 2

Re: Query on mod_jk.log

2005-03-10 Thread Lionel Farbos
in your mod_jk.conf : JkLogFile /var/log/apache/mod_jk.log On Thu, 10 Mar 2005 11:58:03 +0530 [EMAIL PROTECTED] wrote: Hi All, I need to change the location of mod_jk.log file. Presently it gets logged in /apache/logs. I need to put it in /var/log/apache. How to accomplish this?

Tomcat CVS Versions

2005-03-14 Thread Lionel Farbos
Hi, I'd want to get the latest version of TC4.1 Manager. Where is it ? jakarta-tomcat-4.0 ? (is yes, which tag) ? I search within http://jakarta.apache.org/site/cvsindex.html If I am right : jakarta-tomcat is for TC3.2 and TC3.3 jakarta-tomcat-4.0 is for TC4.0 (and TC 4.1?) jakarta-tomcat-5 is

Re: Which tomcat 5.0 version to use?

2005-03-16 Thread Lionel Farbos
Hi, TC 5.0.30 is the best (of TC5.0.x versions) but it is beta because nobody work for it and they didn't vote for passing it stable. TC 5.0.28 is stable for production. TC 5.5 is the only one to pay attention for developpers. On Wed, 16 Mar 2005 16:05:31 +0100 Zsolt Koppany [EMAIL PROTECTED]

JkMount or JkUnMount ?

2005-03-16 Thread Lionel Farbos
Hi, on a performance point of view, is it better to configure (for example) JkMount /toto/*.jgi ajp13 or JkUnMount /toto/*.htm JkUnMount /toto/*.gif JkUnMount /toto/*.jpeg JkUnMount /toto/*.gif JkUnMount /toto/*.png JkUnMount /toto/*.css JkUnMount /toto/*.js ?

unpackWARs incomplete when deployed with context.xml

2005-03-16 Thread Lionel Farbos
Hi all, After some tests on TC4.1.31, deployment with context.xml and war unpacked, my unpacked tree is incomplete : static files, JSPs files and properties files (including web.xml) are missing :-( (but the Context is working fine) Is it the normal behaviour or I miss something ? This is the

Re: choice of JVM

2005-03-16 Thread Lionel Farbos
For Tomcat, you need a JVM : so a jsdk or a jre. You have choosen a J2EE SDK (too complete). re-try with : j2sdk 1.4.2 for example, install it in a directory and put JAVA_HOME=this directory On Wed, 16 Mar 2005 17:43:12 +0100 (CET) Christoph Kukulies [EMAIL PROTECTED] wrote: I'm in the process

Re: Problem with BASIC authentication

2005-03-17 Thread Lionel Farbos
Hi, Compared to Manager's web.xml, it seems you don't have the section resource-env-ref with the link to your user DataBase. Perhaps, try to put the role names without a - (rather a _ or nothing) Cheers. On Thu, 17 Mar 2005 10:49:29 +0530 Karanjkar, Sanjay V \(IT\) [EMAIL PROTECTED] wrote:

Re: Reload webapp and context

2005-03-17 Thread Lionel Farbos
Hi, To reload, start, stop, deploy, undeploy contexts see the Manager : http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html I don't know your tomcat version, but it works since TC 4. Cheers. On Thu, 17 Mar 2005 08:32:54 +0100 Roland Carlsson [EMAIL PROTECTED] wrote: Hi! I

Re: Loading System Library After Reloading Webapp

2005-03-17 Thread Lionel Farbos
Hi, see the lifecycle listeners in your Context : http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html You receive start Events or Stop Events. Another issue: Your problem is because the native library is loaded by the Application ClassLoader. If you can loaded it by the Common

Re: Application install problem

2005-03-17 Thread Lionel Farbos
Hi, I post a problem like yours yesterday : http://marc.theaimsgroup.com/?l=tomcat-userm=111099252030422w=2 In our case, the warfile is not deployed in the Host.appBase. I think it's deployed in the Host.workDir. see there : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html

Re: Problem with BASIC authentication

2005-03-17 Thread Lionel Farbos
Message- From: Lionel Farbos [mailto:[EMAIL PROTECTED] Sent: 17 March 2005 09:58 To: Tomcat Users List Cc: Karanjkar, Sanjay V (IT) Subject: Re: Problem with BASIC authentication Hi, Compared to Manager's web.xml, it seems you don't have the section resource-env-ref with the link

Re: SV: Reload webapp and context

2005-03-17 Thread Lionel Farbos
On Thu, 17 Mar 2005 14:12:06 +0100 Roland Carlsson [EMAIL PROTECTED] wrote: Hi and thanks for your answer! Do I read you correctly that there are no solution but to restart Tomcat to reload the context completly? False. Lionel, the manager doesn't seem to re-read the context file under

Re: Servlet pops up as download

2005-03-17 Thread Lionel Farbos
and, in your browser, what is the default action for this mapping ? On Thu, 17 Mar 2005 16:19:06 +0100 Nick Wolters [EMAIL PROTECTED] wrote: In mozilla the download window says: text/vnd.wap.wml The file itself begins with the following: ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE wml

Re: Servlet pops up as download

2005-03-17 Thread Lionel Farbos
On Thu, 17 Mar 2005 16:57:04 +0100 Omar Adobati [EMAIL PROTECTED] wrote: To browse a wml file you need to use a wml browser, You can't do it just using Ie or Mozilla. Maybe you can find a wml browser on the Internet. I think Opera do it. On Thu, 17 Mar 2005 16:52:30 +0100, Lionel Farbos

Re: Start and stop Tomcat + Cron

2005-03-17 Thread Lionel Farbos
Yes and it depends on your crontab version. In my version, the system-wide crontab seems like this : 00 22 * * * /PATH/TO/JAKARTA/bin/shutdown.sh and the user-wide crontab seems like this : 00 22 * * * /PATH/TO/JAKARTA/bin/shutdown.sh ... but are not executed by the same user. On Thu, 17 Mar

HELP: How the DBCP works ? (and the JMXProxy)

2005-03-23 Thread Lionel Farbos
Hi all (tomcat 5.5 developers), In my context.xml, I use a DataSource like this : Resource auth=Container name=myDB type=javax.sql.DataSource .../ So, I suppose the dataSource.getConnection() is taken from DataBase Connection Pool... 1- But How do this works ? 2- If all my contexts have their

Re: bug with Delegate ?

2005-03-23 Thread Lionel Farbos
Hi Simon, I wanted to use this flag because, in my $CATALINA_HOME/common/lib, I have mysql-connector-java-2.0.14-bin.jar but, in some wars, I have WEB-INF/lib/mysql-connector-java-3.0.15-ga-bin.jar WEB-INF/lib/naming-factory-dbcp.jar and in other wars, I don't have any Driver Mysql So, I'd

Re: bug with Delegate ?

2005-03-23 Thread Lionel Farbos
Hi Simon, I wanted to use this flag because, in my $CATALINA_HOME/common/lib, I have mysql-connector-java-2.0.14-bin.jar but, in some wars, I have WEB-INF/lib/mysql-connector-java-3.0.15-ga-bin.jar WEB-INF/lib/naming-factory-dbcp.jar and in other wars, I don't have any Driver Mysql So, I'd

Re: tomcat 5.0.25 question

2005-03-23 Thread Lionel Farbos
I don't know where you can find more details ... but Tomcat 5.0.x is built for jdk1.4 So, I don't think you can use jdk1.5 with it... On Wed, 23 Mar 2005 09:32:28 -0800 Eric Moreo [EMAIL PROTECTED] wrote: Hello, Last year I downloaded the Tomcat 5.0.25 binary for Solaris and installed it

Re: tomcat 5.0.25 question

2005-03-24 Thread Lionel Farbos
it working here on Tomcat 5.0.x, JDK 5, WinXP -- no problems to note so far and I installed it from a binary download. The only gotcha that I know about is you can't build for JDK 5 and then use it on JDK 1.4.x --David Lionel Farbos wrote: I don't know where you can find more details

Re: Address localhost:8080 already in use

2005-03-24 Thread Lionel Farbos
killall java and re-start only one Tomcat instance On Wed, 23 Mar 2005 16:29:58 -0800 Fredrik Liden [EMAIL PROTECTED] wrote: Here is a big problem that I've run into so many times. I run start tomcat. And then by accident I start it again while it is running. After that I can't shut it down

Re: No bug with Delegate !

2005-03-25 Thread Lionel Farbos
the war :-( But this is another problem... Sorry Remy for the bad bug report. On Wed, 23 Mar 2005 17:26:34 +0100 Lionel Farbos [EMAIL PROTECTED] wrote: Hi Simon, I wanted to use this flag because, in my $CATALINA_HOME/common/lib, I have mysql-connector-java-2.0.14-bin.jar but, in some

Re: HELP: How the DBCP works ? (and the JMXProxy)

2005-03-25 Thread Lionel Farbos
On Wed, 23 Mar 2005 17:40:05 +0100 Lionel Farbos [EMAIL PROTECTED] wrote: Hi all (tomcat 5.5 developers), In my context.xml, I use a DataSource like this : Resource auth=Container name=myDB type=javax.sql.DataSource .../ So, I suppose the dataSource.getConnection() is taken from DataBase

Re: unpackWARs incomplete when deployed with context.xml

2005-03-25 Thread Lionel Farbos
On Wed, 16 Mar 2005 18:01:47 +0100 Lionel Farbos [EMAIL PROTECTED] wrote: Hi all, After some tests on TC4.1.31, deployment with context.xml and war unpacked, my unpacked tree is incomplete : static files, JSPs files and properties files (including web.xml) are missing

Re: use of Delegate ...

2005-03-29 Thread Lionel Farbos
On Sat, 26 Mar 2005 16:46:44 +0100 Simon Kitching [EMAIL PROTECTED] wrote: I don_t understand; If you want jars from the war-specific WEB-INF/lib to be used BEFORE the common/lib version, then the default classloading order (child-first) is exactly what you want, isn_t it? yes, in my

Re: [ANN] JK 1.2.10 Released

2005-03-31 Thread Lionel Farbos
Hi Mladen, Thank you for this release. Some questions : - Why don't you provide any more a binary release for linux (since 1.2.6) ? - I've not found any documentation on the status worker (and web page) and the ability to reload jk configuration without a reload of apache. Can you tell me more

Re: Apache as front-end for several tomcat

2005-03-31 Thread Lionel Farbos
Use one Logger per apache Virtual Host; something like that : VirtualHost demo1.myweb.org:81 ServerName demo1.myweb.org CustomLog /var/log/demo1_vhost_access.log combined JkMount / demo1 ... /VirtualHost VirtualHost demo2.myweb.org:81 ServerName demo2.myweb.org CustomLog

Re: session management

2005-04-01 Thread Lionel Farbos
On Thu, 31 Mar 2005 11:41:55 -0800 (PST) Jagadeesha T [EMAIL PROTECTED] wrote: Hi all, I want to set session in httpservletresponse object, Is there any way to do it. Otherthan response.addCookie(), or response.encodeURL(); Is there any way to set the Jsession In

Re: [OT] Proper way to open threads in a servlet

2005-04-01 Thread Lionel Farbos
Your question is not really Tomcat so I put it Off Topic. On Fri, 1 Apr 2005 15:24:10 +1000 Steve Vanspall [EMAIL PROTECTED] wrote: Hi there, I am concerned that opening a thread in my serlvet using new Thread(Runnable) style code, is causing a massive hang in my system. I don't

Re: [OT] Proper way to open threads in a servlet

2005-04-01 Thread Lionel Farbos
servlet communicate with the MailManager ? Rather than TimerTasks, a good issue for these needs could be Quartz (http://www.opensymphony.com/quartz/) -Original Message- From: Lionel Farbos [mailto:[EMAIL PROTECTED] Sent: 01 April 2005 11:39 To: Tomcat Users List Cc: [EMAIL PROTECTED

Re: annoying popup in manager app

2005-04-01 Thread Lionel Farbos
On Fri, 01 Apr 2005 06:47:15 -0500 Tim Funk [EMAIL PROTECTED] wrote: sorry if I find this funny, but I just saw a bugzilla complaint requesting another confirmation screen. As to your question, i don't know. -Tim teknokrat wrote: Whenever i need to reload a webapp in the manager

Re: WAR files and web.xml

2005-04-01 Thread Lionel Farbos
For the same needs, I use the Context.xml outside the war. use the tags Parameter .../ to pass your admin parameters. Regards. On Fri, 1 Apr 2005 08:26:37 -0500 Mark [EMAIL PROTECTED] wrote: I have a question concerning the generation of a war file and my web.xml file. I want to create a WAR

Re: session management

2005-04-04 Thread Lionel Farbos
this done? Thanks, Jagadish Lionel Farbos [EMAIL PROTECTED] wrote: On Thu, 31 Mar 2005 11:41:55 -0800 (PST) Jagadeesha T wrote: Hi all, I want to set session in httpservletresponse object, Is there any way to do it. Otherthan response.addCookie(), or response.encodeURL

Re: Kill running thread before tomcat stop

2005-04-04 Thread Lionel Farbos
On Mon, 4 Apr 2005 17:04:39 +0200 Edouard Dalla-Costa [EMAIL PROTECTED] wrote: Hello, I am using tomcat 5.0.30 which is working well. However I encountered a problem when I want to stop it. When I stop Tomcat, it calls the destroy method which is supposed to kill all my running threads but

Re: Custom 404 page when a webapp is stopped by the manager

2005-04-07 Thread Lionel Farbos
Hi, If you use apache and mod_jk, an issue could be : when you stop your Context, you change your JkMount towards a custom Tomcat Context that display your desired error-page. If you use a Tomcat standalone, I don't kown how to ... :-( Regards. On Wed, 6 Apr 2005 13:08:30 -0400 Pascal Gauthier

Re: Tomcat scalability

2005-04-07 Thread Lionel Farbos
Hi, If you want to use Tomcat for high loads, I suggest you to use apache/mod_jk and a cluster of Tomcat instances. With this solution you'll have load-balancing and failover for a lot of users. I don't use a HP very powerful, so, for the performances, I don't know if it is better to have one

Re: jk 1.2.10 + apache 1.3 issue

2005-04-20 Thread Lionel Farbos
I also have a problem with JkMountFile and apache 1.3 on Linux. The problem is the same if I use Virtual Hosts or not : the workers don't work. If I use JkMount : it works. For more details : In my config with Virtual Hosts (and JkMountFile), I have : in /etc/apache/httpd.conf : ... Include

Apache_MaxClients, AJP_maxThreads and jkWorker.cachesize

2005-04-20 Thread Lionel Farbos
Hi, I have 1 Linux Virtual Server (with round robin) + 2 apache 1.3 servers + 3 Tomcat servers load-balanced with mod_jk1.2.10. 1) If each Apache define : MaxClients=150 1.1) what must be the value for each Tomcat Connector AJP maxThread ? 1.2) is the value for each worker.cachesize have to be

Re: jk 1.2.10 + apache 1.3 issue

2005-04-20 Thread Lionel Farbos
On Wed, 20 Apr 2005 18:48:24 +0200 Mladen Turk [EMAIL PROTECTED] wrote: Lionel Farbos wrote: VirtualHost myHost ServerName myVhost1 #this works : # JkMount /testServlet/* ajp13 #this doesn't work : #JkMountFile /usr2/web/VirtualHosts/testServlet.properties JkMountFile /usr2

Re: Apache_MaxClients, AJP_maxThreads and jkWorker.cachesize

2005-04-20 Thread Lionel Farbos
cluster (loadbalancer), I also have to disable it from my web2_jkStatus ? Right ? Lionel Farbos wrote: Hi, I have 1 Linux Virtual Server (with round robin) + 2 apache 1.3 servers + 3 Tomcat servers load-balanced with mod_jk1.2.10. 2) for my 2 apache 1.3 servers, I must have only 1

Re: jk 1.2.10 + apache 1.3 issue

2005-04-20 Thread Lionel Farbos
On Wed, 20 Apr 2005 19:07:28 +0200 Mladen Turk [EMAIL PROTECTED] wrote: Lionel Farbos wrote: but I tried also this : VirtualHost ... JkMountFile B /VirtualHost (without JkMountFile A and JkMountCopy On) and this doesn't work either :-( Well, then it's a bug :) I'll check

Re: Apache_MaxClients, AJP_maxThreads and jkWorker.cachesize

2005-04-21 Thread Lionel Farbos
On Wed, 20 Apr 2005 19:12:17 +0200 Mladen Turk [EMAIL PROTECTED] wrote: Lionel Farbos wrote: Thank you again. So it means than I can have 1 local JkShmFile on my web1 and other local JkShmFile on my web2. But, if, in web1_jkStatus, I disable 1 worker from my cluster

Re: tomcat connectors

2005-04-22 Thread Lionel Farbos
Hi, As described here : http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html the goal of socket_timeout is very different than recyle_timeout : socket_timeout is a timeout during the activity (between apache and tomcat) recycle_timeout is a timeout after the activity; when the

Re: Clustering application scope replication

2005-04-22 Thread Lionel Farbos
Hi For your needs, you can use session replication (http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cluster-howto.html) or your own mechanisms and tables with datas in a database ... Regards. On Fri, 22 Apr 2005 15:15:54 +0200 Joakim Ahlén [EMAIL PROTECTED] wrote: Ok, too bad. Is there any

Re: Clustering application scope replication

2005-04-22 Thread Lionel Farbos
- that implements java.io.Serializable? -ryan -Original Message- From: Lionel Farbos [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 9:11 AM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: Clustering application scope replication Hi For your needs, you can use session

Re: Where to put version information in war file?

2005-05-12 Thread Lionel Farbos
On Wed, 11 May 2005 15:03:37 -0400 Henri Dupre [EMAIL PROTECTED] wrote: I was wondering what is the best place to put version information in a war file? I'd like to put a build version and date at built time to my application and have a way to retrieve them from the servlets. I'm used to

Re: war deploy

2005-05-23 Thread Lionel Farbos
On Fri, 20 May 2005 22:52:08 +0200 Pfingstl Gernot [EMAIL PROTECTED] wrote: How can I depoly a war to a path like '/x/y'? You can't deploy in a path like this (on several levels) : you can deploy x.war in /x ROOT.war in / but nothing in /x/y You can search more details in the archive

Validation of HowTo Deploy

2005-05-23 Thread Lionel Farbos
Hi, Because there is a lot of informations on several documents for deploying a webapp in Tomcat, it is difficult to define a simple and standard way to do it on a production server. Moreover, the deployment is different with Tomcat 3, 4, 5.0 or 5.5 So I decided to initialize a document which

Validation of HowTo Deploy

2005-05-23 Thread Lionel Farbos
2nd test with the doc HTML inside... Hi, Because there is a lot of informations on several documents for deploying a webapp in Tomcat, it is difficult to define a simple and standard way to do it on a production server. Moreover, the deployment is different with Tomcat 3, 4, 5.0 or 5.5 So I

Re: Accesing private resources with Tomcat

2005-05-24 Thread Lionel Farbos
As Tim said, there is nothing bundled with Tomcat to do this, but you can easily write your own proxy to do this. You'll have something like : http://[MyPublicProxy]/mail http://[MyPublicProxy]/accountWebManager http://[MyPublicProxy]/phpApps with mail, accountWebManager, phpApps that are servlets

Re: Validation of HowTo Deploy

2005-05-25 Thread Lionel Farbos
Because of no answer, I create a bug enhancement in bugzilla (http://issues.apache.org/bugzilla/show_bug.cgi?id=35063) with the HowTo document and an example more complete. ... On Mon, 23 May 2005 19:12:07 +0200 Lionel Farbos [EMAIL PROTECTED] wrote: 2nd test with the doc HTML inside

Re: jkstatus

2005-07-21 Thread Lionel Farbos
Hi, I think your worker.properties is OK I suppose your tomcat.conf is included into httpd.conf So, in my own tests, it works with (in tomcat.conf) : Location /jkstatus JkMount status Order deny,allow Deny from all Allow from 127.0.0.1 /Location Regards On Wed,

Re: data push

2005-09-01 Thread Lionel Farbos
You can see JMS and joram (http://joram.objectweb.org/) Note : Joram is embedded in Jonas (http://jonas.objectweb.org/) and Tomcat too... On Thu, 11 Aug 2005 11:41:34 +0100 Darryl L. Miles [EMAIL PROTECTED] wrote: Paul Wallace wrote: Thanks Len, And what of other protocols? Are

Re: mod_jk performance

2005-09-14 Thread Lionel Farbos
I use Apache/mod_jk/Tomcat for a long time on production servers with load balancing/failover (and with high traffic sites) and I'm sure it's not 30% slower than a pure Tomcat. I use Apache to deliver static files, manage SSL and other apache specifics modules. Then, Tomcat only manage

Re: mod_jk performance

2005-09-14 Thread Lionel Farbos
On Wed, 14 Sep 2005 14:55:08 +0300 KEREM ERKAN [EMAIL PROTECTED] wrote: Mod_jk 1.2.10 had some performance problems but I did not thoroughly test why. Is is proved ? Where do you find this ? I tested mod_jk 1.2.14 (but not stressed it) and it seems to be a good version... What sort of

Re: mod_jk performance

2005-09-14 Thread Lionel Farbos
% of the requests when running combined Apache TC and mod_jk Andrew On Sep 14, 2005, at 2:45 PM, Lionel Farbos wrote: I use Apache/mod_jk/Tomcat for a long time on production servers with load balancing/failover (and with high traffic sites) and I'm sure it's not 30% slower than a pure Tomcat

Re: mod_jk performance

2005-09-14 Thread Lionel Farbos
. - Cheers, Kerem -Original Message- From: Lionel Farbos [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 14, 2005 3:51 PM To: Tomcat Users List Cc: KEREM ERKAN Subject: Re: mod_jk performance On Wed, 14 Sep 2005 14

Re: mod_jk performance

2005-09-14 Thread Lionel Farbos
, 2005, at 2:58 PM, Lionel Farbos wrote: But, in a web site, there is never only JSPs : there is a lot of static files (images, css, js, ...) So, if you don't have a apache in the frontend to deliver theses static files, there is an overload for the TC server... So, your tests

Re: mod_jk performance

2005-09-14 Thread Lionel Farbos
On Wed, 14 Sep 2005 17:27:29 +0300 KEREM ERKAN [EMAIL PROTECTED] wrote: Well, mod_jk 1.2.10 seems slower than 1.2.10 when stress tested. The tests completed in more time. I do not have the actual test results, because we have been using 1.2.10 for several months, maybe I

Re: Cluster and notifications to nodes

2005-09-16 Thread Lionel Farbos
Hi, Why do you want your application to send a notification ? If you configure Session Replication in each of your Tomcat servers, every time there will be a change in your HTTP session, the others AS in the cluster will be notified and synchronized automatically. You have nothing to do... On