mod_jk: How to configure separate failover for different JkMounts?
BACKGROUND INFORMATION: I have used mod_jk to configure Apache to work as a load balancer for two Tomcat server instances. To these Tomcat instances, I have deployed two Web Applications, ts_core_virtual_repository and pum. These Web Applications are actually simple servlets that DO NOT use J2EE sessions, so even though I want to retain support for sticky sessions for future purposes, that is not necessary yet. I have set up failover for my Web Applications by setting the following in worker.properties for the loadbalancer workers: worker.template.fail_on_status=500 This effectually means that any ServletExceptions that the Web Applications throw cause failover to happen: the worker moves to ERR state and the request gets transparently forwarded to the next available worker. My stateless servlets expect and are prepared for this! THE CONFIGURATION PROBLEM: Should ts_core_virtual_repository application fail by throwing ServletException, the loadbalancer also interprets pum application as having failed and starts to forward its request to other workers. I would like the loadbalancer to treat the applications individually for 500 Internal Servlet Error failover purposes. What would be the best way to do this? Although we are not short of machine resources, the solution should not be unnecessarily wasteful and silly - for example, I would NOT like to create a set of totally new, separate Tomcat server instances for different applications. Who knows, there might be a third or fourth web application in the future, so the solution should be somewhat scalable and maintainable. MY CURRENT CONFIGURATION: httpd.conf: LoadModule jk_module modules/mod_jk-1.2.28-httpd-2.2.3.so JkWorkersFile conf/ts_tomcat-workers.properties JkLogFile logs/mod_jk.log JkLogLevel info JkLogStampFormat [%a %b %d %H:%M:%S %Y] JkMount /ts_core_virtual_repository/* loadbalancer JkMount /jkstatus/* jkstatus JkMount /pum/* loadbalancer ts_tomcat-worker.properties: worker.list=loadbalancer,jkstatus worker.template.type=ajp13 worker.template.host=localhost worker.template.port=8110 worker.template.lbfactor=1 worker.template.connection_pool_timeout=600 worker.template.socket_keepalive=true worker.template.socket_timeout=10 worker.template.ping_mode=A worker.template.ping_timeout=4000 worker.template.fail_on_status=500 worker.worker1.reference=worker.template worker.worker1.port=8110 worker.worker2.reference=worker.template worker.worker2.port=8111 worker.jkstatus.type=status worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=worker1,worker2 worker.loadbalancer.sticky_session=true worker.loadbalancer.sticky_session_force=false worker.loadbalancer.recover_time=60 worker.loadbalancer.error_escalation_time=0 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Redirecting a port to a webapp
Hello, After hours of googling and browsing documentation, i came to the conclusion that what i want is either so trivial that everybody knows how to do it, or so complicated that no one ever tried it... I want to accomplish the following in Tomcat 5.5: http://myserver:80/xxx just does whatever it always does. http://myserver:666/xxx is equivalent to http://myserver:80/myapp/xxx So i want all requests targetted at a particular port (666) in this case to be forwarded to a particular servlet, which is also served under its own subdirectory on the regular HTTP port 80. I can set up a connector at port 666 and have all its request go somewhere else, but then the application cannot be reached through the normal port (80), which is crucial for this thing to work. Installing two copies will accomplish that, but then the two copies live in different universes and cannot communicate - and setting up some IPC between them is overkill i'd say. Mike Looijmans Océ-technologies http://www.oce.com/ | Topic automation http://www.topic.nl/ This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law. If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone and with a 'reply' message. Thank you for your co-operation.
Re: mod_jk 1.2.28 connection pooling is not working.
On 23.11.2009 01:37, Ahmed Medhat wrote: Hello, Setting connection_pool_size to a non-zero value (100 in my case) have no effect at all.. It's not necessary (but it works). mod_jk when used with Apache automatically sizes its pool in each processo to the number of request threads configured in Apache. That's what I currently have configured.. worker.jkw.connection_pool_size=100 worker.jkw.connection_pool_minsize=60 worker.jkw.connection_pool_timeout=3600 Output from `netstat -anptue|grep httpd.worker` shows that there are only 4 connections in the ESTABLISHED state with Tomcat, I have the httpd.worker configured to 8 start servers and 60 as a thread limit. The connections are opened lazily. Pools are per process. In order to see a process pool with size1 you will need to use a multi-threaded MPM like worker. Even then, the pool will only grow, if you are running multiple requests and they get dispatched to the same httpd process. At the initial startup of httpd.worker it creates around 12 connections and then dies, mod_jk logs returns n At startup it should not create any connections. It will create them when it received requests. What do you mean by mod_jk logs returns n? Regards, Rainer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: mod_jk: How to configure separate failover for different JkMounts?
On 23.11.2009 09:53, Tero Karttunen wrote: BACKGROUND INFORMATION: I have used mod_jk to configure Apache to work as a load balancer for two Tomcat server instances. To these Tomcat instances, I have deployed two Web Applications, ts_core_virtual_repository and pum. These Web Applications are actually simple servlets that DO NOT use J2EE sessions, so even though I want to retain support for sticky sessions for future purposes, that is not necessary yet. I have set up failover for my Web Applications by setting the following in worker.properties for the loadbalancer workers: worker.template.fail_on_status=500 This effectually means that any ServletExceptions that the Web Applications throw cause failover to happen: the worker moves to ERR state and the request gets transparently forwarded to the next available worker. My stateless servlets expect and are prepared for this! THE CONFIGURATION PROBLEM: Should ts_core_virtual_repository application fail by throwing ServletException, the loadbalancer also interprets pum application as having failed and starts to forward its request to other workers. I would like the loadbalancer to treat the applications individually for 500 Internal Servlet Error failover purposes. What would be the best way to do this? Although we are not short of machine resources, the solution should not be unnecessarily wasteful and silly - for example, I would NOT like to create a set of totally new, separate Tomcat server instances for different applications. Who knows, there might be a third or fourth web application in the future, so the solution should be somewhat scalable and maintainable. There's only one thing you can do, namely create a separate connector on the Tomcat side. For this you will also need to use a separate port. Then you can configure different LBs pointing to the same Tomcat. In order to make stickyness work (if you need it), you can't rely any more on the automatism worker name = jvmRoute, bacause you now have one jvmRoute pr Tomcat, but two workers with different names. For this situation you can explicitely set a route for a worker differing from its name by using the route attribute. MY CURRENT CONFIGURATION: httpd.conf: LoadModule jk_module modules/mod_jk-1.2.28-httpd-2.2.3.so JkWorkersFile conf/ts_tomcat-workers.properties JkLogFile logs/mod_jk.log You can even use rotatelogs for the JkLogFile ... JkLogLevel info JkLogStampFormat [%a %b %d %H:%M:%S %Y] JkMount /ts_core_virtual_repository/* loadbalancer JkMount /jkstatus/* jkstatus JkMount /pum/* loadbalancer ts_tomcat-worker.properties: worker.list=loadbalancer,jkstatus worker.template.type=ajp13 worker.template.host=localhost worker.template.port=8110 worker.template.lbfactor=1 worker.template.connection_pool_timeout=600 worker.template.socket_keepalive=true worker.template.socket_timeout=10 Don't use socket_timeout. Use version 1.2.28 and socket_connect_timeout. worker.template.ping_mode=A worker.template.ping_timeout=4000 Relatively small. Could be triggered by a long GC to. But since you are prepared for failover it might not be a problem. worker.template.fail_on_status=500 worker.worker1.reference=worker.template worker.worker1.port=8110 worker.worker2.reference=worker.template worker.worker2.port=8111 worker.jkstatus.type=status worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=worker1,worker2 worker.loadbalancer.sticky_session=true worker.loadbalancer.sticky_session_force=false worker.loadbalancer.recover_time=60 worker.loadbalancer.error_escalation_time=0 Looks good. For administratively disabling a worker in a single mapping, there is also a syntax when using a uriworkermap.proprties file. We call it a mount extension. You can find examples in the docs page for uriworkermap.properties. But it only works, if you as an admin want to disable individual workers in individual mappings instead of in the whole LB. It does not work for fail_on_status or other error detection. Regards, Rainer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Redirecting a port to a webapp
2009/11/23 Looijmans, Mike mike.looijm...@oce.com Hello, After hours of googling and browsing documentation, i came to the conclusion that what i want is either so trivial that everybody knows how to do it, or so complicated that no one ever tried it... I want to accomplish the following in Tomcat 5.5: http://myserver:80/xxx just does whatever it always does. http://myserver:666/xxx is equivalent to http://myserver:80/myapp/xxx So i want all requests targetted at a particular port (666) in this case to be forwarded to a particular servlet, which is also served under its own subdirectory on the regular HTTP port 80. I can set up a connector at port 666 and have all its request go somewhere else, but then the application cannot be reached through the normal port (80), which is crucial for this thing to work. Installing two copies will accomplish that, but then the two copies live in different universes and cannot communicate - and setting up some IPC between them is overkill i'd say. It's not at all obvious :-). You can sort-of pick the bones out of http://tomcat.apache.org/tomcat-5.5-doc/index.html , but unfortunately I've always found the official Tomcat docs to be very short of worked examples. Because you want different sets of webapps served on your different connectors, I *think* you'll need two different Services in your server.xml: Server Service for port 80 Connector for port 80 Engine for port 80 Host for port 80, specifying base directory for your port 80 webapps /Engine for port 80 /Service for port 80 Service for port 666 Connector for port 666 Engine for port 666 Host for port 666, specifying base directory for your port 666 webapps /Engine for port 666 /Service for port 666 /Server The fastest way to make such a configuration will be to edit your existing server.xml, copy+paste the Service.../Service section (which is most of the file) and hack at the copy as necessary. Note that you'll end up with two independent copies of the servlet in your two webapp directories, and they won't share things like Sessions between them. I can't think of a way of doing that using just Tomcat's features. You might, however, be able to get what you want using a combination of http://tuckey.org/urlrewrite/ and two Connectors defined on the same Service. Good luck! - Peter
Re: Redirecting a port to a webapp
On 23.11.2009, at 11:08, Looijmans, Mike mike.looijm...@oce.com wrote: Hello, After hours of googling and browsing documentation, i came to the conclusion that what i want is either so trivial that everybody knows how to do it, or so complicated that no one ever tried it... I want to accomplish the following in Tomcat 5.5: http://myserver:80/xxx just does whatever it always does. http://myserver:666/xxx is equivalent to http://myserver:80/myapp/xxx So i want all requests targetted at a particular port (666) in this case to be forwarded to a particular servlet, which is also served under its own subdirectory on the regular HTTP port 80. This sound like a simple reverse proxy running at 666 and forwarding to 8080/myapp. Unless I'm missing some critical details its 10 minute configuration issue for tinyproxy (but i dont guarrantee the times). Varnish and squid also come in mind as well as httpd with mod_proxy or mod_jk Regards Leon I can set up a connector at port 666 and have all its request go somewhere else, but then the application cannot be reached through the normal port (80), which is crucial for this thing to work. Installing two copies will accomplish that, but then the two copies live in different universes and cannot communicate - and setting up some IPC between them is overkill i'd say. Mike Looijmans Océ-technologies http://www.oce.com/ | Topic automation http://www.topic.nl / This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law. If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone and with a 'reply' message. Thank you for your co-operation. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Redirecting a port to a webapp
Peter Crowther wrote: ... You might, however, be able to get what you want using a combination of http://tuckey.org/urlrewrite/ and two Connectors defined on the same Service. That indeed looks to me like a way, if you want to stay entirely within Tomcat. It would have the benefit that there is only one Tomcat and that webapps can communicate. But is a bit tricky to set up, since the URLs you want to redirect are /xxx, so you will need a dummy /xxx webapp, to set the urlrewrite filter into, and re-direct the calls to /myapp/xxx. Otherwise, I would say to use an Apache front-end, with mod_proxy or mod_proxy_ajp or mod_jk, and possibly mod_rewrite to rewrite the URLs. It is relatively trivial if you know Apache httpd. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Redirecting a port to a webapp
... Note that you'll end up with two independent copies of the servlet in your two webapp directories, and they won't share things like Sessions between them. And, as I mentioned, I don't want that to happen. You might, however, be able to get what you want using a combination of http://tuckey.org/urlrewrite/ and two Connectors defined on the same Service. Instead of introducing a third party component, it seems possible to write a custom Filter to do this. All it needs to do is look at the incoming port and if that equals 666 insert the /myapp into the url? The documentation on Filters is large but provides - again - little examples (like how to explain to Tomcat that I want to use this filter...). Anyway, I prefer any solution that stays within Tomcat. Mike. This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law. If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone and with a 'reply' message. Thank you for your co-operation. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Moving the webapps context root or adding a prefix
We are installing TC behind a proxy. The proxy will map all requests of form http(s)://host/prefix/* to tomcat. Is there a config option to change the context root? i.e.: webapps/ROOT = http://localhost/prefix/ webapps/manager = http://localhost/prefix/manager/ webapps/examples = http://localhost/prefix/examples/ Sorry, my choice of keywords have not resulted any fruitful searches. -Jason Pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Moving the webapps context root or adding a prefix
The super simple answer is deploy your 'ROOT' webapp as 'prefix' instead. --David Jason Pyeron wrote: We are installing TC behind a proxy. The proxy will map all requests of form http(s)://host/prefix/* to tomcat. Is there a config option to change the context root? i.e.: webapps/ROOT = http://localhost/prefix/ webapps/manager = http://localhost/prefix/manager/ webapps/examples = http://localhost/prefix/examples/ Sorry, my choice of keywords have not resulted any fruitful searches. -Jason Pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
config database in Tomcat
i use 3 tomcats in one PC, in each tomcat i have a webservice, for each webservice i use a mysql database. my question is: how can i write a config file in each tomcat to let tomcat1 load DB1, tomcat2 load DB2 and tomcat3 load DB3. thanks. -- View this message in context: http://old.nabble.com/config-database-in-Tomcat-tp26477627p26477627.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: config database in Tomcat
On 23/11/2009 13:00, dishmily wrote: i use 3 tomcats in one PC, in each tomcat i have a webservice, for each webservice i use a mysql database. my question is: how can i write a config file in each tomcat to let tomcat1 load DB1, tomcat2 load DB2 and tomcat3 load DB3. thanks. I'm guessing that you're using Tomcat 6.0, because you didn't say. The extensive documentation is often a good place to start: http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Redirecting a port to a webapp
Because you want different sets of webapps served on your different connectors, I *think* you'll need two different Services in your server.xml: Server Service for port 80 Connector for port 80 Engine for port 80 Host for port 80, specifying base directory for your port 80 webapps /Engine for port 80 /Service for port 80 Service for port 666 Connector for port 666 Engine for port 666 Host for port 666, specifying base directory for your port 666 webapps /Engine for port 666 /Service for port 666 /Server The fastest way to make such a configuration will be to edit your existing server.xml, copy+paste the Service.../Service section (which is most of the file) and hack at the copy as necessary. I tried this, just to be able to make some progress on the actual project, but it does not work as expected. I copied the server part and replaced: Host name=localhost appBase=webapps / with Host name=localhost appBase=webapps/myapp / And changed the connector to use port 666. The result is that when I browse to http://localhost:666/ I get a blank page. No error message, just nothing. If I change the Host thing to read: Host name=localhost appBase=webapps/aDirThatDoesNotExistAtAll / I get the same result: Silently nothing. If I revert the Host part by removing the subdir, I can acess http://localhost:666/myapp just fine. Duh? Mike. This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law. If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone and with a 'reply' message. Thank you for your co-operation. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Redirecting a port to a webapp
On 23/11/2009 13:06, Looijmans, Mike wrote: Because you want different sets of webapps served on your different connectors, I *think* you'll need two different Services in your server.xml: Server Service for port 80 Connector for port 80 Engine for port 80 Host for port 80, specifying base directory for your port 80 webapps /Engine for port 80 /Service for port 80 Service for port 666 Connector for port 666 Engine for port 666 Host for port 666, specifying base directory for your port 666 webapps /Engine for port 666 /Service for port 666 /Server The fastest way to make such a configuration will be to edit your existing server.xml, copy+paste the Service.../Service section (which is most of the file) and hack at the copy as necessary. I tried this, just to be able to make some progress on the actual project, but it does not work as expected. I copied theserver part and replaced: Host name=localhost appBase=webapps / with Host name=localhost appBase=webapps/myapp / You're telling the Host to look for war files or exploded app directories in webapps/myapp. Instead, set it to webapps2 or a similar existing directory and place the web app inside that directory. /path/to/tomcat/webapps /path/to/tomcat/webapps/ROOT /path/to/tomcat/webapps/myapp /path/to/tomcat/webapps2/ROOT /path/to/tomcat/webapps2/otherapp p And changed the connector to use port 666. The result is that when I browse to http://localhost:666/ I get a blank page. No error message, just nothing. If I change the Host thing to read: Host name=localhost appBase=webapps/aDirThatDoesNotExistAtAll / I get the same result: Silently nothing. If I revert the Host part by removing the subdir, I can acess http://localhost:666/myapp just fine. Duh? Mike. This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law. If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone and with a 'reply' message. Thank you for your co-operation. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Redirecting a port to a webapp
I tried this, just to be able to make some progress on the actual project, but it does not work as expected. I copied theserver part and replaced: Host name=localhost appBase=webapps / with Host name=localhost appBase=webapps/myapp / You're telling the Host to look for war files or exploded app directories in webapps/myapp. Yes I do. Isn't that what I want then? I want http://localhost/myapp/ and http://localhost:666/ to mean the same, so just moving the webapps root a level deeper seems the logical thing to do. Instead, set it to webapps2 or a similar existing directory and place the web app inside that directory. /path/to/tomcat/webapps /path/to/tomcat/webapps/ROOT /path/to/tomcat/webapps/myapp /path/to/tomcat/webapps2/ROOT /path/to/tomcat/webapps2/otherapp If I understand your suggestion correctly, that would make http://localhost/myapp/ and http://localhost:666/otherapp/ equivalent - not what I want - and it requires me to install two copies of the servlet in different locations? Mike. This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law. If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone and with a 'reply' message. Thank you for your co-operation. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Moving the webapps context root or adding a prefix
-Original Message- From: David Smith [mailto:d...@cornell.edu] Sent: Monday, November 23, 2009 7:51 To: Tomcat Users List Subject: Re: Moving the webapps context root or adding a prefix The super simple answer is deploy your 'ROOT' webapp as 'prefix' instead. But that won't deploy each new war file in webapps under prefix/context --David Jason Pyeron wrote: We are installing TC behind a proxy. The proxy will map all requests of form http(s)://host/prefix/* to tomcat. Is there a config option to change the context root? i.e.: webapps/ROOT = http://localhost/prefix/ webapps/manager = http://localhost/prefix/manager/ webapps/examples = http://localhost/prefix/examples/ -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Redirecting a port to a webapp
Some additional information: The blank page is actually a 400 Bad Request response. A 404 I could understand - especially when the directoy does not exist - but why it returns 400 is a total mystery. There's nothing in the log files, the access log just mentions the 400 response. There is also nothing in the response or its headers to further explain what's wrong with the request. Mike. -Original Message- From: Looijmans, Mike Sent: maandag 23 november 2009 14:06 To: Tomcat Users List Subject: RE: Redirecting a port to a webapp Because you want different sets of webapps served on your different connectors, I *think* you'll need two different Services in your server.xml: Server Service for port 80 Connector for port 80 Engine for port 80 Host for port 80, specifying base directory for your port 80 webapps /Engine for port 80 /Service for port 80 Service for port 666 Connector for port 666 Engine for port 666 Host for port 666, specifying base directory for your port 666 webapps /Engine for port 666 /Service for port 666 /Server The fastest way to make such a configuration will be to edit your existing server.xml, copy+paste the Service.../Service section (which is most of the file) and hack at the copy as necessary. I tried this, just to be able to make some progress on the actual project, but it does not work as expected. I copied the server part and replaced: Host name=localhost appBase=webapps / with Host name=localhost appBase=webapps/myapp / And changed the connector to use port 666. The result is that when I browse to http://localhost:666/ I get a blank page. No error message, just nothing. If I change the Host thing to read: Host name=localhost appBase=webapps/aDirThatDoesNotExistAtAll / I get the same result: Silently nothing. If I revert the Host part by removing the subdir, I can acess http://localhost:666/myapp just fine. Duh? This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law. If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone and with a 'reply' message. Thank you for your co-operation. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Moving the webapps context root or adding a prefix
Jason Pyeron wrote: -Original Message- From: David Smith [mailto:d...@cornell.edu] Sent: Monday, November 23, 2009 7:51 To: Tomcat Users List Subject: Re: Moving the webapps context root or adding a prefix The super simple answer is deploy your 'ROOT' webapp as 'prefix' instead. But that won't deploy each new war file in webapps under prefix/context So name then prefix#manager, prefix#examples etc. as per the docs for multi-level contexts (assuming you are using 6.0.20) Mark --David Jason Pyeron wrote: We are installing TC behind a proxy. The proxy will map all requests of form http(s)://host/prefix/* to tomcat. Is there a config option to change the context root? i.e.: webapps/ROOT = http://localhost/prefix/ webapps/manager = http://localhost/prefix/manager/ webapps/examples = http://localhost/prefix/examples/ -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: config database in Tomcat
thanks. the tomcat i use is Tomcat 6.0. i will have a look at the URL. Pid Ster wrote: On 23/11/2009 13:00, dishmily wrote: i use 3 tomcats in one PC, in each tomcat i have a webservice, for each webservice i use a mysql database. my question is: how can i write a config file in each tomcat to let tomcat1 load DB1, tomcat2 load DB2 and tomcat3 load DB3. thanks. I'm guessing that you're using Tomcat 6.0, because you didn't say. The extensive documentation is often a good place to start: http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/config-database-in-Tomcat-tp26477627p26478248.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Redirecting a port to a webapp
Looijmans, Mike wrote: I tried this, just to be able to make some progress on the actual project, but it does not work as expected. I copied theserver part and replaced: Host name=localhost appBase=webapps / with Host name=localhost appBase=webapps/myapp / You're telling the Host to look for war files or exploded app directories in webapps/myapp. Yes I do. Isn't that what I want then? No. You want webapps/myapp to be treated as the ROOT context for a host. appBase=webapps/myapp means look in the webapps/myapp directory to find contexts for this host. The ROOT context in that case would be webapps/myapp/ROOT As a general rule any configuration that boils down to docBase== (which is the same as appBase==docBase) is not going to behave they way you want it to. I want http://localhost/myapp/ and http://localhost:666/ to mean the same, so just moving the webapps root a level deeper seems the logical thing to do. That would be logical if the file system mapped directly to the web URL space but it doesn't. Instead, set it to webapps2 or a similar existing directory and place the web app inside that directory. /path/to/tomcat/webapps /path/to/tomcat/webapps/ROOT /path/to/tomcat/webapps/myapp /path/to/tomcat/webapps2/ROOT /path/to/tomcat/webapps2/otherapp If I understand your suggestion correctly, that would make http://localhost/myapp/ and http://localhost:666/otherapp/ equivalent - not what I want - and it requires me to install two copies of the servlet in different locations? If you follow that route yes. Another option would be to put the webapp somewhere outside of any host's appBase and then you can use context.xml files under CATALINA_BASE/engine name/host name to add the webapp to as many hosts as you like. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Redirecting a port to a webapp
No. You want webapps/myapp to be treated as the ROOT context for a host. appBase=webapps/myapp means look in the webapps/myapp directory to find contexts for this host. The ROOT context in that case would be webapps/myapp/ROOT As a general rule any configuration that boils down to docBase== (which is the same as appBase==docBase) is not going to behave they way you want it to. Since I don't understand a bit of this reply, I'll interpret it as please go read the manual... I want http://localhost/myapp/ and http://localhost:666/ to mean the same, so just moving the webapps root a level deeper seems the logical thing to do. That would be logical if the file system mapped directly to the web URL space but it doesn't. Probably the word apache has lead me into believing that tomcat would behave like other webservers: Just point it to some root location and then it will follow the filesystem. ... If you follow that route yes. Another option would be to put the webapp somewhere outside of any host's appBase and then you can use context.xml files under CATALINA_BASE/engine name/host name to add the webapp to as many hosts as you like. Needless to say, I again have no idea what you're talking about... back to reading the documentation again... Mike. This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law. If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone and with a 'reply' message. Thank you for your co-operation. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Moving the webapps context root or adding a prefix
-Original Message- From: Mark Thomas Sent: Monday, November 23, 2009 8:41 To: Tomcat Users List Subject: Re: Moving the webapps context root or adding a prefix Jason Pyeron wrote: -Original Message- From: David Smith Sent: Monday, November 23, 2009 7:51 To: Tomcat Users List Subject: Re: Moving the webapps context root or adding a prefix The super simple answer is deploy your 'ROOT' webapp as 'prefix' instead. But that won't deploy each new war file in webapps under prefix/context So name then prefix#manager, prefix#examples etc. as per the docs for multi-level contexts (assuming you are using 6.0.20) Nice, I like it. Is there any methods to do this in Tomcat 5.5? -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Redirecting a port to a webapp
2009/11/23 Looijmans, Mike mike.looijm...@oce.com No. You want webapps/myapp to be treated as the ROOT context for a host. appBase=webapps/myapp means look in the webapps/myapp directory to find contexts for this host. The ROOT context in that case would be webapps/myapp/ROOT As a general rule any configuration that boils down to docBase== (which is the same as appBase==docBase) is not going to behave they way you want it to. Since I don't understand a bit of this reply, I'll interpret it as please go read the manual... The servlet spec requires a little bit of magic. Whatever war file you want to deploy as the top-level one needs to be called ROOT.war, or the files placed in a directory called ROOT. I want http://localhost/myapp/ and http://localhost:666/ to mean the same, so just moving the webapps root a level deeper seems the logical thing to do. That would be logical if the file system mapped directly to the web URL space but it doesn't. Probably the word apache has lead me into believing that tomcat would behave like other webservers: Just point it to some root location and then it will follow the filesystem. Yeah. Unfortunately the servlet spec has other ideas, and Tomcat follows the spec. Much of the reason Tomcat's own documentation seems to have bits missing is that it doesn't duplicate the bits from the spec. If you haven't at least skim-read the spec, I'd suggest doing so - it makes a lot of Tomcat's odd behaviour much clearer. - Peter
RE: Moving the webapps context root or adding a prefix
-Original Message- From: Jason Pyeron Sent: Monday, November 23, 2009 9:09 To: 'Tomcat Users List' Subject: RE: Moving the webapps context root or adding a prefix -Original Message- From: Mark Thomas Sent: Monday, November 23, 2009 8:41 To: Tomcat Users List Subject: Re: Moving the webapps context root or adding a prefix Jason Pyeron wrote: -Original Message- From: David Smith Sent: Monday, November 23, 2009 7:51 To: Tomcat Users List Subject: Re: Moving the webapps context root or adding a prefix The super simple answer is deploy your 'ROOT' webapp as 'prefix' instead. But that won't deploy each new war file in webapps under prefix/context So name then prefix#manager, prefix#examples etc. as per the docs for multi-level contexts (assuming you are using 6.0.20) Nice, I like it. Is there any methods to do this in Tomcat 5.5? Yes, is the answer to my own question. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat: two context path for one webapp
AlbundySzabolcs wrote: Hi, I have been trying to solve a problem, but I have not found any good solution yet. The problem is: I have a web app and this web app is deployed to the $TOMCAT_HOME/webapps/XXX directory. I can reach that on the http://localhost:8080/XXX address BUT, I would like to reach the web app on the http://localhost:8080/YYY address too. I added the following to the server.xml: Server Service Engine Host ... Context path=/YYY docBase=XXX/Context /Host /Engine /Service /Server It helped but the Tomcat started two web contexts and it caused some other problem. Is it possible to create a multiple address for one web app and both address represent same webapp? We had this configuration running in production for a number of years with no problem (the webapp could be reached under / and under /webapp). Technically, these are two different applications running from the same files, so session IDs cannot be exchanged between them. What were the problems you encountered? Regards, Oliver Schoett - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Redirecting a port to a webapp
Looijmans, Mike wrote: ... Instead of introducing a third party component, it seems possible to write a custom Filter to do this. All it needs to do is look at the incoming port and if that equals 666 insert the /myapp into the url? The documentation on Filters is large but provides - again - little examples (like how to explain to Tomcat that I want to use this filter...). Anyway, I prefer any solution that stays within Tomcat. You have just given some perfect reasons to try the urlrewrite filter. The documentation on Filters is large but provides - again - little examples (like how to explain to Tomcat that I want to use this filter...). urlrewrite is very well documented, and it tells you exactly how to configure this (or any other) servlet filter. If you have not dealt with servlet filters before, it is hard to think of a better introduction. Instead of introducing a third party component, it seems possible to write a custom Filter to do this. All it needs to do is look at the incoming port and if that equals 666 insert the /myapp into the url? Well, yes and no. The first hurdle is that the HttpRequest is immutable, so you can't just change its URL and let the call through to the servlet(s). You have to subclass, or wrap, the original request, and then pass that wrapper to the servlets instead. urlrewrite does that, and much more. And it is debugged, which your filter would not be. And it is free, too. Why re-invent the world ? (I have, by the way, no shares in urlrewrite). Let's refresh the issue : A request comes into Tomcat for a URL /. It comes in either on port 80 or port 666. And you want it to be processed by the webapp at /myapp/. So you need 2 Connectors : Connector port=80... Connector port=666 .. Tomcat passes the request to the same Host .. anyway, which has a top location for webapps, probably (tomcat-dir)/webapps/. Tomcat will try to match the / request to a webapp located at (tomcat-dir)/webapps/. So you would need a webapp there, even if it is a dummy, just so that you have a place to put your filter and its (tomcat-dir)/webapps//WEB-INF/web.xml configuration file, and its classes or jars. In that web.xml, you will tell Tomcat that around the dummy webapp, there is a filter, and that it should handle all request URLs starting with /. What the filter does then is up to you. I think that urlrewrite would be able to re-direct this call to the webapp at /myapp/, just by a couple of configuration lines. So you don't need another Engine or another Tomcat or another front-end server, you just need another dummy webapp and the urlrewrite filter. The dummy webapp could just say Hello World, since it should never be called. Maybe it is not even really necessary, but for that my Tomcat knowledge is too limited to say. Anyway if this works, I would consider it much simpler than the other solutions suggested so far. But you can of course write your own filter instead. You would probably learn a lot about filters in the process, which might be useful too. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: config database in Tomcat
i have made few changes, but it didn't work. (my project uses tomcat and hibernate.) 1) $Tomcat_Home\conf\context.xml was changed to: Context WatchedResourceWEB-INF/web.xml/WatchedResource Resource name=jdbc/mysql auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 username=db password=pwd driverClassName=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3306/db/ /Context 2) resource-ref was added into $Tomcat_Home\webapps\axis2\WEB-INF\web.xml : web-app ... resource-ref descriptionDB Connection/description res-ref-namejdbc/mysql/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref /web-app wenn i ran the web application, i got the error message: INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.poolbackeddatasou...@29fb0733 [ connectionPoolDataSource - com.mchange.v2.c3p0.wrapperconnectionpooldatasou...@dd3d444b [ acquireIncrement - 5, acquireRetryAttempts - 30, acquireRetryDelay - 1000, autoCommitOnClose - false, automaticTestTable - null, breakAfterAcquireFailure - false, checkoutTimeout - 0, connectionCustomizerClassName - null, connectionTesterClassName - com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces - false, factoryClassLocation - null, forceIgnoreUnresolvedTransactions - false, identityToken - 1hgeigx859d0cr2vfrvc8|1ba92db, idleConnectionTestPeriod - 7200, initialPoolSize - 10, maxAdministrativeTaskTime - 0, maxConnectionAge - 0, maxIdleTime - 14400, maxIdleTimeExcessConnections - 0, maxPoolSize - 100, maxStatements - 100, maxStatementsPerConnection - 0, minPoolSize - 10, nestedDataSource - com.mchange.v2.c3p0.drivermanagerdatasou...@b33bd229 [ description - null, driverClass - null, factoryClassLocation - null, identityToken - 1hgeigx859d0cr2vfrvc8|87ad67, jdbcUrl - null, properties - {useUnicode=true, autocommit=false, characterEncoding=UTF8} ], preferredTestQuery - null, propertyCycle - 0, testConnectionOnCheckin - false, testConnectionOnCheckout - false, unreturnedConnectionTimeout - 0, usesTraditionalReflectiveProxies - false; userOverrides: {} ], dataSourceName - null, factoryClassLocation - null, identityToken - 1hgeigx859d0cr2vfrvc8|15b55bc, numHelperThreads - 3 ] 23.11.2009 16:51:25 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run WARNUNG: com.mchange.v2.async.threadpoolasynchronousrunner$deadlockdetec...@170ec24 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks! 23.11.2009 16:51:25 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run WARNUNG: com.mchange.v2.async.threadpoolasynchronousrunner$deadlockdetec...@170ec24 -- APPARENT DEADLOCK!!! Complete Status: Managed Threads: 3 Active Threads: 3 Active Tasks: com.mchange.v2.resourcepool.basicresourcepool$acquiret...@c5d9c1 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2) com.mchange.v2.resourcepool.basicresourcepool$acquiret...@15b4ad2 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0) com.mchange.v2.resourcepool.basicresourcepool$acquiret...@8d3d62 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1) Pending Tasks: com.mchange.v2.resourcepool.basicresourcepool$acquiret...@b9132a com.mchange.v2.resourcepool.basicresourcepool$acquiret...@996b65 com.mchange.v2.resourcepool.basicresourcepool$acquiret...@59c8b5 com.mchange.v2.resourcepool.basicresourcepool$acquiret...@881cb3 com.mchange.v2.resourcepool.basicresourcepool$acquiret...@143753 com.mchange.v2.resourcepool.basicresourcepool$acquiret...@13c4c09 com.mchange.v2.resourcepool.basicresourcepool$acquiret...@1a40247 Pool thread stack traces: Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main] java.lang.Thread.sleep(Native Method) com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805) com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547) Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main] java.lang.Thread.sleep(Native Method) com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805) com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547) Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main] java.lang.Thread.sleep(Native Method) com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
Fwd: Installation directory path for Tomcat 4.0
Hi, I would like to use tomcat 4.0 and configure it in my IBM- Rational Application developer. In order to configure Tomcat into my IDE, I have downloaded the tomcat and I just need to provide the path of the installation directory.I tried with bin, lib and other directories but RAD is saying - it does not point to valid tomcat installation. (C:\Documents and Settings\ming\Desktop\AP\jakarta-tomcat-4.0\bin). Can anyone please suggest what is the correct directory ? RAD is considering default workbench JRE. Thanks, Ming
When do you think mod_jk 1.2.29 will be available?
Hi, I am working on a project for a customer and before i put the final dot i'd like to know if 1.2.29 is a couple weeks off or sometime next year sometime. many thanks - Fred -- View this message in context: http://old.nabble.com/When-do-you-think-mod_jk-1.2.29-will-be-available--tp26481202p26481202.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Installation directory path for Tomcat 4.0
From: File Send [mailto:file.sen...@gmail.com] Subject: Fwd: Installation directory path for Tomcat 4.0 I would like to use tomcat 4.0 Stop right there. Using a seven-year-old, completely outmoded and unsupported version of Tomcat is utterly pointless. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Error - Unable to open the service 'Tomcat6' on Windows 2003
I just had to remove one on one of my servers (I create one per instance and just deleted an instance). The registry path is HKLM\Software\Microsoft\Windows\CurrentVersion\Run. The default key name is ApacheTomcatMonitor. Jeff -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, November 20, 2009 12:57 PM To: Tomcat Users List Subject: Re: Error - Unable to open the service 'Tomcat6' on Windows 2003 bhavik shah wrote: Hi I am sure it is Tomcat6 Can you please explain the registry setting as I could not find auto-run for Apache Software foundation. I don't really know, but I'll make a guess and suggest that you have a look here : HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run (when you are logged-in as the user in question) Or, if you are logged-in as an Administrator, maybe here : HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Run (and for each user under HKEY_USERS/) I also think that when you install Tomcat, it gives you the option to start this monitor or not. If so, de-install, re-install and choose no. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org *** NOTICE * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (call us collect at 512-343-9100) and immediately delete this message and all its attachments. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: config database in Tomcat
On 23/11/2009 16:03, dishmily wrote: i have made few changes, but it didn't work. (my project uses tomcat and hibernate.) You didn't mention that before. You need to configure Hibernate to use the DataSource jdbc/mysql that you've created. It doesn't appear to be correctly configured at the moment. You can test that the db connection pool is working: InitialContext ic = new InitialContext(); DataSource ds = (DataSource) ic.lookup(java:comp/env/jdbc/mysql); Connection conn = ds.getConnection(); 1) $Tomcat_Home\conf\context.xml was changed to: This is the default context definition, rather than a web app specific one. Just so you know. To configure it for a specific web app, include a context.xml definition in the META-INF folder of your webapp. p Context WatchedResourceWEB-INF/web.xml/WatchedResource Resource name=jdbc/mysql auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 username=db password=pwd driverClassName=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3306/db/ /Context 2)resource-ref was added into $Tomcat_Home\webapps\axis2\WEB-INF\web.xml : web-app ... resource-ref descriptionDB Connection/description res-ref-namejdbc/mysql/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref /web-app wenn i ran the web application, i got the error message: INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.poolbackeddatasou...@29fb0733 [ connectionPoolDataSource - com.mchange.v2.c3p0.wrapperconnectionpooldatasou...@dd3d444b [ acquireIncrement - 5, acquireRetryAttempts - 30, acquireRetryDelay - 1000, autoCommitOnClose - false, automaticTestTable - null, breakAfterAcquireFailure - false, checkoutTimeout - 0, connectionCustomizerClassName - null, connectionTesterClassName - com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces - false, factoryClassLocation - null, forceIgnoreUnresolvedTransactions - false, identityToken - 1hgeigx859d0cr2vfrvc8|1ba92db, idleConnectionTestPeriod - 7200, initialPoolSize - 10, maxAdministrativeTaskTime - 0, maxConnectionAge - 0, maxIdleTime - 14400, maxIdleTimeExcessConnections - 0, maxPoolSize - 100, maxStatements - 100, maxStatementsPerConnection - 0, minPoolSize - 10, nestedDataSource - com.mchange.v2.c3p0.drivermanagerdatasou...@b33bd229 [ description - null, driverClass - null, factoryClassLocation - null, identityToken - 1hgeigx859d0cr2vfrvc8|87ad67, jdbcUrl - null, properties - {useUnicode=true, autocommit=false, characterEncoding=UTF8} ], preferredTestQuery - null, propertyCycle - 0, testConnectionOnCheckin - false, testConnectionOnCheckout - false, unreturnedConnectionTimeout - 0, usesTraditionalReflectiveProxies - false; userOverrides: {} ], dataSourceName - null, factoryClassLocation - null, identityToken - 1hgeigx859d0cr2vfrvc8|15b55bc, numHelperThreads - 3 ] 23.11.2009 16:51:25 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run WARNUNG: com.mchange.v2.async.threadpoolasynchronousrunner$deadlockdetec...@170ec24 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks! 23.11.2009 16:51:25 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run WARNUNG: com.mchange.v2.async.threadpoolasynchronousrunner$deadlockdetec...@170ec24 -- APPARENT DEADLOCK!!! Complete Status: Managed Threads: 3 Active Threads: 3 Active Tasks: com.mchange.v2.resourcepool.basicresourcepool$acquiret...@c5d9c1 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2) com.mchange.v2.resourcepool.basicresourcepool$acquiret...@15b4ad2 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0) com.mchange.v2.resourcepool.basicresourcepool$acquiret...@8d3d62 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1) Pending Tasks: com.mchange.v2.resourcepool.basicresourcepool$acquiret...@b9132a com.mchange.v2.resourcepool.basicresourcepool$acquiret...@996b65 com.mchange.v2.resourcepool.basicresourcepool$acquiret...@59c8b5 com.mchange.v2.resourcepool.basicresourcepool$acquiret...@881cb3 com.mchange.v2.resourcepool.basicresourcepool$acquiret...@143753 com.mchange.v2.resourcepool.basicresourcepool$acquiret...@13c4c09 com.mchange.v2.resourcepool.basicresourcepool$acquiret...@1a40247 Pool thread stack traces: Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main] java.lang.Thread.sleep(Native Method) com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805) com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Re: When do you think mod_jk 1.2.29 will be available?
On 11/23/2009 05:22 PM, fredk2 wrote: Hi, I am working on a project for a customer and before i put the final dot i'd like to know if 1.2.29 is a couple weeks off or sometime next year sometime. Should be by the end of this year so that we keep two releases/year rythm :) There are few bugs to get solved, so it depends on that. Regards -- ^TM - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: When do you think mod_jk 1.2.29 will be available?
good to know the rythm :) thanks - fred Mladen Turk-3 wrote: On 11/23/2009 05:22 PM, fredk2 wrote: Hi, I am working on a project for a customer and before i put the final dot i'd like to know if 1.2.29 is a couple weeks off or sometime next year sometime. Should be by the end of this year so that we keep two releases/year rythm :) There are few bugs to get solved, so it depends on that. Regards -- ^TM - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/When-do-you-think-mod_jk-1.2.29-will-be-available--tp26481202p26481846.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
AW: per context access log
ok, works ... thanks :-) -Ursprüngliche Nachricht- Von: Tim Funk [mailto:funk...@apache.org] Gesendet: Donnerstag, 19. November 2009 13:38 An: Tomcat Users List Betreff: Re: per context access log Sorry - (AFAICT) there isn't a way to do that. You have to configure each one. -Tim Ursula Walenciak wrote: Hi, I'm trying to configure access-logging per context by using the AccessLogValve. Actually I would like to produce one log-file per context but avoid configuring it for each context separately. Is there a possibility to place the Valve-Configuration Valve className=org.apache.catalina.valves.AccessLogValve prefix=${context?!} suffix=.log pattern=combined/ into the default context.xml an chose a prefix such that a separate file is generated for each context, not one common for all contexts? Or is there another possibility to reach the desired behaviour? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Problems finding the right filepath
Ludwig, What is your dev language? -Original Message- From: Ludwig Magnusson [mailto:lud...@itcatapult.com] Sent: Monday, November 23, 2009 11:24 AM To: users@tomcat.apache.org Subject: Problems finding the right filepath Hello! We are a team developing a webapp running on a tomcat server. We need to list the files in a certain directory in our application, but we cannot find a way to always get the correct path on the different platforms and environments. Is this solvable through some IO-function or do we need to specify the path to our project in each environment? /Ludwig - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Problems finding the right filepath
From: Ludwig Magnusson [mailto:lud...@itcatapult.com] Subject: Problems finding the right filepath We are a team developing a webapp running on a tomcat server. What version of Tomcat? (Be precise.) What JVM? We need to list the files in a certain directory in our application, but we cannot find a way to always get the correct path on the different platforms and environments. Can you let the DefaultServlet do it? Directory listings are normally disabled, but you can enable them for your particular webapp if you wish Note that there is no requirement for a servlet container (e.g., Tomcat) to provide *any* access to the underlying file system (if there is one at all), other than to a scratch area for the webapp's internal use. If your webapp is deployed as a .war file, there is no file structure to look at. Is this solvable through some IO-function or do we need to specify the path to our project in each environment? You will likely need to specify the path through an environment variable, Java system property, or within the webapp Context element, via a nested Parameter or Environment setting. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Problems finding the right filepath
Or... maybe within a initialization parameter for a servlet if you are using Java -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, November 23, 2009 11:59 AM To: Tomcat Users List Subject: RE: Problems finding the right filepath From: Ludwig Magnusson [mailto:lud...@itcatapult.com] Subject: Problems finding the right filepath We are a team developing a webapp running on a tomcat server. What version of Tomcat? (Be precise.) What JVM? We need to list the files in a certain directory in our application, but we cannot find a way to always get the correct path on the different platforms and environments. Can you let the DefaultServlet do it? Directory listings are normally disabled, but you can enable them for your particular webapp if you wish Note that there is no requirement for a servlet container (e.g., Tomcat) to provide *any* access to the underlying file system (if there is one at all), other than to a scratch area for the webapp's internal use. If your webapp is deployed as a .war file, there is no file structure to look at. Is this solvable through some IO-function or do we need to specify the path to our project in each environment? You will likely need to specify the path through an environment variable, Java system property, or within the webapp Context element, via a nested Parameter or Environment setting. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Problems finding the right filepath
We are running Tomcat 6.0.20. The JDK is 1.6 but not the exact same version on all machines. My computer has 1.6.0.17, the server has 1.6.0.07 We are developing on both windows and mac. The server is ubuntu. To specify what I want, here is a model of my filesystem: /Tomcat-folder /conf /webapps /my-webapp /WEB-INF /web.xml /my-folder --- this is the folder I want to search If there is no specific way of solving this I can try the ones you have suggested. /Ludwig -Original Message- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: den 23 november 2009 19:02 To: Tomcat Users List Subject: RE: Problems finding the right filepath Or... maybe within a initialization parameter for a servlet if you are using Java -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, November 23, 2009 11:59 AM To: Tomcat Users List Subject: RE: Problems finding the right filepath From: Ludwig Magnusson [mailto:lud...@itcatapult.com] Subject: Problems finding the right filepath We are a team developing a webapp running on a tomcat server. What version of Tomcat? (Be precise.) What JVM? We need to list the files in a certain directory in our application, but we cannot find a way to always get the correct path on the different platforms and environments. Can you let the DefaultServlet do it? Directory listings are normally disabled, but you can enable them for your particular webapp if you wish Note that there is no requirement for a servlet container (e.g., Tomcat) to provide *any* access to the underlying file system (if there is one at all), other than to a scratch area for the webapp's internal use. If your webapp is deployed as a .war file, there is no file structure to look at. Is this solvable through some IO-function or do we need to specify the path to our project in each environment? You will likely need to specify the path through an environment variable, Java system property, or within the webapp Context element, via a nested Parameter or Environment setting. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Problems finding the right filepath
Ludwig, it's been a while, but there used to be a function getRealPath or something very close to that on the ServletContext object where you can get a system-proper path of a resource. Have you tried that? -Original Message- From: Ludwig Magnusson [mailto:lud...@itcatapult.com] Sent: Monday, November 23, 2009 12:17 PM To: 'Tomcat Users List' Subject: RE: Problems finding the right filepath We are running Tomcat 6.0.20. The JDK is 1.6 but not the exact same version on all machines. My computer has 1.6.0.17, the server has 1.6.0.07 We are developing on both windows and mac. The server is ubuntu. To specify what I want, here is a model of my filesystem: /Tomcat-folder /conf /webapps /my-webapp /WEB-INF /web.xml /my-folder --- this is the folder I want to search If there is no specific way of solving this I can try the ones you have suggested. /Ludwig -Original Message- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: den 23 november 2009 19:02 To: Tomcat Users List Subject: RE: Problems finding the right filepath Or... maybe within a initialization parameter for a servlet if you are using Java -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, November 23, 2009 11:59 AM To: Tomcat Users List Subject: RE: Problems finding the right filepath From: Ludwig Magnusson [mailto:lud...@itcatapult.com] Subject: Problems finding the right filepath We are a team developing a webapp running on a tomcat server. What version of Tomcat? (Be precise.) What JVM? We need to list the files in a certain directory in our application, but we cannot find a way to always get the correct path on the different platforms and environments. Can you let the DefaultServlet do it? Directory listings are normally disabled, but you can enable them for your particular webapp if you wish Note that there is no requirement for a servlet container (e.g., Tomcat) to provide *any* access to the underlying file system (if there is one at all), other than to a scratch area for the webapp's internal use. If your webapp is deployed as a .war file, there is no file structure to look at. Is this solvable through some IO-function or do we need to specify the path to our project in each environment? You will likely need to specify the path through an environment variable, Java system property, or within the webapp Context element, via a nested Parameter or Environment setting. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Problems finding the right filepath
Thank you, that one worked. /Ludwig -Original Message- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: den 23 november 2009 19:25 To: Tomcat Users List Subject: RE: Problems finding the right filepath Ludwig, it's been a while, but there used to be a function getRealPath or something very close to that on the ServletContext object where you can get a system-proper path of a resource. Have you tried that? -Original Message- From: Ludwig Magnusson [mailto:lud...@itcatapult.com] Sent: Monday, November 23, 2009 12:17 PM To: 'Tomcat Users List' Subject: RE: Problems finding the right filepath We are running Tomcat 6.0.20. The JDK is 1.6 but not the exact same version on all machines. My computer has 1.6.0.17, the server has 1.6.0.07 We are developing on both windows and mac. The server is ubuntu. To specify what I want, here is a model of my filesystem: /Tomcat-folder /conf /webapps /my-webapp /WEB-INF /web.xml /my-folder --- this is the folder I want to search If there is no specific way of solving this I can try the ones you have suggested. /Ludwig -Original Message- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: den 23 november 2009 19:02 To: Tomcat Users List Subject: RE: Problems finding the right filepath Or... maybe within a initialization parameter for a servlet if you are using Java -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, November 23, 2009 11:59 AM To: Tomcat Users List Subject: RE: Problems finding the right filepath From: Ludwig Magnusson [mailto:lud...@itcatapult.com] Subject: Problems finding the right filepath We are a team developing a webapp running on a tomcat server. What version of Tomcat? (Be precise.) What JVM? We need to list the files in a certain directory in our application, but we cannot find a way to always get the correct path on the different platforms and environments. Can you let the DefaultServlet do it? Directory listings are normally disabled, but you can enable them for your particular webapp if you wish Note that there is no requirement for a servlet container (e.g., Tomcat) to provide *any* access to the underlying file system (if there is one at all), other than to a scratch area for the webapp's internal use. If your webapp is deployed as a .war file, there is no file structure to look at. Is this solvable through some IO-function or do we need to specify the path to our project in each environment? You will likely need to specify the path through an environment variable, Java system property, or within the webapp Context element, via a nested Parameter or Environment setting. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problems finding the right filepath
On 23/11/2009 18:41, Ludwig Magnusson wrote: Thank you, that one worked. /Ludwig May I ask what you're searching for? p -Original Message- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: den 23 november 2009 19:25 To: Tomcat Users List Subject: RE: Problems finding the right filepath Ludwig, it's been a while, but there used to be a function getRealPath or something very close to that on the ServletContext object where you can get a system-proper path of a resource. Have you tried that? -Original Message- From: Ludwig Magnusson [mailto:lud...@itcatapult.com] Sent: Monday, November 23, 2009 12:17 PM To: 'Tomcat Users List' Subject: RE: Problems finding the right filepath We are running Tomcat 6.0.20. The JDK is 1.6 but not the exact same version on all machines. My computer has 1.6.0.17, the server has 1.6.0.07 We are developing on both windows and mac. The server is ubuntu. To specify what I want, here is a model of my filesystem: /Tomcat-folder /conf /webapps /my-webapp /WEB-INF /web.xml /my-folder--- this is the folder I want to search If there is no specific way of solving this I can try the ones you have suggested. /Ludwig -Original Message- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: den 23 november 2009 19:02 To: Tomcat Users List Subject: RE: Problems finding the right filepath Or... maybe within a initialization parameter for a servlet if you are using Java -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, November 23, 2009 11:59 AM To: Tomcat Users List Subject: RE: Problems finding the right filepath From: Ludwig Magnusson [mailto:lud...@itcatapult.com] Subject: Problems finding the right filepath We are a team developing a webapp running on a tomcat server. What version of Tomcat? (Be precise.) What JVM? We need to list the files in a certain directory in our application, but we cannot find a way to always get the correct path on the different platforms and environments. Can you let the DefaultServlet do it? Directory listings are normally disabled, but you can enable them for your particular webapp if you wish Note that there is no requirement for a servlet container (e.g., Tomcat) to provide *any* access to the underlying file system (if there is one at all), other than to a scratch area for the webapp's internal use. If your webapp is deployed as a .war file, there is no file structure to look at. Is this solvable through some IO-function or do we need to specify the path to our project in each environment? You will likely need to specify the path through an environment variable, Java system property, or within the webappContext element, via a nestedParameter orEnvironment setting. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Problems finding the right filepath
From: Ludwig Magnusson [mailto:lud...@itcatapult.com] Subject: RE: Problems finding the right filepath Thank you, that one worked. Again, getRealPath() is not guaranteed to return anything - it's up to the whim of the container. To quote from the API doc: This method returns null if the servlet container cannot translate the virtual path to a real path for any reason (such as when the content is being made available from a .war archive). - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
[ANN] Apache Tomcat Native 1.1.18 released
The Apache Tomcat team announces the immediate availability of Apache Tomcat Native 1.1.18 stable. This release includes few bug fixes over Apache Tomcat Native 1.1.16 and fixes the client initiated part of cve-2009-3555, note that the server initiated renegociation was added in 1.1.17 (and is still in the 1.1.18 code). Please refer to the change log for the list of changes: http://tomcat.apache.org/native-doc/miscellaneous/changelog.html Downloads: http://tomcat.apache.org/download-native.cgi Thank you, -- The Apache Tomcat Team - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: [ANN] Apache Tomcat Native 1.1.18 released
Thanks Team for the fixes and any enhancements! So does one need to uninstall the older version before installing this one? Regards, -Tony --- On Mon, 11/23/09, jean-frederic clere jfcl...@gmail.com wrote: From: jean-frederic clere jfcl...@gmail.com Subject: [ANN] Apache Tomcat Native 1.1.18 released To: Tomcat Developers List d...@tomcat.apache.org, Tomcat Users List users@tomcat.apache.org, annou...@apache.org Date: Monday, November 23, 2009, 1:59 PM The Apache Tomcat team announces the immediate availability of Apache Tomcat Native 1.1.18 stable. This release includes few bug fixes over Apache Tomcat Native 1.1.16 and fixes the client initiated part of cve-2009-3555, note that the server initiated renegociation was added in 1.1.17 (and is still in the 1.1.18 code). Please refer to the change log for the list of changes: http://tomcat.apache.org/native-doc/miscellaneous/changelog.html Downloads: http://tomcat.apache.org/download-native.cgi Thank you, -- The Apache Tomcat Team - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org