There is no way to influence HTTP headers by mod_jk.
You can manipulate Headers via mod_headers, which is part of Apache httpd.
If I remember correctly, in case Tomcat already sends a header,
mod_headers will not be able to remove or overwrite it, because mod_jk
will set the header Tomcat sent
I hit the same snag when I updated server.xml and added some Context elements
for web apps I hadn't deployed yet. So, check the spelling/existence of any
webapps that you explicitly name in your server.xml file.
Jake Alley wrote:
>
> I'm trying to list the applications in the manager app. It w
Caldarale, Charles R wrote:
> The only part that I find somewhat misleading is the following:
>
> "There are two ways to configure the Manager web application Context:
> "* Install the manager.xml context configuration file in the
> " $CATALINA_HOME/conf/[enginename]/[hostname] folder.
>
hezjing wrote:
> I'm using Tomcat 5.5.23
Do you have log4j.jar in WEB-INF\lib ?
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
Karen,
If your using maven 2 then it should be dead easy. Assuming you have
maven 2 setup on your system follow the example given here [1]. This
will create a war file artifact with a simple jsp and the web.xml. The
last goal mvn package will create you a war file.
I suggest that you give it ago
> From: pinky88 [mailto:[EMAIL PROTECTED]
> Subject: RE: How to deploy a web app on tomcat.. help needed plz.. :)
I would recommend cleaning up your examples before posting. This is an
international, multi-cultural, multi-gender mailing list, and you (or
your cousin's) attempts at humor are comp
Thanks Christopher,
> To whom it may concern,
>
> [EMAIL PROTECTED] wrote:
> > I've apache 1.3.36 + tomcat 4 + mod_jk 3.3
>
> Something is wrong with that mod_jk version, by the
> way. The most recent
> release of mod_jk is 1.2.23.
Well, the installation file that I found in the server
is nam
Thanks everyone for the replies,
Um forgot to mention that I'm using Maven to build the project, so I have a
pom.xml file, and the web.xml.
/login is for a form. /LoginApp shows a servlet which may use the info from
the form.. I think..
Ok I'm extremely new to this Maven/Tomcat stuff, two weeks.
Also remember that for each thread created on the JVM it will create a thread
on the OS.
We had that problem and now our servers are running with 1408 MB of memory but
with the IBM JDK 1.5.
Here are some settings
-Xrs
-server
-XX:SurvivorRatio=8
-XX:PermSize=128
-Xmn128m
Initial memory 1408mb
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Subject: About Using memory JVM and Tomcat
>
> What the maximum value size to:
We've covered this topic numerous times - search the archives. For
example:
http://marc.info/?l=tomcat-user&m=117866698409904&w=2
Christopher Schultz say.
Most 32-bit JVMs can't actually give you 3GB of heap space.
You'll probably be limited to somewhere between 1.5 - 2.0GB. If you have
a 64-bit processor and OS, go with a 64-bit JVM and then you can get
/lots/ of memory.
On 7/16/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]>
Hi!
What the maximum value size to:
-Xms
-Xmx
-ms
-mx
-XX:MaxPermSize
To SUN JVM jdk 1.5.0.11 in the server with 3GB RAM.
Im my case for exemplo:
-Xms1024m -Xmx1024m -ms1024m -mx1024m -XX:MaxPermSize=400m
To bigger value then 1024m Tomcat crash with message:
Do Any documentation to correct co
What are you typing into the browser to access this app? Your error
message says "LoginApp" wasn't found, but here your servlet is named
"login". Try using "login" in your URL instead of LoginApp.
pinky88 wrote:
yup i have it defined in a web.xml in the WEB-INF folder.. my web.xml is as
fol
> From: pinky88 [mailto:[EMAIL PROTECTED]
> Subject: Re: How to deploy a web app on tomcat.. help needed plz.. :)
>
>
> http://java.sun.com/xml/ns/j2ee";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/x
Do you have the real class inside %YOUR_WEBAPP%/WEB-INF/classes or lib ?
-Original Message-
From: pinky88 [mailto:[EMAIL PROTECTED]
Sent: Monday, July 16, 2007 4:11 PM
To: users@tomcat.apache.org
Subject: Re: How to deploy a web app on tomcat.. help needed plz.. :)
yup i have it define
> From: pinky88 [mailto:[EMAIL PROTECTED]
> Subject: How to deploy a web app on tomcat.. help needed plz.. :)
>
> I'm trying to deploy a web application on tomcat 5.5.23 but
> I'm not exactly sure how to do so (beginner).
You might want to take a look at the doc:
http://tomcat.apache.org/tomcat
yup i have it defined in a web.xml in the WEB-INF folder.. my web.xml is as
follows:
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version=
Do you have the LoginApp servlet defined in web.xml or another
equivalent place?
pinky88 wrote:
HTTP Status 404 - /LoginApp
type Status report
message /LoginApp
description The requested resource (/LoginApp) is not available.
Apache Tomcat/5.5.23
Asensio, Rodrigo wrote:
Pinki, please
Since it's crashing in a printer driver DLL, I suggest removing the
problem printer and specifying a different printer as the default in
Windows.
--
Len
On 7/16/07, Tom Butts <[EMAIL PROTECTED]> wrote:
When
I deploy the new birt 2.2.0 runtime on tomcat 5.5.20 and run the
Webviewer example I get
HTTP Status 404 - /LoginApp
type Status report
message /LoginApp
description The requested resource (/LoginApp) is not available.
Apache Tomcat/5.5.23
Asensio, Rodrigo wrote:
>
> Pinki, please post the entire tomcat log here.
>
> -Original Message-
> From: pinky88 [mailto:[EMAIL P
Pinki, please post the entire tomcat log here.
-Original Message-
From: pinky88 [mailto:[EMAIL PROTECTED]
Sent: Monday, July 16, 2007 3:39 PM
To: users@tomcat.apache.org
Subject: How to deploy a web app on tomcat.. help needed plz.. :)
Hi,
I'm trying to deploy a web application on tom
Hi,
I'm trying to deploy a web application on tomcat 5.5.23 but I'm not exactly
sure how to do so (beginner).
I've copied the war file and archive into the webapp directory but i'm
getting a message saying the requested resource is not available.
I previously had another web app deployed but wi
Hi, all.
I'm using Tomcat to build VoiceXML pages for our IVR application. There are
some strange errors that have been cropping up in the VXML browser, and in
an effort to debug them, I'm trying to figure out a way to log or view the
pages that Tomcat generates.
Is there a runtime option for T
Caldarale, Charles R wrote:
From: John Moore [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat6 Manager App HOW-TO
I also gather that you should copy the manager directory into each
webapp..???
Not required, but it's an alternative to creating manager.xml files
under each conf/Catalina/[hos
catalina.bat run > dump.log
then do a Ctrl+Break for the dump
another way is to use a service wrapper that lets you do dumps,
http://people.apache.org/~fhanik/wrapper.html
Filip
Jayson Enriquez wrote:
I am unable to copy Tomcat thread dumops when launching it from
Startup.bat from a command
When
I deploy the new birt 2.2.0 runtime on tomcat 5.5.20 and run the
Webviewer example I get the following jvm crash under windows.
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x780104ac, pid=924,
tid=1464
#
To whom it may concern,
[EMAIL PROTECTED] wrote:
> I've apache 1.3.36 + tomcat 4 + mod_jk 3.3
Something is wrong with that mod_jk version, by the way. The most recent
release of mod_jk is 1.2.23.
> I'm very new to web servers. I have a problem with the
> cache configuration of a tomcat web appli
André,
André Vila Cova wrote:
> How can I say for what is the tread waiting?
As a follow-up to David's reply, I'd like to be a little more specific.
> "http-8085-Processor23" daemon prio=1 tid=0xdd4b7ae8 nid=0x2d41 in
> Object.wait() [0xde29b000..0xde29c020]
This line of output tells you which
André,
André Vila Cova wrote:
> And it's possible to know what threads are really doing?
> And I don't understand why having the following 3 connectors
>
> maxThreads="400" minSpareThreads="25" maxSpareThreads="75"
> maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
> maxThreads="150" mi
Alvaro,
alvaro tovar wrote:
> hi, thanks for your answer, i think that i have to questions in
> solaris, is a solaris sparc, but, if the manager application show
FYI Sparc/Solaris also has both 32- and 64-bit editions.
> Free memory: 3000 MB Total memory: 3000 MB Max memory: 3000 MB
>
> then
> From: Dimitris Mouchritsas [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat cannot access the resources in an HTTPS webapp
>
> Out of curiosity though what should I do to add tomcat user
> authentication?
Container-managed authentication is unique to the container, so refer to
the appropriate T
Thank you for your responses. Well, I was a bit lost in the specs but
after looking up I got what I
wanted. Out of curiosity though what should I do to add tomcat user
authentication?
I tried adding:
search
/ch13/search/*
CONFIDE
I am unable to copy Tomcat thread dumops when launching it from
Startup.bat from a command window. At the end of the day I do a select
all and copy but it only captures part of the thread dump. Is/Are their
other ways to capture thread dumps from a command (DOS) window? Buffers
are set to 999
I
Hello,
I've apache 1.3.36 + tomcat 4 + mod_jk 3.3
I'm very new to web servers. I have a problem with the
cache configuration of a tomcat web application. Using
a http headers inspector, I can see that no cache
control is been sent.
I'd like to send "CacheControl: no-cache" in the
header of eve
take a look at conf/logging.properties, you can see how they setup
logging for the different contexts
Filip
Archibald Moepi wrote:
Hi,
I just migrated to Tomcat 5.5.12 from Tomcat 4.1.31 and I want to
create a logger for my context, any ideas on how I can complish this?
Thanx
Hi Joe !!! :
Many thanks by your answer, I'm really a newbie in the Axis world
and I'm still lost, spending a lot of time reading the Axis 2 docs and
samples but not finding answers to thowsands of questions in that docs
and samples. So, I'm trying to find the easiest way to do what I need
quic
Hi Borut.
I don't know the ehcache framework. What is the method used to prevent
the thread collision?
If I had this error, would try to make the most simple example to
reproduce it. A simple wrapper and singleton class could be a good
beginnin. Then grow the example until the error reprodu
> From: Dimitris Mouchritsas [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat cannot access the resources in an HTTPS webapp
>
> So if I want a subdirectory (e.g. admin) of my webapp, or my entire
> webapp to be accessible _only_ under https what should I do?
Read section 12 of the servlet spec:
> From: John Moore [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat6 Manager App HOW-TO
>
> I also gather that you should copy the manager directory into each
> webapp..???
Not required, but it's an alternative to creating manager.xml files
under each conf/Catalina/[host] directory that all have
- Original Message -
From: "Alice Young" <[EMAIL PROTECTED]>
To:
Sent: Sunday, July 15, 2007 5:47 PM
Subject: change in local directory deployment behavior between 5.5 and 6
Hi,
I have been searching for a solution to this problem for a while, but
it's difficult to search on when
It waits for a specific java.lang.Object to get 'notified' by another
Thread. Typically, in your stacktrace, the Thread is simply waiting for
tomcat to give him an http Request to process.
En l'instant précis du 16/07/07 12:52, André Vila Cova s'exprimait en
ces termes:
> Hi!
>
> How can I say for
Hi
There seems to be an awful lot of confusion on this list about
container managed security and https ... I know I was confused when I
started with it.
As I see it the two are not really connected.
I think what you want to do is to force an https request for certain
resources in your applicati
Hi!
How can I say for what is the tread waiting?
"http-8085-Processor23" daemon prio=1 tid=0xdd4b7ae8 nid=0x2d41 in
Object.wait() [0xde29b000..0xde29c020]
at java.lang.Object.wait(Native Method)
- waiting on <0xe61981f0> (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
Look at the startup script. These files receive data redirected from
stdout and stderror.
--David
Yulius wrote:
Hi all,
Currently the stdout.log and stderr.log is located in the Web Server logs directory.
Is there a way to relocate this two files at another path directory, lets say
Hi all,
Currently the stdout.log and stderr.log is located in the Web Server logs
directory.
Is there a way to relocate this two files at another path directory, lets say
at d drive?
I tried tomcats admin page with no result, and also i can't find logger at
server.xml that is pointing
Mark Thomas wrote:
> Dimitris Mouchritsas wrote:
>
>>
>> HTTPS
>> ORA Examples
>>
>>
>
> There is no such authentication method defined in the spec. If you
> want client certificate authentication then the correct value is
> CLIENT-CERT.
>
> Mark
>
> --
The problem seem to happen before writing to the cache. Jsps write to
response wrapper's buffer.. well, when they do page gets generated
fine, when they don't we get a blank home page served and put in the
cache.
On 7/16/07, rpr_listas <[EMAIL PROTECTED]> wrote:
Hello, Borut.
Are you sure that
The caching filter uses a BlockingCache. A miss (get that returns
null) locks that entry/key, and other threads that try to get the page
from the cache using the same key, must wait until the thread that
locked the entry puts something into the cache and releases the lock.
Lock are released implic
Hello, Borut.
Are you sure that there are no other thread writing in the cache at
this moment? How do you prevent this case?
Best regards.
Ricardo
Borut Hadžialić escribió:
Hi list,
I have spent last 15 working hours trying to figure out the cause of a
strange bug. Home page on one of our
I forgot to write information about our environment:
Os: Red Hat 4.1 (Linux 2.6.9-42.EL) on i386
Jvm: Sun's Java HotSpot(TM) Client VM version 1.5.0_07-b03
Tomcat 5.5.17
We also use Spring, Informix db, iBatis, Jsp (tiles) and Ehcache 1.3.0
We have made 5 sites for now with these same technologie
I'm using Tomcat 5.5.23
On 7/13/07, Mark Thomas <[EMAIL PROTECTED]> wrote:
hezjing wrote:
> The dummy\WEB-INF\classes\log4j.properties contains the following,
>
> log4j.rootLogger=ALL, stdout
> log4j.appender.stdout=org.apache.log4j.ConsoleAppender
> log4j.appender.stdout.layout=org.apache.log4j
Hi list,
I have spent last 15 working hours trying to figure out the cause of a
strange bug. Home page on one of our web sites sometimes gets
generated with no content - as a blank page, the response buffer
having size 0. We use caching filter (modified CachingFilter from
Ehcache 1.3.0) which use
You left this bit out
... it's not a criticism before anyone gets upset
I'd be glad to contribute to the documentation, just gotta figure out
how, guess I'll have to RTFM.
Rgds
Duncan
On 7/15/07, Mark Thomas <[EMAIL PROTECTED]> wrote:
Lyallex wrote:
> One thing that constantly frustrates me i
53 matches
Mail list logo