Re: strange ssl tomcat response

2006-12-14 Thread Tsirkin Evgeny
I have did yet another try,now on windows machine . The same problem! Here are the steps to reproduce : [1] Do a regular (vanilla) installation of tomcat (Linux and Windows i have already tried) . [2] Setup ssl: Uncomment the ssl setup in server.xml create a key with the following:

Re: strange ssl tomcat response

2006-12-14 Thread Martin Heiden
Hi! http://localhost:8443 (note the http not the https) I am pretty sure that this is NOT valid behaviour. Why do you think so? I that tomcat will initialise the SSL negotiation. Client and Server have to exchange the keys. If you do not tell the browser that it has to do this negotiation (you

Re: strange ssl tomcat response

2006-12-14 Thread Tsirkin Evgeny
On 12/14/06, Martin Heiden [EMAIL PROTECTED] wrote: It's pretty valid! I don't think so.Just checked out the TLS rfc and found this (TLS ver. 1.0): These goals are achieved by the handshake protocol, which can be summarized as follows: The client sends a client hello message to which

Re: strange ssl tomcat response

2006-12-14 Thread Hassan Schroeder
Yes, trying this (http://localhost:8443) with FF results in a prompt to download a BIN file, which turns out to be: prompt od -a ldlepaov\(2\).bin 000 nak etx soh nul stx stx nl 007 I'll leave interpretation of the correctness of that to you :-) -- Hassan Schroeder

Re: appBase docBase in Host element in server.xml

2006-12-14 Thread Martin Gainty
Good Morning Wang the answer depends on the value of your autodeploy ths is straight from the doc http://tomcat.apache.org/tomcat-5.5-doc/config/host.html appBase The Application Base directory for this virtual host. This is the pathname of a directory that may contain web applications to be

about dynamic class loading

2006-12-14 Thread Xu Ning
hi everyone, I'd like to know wether Tomcat can load a class dynamicly. for example, Tomcat can load a JSP page without restart the context when I changed the code of the JSP. But when I changed a class, the context must be restarted. Can it load the changed class without context restart ?

Re: about dynamic class loading

2006-12-14 Thread Dima Retov
You should read about class loader in Java. It does not relates to tomcat. But tomcat implements classloader to load servlets, libraries and jsp. You can't force class unload except calling gc. Thursday, December 14, 2006, 6:02:06 PM, you wrote: XN hi everyone, XN I'd like to know wether

Installing Tomcat and IIS

2006-12-14 Thread Simon Renshaw
Hi, Since it looks like my problems with Tomcat are caused by the firewall we're using, it is time to try Plan B. Plan B would be to install Tomcat on the same server where IIS is located and have both of them use port 80. I found a tutorial at

TC 5.5.15 - Internet Explorer firing multiple form submits?

2006-12-14 Thread Frank McLean
Hi, We use TC 5.5.15 behind an Apache2 front end and the AJP connecter. I have a form, using the SSLEXT tag library- ssl:form action=/myaction.do - which posts to Struts and thence to my app. I have a couple of submit buttons similar to the following: html:submit value='Update stuff'

How make a Windows shortcut to to start and stop Tomcat servcie on windows

2006-12-14 Thread Ragnar Moller \(MA/EAF\)
I figured out that a windows Tomcat installation creates a tomcat service which is automatic. However I'd prefer being able to start up the tomcat server when I do Tomacat and close it after, preferrably with a shortcut for each. Regards, Ragnar Moller

Re: TC 5.5.15 - Internet Explorer firing multiple form submits?

2006-12-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank, Frank McLean wrote: I have a couple of submit buttons similar to the following: html:submit value='Update stuff' onclick='mode.value=2;document.forms[0].submit()'/ Your javascript is causing the multiple submit behavior. You need to

Re: Tomcat 5.5.20 context configuration.

2006-12-14 Thread Hassan Schroeder
On 12/14/06, Sachin Patel [EMAIL PROTECTED] wrote: I have a directory webapps/ABC2 in tomcat 5.5.20 I want to access it using http://localhost:8080/ABC instead of http://localhost:8080/ABC2 Then *rename the directory*; end of problem. :-) -- Hassan Schroeder [EMAIL

Re: Tomcat 5.5.20 context configuration.

2006-12-14 Thread Sachin Patel
lol. yea sure. Just want to know if it is really possible? In this case I don't have problems renaming it.. But in future if the cirumstances arise where I can't rename.. Just curious if it is possible, one way or other, or not at all? - Original Message From: Hassan Schroeder

Re: Tomcat 5.5.20 context configuration.

2006-12-14 Thread Hassan Schroeder
On 12/14/06, Sachin Patel [EMAIL PROTECTED] wrote: Just want to know if it is really possible? In this case I don't have problems renaming it.. Possible, but not recommended -- see the FM :-) But in future if the cirumstances arise where I can't rename.. What kind of circumstance would

Re: Tomcat 5.5.20 context configuration.

2006-12-14 Thread Sachin Patel
lets see.. its on shared drive, apache is sharing it too on some other machine, which you don't have control over. could be anything.. - Original Message From: Hassan Schroeder [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, December 14, 2006 3:06:40

Slow restart on Windows

2006-12-14 Thread uwchem
Hello, I apologize if this has been answered before, but I could find it in my searches. I find that after making a change to a file such as server.xml and stopping and starting the server that it won't respond for several minutes. Nothing in the logs indicates a problem, but I cannot connect

Avoiding requests when session is expired

2006-12-14 Thread Asensio, Rodrigo
Hi guys, is there any way in tomcat to capture or be notified that a user whose session is expired is doing a request ? like redirecting the invalid request to a new url ?? regards --- To err is human, but to really screw up

Re: Avoiding requests when session is expired

2006-12-14 Thread Veit Guna
Hi. I created a Filter that captures an invalid session before any other Filter in my application gets invoked. Then I redirect to a Session Expired page. Works for me. regards, Veit Asensio, Rodrigo schrieb: Hi guys, is there any way in tomcat to capture or be notified that a user whose

RE: strange ssl tomcat response

2006-12-14 Thread Andrew Friebel
Thanks Chuck. It is clear that I am still a little behind the times. Regards, Andrew -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, 14 December 2006 1:23 PM To: Tomcat Users List Subject: RE: strange ssl tomcat response From: Andrew Friebel

Tomcat crash

2006-12-14 Thread Matt Chambers
Hi everyone, I'm new to the list. I just updated a tomcat server from 5.0 to 5.5.20 and I'm having a little problem. I'm using the same JVM, 1.5.08. I've read a bunch of solutions, none of them seem to work for me. I had two crashes, a couple hours apart from the other, generally these

PHP on Tomcat

2006-12-14 Thread Ran
Hi all, I have tried the tutorial about setting up PHP on tomcat as a Servlet from wiki.tomcat, but I could not get it to work. Has anyone managed to get PHP4/5 to work on Tomcat ? Do I still need to patch source code when using php 4.4.4 ? Thanks for all advices, ran

ajp connector issue - getting Unable to get the free in mod_jk.log file.

2006-12-14 Thread Shekar Tippur
Hello We are getting unable to get the free endpoint and eventually resulting in a 500 (internal server error). We are using apache 1.3.37 and mod_jk version is 1.2.15. Due to many reasons, we are not in a position to upgrade wither of these packages. [Fri Dec 08 01:34:09 2006] [18477:]

Re: How make a Windows shortcut to to start and stop Tomcat servcie on windows

2006-12-14 Thread Mark Thomas
Ragnar Moller (MA/EAF) wrote: I figured out that a windows Tomcat installation creates a tomcat service which is automatic. However I'd prefer being able to start up the tomcat server when I do Tomacat and close it after, preferrably with a shortcut for each. You can use the .zip distro.

Re: PHP on Tomcat

2006-12-14 Thread Hassan Schroeder
On 12/14/06, Ran [EMAIL PROTECTED] wrote: Has anyone managed to get PHP4/5 to work on Tomcat ? Do I still need to patch source code when using php 4.4.4 ? PHP 4, yes -- 5 apparently doesn't come with build-a-servlet support :-) It's been quite a while, but I don't recall patching source at

Re: JspServlet classpath init param is ignored

2006-12-14 Thread Mark Thomas
werner loibl [celumsolutions] wrote: Does anyone know whether the classpath init param is meant to work resp. to be used in this situation? Looking at the source I can't see any reason why it wouldn't. However, you shouldn't be passing in a list of URLs you should just specify the path so try

RE: Tomcat shutting down when instantiating javax.swing.ImageIcon on Fedora

2006-12-14 Thread Mon Cab
It seemed that there was a jdk installation on the server under /usr/java/j2sdk1.4.2 I ran ./java - version from the bin dir and got: java version 1.4.2 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) I ran grep to

