Tomcat 5.0.16 on Windows 2003 R2 sp2 64-bit

2008-05-01 Thread Panian, Ardo
Not able to get Tomcat 5.0.16 to work properly on Windows 2003 R2 sp2 64-bit. The service will not start from MMC services console, or from the GUI applet (tomcatw.exe). I can start it through command-line via the bat file...but NOT through services.msc?

Re: Tomcat 5.0.16 on Windows 2003 R2 sp2 64-bit

2008-05-01 Thread Mark Thomas
Panian, Ardo wrote: Not able to get Tomcat 5.0.16 to work properly on Windows 2003 R2 sp2 64-bit. The service will not start from MMC services console, or from the GUI applet (tomcatw.exe). I can start it through command-line via the bat file...but NOT through services.msc? Are you using the

Re: Choosing the right session id

2008-05-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Christopher Schultz wrote: | The obvious solution is not to deploy the ROOT application as ROOT, but | instead under some other prefix that does not confuse clients (and my | apps) in this way. I'm wondering if anyone has any other brilliant

how do I dynamically include files

2008-05-01 Thread Jonathan Mast
I know this not exactly a Tomcat issue, but thought someone could help. Here is what I'm trying to do: Dynamically include a file where the file name is dynamic. Neither of the following lines of code work: jsp:include page=directory/%=fileName% flush=true/ %@ include

Re: how do I dynamically include files

2008-05-01 Thread Yuval Perlov
% getServletContext().getRequestDispatcher(fileName).include(req,resp); % On May 1, 2008, at 10:35 PM, Jonathan Mast wrote: I know this not exactly a Tomcat issue, but thought someone could help. Here is what I'm trying to do: Dynamically include a file where the file name is dynamic. Neither

Re: httpd SSL - Tomcat VS. Tomcat SSL standalone?

2008-05-01 Thread Yuval Perlov
I believe (intuition, haven't checked) it is the latency the TCP adds to the setup which messes up with the threads scheduler (i'll ellaborate...) When you are in Tomcat only, between the http header coming in (IO) and you sending a response (again IO) you can usually get away with a

Re: how do I dynamically include files

2008-05-01 Thread Jonathan Mast
Thanks Yuval, but the jsp file that fileName is pointing to is not being evaluated. And there aren't any errors printing out to the page. How do I look into what is happening here? On Thu, May 1, 2008 at 6:47 PM, Yuval Perlov [EMAIL PROTECTED] wrote: %

Re: how do I dynamically include files

2008-05-01 Thread Hassan Schroeder
On Thu, May 1, 2008 at 12:35 PM, Jonathan Mast [EMAIL PROTECTED] wrote: Dynamically include a file where the file name is dynamic. Neither of the following lines of code work: jsp:include page=directory/%=fileName% flush=true/ with JSTL:jsp:include page=${fileName} / (assuming

Re: how do I dynamically include files

2008-05-01 Thread Yuval Perlov
Actually, I just checked some of our code and this: jsp:include page=%=(String)request.getAttribute(main)%/ jsp:include works... I think the problem is that you are do mix a string and a runtime expression in a tag. These are not html tags - the variables are passed to a function - it's

Re: how do I dynamically include files

2008-05-01 Thread Jonathan Mast
Will JSTL work with Tomcat 5.5? And if so is it a lot of work to set up or do I just drop a jar file in the classpath? On Thu, May 1, 2008 at 7:10 PM, Hassan Schroeder [EMAIL PROTECTED] wrote: On Thu, May 1, 2008 at 12:35 PM, Jonathan Mast [EMAIL PROTECTED] wrote: Dynamically include a

Re: how do I dynamically include files

2008-05-01 Thread Hassan Schroeder
On Thu, May 1, 2008 at 1:20 PM, Jonathan Mast [EMAIL PROTECTED] wrote: Will JSTL work with Tomcat 5.5? And if so is it a lot of work to set up or do I just drop a jar file in the classpath? Yes, no, and yes respectively :-) Just drop jstl.jar and standard.jar in your webapp's lib directory

Re: how do I dynamically include files

2008-05-01 Thread Jonathan Mast
Yuval was right, all I had to do was make the whole argument in jsp:include a variable and it works! On Thu, May 1, 2008 at 7:25 PM, Hassan Schroeder [EMAIL PROTECTED] wrote: On Thu, May 1, 2008 at 1:20 PM, Jonathan Mast [EMAIL PROTECTED] wrote: Will JSTL work with Tomcat 5.5? And if so

Tomcat and JSF

2008-05-01 Thread jaykay
Hi, I have an application running in Tomcat. We have a main controller servlet, which should be loaded when the server starts. So its been specified in the load-on-startup in web.xml. And everything is fine. Now as a first step to change the UI using JSF, I copied the jsf-api.jar and

Re: Tomcat and JSF

2008-05-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jay, jaykay wrote: | Now as a first step to change the UI using JSF, I copied the jsf-api.jar and | jsf-impl.jar in to tomcat_dir/webapps/My_Webapp_name/web-inf/lib I presume that you mean .../My_Webapp/WEB-INF/lib | Now the | tomcat server

Re: TOMCAT CLUSTERING HOWTO

2008-05-01 Thread Landon Fabbricino
I honestly have not tried clustering tomcat without Apache before. Just recently I set up a server farm with apache on one server and tomcat on two other servers (so 3 physical machines) Apache contains the logic to handle the load balancing between the two tomcats: jk.conf JkWorkersFile

java.net.ConnectException: Connection refused

2008-05-01 Thread Andrew Hole
Hello! When I shutdown tomcat i get the following error and the process remains active. Do you know what could be the problem? SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at

Uploading Files Larger than 2GB

2008-05-01 Thread hoffmandirt
I am having trouble with a JSP/Spring application that allows users to upload files. I am running Tomcat 6.0.14 and I am utilizing commons file upload 1.2. I get an error anytime I try to upload a file that is greater than 2GB. I set serverFileUpload.setFileSizeMax() to Long.MAX_VALUE and that

Hot deploy deletes my context file...

2008-05-01 Thread Michael Burbidge
I have a context file that is associated with my web application. My context file is in $CATALINA_HOME/conf/Catalina/localhost/mytest.xml. My war is called mytest.war and my servlet is mytest. If I deploy my war with tomcat shutdow my context file is not deleted on startup and the