check AccessLogValve directive in conf/server.xml
On 3/16/06, James Reynolds <[EMAIL PROTECTED]> wrote:
>
> I just installed a fresh 5.5.15 and I'm not getting any logs in my
> conf/logs directory. I did not use the installer to install this
> version (as opposed to my last install that logs jus
> From: erico [mailto:[EMAIL PROTECTED]
> Subject: installing admin package
>
> I've unziped the apache-tomcat-5.5.15-adim.zip
> then I've copied adimn.xml to my Tomcat´s path
> (D:\java\apache-tomcat-5.5.15\conf\Catalina\localhost)
> then I copied admin folder to :
> D:\java\apache-tomcat-5.5.15
> From: Stuart Lowes [mailto:[EMAIL PROTECTED]
> Subject: Re: HTTP 500 error JasperException: Unable to
> compile class for JSP
>
> Also these are the default directory layout and environment
> variables in the Debian contrib 'tomcat4' packages.
Some of these 3rd-party repackaged Tomcat instal
has anyone installed tomcat 5.5 in a raq4, my client has an application that
requires tomcat 5.5
Tony Iversen
[EMAIL PROTECTED]
Hello!
How does redirect-after-post pattern work in clustered environment? In
my case I need to redirect to exactly the same location, where the
initial POST request was made from. How does this work in cluster, if
at all?
Afaik, the original address is load balancer's address. When requests
reac
Hi. When I compiled some classes using the ant task ReloadTask from the
sample build.xml, it doesn't reload
the new compiled classes in tomcat. The only way that I found it does that
is when I remove and reinstall the app.
Do I have to wait for that behaviour, or am I doing something wrong.
On 3/17/06, Mark Space <[EMAIL PROTECTED]> wrote:
> Alessandro Colantoni wrote:
>
> > Thanks for rapid answer!
> >What do you mean with filter the roles of second level.
> >How can I do that? if they are not in the auth-constraint and in the role
> >name list they can't access.
> >have O to write a
On 3/17/06, Mark Space <[EMAIL PROTECTED]> wrote:
> Alessandro Colantoni wrote:
>
> > Thanks for rapid answer!
> >What do you mean with filter the roles of second level.
You can still use container based authentication. Especially if you're
already setup to do so.. Just make sure that all users ha
I've unziped the apache-tomcat-5.5.15-adim.zip
then I've copied adimn.xml to my Tomcat´s path
(D:\java\apache-tomcat-5.5.15\conf\Catalina\localhost)
Before that there were only host-manager.xml and manager.xml in this
directory
then I copied admin folder to :
D:\java\apache-tomcat-5.5.15\se
Hi Leon,
Recently I've noticed similar deadlocks on my tomcat server. In my case,
the server just hangs with no warning even though there is plenty of
memory available. I tried the following to locate the problem, but it
has all been in vain:
* upgrade jdk from 1.5.0.1 to 1.5.0.6
*
Alessandro Colantoni wrote:
Thanks for rapid answer!
What do you mean with filter the roles of second level.
How can I do that? if they are not in the auth-constraint and in the role
name list they can't access.
have O to write a filter class? in this class retrieve the role of the user
and if i
Thanks for the responses. :) I'm still unable to get this working
though, the same error is produced. Is it possible I am missing a
dependency or two? apt-get in Debian installs a few dependencies
automatically, but maybe there are some others not specified in the .deb
dependency list?
Serlet
My question is:
Is it reasonable to expect Tomcat clustering to work for servers not in the
same network? Widely separated in different states?
I have read the docs but don't understand the whole multicast thing.
I have set up two servers with clustering enabled on the same subnet and they
see
I just installed a fresh 5.5.15 and I'm not getting any logs in my
conf/logs directory. I did not use the installer to install this
version (as opposed to my last install that logs just fine). I am
controlling it with an IDE (IntelliJ, if that's relevant) which is
probably starting Tomcat with t
OK,
Post the relevant parts of your conf/web.xml and a simple shtml file
that doesn't work.
Mark
lee sachs wrote:
> Mark
>
> Thanks...I tried that. That along with changing the attributes in a XML
> file. Everything that follow from this in the documentation, I've done:
>
> http://tomcat.ap
--- Ryan McDonald <[EMAIL PROTECTED]> wrote:
>
> On 16-Mar-06, at 12:00 PM, Dola Woolfe wrote:
>
> > Here's lines 17-22
> >
> > > validateXml="false"
> > uriroot="${webapp.path}"
> >
> >
>
webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml"
> >
> >
On http://www.onjava.com you can find some good articles about Tomcat
Clustering. Try a search for 'Tomcat 5 Cluster'. But I'm not sure if they are
for Tomcat 5.0.xx.
Lothar
> -Ursprüngliche Nachricht-
> Von: "Tomcat Users List"
> Gesendet: 16.03.06 21:52:10
> An: Tomcat Users List
Peter Rossbach has done a great job documenting most of it here.
http://tomcat.apache.org/tomcat-5.0-doc/cluster-howto.html
Filip
Dadyala, Manjeet S wrote:
I’m new to Tomcat and am in the process of investigating the
configuration of Tomcat 5.0.28 on RedHat Linux (AS 3) and Load Balancing.
Mark
Thanks...I tried that. That along with changing the attributes in a XML file.
Everything that follow from this in the documentation, I've done:
http://tomcat.apache.org/tomcat-5.5-doc/ssi-howto.html
- Original Message
From: Mark Thomas <[EMAIL PROTECTED]>
To: Tomcat Users List
Just had a couple of questions related to roles and tomcat:
1. When a user logs in does tomcat cache the role?
I've noticed that if I change a user's role without restarting tomcat
the user will still have the old role associated with them.
2. If tomcat does cache a user's role is there any wa
lee sachs wrote:
> I was able to d-load, install and startup Tomcat on the XP machine and
> configure it to enable SSI. The server runs fine with HTML, sample servlets
> and JSPs. For SSI, according to the help files I changed the name of an SSI
> servlet and removed the comments around the XM
Biernesser, Beth wrote:
> Hi ... I'm wondering if there are any other tomcat user forums that
> anyone has had success with? I see a lot of questions being asked in
> this forum, but not many answers. My questions rarely get answered, and
> I'm just wondering if anyone knows of another avenue to
Thanks Charles
I got it
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> From: "Érico M. Teixeira" [mailto:[EMAIL PROTECTED]
> Subject: installing admin package
>
> where can I get the adimn package to install in my tomcat ?
When you went to the 5.5 download page what did you see in the list of items
for downloading? If you need a level that's not current, use th
On Thu, March 16, 2006 2:26 pm, Caldarale, Charles R said:
>> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
>> Subject: RE: Somewhat OT: Multiple auth methods in one webapp?
>>
>> Do you know, or does anyone else know, where the server
>> looks for the credentials when the challenge box has
>>
I’m new to Tomcat and am in the process of
investigating the configuration of Tomcat 5.0.28 on RedHat Linux (AS 3) and
Load Balancing.
The documentation that I’ve come across at http://tomcat.apache.org most often deals
with Tomcat version 5.5. Could someone assist in directing me to do
Hi,
where can I get the adimn package to install in my tomcat ?
The version that I am working with is 5.5.15
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Well, you should check out the url rewrite documention for details. In
your webapp's web.xml, you put something like this in to tell it you
want it to examine all URLs that come into the web app:
UrlRewriteFilter
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter
logLev
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
> Subject: RE: Somewhat OT: Multiple auth methods in one webapp?
>
> Do you know, or does anyone else know, where the server
> looks for the credentials when the challenge box has
> been submitted?
See section 12.5 of the Servlet spec (you pr
Thanks for the quick reply. I have been using Tomca 4.X for our web
applications. I have decided to try out Tomcat 5.5. As a first step, I have
downloaded JDK 1.5 which is recommended for tomcat 5.5 and installed it.
Then I installed Tomcat 5.5 from the binary download after verifying the
keys.
th
> From: Vamsidhar [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 5.5.16 - Error configuring application
> listener of class listeners.ContextListener
> SEVERE: Error configuring application listener of class
> listeners.ContextListener
> java.lang.ClassFormatError: Extra bytes at the end of cla
Hi David ,
it looks interesting. But what I don't understand, when I define the filter in
the project web.xml how does tomcat knows where to look when the entered url in
the browser contains a project name which doesn't exits ? I think, when a user
enters localhost:80/siteB I need to have a pro
I would suggest you to compile your project with the
tomcat you are using, such as server-api.jar etc.
There could be some API not matching as tomcat 4 and 5
supports different version of servlet/jsp spec.
William
--- Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> I have a web app that runs pe
Ah, I was expecting the docs to mention "Context level" specifically and
I completely missed that little gem. I need to employ the rtfm*2 method
:)
Thanks
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 16, 2006 11:56 AM
To: Tomcat Users Lis
> From: James Reynolds [mailto:[EMAIL PROTECTED]
> Subject: Context Level Logging
>
> I want to be a good neighbor and set up context level logging,
> so log files from my app will go to conf/logs/myContextName.
> Is there a way to configure tomcat to do this?
RTFM:
http://tomcat.apache.org/tomc
I already tried doing it by downloading it from a different mirror, checking
the keys and installing it again. The problem still persists.
Am I missing any obvious thing here
Machine : Windows XP
Java: JDK 1.5.0 Build 06
Tomcat 5.5.16
thanks,
Vamsi.
> From: Vamsidhar [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 5.5.16 - Error configuring application
> listener of class listeners.ContextListener
>
> I checked the verfication keys and they matched. I am totally
> lost as to what the problem is.
At least you need to reinstall with a fresh
I have a web app that runs perfectly under Tomcat4, but behaves a
little strange under Tomcat5. Originally welcome page was defined as
follows in web.xml:
myStartPage.jsp
Works as it supposed to in Tomcat4, the URL in address bar shows
"/myStartPage.jsp" Same application in Tomcat5 shows
p
We've used UrlRewriteFilter with good success so far:
http://tuckey.org/urlrewrite/
David
Lothar Krenzien wrote:
Hi there,
I'm using tomcat 5.5 and want to redirect some requests to another URL. For example the URL
localhost:80/siteA should be forwarded to localhost:8080/siteB. Of course o
Thanks for rapid answer!
What do you mean with filter the roles of second level.
How can I do that? if they are not in the auth-constraint and in the role
name list they can't access.
have O to write a filter class? in this class retrieve the role of the user
and if is one of the second level skip
Hi there,
I'm using tomcat 5.5 and want to redirect some requests to another URL. For
example the URL localhost:80/siteA should be forwarded to
localhost:8080/siteB. Of course on Port 8080 listen another web-server. Does
anybody know a good explanation how to do that ? I've tried with filters
I checked the verfication keys and they matched. I am totally lost as to
what the problem is.
I am using Windows XP Professional.
thanks,
Vamsi.
On 3/16/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
>
> > From: Vamsidhar [mailto:[EMAIL PROTECTED]
> > Subject: Tomcat 5.5.16 - Error configur
I'm about to move a Shale web app into a Tomcat 5.5.15 container where
it will sit with some other web apps. I want to be a good neighbor and
set up context level logging, so log files from my app will go to
conf/logs/myContextName. Is there a way to configure tomcat to do this?
--
On Thu, March 16, 2006 12:48 pm, Jay Burgess said:
> I pursued a very similar exercise last week. I have a webapp using BASIC
> authentication and wanted to add in an RSS interface that used DIGEST
> authentication. Unfortunately, I never could figure out how to do this in
> a
> single webapp. I
To my knowledge the servlet config is frozen on start up..
My guess would be that you'll need to have a general access role or
roles (those that wont be deleted/modified in your database.. And then
have a second level of access control in your application.. At this
point it would be easier just ha
Jorge Herrera Aguilar wrote:
I Install Tomcat on my pc, and i'm able to start it and to stop it, but
when i try to view a simple index.html page it cames back with an error
message saying :
Resoirce \index.html is not available
I'm running windows XP
Do you know a guy named
José Iván Gonzá
Frank,
I pursued a very similar exercise last week. I have a webapp using BASIC
authentication and wanted to add in an RSS interface that used DIGEST
authentication. Unfortunately, I never could figure out how to do this in a
single webapp. I figured I'd chime in, though, as I think it'd be a ni
> From: Vamsidhar [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 5.5.16 - Error configuring application
> listener of class listeners.ContextListener
>
> I checked the tomcat logs this is what I found -
> application listeners are not being installed here
> is log. How do I resolve this problem.
T
Tremal Naik wrote:
2006/3/16, Mladen Turk <[EMAIL PROTECTED]>:
JBoss getPrincipal() figures that from the request,
Maybe, but it doesn't require I pass the request as an argument,
It uses thread local storage.
So my question follows: is there anything similar in Tomcat?
Yes. Servlet spe
Just a a precaution...have you gotten around to taking a look at the logs?
to see if there are any profoundly disturbing exceptions shown in there?
On 3/16/06, Jorge Herrera Aguilar <[EMAIL PROTECTED]> wrote:
>
> yes i did, even i moved index.html to different subdirectories without any
> luck
>
>
Fadi Samara wrote:
It is not company advetising indeed. This tag gets added automatically,
but if it makes you happy, I switched to my gmail account.
Maybe you need to get a little educated on the difference between the
government and company advertising.
Thanks. I didn't read the entire hea
2006/3/16, Mladen Turk <[EMAIL PROTECTED]>:
> JBoss getPrincipal() figures that from the request,
Maybe, but it doesn't require I pass the request as an argument, ir
returns the principal from whenever I call it in the code, simply,
even in those classes which doesn't have a request variabile.
It
Hello... I marked this Somewhat OT because what I'm trying to accomplish
would ultimately be running in Websphere. However, I would like to
develop it under Tomcat as I've always done, and it's also a general
webapp question...
I have an existing webapp that uses form-based authentication. Now I
Hi:
I am using JDK 5.0 with Tomcat 5.5.16. When I start the server, I am not
able to access the servlet and jsp examples. However I am able to access the
manager application.
I checked the tomcat logs this is what I found - application listeners are
not being installed here is log. How do I resol
It is not company advetising indeed. This tag gets added automatically,
but if it makes you happy, I switched to my gmail account.
Maybe you need to get a little educated on the difference between the
government and company advertising.
Thanks
---
It's not company advertising. Look at
David Kerber wrote:
It's not company advertising. Look at the return address: it's a US
government (military) email server, and requires it to be noted when
information is unclassified. It's probably added automatically by the
server.
Right, like said, let him use public email service.
If
yes i did, even i moved index.html to different subdirectories without any
luck
From: "Pulkit Singhal" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: "Tomcat Users List"
Subject: Re: Tomcat 5.X
Date: Thu, 16 Mar 2006 09:28:24 -0800
What URL did you use? Did you try others such as "
2006/3/16, Caldarale, Charles R <[EMAIL PROTECTED]>:
> ??? That doesn't make any sense to me. There may be may users
> connected to Tomcat at any given time; if you don't get the one
> corresponding to a specific request (or associated session), what do you
> think you're getting?
well, I don't
It's not company advertising. Look at the return address: it's a US
government (military) email server, and requires it to be noted when
information is unclassified. It's probably added automatically by the
server.
Mladen Turk wrote:
Samara, Fadi N Mr ACSIM/ASPEX wrote:
Classification:
Hi all!
In my application I need to define roles dynamically. I need to create and
delete roles and associate them to a permissions table.
I want the user authenticate with a form.
The problem is that in web.xml I have to define statically the role names.
This is the involved piece of my web.xm
Tremal Naik wrote:
Hello,
how can i retrieve an user principal?
I don't want to get it from the request, but directly from the
underlying security framework.
My application, when developed in Jboss, uses an instruction like the following:
org.jboss.security.SecurityAssociation.getPrincipal();
What URL did you use? Did you try others such as "
http://localhost:8080/jsp-examples/"; ?
On 3/16/06, Jorge Herrera Aguilar <[EMAIL PROTECTED]> wrote:
>
> I Install Tomcat on my pc, and i'm able to start it and to stop it, but
> when
> i try to view a simple index.html page it cames back with an
Samara, Fadi N Mr ACSIM/ASPEX wrote:
Classification: UNCLASSIFIED
Caveats: NONE
I hate this kind of emails!
Can you guys use some public email service
instead stupid company advertising.
Further more you have changed the original thread
name.
I think that we should consider such emails as
> From: Tremal Naik [mailto:[EMAIL PROTECTED]
> Subject: How to retrieve an user Principal?
>
> how can i retrieve an user principal?
>
> I don't want to get it from the request, but directly from the
> underlying security framework.
??? That doesn't make any sense to me. There may be may use
On 16-Mar-06, at 12:00 PM, Dola Woolfe wrote:
Here's lines 17-22
What is the value of webapp.path seems like it either is not being
set or is se to a location that doesn't exist.
Read the Ant documentation for specifying parameters, using a
properties file, or edit build.xml to s
Classification: UNCLASSIFIED
Caveats: NONE
Where is your index.html ?
Is it part of a deployable WAR ?
-Original Message-
From: Jorge Herrera Aguilar [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 16, 2006 12:16 PM
To: users@tomcat.apache.org
Subject: Tomcat 5.X
I Install Tomcat on
Hello,
how can i retrieve an user principal?
I don't want to get it from the request, but directly from the
underlying security framework.
My application, when developed in Jboss, uses an instruction like the following:
org.jboss.security.SecurityAssociation.getPrincipal();
Is there something s
I Install Tomcat on my pc, and i'm able to start it and to stop it, but when
i try to view a simple index.html page it cames back with an error message
saying :
Resoirce \index.html is not available
I'm running windows XP
Please Help
__
Hi,
Sorry for being persistent, but I still can't seem to
compile my jsp with jasper. I'm using essentially the
default build.xml and getting the following error (no
idea what it means or referring to)
C:\Dola\build.xml:21:
org.apache.jasper.JasperException: The -uriroot option
must specify a pre
I'm currently running my webapplication using Tomcat 5.5.12 and it works
great.
When I upgrade to Tomcat 5.5.16 I'm no longer able to login in to the
webapplication using Form based (or Basic) login with Memory Realm (in
my development area).
maybe it has something to do with this:
http://iss
2006/3/16, Filip Hanik - Dev Lists <[EMAIL PROTECTED]>:
> your valve classes have to be in common/lib or common/classes or
> server/lib or server/classes
>
> for security purposes, the best place would be server/lib or server/classes
>
> Filip
Well, I put the classes in a jar deployed in server/li
I'm running an instance of Tomcat 5.5.15 on an WinXP machine as a test dev
environment. I'm building .shtml pages and includes on the XP machine and just
want to have a local server to test pages without having to upload pages every
time to a remote server on my ISP. I'm also interested in learn
The fact that I use JOTM with Tomcat forces me to use a different data
source factory from the one described in the MySQL document "Using
Connector/J with Tomcat",
(http://dev.mysql.com/doc/refman/4.1/en/cj-tomcat-config.html) -
org.objectweb.jndi.DataSourceFactory vs.
org.apache.commons.dbcp
when the session is destroyed, and your listener calls getId(), it might
throw an exception that the session has already been invalidated.
I believe its a IllegalStateException,
this issue has been fixed in the most recent version
Filip
Klotz Jr, Dennis wrote:
Thanks Leon for replying.
I wan
Thanks Leon for replying.
I wanted to give a bit of feedback on this issue. It turns out that
Concurrency was not the issue at all. The real problem was concealed by
something that I am still puzzled about.
Apparently when an HttpSessionListener class has an exception, it is
never sent to catalin
Vanessa Campos wrote:
> Markus,
>
> Thank you. I'll try it.
>
> But still I keep thinking: wouldn't Tomcat start port 443 even with
> my current configuration?
> I can't stop wondering why it works on my local machine and doesn't
> on my server... On my local machine (test environment) I have the
>
your valve classes have to be in common/lib or common/classes or
server/lib or server/classes
for security purposes, the best place would be server/lib or server/classes
Filip
Tremal Naik wrote:
Hello, I have a problem with Tomcat 5.5.9
I created a file CiccioPasticcio.war with my applicatio
Hello, I have a problem with Tomcat 5.5.9
I created a file CiccioPasticcio.war with my application. I have to
filter user requests using Tomcat Valves, so I wrote a context.xml file
with the following
The file is in the folder
CiccioPasticcio.war\META-INF\context.xml
The Valve classe
> From: Vanessa Campos [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat don't start SSL connector
>
> But still I keep thinking: wouldn't Tomcat start port 443 even with
> my current configuration?
It should. However, if this is a copy & paste:
> .
- Chuck
THIS COMMUNICATION MAY CONTAIN
Markus,
Thank you. I'll try it.
But still I keep thinking: wouldn't Tomcat start port 443 even with
my current configuration?
I can't stop wondering why it works on my local machine and doesn't
on my server... On my local machine (test environment) I have the
same configuration and I can access l
Vanessa Campos wrote:
> Hi, everybody!
>
> I need to put SSL to work. My environment:
>
> Win2003 Server
> TomCat 5.1.15
> Apache 2.0.55
> mod_jk
>
> My server.xml contains this:
>
> maxThreads="150" minSpareThreads="5"
> maxSpareThreads="75"
>enableLookups="fals
Hi, everybody!
I need to put SSL to work. My environment:
Win2003 Server
TomCat 5.1.15
Apache 2.0.55
mod_jk
My server.xml contains this:
I copied this configuration from my test enviroment (where it is
working), but when I try to access https://localhost:443, it says
"The
Julie McCabe wrote:
> Hello,
>
> Thanks for that ... I installed APR but also needed a certificate which
> included the Netscape cert type set to SSL Server.
?
> Incidentally, I tried
> the other 2 methods with the new certificate but they failed - I have to
> set this up in Windows also - I pr
Hello,
Thanks for that ... I installed APR but also needed a certificate which
included the Netscape cert type set to SSL Server. Incidentally, I tried the
other 2 methods with the new certificate but they failed - I have to set this
up in Windows also - I probably need a none SSL based HTTPS
Julie McCabe wrote:
> Thanks for the advise - ive tried various permutations of trying to use an
> exisiting CA signed X509 certificate to enable SSL with tomcat. From
> reading various mailing lists it appears this is a frequent problem but one
> that many people have solved using the solutions
Is there any problems with running a thread every night updating
ressources and sending out emails from within tomcat. Any tools available?
Morten
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
Hello,
Thanks for the advise - ive tried various permutations of trying to use an
exisiting CA signed X509 certificate to enable SSL with tomcat. From reading
various mailing lists it appears this is a frequent problem but one that many
people have solved using the solutions I have tried - pe
Compression works very well.
I added a homegrown GZip filter to the AXIS urls and also saw approx 10x
compression. There are also a number of similar OSS Filters out there.
There were .NET clients accessing the web-services and they needed a
tweak to handle the compression:
http://www.dotnetj
Update:
between the memory leakage started approx. at 20:15 and reached the
end of the bottle at 21:10 with 40 Mb free memory. At this time the
server started to loose users. Until 21:45 it droped about 1000 users
leaving 21 on the server, before it got restarted at 21:50 as I stated
in the previo
89 matches
Mail list logo