SV: Location of API

2007-12-13 Thread Wilhelmsen Tor Iver
Then that import on org.apache.tomcat.util.net.puretils.PureTLSImplementation.java --- import COM.claymoresystems.ptls.SSLSocket; should give error, but that is not giving any error. No, it just means the library is available at compile-time. Try checking your IDE for the jar file

Re: Help needed to Configure PHP 5.2.5 on Tomcat 6.0

2007-12-02 Thread Wilhelmsen Tor Iver
See: http://blog.taragana.com/index.php/archive/running-php-5x-on-windows-usi ng-tomcat-4x-or-5x/ http://wiki.apache.org/tomcat/UsingPhp - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

SV: Thread-safety servlet testing

2007-11-30 Thread Wilhelmsen Tor Iver
How to test servlet on thread-safety? Use jMeter with a multitude of different users and test the returned data that you do not get the data for another user. http://jakarta.apache.org/jmeter/ - To start a new topic, e-mail:

SV: additional ROOT folder

2007-11-27 Thread Wilhelmsen Tor Iver
Is it possible that I have more than one root folder? Yes, in the senses that * the same Tomcat install can be used to run multiple, separate instances on different ports, using different catalina.base folders * a Context in an instance can declare its own docBase folder elsewhere on the

SV: Enqueuing users requests

2007-11-20 Thread Wilhelmsen Tor Iver
I noticed that users are able to click several times at times and their actions are queued. But I'd prefer if the server drops any new request if the first one is not completed. Do you know if it is possible to configure the system to behave this way ? A common way to do this is using a token

SV: Running tomcat as a service on 64 bit windows

2007-11-19 Thread Wilhelmsen Tor Iver
My service gets installed, however when i try to start the service it does not get started. AFAIK the 64-bit versions of Windows will not start 32-bit apps as services. (I ran into the same problem trying to use Vista-64 under Boot Camp on a Mac: Apple's drivers only support 32-bit Windows

SV: Invoke JSP on tomcat startup

2007-11-16 Thread Wilhelmsen Tor Iver
Exists some automatic way to invoke a JSP when tomcat starts? In the sense that a JSP can be declared as load-on-startup, yes; put the code you want to invoke in e.g. %! static { // Stuff to do once } % However, you really should look into solving the real problem you want to use this for

6.0.14, Defaultservlet and 400 errors

2007-11-15 Thread Wilhelmsen Tor Iver
We are running multiple Catalina homes from one install, and ordinary webapps deployed under them work fine. However, whenever static content (in our case PDFs) is requested, Tomcat responds with HTTP 1/1 400 No Host matches server hostname - Running under Linux (Red Hat Enterprise) on JDK

SV: FORM login, would like error page same as login page

2007-11-15 Thread Wilhelmsen Tor Iver
So, I created login.html, with username and password fields, and if parameter err=1 is passed, then the error message is displayed. How do you pick up the parameter in the HTML? Using JavaScript? Remember *.html resources are usually not parsed server-side in any way.

Re: FORM login, would like error page same as login page

2007-11-15 Thread Wilhelmsen Tor Iver
I beleive that JavaSrcipt it is okay, because when I try the page alone (/login.html?err=1), it works just fine. Thinking more about it, the form-error-page reference is just used server-side via internal include or forward to obtain content returned for a different URL: Since the page reference

SV: multiple tomcat processes running on linux

2007-11-15 Thread Wilhelmsen Tor Iver
When I give ps -ef | grep tomcat, it shows multiple processes running all of them grabbing majority of the available memory That's covered in the Linux section of the FAQ: Linux ps reports multiple threads as separate processes. Try adjusting the number of threads in server.xml.