the
existing webapps/xwiki/WEB-INF/web.xml accordingly.
update of web.xml triggered the app reload which is expected.
At this point I wanted to adjust the database configuration, ie by
modifying webapps/xwiki/META-INF/context.xml. When I do this the
changes are not taken into account because the file
this are welcome.
HTTP Status 500 - The absolute uri: http://java.sun.com/jsp/jstl/core
cannot be resolved in either web.xml or the jar files deployed with this
application
*type* Exception report
*message* *The absolute uri: http://java.sun.com/jsp/jstl/core
http://java.sun.com/jsp/jstl/core cannot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Gibran,
On 10/2/14 3:59 PM, Gibran Castillo wrote:
I deployed donow62 Spring MVC app into Tomcat by placing
donow62.xml file in $CATALINA_HOME/conf/Catalina/localhost
The contents of donow62.xml are as follow: Context
To fix the problem I put the .jar files in tomcat's lib directory and it
works best way to do this is like you said to put the *.jar files in
the WEB-INF/lib directory, build the project as WAR and deploy the war file
in Tomcat Where do I place the .war file in Tomcat? in the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Gibran,
On 10/2/14 5:04 PM, Gibran Castillo wrote:
To fix the problem I put the .jar files in tomcat's lib directory
and it works best way to do this is like you said to put the
*.jar files in the WEB-INF/lib directory, build the project as
Ok, thanks
On Thu, Oct 2, 2014 at 5:14 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Gibran,
On 10/2/14 5:04 PM, Gibran Castillo wrote:
To fix the problem I put the .jar files in tomcat's lib directory
and it works best
...@internetallee.de] Sent: Thursday, 4
September 2014 3:29 PM To: Tomcat Users List Subject: Re: web.xml
authentication and Tomcat Realm
On 4. September 2014 05:35:42 MESZ, Dalecki, Janusz
jdale...@tycoint.com wrote:
Hi, I am just wondering whether somehow I can use web.xml
login-config
-Original Message-
From: Neven Cvetkovic [mailto:neven.cvetko...@gmail.com]
Sent: Friday, 5 September 2014 11:40 PM
To: Tomcat Users List
Subject: Re: web.xml authentication and Tomcat Realm
Hey Janusz,
On Thu, Sep 4, 2014 at 8:02 PM, Dalecki, Janusz jdale...@tycoint.com
wrote:
Follow
On Thu, Sep 4, 2014 at 8:02 PM, Dalecki, Janusz jdale...@tycoint.com
wrote:
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Friday, 5 September 2014 12:03 AM
To: Tomcat Users List
Subject: Re: web.xml authentication and Tomcat Realm
in the database.
In my web.xml I have login-config element and security constraint as
follows:
security-constraint
web-resource-collection
web-resource-nameAdmin/web-resource-name
url-pattern/auth/*/url-pattern
/web
-Original Message-
From: Felix Schumacher [mailto:felix.schumac...@internetallee.de]
Sent: Thursday, 4 September 2014 3:29 PM
To: Tomcat Users List
Subject: Re: web.xml authentication and Tomcat Realm
On 4. September 2014 05:35:42 MESZ, Dalecki, Janusz jdale...@tycoint.com
wrote:
Hi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Janusz,
On 9/4/14 2:30 AM, Dalecki, Janusz wrote:
-Original Message- From: Felix Schumacher
[mailto:felix.schumac...@internetallee.de] Sent: Thursday, 4
September 2014 3:29 PM To: Tomcat Users List Subject: Re: web.xml
authentication
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Friday, 5 September 2014 12:03 AM
To: Tomcat Users List
Subject: Re: web.xml authentication and Tomcat Realm
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Janusz,
On 9/4/14 2:30 AM, Dalecki
Hi,
I am just wondering whether somehow I can use web.xml login-config/ to point
to the Tomcat JDBC Realm that I am using.
Are those two completely disjoint or I can link them together.
Regards,
Janusz
This e-mail contains privileged and confidential information
On 4. September 2014 05:35:42 MESZ, Dalecki, Janusz jdale...@tycoint.com
wrote:
Hi,
I am just wondering whether somehow I can use web.xml login-config/
to point to the Tomcat JDBC Realm that I am using.
Are those two completely disjoint or I can link them together.
They are disjoint.
web.xml
Konstantin,
On Sat, Jul 5, 2014 at 3:26 PM, Konstantin Kolinko
knst.koli...@gmail.com wrote:
You can either perform IP filtering in a Valve (that will be in the
pipeline before an Authenticator), or you can remove
security-constraint and implement authentication and authorization in
a filter
On 5. Juli 2014 19:04:26 MESZ, Falco Schwarz hid...@falco.me wrote:
On Sat, Jul 5, 2014 at 6:17 PM, Hassan Schroeder
hassan.schroe...@gmail.com wrote:
(Sorry, late to the thread but ...) if you just want to restrict
access to
a resource to localhost, why not os-level e.g. an iptables rule?
2014-07-06 13:45 GMT+04:00 Falco Schwarz hid...@falco.me:
Konstantin,
On Sat, Jul 5, 2014 at 3:26 PM, Konstantin Kolinko
knst.koli...@gmail.com wrote:
You can either perform IP filtering in a Valve (that will be in the
pipeline before an Authenticator), or you can remove
security-constraint
(that is if you do not want to configure it separately in
web.xml),
http://docs.spring.io/spring-security/site/docs/3.2.4.RELEASE/reference/htmlsingle/#ns-custom-filters
From a systems administrator perspective there is no way I would
present a login form first and then deny via ip filters, but I guess
On Sun, Jul 6, 2014 at 1:35 PM, Konstantin Kolinko
knst.koli...@gmail.com wrote:
I think you can inject RemoteAddrFilter into Spring Security filter
chain (that is if you do not want to configure it separately in
web.xml),
You are right, I did not think of that.
FWIW this is easily doable
step 2 and 3?
Relevant parts of web.xml, webapp is called infra:
servlet
servlet-nameJMXProxy/servlet-name
servlet-classorg.apache.catalina.manager.JMXProxyServlet/servlet-class
/servlet
servlet-mapping
servlet-nameJMXProxy/servlet-name
url-pattern/jmx/*/url-pattern
, though in the wrong order. This is how the
request is
being processed right now:
1) user accesses /infra/jmx
2) user has to authenticate
3) user is being denied
Is it possible to switch step 2 and 3?
Relevant parts of web.xml, webapp is called infra:
servlet
servlet-nameJMXProxy
2014-07-05 11:41 GMT+04:00 Falco Schwarz hid...@falco.me:
I should add that the IP restriction is applied via filter, not with a
tomcat Valve. Essentially the question breaks down to this:
Is it possible in any way for a filter to be applied before the evaluation
of the security-constraint?
On Sat, Jul 5, 2014 at 12:39 PM, Mark Thomas m...@homeinbox.net wrote:
Maybe look at a third party security plugin like Spring Security? Not sure if
this is supported but worth a look.
Mark
Thanks Mark and Konstantin for your quick replies. I tried to
accomplish this only using Spring
On Sat, Jul 5, 2014 at 9:00 AM, Falco Schwarz hid...@falco.me wrote:
In the end I found a solution which suits my needs: combining the
RemoteAddrFilter with Spring Security. This way the RemoteAddrFilter
always prevents access if the client is not localhost.
(Sorry, late to the thread but
On Sat, Jul 5, 2014 at 6:17 PM, Hassan Schroeder
hassan.schroe...@gmail.com wrote:
(Sorry, late to the thread but ...) if you just want to restrict access to
a resource to localhost, why not os-level e.g. an iptables rule?
Well, the reason behind the restriction is that I would like to use
accesses /infra/jmx
2) user has to authenticate
3) user is being denied
Is it possible to switch step 2 and 3?
Relevant parts of web.xml, webapp is called infra:
servlet
servlet-nameJMXProxy/servlet-name
servlet-classorg.apache.catalina.manager.JMXProxyServlet/servlet-class
/servlet
servlet
[mailto:ch...@christopherschultz.net]
Sent: Friday, May 30, 2014 4:55 PM
To: Tomcat Users List
Subject: Re: Deploying JerseyWS 2.8 w/o web.xml
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nick
On 5/30/14, 5:03 PM, Cuneo, Nicholas wrote:
We are trying to deploy a webservice to tomcat 8.0.5 using
: RE: Deploying JerseyWS 2.8 w/o web.xml
We are using Ivy for our dependency manager, but I'm not exactly following what
you mean. Are you suggesting I'm supplying a jar file in my war that doesn't
need to be there because Tomcat has its own version of it?
Thanks,
Nick
-Original Message
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nicholas,
On 6/2/14, 12:38 PM, Cuneo, Nicholas wrote:
I think you are correct, maybe I need to exclude some jars from my
bundle?
find . -name *.jar | xargs grep
ServletContainerInitializer.class Binary file ./servlet-api.jar
matches
find
: Re: Deploying JerseyWS 2.8 w/o web.xml
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nicholas,
On 6/2/14, 12:38 PM, Cuneo, Nicholas wrote:
I think you are correct, maybe I need to exclude some jars from my
bundle?
find . -name *.jar | xargs grep
ServletContainerInitializer.class Binary file
Hi,
We are trying to deploy a webservice to tomcat 8.0.5 using Jersey WS 2.8. In
the Jersey documentation it mentions deploying without the need for a web.xml
in your war file using annotations, so I thought I'd give that a try.
However, when I go to deploy my webservice Tomcat is throwing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nick
On 5/30/14, 5:03 PM, Cuneo, Nicholas wrote:
We are trying to deploy a webservice to tomcat 8.0.5 using Jersey
WS 2.8. In the Jersey documentation it mentions deploying without
the need for a web.xml in your war file using annotations, so I
, to that one directive].
Is there some easy way to manage one web application with two different
web.xml files? What I really want is, say, context.xml to create two
contexts with two paths, with different web.xml files. One solution I
can imagine is something like:
?xml version=1.0 encoding=UTF-8?
Context
Hello tomcat users,
Before I can submit formal bug to the issue tracker, I want to ask here.
I have web.xml and I include some text file in it using !ENTITY tag:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http
On 22/04/2014 16:42, Viktor Gamov wrote:
snip/
It worked fine until version 7.0.52. With 7.0.52, I'm getting following
error during application deployment
Read this:
http://tomcat.apache.org/tomcat-7.0-doc/config/context.html
Look for this:
xmlBlockExternal
The default changed in 7.0.52.
2014-04-22 19:42 GMT+04:00 Viktor Gamov viktor.ga...@gmail.com:
Hello tomcat users,
Before I can submit formal bug to the issue tracker, I want to ask here.
I have web.xml and I include some text file in it using !ENTITY tag:
As I already answered about a week a go, you have to enable
Hi!
I just started an upgrade of our tomcat, 7.0.47, to 7.0.52 and got into a
problem. Tomcat did not want to start our webapp. Looking in the log
I see:
Mar 26, 2014 2:10:42 PM org.apache.catalina.startup.ContextConfig
parseWebXml
SEVERE: Parse error in application web.xml file at
jndi
parseWebXml
SEVERE: Parse error in application web.xml file at
jndi:/localhost/bios/WEB-INF/web.xml
java.io.FileNotFoundException: Could not resolve XML resource [null] with
public ID
[null], system ID [dpservices.xml] and base URI
[jndi:/localhost/bios/WEB-INF/web.xml]
to a known, local
Hello,
I have a webapp named portal who gather informations about other webapps
(modules) running on the same Tomcat instance. The portal use JMX to
list all the webapps and then parse the web.xml to extract the module 's
name and description. So I can create a page with a link to all those
Blaise Gervais wrote:
Hello,
I have a webapp named portal who gather informations about other webapps
(modules) running on the same Tomcat instance. The portal use JMX to
list all the webapps and then parse the web.xml to extract the module 's
name and description. So I can create a page
/14, 2:28 PM, Tomcat Random wrote:
I have a custom error servlet set up in my webapps web.xml file
like so:
error-page
exception-typejava.lang.RuntimeException/exception-type
location/runtimeExceptionHandler/location /error-page
In JSTL if a property is spelled incorrectly or doesn't
I have a custom error servlet set up in my webapps web.xml file like so:
error-page
exception-typejava.lang.RuntimeException/exception-type
location/runtimeExceptionHandler/location
/error-page
In JSTL if a property is spelled incorrectly or doesn't exist
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Alec,
On 1/9/14, 2:28 PM, Tomcat Random wrote:
I have a custom error servlet set up in my webapps web.xml file
like so:
error-page
exception-typejava.lang.RuntimeException/exception-type
location/runtimeExceptionHandler/location /error
Hi,
Is it possible to have a default web.xml that will be loaded for all
applications inside a Host?
The doc states this is possible for context.xml which is computed from:
- $CATALINA_BASE/conf/context.xml
- $CATALINA_BASE/conf/[enginename]/[hostname]/context.xml.default
- /META-INF
On 16/05/2013 09:40, Xavier Dury wrote:
Hi,
Is it possible to have a default web.xml that will be loaded for all
applications inside a Host?
The doc states this is possible for context.xml which is computed from:
- $CATALINA_BASE/conf/context.xml
- $CATALINA_BASE/conf/[enginename
Thanks, I didn't find any reference to web.xml.default in the doc. Maybe, I
wasn't looking at the right place.
Regards,
Xavier
Date: Thu, 16 May 2013 09:49:34 +0100
From: ma...@apache.org
To: users@tomcat.apache.org
Subject: Re: Default web.xml
Regards,
Xavier
Date: Thu, 16 May 2013 09:49:34 +0100
From: ma...@apache.org
To: users@tomcat.apache.org
Subject: Re: Default web.xml for all webapps of a specific Host
On 16/05/2013 09:40, Xavier Dury wrote:
Hi,
Is it possible to have a default
I tried adding a $CATALINA_BASE/conf/[enginename]/[hostname]/web.xml.default
and checked what was the resulting web.xml with logEffectiveWebXml=true. I
noticed that the order of the various elements (filter, servlets...) appeared
as:
1. conf/web.xml
2. WEB-INF/web.xml
3. $CATALINA_BASE/conf
On 16/05/2013 14:47, Xavier Dury wrote:
I tried adding a $CATALINA_BASE/conf/[enginename]/[hostname]/web.xml.default
and checked what was the resulting web.xml with logEffectiveWebXml=true. I
noticed that the order of the various elements (filter, servlets...) appeared
as:
1. conf
Ok, I checked with only listeners and filter-mappings (whose order matters) and
the resulting order is the following (from top to bottom in effective web.xml):
1: main web.xml
2: global web.xml
3: host web.xml.default
So is it possible to have them in order (2, 3, 1)... I guess not but there's
On 16/05/2013 15:55, Xavier Dury wrote:
Ok, I checked with only listeners and filter-mappings (whose order matters)
and the resulting order is the following (from top to bottom in effective
web.xml):
1: main web.xml
2: global web.xml
3: host web.xml.default
So is it possible to have
Well, I tried to declare the per-host web.xml as a web-fragment like this but
it does not work:
web-fragment
ordering
before
others /
/before
/ordering
...
/web-frament
Tomcat is expecting a web-app which can only contain absolute-ordering
which must reference other fragments. I wanted
Nevermind my last mail, you responded while I was typing.
I will look into ServletContextInitializer.
Thanks,
Xavier
From: kal...@hotmail.com
To: users@tomcat.apache.org
Subject: RE: Default web.xml for all webapps of a specific Host
Date: Thu, 16
Hello,
More of a servlet spec question than a tomcat one, and, from what I
read, a rather long shot, but is there a way to define auth-constraint
dynamically in web.xml?
For instance I'd like to have the following
security-constraint
display-name/display-name
web-resource
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Cédric,
On 5/3/13 3:09 AM, Cédric Couralet wrote:
More of a servlet spec question than a tomcat one, and, from what
I read, a rather long shot, but is there a way to define
auth-constraint dynamically in web.xml?
For instance I'd like to have
-constraint dynamically in web.xml?
For instance I'd like to have the following
security-constraint display-name/display-name
web-resource-collection web-resource-name/web-resource-name
url-pattern/something/(.*)/someotherthing/url-pattern
http-methodPUT/http-method http-methodPOST/http-method
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jeff,
On 4/23/13 11:40 AM, Jeffrey Janner wrote:
-Original Message- From: Christopher Schultz
[mailto:ch...@christopherschultz.net] Sent: Thursday, April 18,
2013 5:01 PM To: Tomcat Users List Subject: Re: resource-ref in
web.xml
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Wednesday, April 24, 2013 12:28 PM
To: Tomcat Users List
Subject: Re: resource-ref in web.xml
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jeff,
On 4/23/13 11:40 AM, Jeffrey Janner
-Original Message-
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
Sent: Wednesday, April 24, 2013 1:12 PM
To: Tomcat Users List
Subject: RE: resource-ref in web.xml
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jeff,
On 4/24/13 2:22 PM, Jeffrey Janner wrote:
-Original Message- From: Jeffrey Janner
[mailto:jeffrey.jan...@polydyne.com] Sent: Wednesday, April 24,
2013 1:12 PM To: Tomcat Users List Subject: RE: resource-ref in
web.xml
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Wednesday, April 24, 2013 3:28 PM
To: Tomcat Users List
Subject: Re: resource-ref in web.xml
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jeff,
On 4/24/13 2:22 PM, Jeffrey Janner
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Thursday, April 18, 2013 5:01 PM
To: Tomcat Users List
Subject: Re: resource-ref in web.xml
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jakub,
On 4/17/13 9:22 PM, Jakub 1983 wrote
:
From: Jakub 1983 [jjaku...@gmail.com]
Sent: Wednesday, April 17, 2013 7:26 PM
To: Tomcat Users List
Subject: explanation of resource-ref in web.xml
What the hell is resource-ref in web.xml used for ?
I use it in a context
,
this element says that your application needs a database connection.
Thus the tool will offer you to configure one.
Configuration of connection itself is always server-specific. Thus it
is in context.xml, not web.xml
,
this element says that your application needs a database connection.
Thus the tool will offer you to configure one.
Configuration of connection itself is always server-specific. Thus it
is in context.xml, not web.xml
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jakub,
On 4/17/13 9:22 PM, Jakub 1983 wrote:
can I define database connection only in web.xml, without using
context.xml files ?
can I pass database url, login and password into resource-ref ?
when I define database conn in context.xml
can I define database connection only in web.xml, without using context.xml
files ?
can I pass database url, login and password into resource-ref ?
when I define database conn in context.xml, resource-ref is not needed at
all, so what is it actually for ?
regards
Jakub
What the hell is resource-ref in web.xml used for ?
My imagination is as follows, please confirm or deny it.
resource-ref is part of servlet spec, not tomcat spec.
context.xml and it's resource declaration is private concept of tomcat, not
described by any external specificatin, jsr, etc
From: Jakub 1983 [jjaku...@gmail.com]
Sent: Wednesday, April 17, 2013 7:26 PM
To: Tomcat Users List
Subject: explanation of resource-ref in web.xml
What the hell is resource-ref in web.xml used for ?
I use
From: Jakub 1983 [jjaku...@gmail.com]
Subject: resource-ref in web.xml
when I define database conn in context.xml, resource-ref is not needed at
all, so what is it actually for ?
**
You need
I have tried, and definig only Resource in context.xml is sufficient,
resource-ref in web.xml was commented, but I still could acces database
connection from jndi.
On Thu, Apr 18, 2013 at 4:38 AM, Leo Donahue - RDSA IT
leodona...@mail.maricopa.gov wrote
On Wed, Apr 17, 2013 at 10:38 PM, Leo Donahue - RDSA IT
leodona...@mail.maricopa.gov wrote:
From: Jakub 1983 [jjaku...@gmail.com]
Sent: Wednesday, April 17, 2013 7:26 PM
To: Tomcat Users List
Subject: explanation of resource-ref in web.xml
What
in my context.xml
then the effective web.xml will be logged in the log files during
application start.
Is there a way (library etc.) that I can use to generated effective
web.xml
offline i.e. without starting the application.
Thanks in advance.
Violeta
No, although I am
Violeta Georgieva violet...@apache.org wrote:
Hi,
I do know that if I provide logEffectiveWebXml=true in my context.xml
then the effective web.xml will be logged in the log files during
application start.
Is there a way (library etc.) that I can use to generated effective
web.xml
offline i.e
that if I provide logEffectiveWebXml=true in my context.xml
then the effective web.xml will be logged in the log files during
application start.
Is there a way (library etc.) that I can use to generated effective
web.xml
offline i.e. without starting the application.
Thanks in advance
to be done:
- the end result needs to be useable by both Jasper and Catalina - that pretty
much means a new package and JAR under o.a.tomcat
- Jasper cannot depend on Catalina (hence why everything needs to move packages)
- the things that need to move to this new package
- the web.xml parsing (i.e.the
Georgieva violet...@apache.org wrote:
Hi,
I do know that if I provide logEffectiveWebXml=true in my context.xml
then the effective web.xml will be logged in the log files during
application start.
Is there a way (library etc.) that I can use to generated effective
web.xml
offline i.e. without
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rahul,
On 7/12/12 2:55 AM, Rahul R wrote:
How can I add an email id to auth instead of adding a whole group?
You can't.
Is that possible?
Not when using the servlet-spec-defined authorization features. You
can certainly implement anything you
How can I add an email id to auth instead of adding a whole group? Is that
possible? I don't want to give the access to all the members of the groups
in the AD. Following is the web.xml of my tomcat.
security-constraint
web-resource-collection
web-resource
Hi All,
I have an issue with allowing access to a page which is secured using
active directory authentication. I want some pages/content to be excluded
from this. Following is my web.xml file under conf of tomcat.
[code=java]
security-constraint
web-resource-collection
On 14/06/2012 15:06, Rahul R wrote:
Hi All,
I have an issue with allowing access to a page which is secured using
active directory authentication. I want some pages/content to be excluded
from this. Following is my web.xml file under conf of tomcat.
[code=java]
security-constraint
Hi,
As the Servlet 3.0 expert group shed some
lighthttp://java.net/projects/servlet-spec/lists/users/archive/2012-05/message/1upon
this question I would like to raise it here again.
So do you plan revising the current processing of annotations (based on the
web.xml version) as it contradicts
(based on the
web.xml version) as it contradicts the clarification from the expert group
saying:
*“If you are using a Java EE 6 compatible implementation and use the
Servlet 3.0 feature / annotation, it should work independent of the
version of the descriptor.”*
May be the default behavior
When TC 5.5.25 reloads due to a web.xml change, do the context listeners
fire?
Whenever I get a tc reload/restart without stopping and starting the TC
service, my db connection gets messed up, and if the contextlistener
fires, ISTM that would be a good place for me to reset the connection
2012/5/7 David kerber dcker...@verizon.net:
When TC 5.5.25 reloads due to a web.xml change, do the context listeners
fire?
Whenever I get a tc reload/restart without stopping and starting the TC
service, my db connection gets messed up, and if the contextlistener fires,
ISTM that would
On 5/7/2012 11:41 AM, Konstantin Kolinko wrote:
2012/5/7 David kerberdcker...@verizon.net:
When TC 5.5.25 reloads due to a web.xml change, do the context listeners
fire?
Whenever I get a tc reload/restart without stopping and starting the TC
service, my db connection gets messed up
anything
and I can leave by web.xml as is.
It is a fair question though and I wonder if Oracle's reduction in
support for sun.com domains is producing a large number of DNS failres
and 404s for some server admin somewhere.
p
Thanks!
-Original Message-
From: Konstantin Kolinko
are responded with 404 Not
Found. When I change the version of the web.xml to 3.0 everything works
just fine.
In Chapter /“*1.6.2 Regarding Processing annotations*”/ in the Servlet
3.0 Specification it is said that:
/“The version of the descriptor MUST not affect which annotations you
scan
the Servlet 3.0 CTS.
I know that Tomcat 7.x regularly covers the complete Servlet 3.0 CTS and
probably there is a hidden property that I’m missing?
Set 3.0 as the version in web.xml for apps using Servlet 3.0 features?
Alternatively you could, of course, set the hidden system property
18 апреля 2012 г. 12:15 пользователь maria petrova
mims8...@googlemail.com написал:
Hi,
Thanks for the clarification. I agree that the specification is not
absolutely clear on this matter in the given extract.
Anyway, I simply would like to ask you, as Tomcat experts, for hints or
ideas how
Back in Tomcat 5, we had the problem with tomcat trying to access java.sun.com.
Lots of our servers are behind firewalls, so this
caused an error in the log. We realized one way to fix this was just to remove
the schemaLocation attribute from the web.xml files.
Below is the top of the main
the web.xml files.
Below is the top of the main web.xml in Tomcat 7. I did a snoop, and it
didn't seem to try to access java.sun.com this time. Has
this been changed at some point? Or did I just have some error in my snoop?
1. Do you have validation enabled?
E.g
1. Do you have validation enabled?
E.g. with
org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true
I don't think so (but that was a long time ago). Anyway, I am glad to know
that the default config does not try to contact anything
and I can leave by web.xml as is.
Thanks!
-Original
On 18/04/2012 11:27, Konstantin Kolinko wrote:
18 апреля 2012 г. 12:15 пользователь maria petrova
mims8...@googlemail.com написал:
Hi,
Thanks for the clarification. I agree that the specification is not
absolutely clear on this matter in the given extract.
Anyway, I simply would like to ask
with *@WebServlet *annotation and
requests to this servlet are responded with 404 Not Found. When I change
the version of the web.xml to 3.0 everything works just fine.
In Chapter *“1.6.2 Regarding Processing annotations”* in the Servlet 3.0
Specification it is said that:
*“The version of the descriptor
application is 2.5, there is a servlet annotated with @WebServlet
annotation and requests to this servlet are responded with 404 Not
Found. When I change the version of the web.xml to 3.0 everything
works just fine.
In Chapter “ 1.6.2 Regarding Processing annotations ” in the Servlet
application is 2.5, there is a servlet annotated with *@WebServlet
*annotation and requests to this servlet are responded with 404 Not
Found. When I change the version of the web.xml to 3.0 everything works
just fine.
In Chapter /“*1.6.2 Regarding Processing annotations*”/ in the Servlet
3.0
Mark DeSpain wrote:
Greetings!
Just trying to do some research regarding a behavior my team observed
today. We're using some revision of Tomcat 7.0... I don't recall the
specific version, but I can look it up if it is relevant.
Apparently when someone modifies $CATALINA_HOME/conf/web.xml
$CATALINA_HOME/conf/web.xml, Tomcat
will
reload all web applications in the container. Unfortunately for us,
this
wreaks havoc on our set of web applications since we've allowed them to
express initialization dependencies between each other that are honored
on
startup (and other scenarios) but not this scenario
101 - 200 of 668 matches
Mail list logo