Re: close pooled conection-by value or by reference

2005-07-24 Thread Bertrand Renuart
If you want to make sure the connection is closed/release in any case, put the close() call inside a finally clause: Connection connection = DatabaseManager.getConnection(); try { //jdbc work. } finally { DatabaseManager.closeConnection(connection); } This way, whatever

Re: Error 500 messages

2005-07-24 Thread Tim Funk
The response is being comitted before the erro is being thrown. You need to set the buffer size to be larger. Its a page directive. -Tim Adile Abbadi wrote: Hi Tim, Thank you very much - that has helped - however I discovered that the problem still exists if I have an include within an

domain missing from html:rewrite html:link etc

2005-07-24 Thread Mark Benussi
I have recently moved ISPs and my sites are experiencing some strange behaviour. Basically on some of my sites (Not just one) and on some of the links (Not just all) When using html:link (A struts tag library) and the other associated tags (rewrite etc) the domain is missing. This is also seen

how to build tomcat -locally- after downloading all sources to your local box

2005-07-24 Thread cmllpz
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/building.html explains the ant-based process in which sources are downloaded from CVS. How do you go if all sources you want to first download locally and ocassionally check them using ant checkout? thing is that when you, for example, do a

[ANN] Apache Jakarta Tomcat v5.5.10-alpha Released

2005-07-24 Thread Yoav Shapira
The Apache Jakarta Tomcat team is proud to announce the immediate availability of Tomcat 5.5.10-alpha. This build contains 110 improvements, including bug fixes, enhancements, and documentation updates. There are several interesting new features, such as Apache Portable Runtime (APR)-based

how to get the original requestURI after jsp:forward()

2005-07-24 Thread Marten Lehmann
Hello, I have a forward to a jsp-file. This jsp-file needs to know which URI was requested in the initial request. Currently, I can only see the requestURI of the forwarded jsp-file. Any ideas? Regards Marten - To

Re: how to get the original requestURI after jsp:forward()

2005-07-24 Thread Mark Thomas
You need to read SRV.8.4 of the servlet specification. Mark Marten Lehmann wrote: Hello, I have a forward to a jsp-file. This jsp-file needs to know which URI was requested in the initial request. Currently, I can only see the requestURI of the forwarded jsp-file. Any ideas? Regards

forcing non-cookie sessions?

2005-07-24 Thread Marten Lehmann
Hello, is there a way to force tomcat (or a web-container in general) not to use cookies to keep track of sessions, but to use url-rewriting with the ;jsessionid=sessID suffix instead? Regards Marten - To unsubscribe,

I can´t add mod_rewrite.so to the module folder in apache http server

2005-07-24 Thread Adriana Suarez
Hi, I'm knew with http server and I'm trying to make a load balancer with the http server and two tomcats in linux. I follow the set up instructions and I use: ./configure --enable-module=rewrite --enable-module=proxy and other modules. It compiled and installed without any errors. My problem is:

Re: how to get the original requestURI after jsp:forward()

2005-07-24 Thread Marten Lehmann
Hi, You need to read SRV.8.4 of the servlet specification. I read it now. However, it's stated there, that path-related-values should be overwritten by the container in all request-dispatcher occurences. This means: include and forward. But for an include, I can see the original

Re: I can´t add mod_rewrite.so to t he module folder in apache http server

2005-07-24 Thread Marten Lehmann
Hello, My problem is: the mod_proxy.so , mod_rewrite.so don't appear anywhere, What do I have to do in order to get these *.so? if you don't ask the compiler to create them, they aren't created as shared modules, but are included in the httpd-binary by default. Look at the output of

compiling

2005-07-24 Thread ganesan malairaja
if i add new jsp file to the a folder in webapps will it be compiled when i access it or i must compile it before accessing it .. thankx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

What is APR ?

2005-07-24 Thread Anto Paul
Hi all, Is APR for Tomcat is any native library or java ? Where to get it ? -- rgds Anto Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Blocking public access to certain Context

2005-07-24 Thread Foo Shyn
Hi all, I get this request to configure Tomcat 4.1 so that certain context can be allow to be access through local IP and not through public IP. I'd tried to used the valve tag settings in the Context tag to deny the request but failed. It seems that the tag only denied the configured client IP.

how to run more than one tomcat on single machine

2005-07-24 Thread Peddireddy Srikanth
Michael. I am a bit new to deployment and related stuff, so can you tell me how to run more than one tomcat on a single machine. Is the process is same as having load balancing tomcat clusters on different machines. or Please direct me towards any documentation on this. I will get the info from

Re: Problem Bringing up Admin

2005-07-24 Thread Peddireddy Srikanth
may be you would have done this but I want to know... whethere you extracted all files from that admin archive (zip or tar) and placed the files in respective folders like admin.xml in catalina home\conf\Catalina\localhost admin folder in catalina home\server\webapps\ Srikanth On

running tomcat on windows as webserver and using it as webcontainer for IIS

2005-07-24 Thread Peddireddy Srikanth
Hi , Anyone can tell me whether it is better to run tomcat as stanalone webserver on windows (win 2003 to be specefic) or run it as web container along with IIS I want to know which set up would be preferrable in terms of performance and scalability of application. regards Srikanth.P

Re: What is APR ?

2005-07-24 Thread Bill Barker
http://apr.apache.org/ Anto Paul [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Is APR for Tomcat is any native library or java ? Where to get it ? -- rgds Anto Paul - To unsubscribe, e-mail: [EMAIL

Re: basic authentication won't accept password (intermittent)

2005-07-24 Thread Eric
Hi again, I just discovered bug 33157: basic authentication fails in some cases, reported in Tomcat 5.5.4. http://issues.apache.org/bugzilla/show_bug.cgi?id=33157 It doesn't describe my exact problem, but it's the best theory so far. Unfortunately the hosting provider is unlikely to install