From
\conf\Catalina\localhost appName.xml
From
\conf server.xml
-Or
> From: Pid [mailto:p...@pidster.com]
> Subject: Re: Re-deploying a war file
>
> This works for me, just by replacing the WAR file with a new one -
> maybe there's something in your config, or the web app is holding
> onto JARs & stopping the app from being replaced.
Check the antiJARLocking and
On 10/02/2010 16:31, Joe Wallace wrote:
I have been working with Tomcat 6.0.20 running as a windows service for about a
year.
> I update the application war file every few months.
OK.
After reading the Tomcat 6.0 User Guide, Section 4, Deployer -Deploying on a
running war
>Tomcat I expecte
> From: Leena Shah [mailto:xl...@hotmail.com]
> Subject: Problem with Escaping ${} in tag attribute in tomcat 6.0.20
>
> However if I have it as an attribute for a custom tag,
> it throws the exception shown below.
Try setting the system property
org.apache.jasper.compiler.Parser.STRICT_QUOTE_ES
Hi,
I have an expression that I want to get evaluated in a tag attribute. The
expression also contains a ${NODE.id} syntax which I want to escape.
The expression appears below. If I type this directly in the JSP page, it works
fine. However if I have it as an attribute for a custom tag, it
Chris,
Christopher Schultz writes:
> Wait, why can only some of the "Windows boxes" (clients) access your "PC
> box" (the server)? I would think that if you just want to have shared
> folders, you ought to be able to do that using standard Microsoft
> Windows Network File Sharing (SMB).
No, not
> From: Nicholas Duan [mailto:nd...@gmu.edu]
> Subject: Re: RE: Basic/Form-based authentication with Tomat 6.0
>
> Thanks Chuck! Indeed it was commented out. I must have overlooked the
> comment marker. Thanks!
Thank André, he suggested it.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTI
Thanks Chuck! Indeed it was commented out. I must have overlooked the comment
marker. Thanks!
ND
- Original Message -
From: "Caldarale, Charles R"
Date: Thursday, February 11, 2010 4:09 pm
Subject: RE: Basic/Form-based authentication with Tomat 6.0
> > From: Nicholas Duan [mailto:nd
Please post a completely new message to the list, rather than just
editing the subject & body out for your message.
An edited reply appears as part of a existing thread, with an unexpected
subject change. This is called thread hijacking.
p
On 11/02/2010 19:13, Stanley Wong wrote:
I am u
> From: Nicholas Duan [mailto:nd...@gmu.edu]
> Subject: Re: Basic/Form-based authentication with Tomat 6.0
>
> If my server caught fire, I would be calling 911 instead of asking for
> help here...
Despite your protestations, you still haven't told us what *does* happen when
you try to use the pr
If my server caught fire, I would be calling 911 instead of asking for help
here... Anyway, I was running everything with the default tomcat 6.0
configuration. I checked that the tomcat-users.xml file indeed contains all
the user auth needed for the jsp sample application, and that matches the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
On 2/11/2010 12:41 PM, Paul Chany wrote:
> I want to make such application that allow users from the LAN's
> machines access just one directory (folder) that is on the
> Tomcat server machine.
>
> Why is this so important for me?
> In the class
My mistake.
The authentication does work when a section is added.
I probably forget to save the web.xml at some points.
Thank you for the help.
And, SHA continues to fail.
Stanley
-Original Message-
From: Stanley Wong
Sent: Thursday, February 11, 2010 3:19 PM
To: Tomcat Users Li
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nicholas,
On 2/11/2010 3:19 PM, Nicholas Duan wrote:
I am not sure if this is a configuration problem, but I can't get the
basic/form-based authentication working on Tomcat 6.0, and couldn't
even get the protected jsp exa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nicholas,
On 2/11/2010 3:19 PM, Nicholas Duan wrote:
> I am not sure if this is a configuration problem, but I can't get the
> basic/form-based authentication working on Tomcat 6.0, and couldn't
> even get the protected jsp example
> (http://localhost
I am not sure if this is a configuration problem, but I can't get the
basic/form-based authentication working on Tomcat 6.0, and couldn't even get
the protected jsp example
(http://localhost:8080/examples/jsp/security/protected) that bundled with the
tomcat distribution.
I've tried the latest
Thank you.
I make some progress, but still need some helps.
That is what I did:
1. replace the hashing algorithm from SHA to MD5.
2. remove the line from
The new section of web.xml looks as follows:
DIGEST
MD5
I generate
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
A,
On 2/10/2010 8:36 AM, aa wrote:
When the user goes in a particular page I need to ask him a new
authentication because this page needs more privileges (this page infact is
only for admin
2010/2/11 Caldarale, Charles R :
> This is closer, but the doc says to include the realm name, not the word
> "Realm" in the calculation. The realm name appears to be the server name and
> port, but I haven't verified that.
>
The realm name is usually provided as Realm
in element in web.xml.
2010/2/11 Stanley Wong :
> I am using Tomcat 6.0. I try to implement digest authentication.
>
You are confusing DIGEST authentication (i.e., transmitting a hash of
password over network) with validating plain passwords using digest
(i.e, not storing a plain text password).
The value used in the
> From: Stanley Wong [mailto:w...@pcigeomatics.com]
> Subject: Digest Authentication
>
> digest -a sha stan1
The Tomcat doc makes no mention of using the stand digest tool, but instead
org.apache.catalina.realm.RealmBase. I have no idea if or how they differ in
their calculations.
> digest -a
I am using Tomcat 6.0. I try to implement digest authentication.
That is what I do:
1. Deploy a auth.war file to Tomcat, whose web.xml has this setting:
Auth.html
Web
Resource
/
Mark H. Wood wrote:
Just waiting until you think it's been long enough is not a very
strong test. What's it doing while you wait? is a question you need
to consider.
Apologies, I didn't include every detail of what we did because I
assumed most folks would not be interested in reading a book.
Is this going to log just too much? This is a production system so
want to be careful. Is there any other way to enable it in valve or
some other way that just gives the error logging?
On Thu, Feb 11, 2010 at 8:21 AM, Mark Thomas wrote:
> On 11/02/2010 16:05, Mohit Anchlia wrote:
>> As expected I
Hi,
I would like to make a web application for my classroom's LAN.
On the Tomcat server machine is the folder own's by me.
I want to make such application that allow users from the LAN's
machines access just one directory (folder) that is on the
Tomcat server machine.
Why is this so important f
On Thu, Feb 11, 2010 at 05:05:37PM +, Mark Thomas wrote:
> On 11/02/2010 16:53, Eric Lenio wrote:
> > I think there is a bug in JNDIRealm.java in 6.0.24. According to the
> > docs:
> >
> > http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html
> >
> > it says roles can be specified by both
On 11/02/2010 16:53, Eric Lenio wrote:
> I think there is a bug in JNDIRealm.java in 6.0.24. According to the
> docs:
>
> http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html
>
> it says roles can be specified by both userRoleName, AND roleName
> mechanisms.
>
> But, if both are used then t
I think there is a bug in JNDIRealm.java in 6.0.24. According to the
docs:
http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html
it says roles can be specified by both userRoleName, AND roleName
mechanisms.
But, if both are used then the result is that userRoleName roles are
excluded. I bel
> From: Stefan Rainer [mailto:s.rai...@teamaxess.com]
> Subject: 64bit Server + JDK 1.5 (64bit) + Tomcat 5.0.28?
>
> BUT as far as I know, tomcat 5.0.28 is compiled for 32 bit.
Tomcat is pure Java, so it's independent of architecture. If you're running
Tomcat as a service on Windows, you will n
On 11/02/2010 16:05, Mohit Anchlia wrote:
> As expected I got Bad request. But my question is there a error log
> where everything that server responded to in logged. This Bad request
> wasn't logged in access valve. How can I get all the error codes?
Turn on debug logging for the org.apache.coyot
On 11 February 2010 16:14, Stefan Rainer wrote:
> BUT as far as I know, tomcat 5.0.28 is compiled for 32 bit.
Tomcat is pure Java, and is therefore not compiled for any particular
word size. You may be using native libraries which are compiled for
particular architectures, but Tomcat itself will
that brilliant. Thank you very much... You've answered a lot of my
questions and then some
ta
Rob
n828cl wrote:
>
>> From: rjgallac [mailto:rgallac...@ufi.com]
>> Subject: one webapp - two security constraints
>
> You didn't bother to tell us the version of Tomcat you're using, so the
> follo
> From: Mehrotra, Anurag [mailto:amehro...@telebright.com]
> Subject: Java Heap size setting - Tomcat 6.0.24
>
> Where do I specify the java heap size for this second instance?
Use the tomcat6w.exe program in that instance's bin directory.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL A
Hello,
we have to increase the number of maximum threads on our 64 bit server
Windows 2003 server.
At the moment we are running Tomcat 5.0.28 on a JDK 1.5 32 bit because of
historical issues and we can serve about 500 threads without having memory
problems.
If we increase maxThreads size over 500,
On Thu, Feb 11, 2010 at 7:56 AM, Mark Thomas wrote:
> On 11/02/2010 15:50, Hassan Schroeder wrote:
>> On Thu, Feb 11, 2010 at 7:45 AM, Mohit Anchlia
>> wrote:
>>
>>> [r...@e1 ~]# telnet ws1 8080
>>> Trying 10.10.50.55...
>>> Connected to ws1 (10.10.50.55).
>>> Escape character is '^]'.
>>> GET /
On 11/02/2010 15:50, Hassan Schroeder wrote:
> On Thu, Feb 11, 2010 at 7:45 AM, Mohit Anchlia wrote:
>
>> [r...@e1 ~]# telnet ws1 8080
>> Trying 10.10.50.55...
>> Connected to ws1 (10.10.50.55).
>> Escape character is '^]'.
>> GET / HTTP1.1
>
>> I had to hit enter twice to get the result. Does i
On 11/02/2010 15:45, Mohit Anchlia wrote:
>> [r...@e1 ~]# telnet ws1 8080
>> Trying 10.10.50.55...
>> Connected to ws1 (10.10.50.55).
>> Escape character is '^]'.
>> GET / HTTP1.1
>
>> HTTP/1.1 505 HTTP Version Not Supported
>> Server: Apache-Coyote/1.1
>> Date: Thu, 11 Feb 2010 15:42:24 GMT
>> Co
On Thu, Feb 11, 2010 at 7:45 AM, Mohit Anchlia wrote:
> [r...@e1 ~]# telnet ws1 8080
> Trying 10.10.50.55...
> Connected to ws1 (10.10.50.55).
> Escape character is '^]'.
> GET / HTTP1.1
> I had to hit enter twice to get the result. Does it sound ok? If yes,
> then I am not sure why 1.1 be a inc
I have two instances of tomcat 6.0.24 running on a 64bit OS(Win 2008)
and 64 bt JVM.
Both are listening on separate IP addresses and ports.
One instance was installed using the windows installer, the other was
installed by expanding the zip file.
Both instances contain tomcat6.exe file
On Thu, Feb 11, 2010 at 6:41 AM, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Mohit,
>
> On 2/11/2010 1:41 AM, Mohit Anchlia wrote:
>> On Wed, Feb 10, 2010 at 2:44 PM, Christopher Schultz
>> wrote:
>> Mohit,
>>
>> On 2/10/2010 5:28 PM, Mohit Anchlia wrote:
And... as most are coming around to... we think you need to examine the
900lb gorilla in the room: the code.
>> I've seen a certain web browser get hold of some badly-written script
or something,
>> spend *minutes* blowing up to a huge size while running 100% of CPU
the whole time
>> with the U
On 11 February 2010 15:29, Caldarale, Charles R
wrote:
>> From: Peter Crowther
>> 3) Most insidiously, if the system's loaded or allocated something
>> that it can't move in the middle of your process' address space, it
>> may be unable to move that.
>
> Doesn't happen. The JVM reserves the maxim
On Wed, Feb 10, 2010 at 12:26:42PM -0800, Jordan Michaels wrote:
> Yeah, it's hanging permanently. We've let it sit there for what... 15
> mins or so? Which should be plenty since no one is using it right now
> except us.
Maybe, maybe not. Did you monitor CPU and memory utilization, I/O
load an
> From: peter.crowth...@googlemail.com
> [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther
> Subject: Re: Java heap size limit
>
> 1) CPU time to expand the heap - during which your application may be
> unresponsive, I'm not sure how the modern JVMs work.
Expansion is done by a
On 11/02/2010 15:16, Stefan Rainer wrote:
> Hello,
>
> we are currently running a Tomcat 5.0.28 on Java 1.5.0.11 with a MaxThreads
> Configuration of 500 threads.
> This server is very sensitive to (kind of) denial of service attacks and we
> would like to improve stability in case of thousands of
Hello,
we are currently running a Tomcat 5.0.28 on Java 1.5.0.11 with a MaxThreads
Configuration of 500 threads.
This server is very sensitive to (kind of) denial of service attacks and we
would like to improve stability in case of thousands of client requests.
server.xml extract of connector:
On 11 February 2010 14:56, Jeffrey Janner wrote:
> Also, as I've heard several times here, set the -Xms and -Xmx settings to the
> same to improve garbage collect efficiency. (did I interpret that correctly?)
Allocation efficiency - and to make sure you actually get the memory
when you need it!
>From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
>Sent: Thursday, February 11, 2010 7:37 AM
>
>> From: Hadole, Nishant IN BOM SISL [mailto:nishant.had...@siemens.com]
>> Subject: RE: Java heap size limit
>>
>> For 32 bit system, maximum memory pool can easily increased upto 2 GB.
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yoav,
On 2/11/2010 9:44 AM, Yoav Lanenter wrote:
> Thanks Chris
>
> For now I can't change my machine to 32bit
> Will I be able increase to 2G of java on 32 bit machine ?
If you are running *NIX, you might be able to squeeze-out another couple
of Mi
> From: Yoav Lanenter [mailto:yo...@consist.co.il]
> Subject: RE: Java heap size limit
>
> Will I be able increase to 2G of java on 32 bit machine ?
As we said before, no - unless you're running with the Windows boot option that
specifies use of a 3 GB user process space. You'll need to experim
Thanks Chris
For now I can't change my machine to 32bit
Will I be able increase to 2G of java on 32 bit machine ?
Thanks
Yoav
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Thursday, February 11, 2010 4:44 PM
To: Tomcat Users List
Subject: Re:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yoav,
On 2/11/2010 1:18 AM, Yoav Lanenter wrote:
> tomcat 5.5,Win Server 2003,32 bit,32 GB RAM
>
> my question is how can i increase the Java heap size to the maximum
> (maximum memory pool) using the apropicate script\configuration
All the other an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mohit,
On 2/11/2010 1:41 AM, Mohit Anchlia wrote:
> On Wed, Feb 10, 2010 at 2:44 PM, Christopher Schultz
> wrote:
> Mohit,
>
> On 2/10/2010 5:28 PM, Mohit Anchlia wrote:
There is a proxy F5 in between. But this server sends 100s of request
> From: Hadole, Nishant IN BOM SISL [mailto:nishant.had...@siemens.com]
> Subject: RE: Java heap size limit
>
> For 32 bit system, maximum memory pool can easily increased upto 2 GB.
Not likely. The most you can set the heap to on 32-bit Windows is around 1.5
GB; the actual value varies a great
Using a Tomcat Lifecycle listener (.../catalina/Lifecycle.html)
sounds like exactly what you want.
This from http://www.atomikos.com/Documentation/Tomcat55Integration33
illustrates illustrates the use:
public class AtomikosLifecycleListener implements LifecycleListener {
private static L
2010/2/11 J4 :
> Dear everyone,
>
> I changed the JAVA_OPTS in tomcat6.conf to read:
> JAVA_OPTS="-Xmx256m -XX:MaxPermSize=256m -Djava.library.path=/usr/lib64"
> but when tomcat was restarted it still gave the same message, as shown
> below, which makes me think that it did not pick it up.
>
I do
Dear Konstantin,
>From what I have read in the documentation URL you sent me, it looks
that these steps have to be taken:-
1) download and compile the APR libs
2) install the libtcnative-1.so
Why have I to take these steps when :-
1) the APR is already installed with SLES:
# zy
In that case, you want a LifecycleListener
(http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/LifecycleListener.html)
looking for the AFTER_START event. You can then write code in the
listener to do something unambiguous when the event triggers - I'd
write a file somewhere, but I'm o
2010/2/11 J4 :
> Dear everyone,
>
> I am trying to use the APR based Apache Tomcat Native library on
> SLES11 and it is installed in:
> lrwxrwxrwx 1 root root 17 Oct 12 01:03
> /usr/lib64/libapr-1.so.0 -> libapr-1.so.0.3.3
> -rwxr-xr-x 1 root root 181112 Oct 1
Pid wrote:
On 11/02/2010 11:15, Jan Van Besien wrote:
Hi all,
I'm using tomcat-6.0.18 with java-1.6.0-18 on ubuntu-9.10.
We are using the tanuki service wrapper to run tomcat as a linux
service, more or less as described in [1].
We also have a monitoring mechanism which checks the "health" of
On 11/02/2010 11:15, Jan Van Besien wrote:
Hi all,
I'm using tomcat-6.0.18 with java-1.6.0-18 on ubuntu-9.10.
We are using the tanuki service wrapper to run tomcat as a linux
service, more or less as described in [1].
We also have a monitoring mechanism which checks the "health" of the
running
Hi all,
I'm using tomcat-6.0.18 with java-1.6.0-18 on ubuntu-9.10.
We are using the tanuki service wrapper to run tomcat as a linux
service, more or less as described in [1].
We also have a monitoring mechanism which checks the "health" of the
running tomcat with all the applications deploye
J4 wrote:
> Dear everyone,
>
> I am trying to use the APR based Apache Tomcat Native library on
> SLES11 and it is installed in:
> lrwxrwxrwx1 rootroot 17 Oct 12 01:03
> /usr/lib64/libapr-1.so.0 -> libapr-1.so.0.3.3
> -rwxr-xr-x1 rootroot 181112 Oct 12 01
Dear everyone,
I am trying to use the APR based Apache Tomcat Native library on
SLES11 and it is installed in:
lrwxrwxrwx1 rootroot 17 Oct 12 01:03
/usr/lib64/libapr-1.so.0 -> libapr-1.so.0.3.3
-rwxr-xr-x1 rootroot 181112 Oct 12 01:03
/usr/lib64/libapr-1
On 10/02/2010 20:11, Jordan Michaels wrote:
Hey Joseph,
Honestly I'm not sure about the code. We didn't write the code for it
and I haven't dug around in that part of it because the first few
requests seem to go through without a hitch.
If you've not checked the code then how can you tell whet
Chris,
I think you are absolutely right, if JULI's LogManager was registered.
In that case LogManager.reset() will go to ClassLoaderLogManager which
will only work on loggers that were associated with the thread's context
class loader before. The JDK implementation of the LogManager will
however
66 matches
Mail list logo