Dhaval Patel wrote:
My question is, is it possible to put only webapps on P_FAT32 while tomcat
install files are in P_NTFS and P_RES and configured tomcat to read P_FAT32
webapps directory as "appbase" in host node of server.xml? Have anyone done
anything like this before? Only thing I am conf
Thanks Mark, I made the changes to the conf/web.xml. after doing that,
however, I still can't get any of the SSI scripts to run.
any other help would be appreciated.
thanks,
GRB
- Original Message -
From: "Mark Thomas" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday,
Hi,
Tomcat sends back a default error HTML page, even when I don't want it
to. I want my servlet to send its own error response body. I am doing
the following in my servlet doPut method.
java.io.PrintWriter pr = resp.getWriter();
pr.println(e.getErrorCode().serialize());
resp.sendError(e.getCode(
no, SSI scripts aren't recognized by some browsers, so to avoid letting them
error out the SSI is wrapped in comments and older browsers will ignore it.
The section on directives on this page gives an example:
http://tomcat.apache.org/tomcat-5.5-doc/ssi-howto.html
- Original Message ---
Hi Praveen, Simon
On 17 Nov 2005 at 14:57, Simon Kitching wrote:
> Praveen wrote:
> > Hi - Iam trying to deploy multiple .war files on a
> > single tomcat instance, but was wondering if theres a
> > way in tomcat, to use the domain name and pick up the
> > corresponding war file.
> > For eg: I h
That is correct. However, it's much better not to do this since it
wastes a lot of bandwidth by sending the CSS code with every page.
Much better to use and let the browser cache the file
instead.
Yaakov.
On 11/16/05, Terence M. Bandoian <[EMAIL PROTECTED]> wrote:
> Hi-
>
> In some cases, it may
Hi-
In some cases, it may be desirable to include CSS or JavaScript files so
that they are delivered in-line. For example:
<[EMAIL PROTECTED] file="styles/style.css" %>
or
<[EMAIL PROTECTED] file="styles/style.css.jspf" %>
Unless I'm mistaken, JSP tags in files included in this
Hi folks,
I am using UserDatabaseRealm with tomcat-users.xml and have noticed that the
username returned by request.getUserPrincipal() is turned to lower case.
Is there a flag that can tell tomcat not to change case ?
Thanks.
Jo.-
Praveen wrote:
Hi - Iam trying to deploy multiple .war files on a
single tomcat instance, but was wondering if theres a
way in tomcat, to use the domain name and pick up the
corresponding war file.
For eg: I have two war files sample1.war and
sample2.war deployed on a single tomcat instance, an
Hi - Iam trying to deploy multiple .war files on a
single tomcat instance, but was wondering if theres a
way in tomcat, to use the domain name and pick up the
corresponding war file.
For eg: I have two war files sample1.war and
sample2.war deployed on a single tomcat instance, and
lets say I have
Is that supposed to be a comment and not an include?
<%@ include file="myinclude.html" %>
--- Mark Thomas <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I'm trying to include a file as my footer section.
> I have formatted the section in home.html as:
> >
> >
> >
> > after doing
Dear Richard
Thank you for your response,my problem have solved by
Chuck suggestion.
Regards
NanFei
Dear Chuck,
I use just -Xmx256m in another line at the Java Options text area.
It work successfully.
Thank so much.
NanFei
The .exe download does not include the scripts, for no discernable
reas
I will be out of the office starting 11/16/2005 and will not return until
11/18/2005.
I will respond to your message when I return.
Please contact Liz Manning or Thomas Gaffney with any urgent issues.
-
To unsubscribe, e-mail:
Hi,
I have tomcat running on top of apache. I am running some stress test and I got
the following problem:
I have 1000 threads running for the stresstest. It is very obvious an
overloading problem.
Is there anything I can tune in apache or tomcat to get rid of the overloading
problem?
[EMAIL PROTECTED] wrote:
I'm trying to include a file as my footer section. I have formatted the
section in home.html as:
after doing this and viewing the file through my local_host:8080 i don't see
the footer.html file showing up.
from what I can see I need to enable SSI within tomcat. I
I'm trying to include a file as my footer section. I have formatted the
section in home.html as:
after doing this and viewing the file through my local_host:8080 i don't see
the footer.html file showing up.
from what I can see I need to enable SSI within tomcat. I'm supposed to add
Option
[EMAIL PROTECTED] wrote:
Hi Mark,
I have tested the following combination and it works quite happily:
Win XP SP2, fully patched
Apache 2.0.54
mod_jk 1.2.14
TC5.5.HEAD
Firefox client and IE6 client
Have you tested your config with an swf file? I've got a pretty similar
setup, and everything
hallyday1999 wrote:
Hello Mark,
Sorry, but the bug you quote mentions errors with the HTTP-response headers.
My problem is an 304 response with sent content (=content-length >0):
the content is e.g. the requested JPG file.
kind regards
Axel
Do you have a simple test
Sandeep G R wrote:
Hi,
I have Tomcat 5.0 running on HP-UX. Under /.java/.userPrefs directory, a
directory with special characters *_!':!bw"t!#4!a!"w!#4!bw"2* is created. I
suspect Tomcat is creating this dir. Does anyone have information whether
this directory is created by Tomcat?
Thanks,
Sande
Hi all,
I have computer three partitions:
Partition 1 : Windows XP (NTFS) - (aka P_NTFS)
Partition 2 : SuSE Linux 10.0 (Reiser) - (aka P_RES)
Partition 3 : Share (FAT32) - (aka P_FAT32)
Tomcat 5.5.12 with J2SE 1.5.0_05 on both SuSE and Windows.
I use P_FAT32 for sharing my data files betwe
Hi Mark,
> I have tested the following combination and it works quite happily:
> Win XP SP2, fully patched
> Apache 2.0.54
> mod_jk 1.2.14
> TC5.5.HEAD
> Firefox client and IE6 client
Have you tested your config with an swf file? I've got a pretty similar
setup, and everything else works fine.
>
Yaakov Chaikin wrote:
> 2) If you need to place JSP code in just one or two .css files, I
> would not start messing with server specific configurations and just
> rename those .css files to have extension of .jsp. So, now you will
> have a stylesheet file with .jsp. It seems weird and unusual, but
--- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote:
> FYI, I had a case once where I needed to make my CSS
> files JSP's because
> I was using HTC's and for some reason I couldn't get
> the path mappings
> to work right unless I used request.getContextPath()
> to prefix the HTC
> names... more t
FYI, I had a case once where I needed to make my CSS files JSP's because
I was using HTC's and for some reason I couldn't get the path mappings
to work right unless I used request.getContextPath() to prefix the HTC
names... more than likely just my mistake somewhere, but making it a JSP
(as Yaa
I assume you need this because you want to place some JSP code inside
your stylesheet
Two approaches:
1) If you know that ALL of your .css files will need to include JSP
code in them, then go to tomcat_dir/conf/web.xml and add another
like so:
jsp
*.css
2) If you need to place JSP cod
Hello,
how can I define, that e.g. the extension .css shall be processed by
tomcat same as a .jsp-file?
Regards
Marten
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Nehal, I believe he is talking about windows (startup.bat ?), so there's not
".profile" for the user.
NanFei, there are a number of detailed posts on this topic during the last
week - search/Google for them. I believe you need to run tomcatw.exe - but I
do not have that version. You can also down
You can do this strictly client-side, if requiring Javascript isn't a
problem (which of course an AJAX-based solution does anyway). Just
start a timer from the onLoad event on each page. When 20 minutes has
elapsed, you can either pop an alert which is followed by a redirect to
some appropria
On 11/16/05, Marten Lehmann <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I was used define some taglibs manually in web.xml when using
> http://java.sun.com/dtd/web-app_2_3.dtd as deployment descriptor. Now I
> tried to upgrade but isn't available any longer
> (http://java.sun.com/xml/ns/j2ee and
> htt
I did an AJAX version of this a couple of months ago.
The slight gotcha is that the AJAX request prolongs the life of the
session (you can't, it seems, override the cookie for AJAX requests) so
the interval has to be slightly longer than the expiry time for the session.
Reynir Hubner wrote:
-
Hello,
I was used define some taglibs manually in web.xml when using
http://java.sun.com/dtd/web-app_2_3.dtd as deployment descriptor. Now I
tried to upgrade but isn't available any longer
(http://java.sun.com/xml/ns/j2ee and
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd). How can I define
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I'm not really an axis specialist, so I guess you might want either post
a new topic on this list, or post a question onto the axis-user list.
regards,
- -reynir
Michael Niemaz wrote:
> Hi and thanx again.
> I played a lot with the listener an
Hi all.
Some times my session expires wrongly when I deal with a bean very big.
My bean is a Struts form bean.
I didn't touch conf/server.xml and conf/web.xml of tomcat distribution
In my web.xml I put
180
I've done such a file context.xml:
Hello,
I'm using Tomcat 5.5.4 and have implemented a webapplication that
connects to other
servers to look for the existence of certain URLs and to load soap-data
using the Jakarta Axis-Library.
Now there is a remote server reachable via an https-adress, and that
server should accept client
ce
Larry Isaacs wrote:
You could try modifying common/classes/logging.properties to see
if you can increase the output.
Tomcat doesn't ship with such a config file, but it gives a sample one
in the logging docs. Having tried to do some semi intelligent cut and
pasting to create a logging config
You could try modifying common/classes/logging.properties to see
if you can increase the output. I haven't worked with Struts
enough to say what logging output you should expect. If no luck,
then there's always Google. :)
Cheers,
Larry
> -Original Message-
> From: Graham Leggett [mailt
Hi and thanx again.
I played a lot with the listener and also the tag.
Both lead me to this question:
Is Axis keeping a reference of the according web service that I could reach?
The reason is I can't instanciate 'yourService' from the listener
because obscur reasons ;-)
So I wonder if there was
We use the MyEclipse range of plugins www.myeclipseide.com which comes
with a Deployer plugin to do this. I've not figured out how to JAR and
distribute to several webapps though yet.
-Original Message-
From: Developer Developer [mailto:[EMAIL PROTECTED]
Sent: 16 November 2005 13:37
To: T
Larry Isaacs wrote:
You mention Eclipse. Are you using a version of WebTools?
No (or not that I am aware of). Tomcat is launched using the Sysdeo plugin.
Assuming you are, be aware that the launch configuration
created for Tomcat v5.5.x is missing the JVM argument:
-Djava.util.logging.mana
I want to be able export my java classes, automatically when the project is
built. I do not want to export them manually by clicking on file ->export
etc.
Is there any such setting ?
Thanks !
On 11/16/05, Seak, Teng-Fong <[EMAIL PROTECTED]> wrote:
>
> Some more precisions are needed. What "outp
Graham,
You mention Eclipse. Are you using a version of WebTools?
Assuming you are, be aware that the launch configuration
created for Tomcat v5.5.x is missing the JVM argument:
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
that you would normally get from Tomcat 5.5's start
Hi all,
I am in the process of trying to build a Struts project from scratch,
and from the browser perspective it doesn't work, giving the vague error
"Servlet action is not available".
No worries, I look for catalina.out and/or the localhost_log*, or as a
last resort the output of tomcat as
Hello Mark,
Sorry, but the bug you quote mentions errors with the HTTP-response headers.
My problem is an 304 response with sent content (=content-length >0):
the content is e.g. the requested JPG file.
kind regards
Axel
Mark Thomas <[EMAIL PROTECTED]> schrieb:
Axel Ba
Hi,
I have Tomcat 5.0 running on HP-UX. Under /.java/.userPrefs directory, a
directory with special characters *_!':!bw"t!#4!a!"w!#4!bw"2* is created. I
suspect Tomcat is creating this dir. Does anyone have information whether
this directory is created by Tomcat?
Thanks,
Sandeep
Hi All,
I enabled access log valve in server.xml inorder to dump all the Request
info like this:
In localhost_access.log :
[16/Nov/2005:15:06:49 -0800] "GET
/servlet_jsp/examples/jsp/num/numguess.jsp?guess= HTTP/1.1" 200 544
But it's not dumping the requestinfo after reaching a particular siz
I'm using Tomcat 5.5.9 (in Windows). I've tried but I don't have
any problem. Try to upgrade your Tomcat.
Scott Smith wrote:
I'm using Tomcat 4.1.29 on Windows. I have a context setup which contains
some image files (simple jpgs). In the conf/server.xml file, the context
looks something
Some more precisions are needed. What "output" type are you
referencing to? Jar? War? Or something else?
But in any case, the general way is File > Export, and then choose
your type and in the next screen, specify your export destination. You
could use default settings for the rest.
I just ckecked the ZK Framework by downloading it.
Before going to more details I hav some queries,
1)Whether this framework can be used with struts?
2)Whether this is Lisenced?
I am working on a commercial project. So wether i can adopt this
framework to include on my app and i can sell the pr
Thank you Tom Burke! :)
The reason why is Firewall :) ... again, thank you very much :)
bowlkhin
*
Pham Anh Tuan
Java Developer, HR Assistant
ICHI Corporation Vietnam.
Room #1001, 37 Ton Duc Thang, Dist. 1
Ho Chi Minh City, Vietnam.
Phone: (+
Here are a couple of things to try:
a) are you sure that Tomcat is actually serving up pages at all? - try
opening a webpage in a browser on PC1, like this:
http://localhost:8080/manager.html
This should call up the Manager page (actually it should prompt you for
a user name & password first)
Hi all,
I got a problem with Tomcat 5.0.28 and I hope that all you will help me to
solve this problem.
So, I have a Tomcat 5.0.28 which is installed on 1 PC called PC1 (WindowsXP),
so, I have another PC called PC2, I try to connect to the PC1 which have a
Tomcat server above, but I couldn't do
In addition to Mladens post, you have several errors in in your
workers.properties.
You should read the docs:
http://tomcat.apache.org/connectors-doc/config/workers.html
I have spent some hours deciphering these (they have gotten much better
lately).
ons, 16,.11.2005 kl. 09.29 +0200, skrev Mirek
52 matches
Mail list logo