RE: Tomcat shutting down when instantiating javax.swing.ImageIcon on Fedora

2006-12-14 Thread Mon Cab
My dev environment is Tomcat 5.0 on java 1.4.2. I'd rather stick with this setup as closely as possible, and get the production version working before I change anything. In the meantime, is it still relavent for me to get the jmx.jar, and if so would renaming jmxri.jar to jmx.jar do the job?

RE: Tomcat shutting down when instantiating javax.swing.ImageIcon on Fedora

2006-12-14 Thread Caldarale, Charles R
From: Mon Cab [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat shutting down when instantiating javax.swing.ImageIcon on Fedora My dev environment is Tomcat 5.0 on java 1.4.2. I'd strongly recommend moving both up, on development and production systems. The newer Tomcat and the newer JRE

Re: Installing Tomcat and IIS

2006-12-14 Thread LiuYan 刘研
That article is good, I've integrated Tomcat IIS successfully by following that article step by step. Step 5,6,7 are important - Step 5. Create the Tomcat Application Pool Step 6. Create the Virtual Directory Step 7. Create and Enable the Tomcat Web Service Extension

Re[2]: PHP on Tomcat

2006-12-14 Thread Dima Retov
You should better try to use PHP in FastCGI mode. Both are not well supported on tomcat. You may also check caucho's Quercus. Friday, December 15, 2006, 2:48:31 AM, you wrote: HS On 12/14/06, Ran [EMAIL PROTECTED] wrote: Has anyone managed to get PHP4/5 to work on Tomcat ? Do I still need to