Michael Burbidge wrote:
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
sta
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 resources
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
d
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 java.net.PlainSocketImpl
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 c
-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 startsu
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
jsf-impl.jar
Yuval was right, all I had to do was make the whole argument in 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 is it
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 director
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 incl
Actually, I just checked some of our code and this:
">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 all or nothing.
Try:
<% String path = "directory/"+fi
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:
>
>
with JSTL:
(assuming that fileName is in a JSTL scope, of course)
HTH
---
Hassan Schroeder --
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:
> <%
> getServletContext().getRequestDis
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
sing
<%
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
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:
<%@ include file="directory/<%=fileName%>" %>
The <%=fileName%> is not getting
-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 ide
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
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?
19 matches
Mail list logo